Opened 17 years ago

Closed 16 years ago

#3025 closed enhancement (fixed)

MythMusic configurable playback resume feature

Reported by: mythtv@… Owned by: paulh
Priority: minor Milestone: 0.21
Component: mythmusic Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The attached patch adds the ability to configure the behaviour of resuming playback from a playlist that was previously interrupted by exiting MythMusic. It adds a "Resume Mode" configuration control to Media Settings, Music Settings, Player Settings, that allows the user to select between "Playlist", "Track", and "Exact" modes.

If the user is playing content in MythMusic and then exits (by pressing escape) whilst the music is still playing, then upon re-entering MythMusic it will, depending on the above setting, either:-

Playlist = resume playback from the beginning of the playlist (existing behaviour) Track = resume playback from the beginning of the track that was playing before previously exiting. Exact = resume playback from the point in the last track before previously exiting.

(This patch depends upon the patches attached to tickets #2594 and #2935 being applied first)

Attachments (2)

mythmusic_resume_r12685.patch (13.2 KB) - added by mythtv@… 17 years ago.
mythmusic_resume_r12872.patch (12.8 KB) - added by mythtv@… 17 years ago.
Patch refresh against head revision 12872

Download all attachments as: .zip

Change History (4)

Changed 17 years ago by mythtv@…

Changed 17 years ago by mythtv@…

Patch refresh against head revision 12872

comment:1 Changed 16 years ago by paulh

Milestone: unknown0.21
Owner: changed from Isaac Richards to paulh
Type: patchenhancement

comment:2 Changed 16 years ago by paulh

Resolution: fixed
Status: newclosed

(In [13153]) Add a configurable playback resume feature to MythMusic.

This commit adds the ability to remember the current position in the music tree on the playback screen and move back to that position when it is restarted. It will work anywhere in the music tree and can also resume playback from the exact position in the track if you wish.

It adds a "Resume Mode" settings that allows the user to select between "Off", "Track", and "Exact" modes.

If the user is playing music and then exits while the music is still playing the exact position is stored and then upon re-entering MythMusic it will, depending on the above setting, either:-

  • Off - resume playback from the beginning of the active play queue

(existing behaviour)

  • Track - resume playback from the beginning of the track that was playing

before exiting.

  • Exact - resume playback from the point in the last track before exiting.

I didn't use the patch on the ticket because in most cases it failed to restore the correct track because it didn't take into account the fact that playlists can themselves contain playlists and also it wouldn't work if the user had 'Show entire music tree' turned on.

Closes #3025.

Note: See TracTickets for help on using tickets.