View Issue Details

IDProjectCategoryView StatusLast Update
0004956MMW v4Now Playingpublic2008-12-01 14:21
Reporterpeke Assigned To 
PriorityhighSeveritytweakReproducibilityalways
Status resolvedResolutionno change required 
Summary0004956: If Enabled AutoDJ should be also called on TrackEnd event
DescriptionIn Case that AutoDJ is Enabled and User deletes all tracks while track is playing, making that Current Track is Last track on NP.

AutoDJ should be Executed on TrackEnd only in case that IncreasePlayCounter procedure is executed under procedure TFullPlayer._OnTrackEnd as in any other case Playback will stop and user interaction will be needed or in case of Repeat enabled NP would be restarted from beginning which will also in some cases result in stop of playback.
TagsNo tags attached.
Fixed in build

Activities

peke

2008-11-23 21:02

developer   ~0015080

It should be easy to implement from procedure TFullPlayer._PlayThread

Ludek

2008-11-25 19:42

developer   ~0015125

Last edited: 2008-11-25 19:44

Peke, is there any other case except when User deletes all tracks while track is playing? If not then I would rather launch AutoDJ immediatelly after clearing NP, because auto-dj is intended running on own thread so that it doesn't cause gaps between tracks.

But I am not sure that it is user desired, I think that if anyone clear NP then he want have NP clear and he don't want auto-dj to add another track.

peke

2008-11-25 23:19

developer   ~0015130

I'm not sure that it is good idea to run it as soon as NP is cleared due the fact that user maybe wants to add several tracks manually as tracks picked by AutoDJ not satisfy user. There is lots of time to add tracks while track is playing.

Option that I propose will activate AutoDJ only in case if MM will stop playback unless AutoDJ adds some tracks.

peke

2008-11-25 23:21

developer   ~0015131

And user do not need to delete all tracks from NP just tracks below Currently Playing track which will leave currently playing track last track on playlist.

jiri

2008-11-28 12:10

administrator   ~0015233

It seems to me to be ok to Stop playback after user cleans Now Playing completely. Then after Play button is pressed, Auto-DJ can normally add some tracks to NP and continue as usually. Feel free to close the issue if you agree.

peke

2008-12-01 14:21

developer   ~0015272

You are right it is logical to act like that I never thought from that perspective.