-
Notifications
You must be signed in to change notification settings - Fork 127
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
Play show theme music in the background #205
base: develop
Are you sure you want to change the base?
Conversation
Nice changes. Setting looks good. Bonus points for ListSetting base class 😄. A couple of things I noticed. The first was that if background music is playing and you are on the home screen, you can't navigate to the header bar. The second (which probably makes the first thing irrelevant) was that we still need to only have BG music playing within the context of a show. So that pretty much means that the only screens that will have BG music will be the show screen and the episodes screen. So for example if you open a show, BG music. Click a season, BG music continues. Go back to the show, BG music continues. Exit the show, BG music stops. |
Implemented all that, as well as proper handling for related shows, e.g.: go to a related show, its theme plays, go back to the show/episode you came from, related show theme stops. The current one also doesn't re-start when coming from a related show, that would make it a bit weird. Shouldn't the theme music stuff be default on? |
Don't merge this yet. When dealing with slower devices or connections, this blocks the interface. I at least need to look into deferring the playback. If that's how it has to be, that's OK with me, if it's by design and not necessarily fixable. But I have to try. |
This should be mergable now. |
Rebased onto develop |
Playback is deferred, but depending on the platform, starting music playback can still block the interface for a short while - I guess that's Kodi and we can't do anything about that. |
Rebased |
78f9acc
to
126aaba
Compare
…ay theme when visiting show from episode
…en coming back; fix condition
…ves stuck volume issues
GHI (If applicable): #2, rewrite of #204
Description:
Plays the current episode's show theme music, or in case of a library-show-visit, the show's theme music.
Adds options for that (off by default) and a volume slider for the theme volume.
Better background music handling approach; PlexPlayer now handles that itself, together with BGMPlayerHandler.
Checklist: