[vlc-devel] [PATCH] Add a 'Play and stop once' feature to the Qt interface (#10732)
david.sferruzza at gmail.com
Tue Jul 15 10:08:25 CEST 2014
This is a patch for #10732 (https://trac.videolan.org/vlc/ticket/10732)
I believe this feature is similar but is NOT the same as "Play and Stop".
As I explain here https://gist.github.com/dsferruzza/8e9079a329975f3579e9, the main differences are:
- the state (whether the feature is enabled are not) is not persisted to the configuration ("Play and Stop" is)
- the feature is disabled if the user manually stops or if the current track ends ("Play and Stop" remains enabled)
As the use cases seemed to be different, I choose not to reuse "Play and Stop", so these 2 features do not share the same state.
One of the use cases I'm targeting is "you are listening to a big playlist, you need to leave, but you don't want to stop in the middle of a song nor wait until it ends and then stop manually".
This is my first patch for VLC, if something is not right I will be happy to discuss about it :)
More information about the vlc-devel