The purpose of this post it to simply keep the users and fellow developers on the status of this as I try to implement it. The main post will always be up to date. I encourage you to correct me if I improperly refer to something by the wrong name, or anything else that I say that does not make sense.
Github: Issue #99 (Pause after this track)
Implementation concept(s)
Show the "pause after this track" playlist command inside of the mediaitem context menu/mediaitem menu. Also freaktechnik suggested that we add it inside of the context menu for the play button. For example, when the user triggers the "pause after this track" from the mediaitem context menu:
Inside of the pause button context menu, it would just grab the songID and when the song is done playing it will pause the track.
Option 2 (Just another idea that is a lot more conceptual.)
Create an on/off flag for " pause after this track or not. " As ngale goes through the sequencer, or what ever ngale does when a song is done playing. Just insert something that checks the flag status, if true, it would just pause the song. Instead of repeating/shuffling or loading the next track.
The big question is where should this be implemented? Should it be in a script, a component, or integrated in the sequencer? (credit to freaktechnik for pointing this out to me)
Thanks for any help!
-Luis
Github: Issue #99 (Pause after this track)
Implementation concept(s)
Show the "pause after this track" playlist command inside of the mediaitem context menu/mediaitem menu. Also freaktechnik suggested that we add it inside of the context menu for the play button. For example, when the user triggers the "pause after this track" from the mediaitem context menu:
Code:
If a song is playing
get the songID, when the song is done playing, call the pause command
else
get the songID, play the song, when the song is done playing, call the pause
command
Inside of the pause button context menu, it would just grab the songID and when the song is done playing it will pause the track.
Option 2 (Just another idea that is a lot more conceptual.)
Create an on/off flag for " pause after this track or not. " As ngale goes through the sequencer, or what ever ngale does when a song is done playing. Just insert something that checks the flag status, if true, it would just pause the song. Instead of repeating/shuffling or loading the next track.
The big question is where should this be implemented? Should it be in a script, a component, or integrated in the sequencer? (credit to freaktechnik for pointing this out to me)
Thanks for any help!
-Luis