Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New syntax to CLI "play" command and "watch_continuously" config #667

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

imsamuka
Copy link
Contributor

Most of what is implemented here, was discussed before on #484, which will be closed if accepted. If there's any disagreement here, please read the discussion there before.

On another note, my changes Engine.play_episode() don't break the episode_missing hook API: instead of passing a copy of the ep_iter iterator, only the first episode number is passed. But this severely limits the power of the API in the future. If permitted, i will break the API in favor of more flexibility with it (of course, updating the hook files in the repo as well).

@z411 z411 self-requested a review February 25, 2023 00:50
@imsamuka
Copy link
Contributor Author

Since no more input was given, I did some changes to conform to the avoidance of breaking changes.

  • Absolute episodes are no longer prepended by #.
  • Relative episode numbers are now prepended by n, standing for next.
  • The empty "" range behavior is now dependent on watch_continuously.
  • watch_continuously is now False by default, maintaining the original behavior.
  • Improved the help message for play (debatable, but i think it's pretty intelligible)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants