View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006690 | MMW v4 | Framework: Scripts/Extensions | public | 2010-11-15 16:50 | 2011-02-13 21:55 |
Reporter | zvezdan | Assigned To | |||
Priority | high | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Fixed in Version | 4.0 | ||||
Summary | 0006690: OnTotalPlaybackEnd event needed | ||||
Description | I need an event which would fire when all tracks are finished with reproduction. | ||||
Additional Information | It is not hard to check for such thing using OnPlaybackEnd event when Shuffle is turned off, but it is problematic when Shuffle is turned on because in that case the last played track is not always the last track from the NP list. | ||||
Tags | No tags attached. | ||||
Fixed in build | 1346 | ||||
|
I would call it OnCompleteStop() and it would be called anytime a track playback finishes and there isn't any other track ready to be played. |
|
Well, I would be glad if you add such option, not matter how you call it. However, if you don't mind, I have a note about your suggestion. This event is assigned to SDBApplication object, so from its name it is not clear when it is fired (when the application completely stop?). I also would not use the word "Stop", because it could associate someone to the Stop command, I think "End" or "Finish(ed)" is better. How about OnReproductionEnd? |
|
Ok, OnPlaybackCompleteEnd() might make more sense and would be consistent with the current event. |
|
It is too late to change anything, but I think that all events related to the playback (OnTrackEnd, OnPlaybackEnd, ...) would be better with the SDBPlayer object... |
|
Fixed in build 1346: http://www.mediamonkey.com/wiki/index.php/ISDBApplicationEvents::OnCompletePlaybackEnd |
|
This event should be generated if user press Stop, or skip to end of track (i.e. when play counter is not increased), as it is OnPlaybackEnd generated. Here are steps to reproduce the problem: 1. place two tracks in NP; 2. start playing first track and let it to finish with reproduction normally; 3. few seconds after the second track start with reproduction press Stop -> OnCompletePlaybackEnd is not generated; Tested in 1348. |
|
I don't think so, from the description here: http://www.mediamonkey.com/wiki/index.php/ISDBApplicationEvents::OnCompletePlaybackEnd it does what it is supposed to do. The event generated when user press Stop is called OnStop: http://www.mediamonkey.com/wiki/index.php/ISDBApplicationEvents::OnStop |
|
Well, you could write your description as you like, but I still think that this event should be fired in same occasions as OnPlaybackEnd, but only for the last track. If you wanted the current behavior, you should called it OnCompleteTrackEnd or OnTrackCompletePlaybackEnd. In my opinion OnCompletePlaybackEnd means the end of playback of all tracks, "because playlist reached its end" as you wrote. |
|
Verified 1348 It fires only when playback ended and MM is not in continuous mode. |