[vlc-devel] [PATCH 0/6] Playlist enhancements

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Tue Jul 25 18:00:37 CEST 2017


It may not be convenient to play all the following items when the current tab
is not the playlist one, as for network directories it will spawn an access
module for each one of them. If these items need an authentification, but the
user abort these requests, we will get a busy loop. And the user will probably
get bored to be asked for auth on all these items when he doesn't even want to
do anything with it.
But as the current behaviour is to play the following, it would be quite
disturbing for the user to change that completly and only play the one he
selected. Especially if he selects some song within an album and expects the
next ones to be played as well. So all the following items sharing the same
parent node are played.

Also, the playlist is supposed to be a list with all the items to be played.
So when the user plays something it is automatically added to the playlist.
To follow this behaviour, the Play action in the contextual menu has been
expanded to Play and Add to Playlist. Of course, in the Playlist view only
Play is displayed.

As the Browse and Shrink actions were missing from the contextual menu they
have been added.

Victorien Le Couviour--Tuffet (6):
  sd: avahi: change unappropriate msg_Err to msg_Info
  sd: avahi: save new input item as network directory
  playlist: don't play next item automatically if not in playlist
  playlist: add items to playlist
  qt: playlist: add Play and Add to Playlist action
  qt: playlist: add Browse and Shrink actions

 .../gui/qt/components/playlist/playlist_item.hpp   |  3 ++
 .../gui/qt/components/playlist/playlist_model.cpp  | 14 +++++++--
 .../gui/qt/components/playlist/playlist_model.hpp  |  2 +-
 .../gui/qt/components/playlist/standardpanel.cpp   | 33 +++++++++++++++++++--
 .../gui/qt/components/playlist/standardpanel.hpp   |  1 +
 modules/gui/qt/components/playlist/vlc_model.hpp   |  8 +++--
 modules/services_discovery/avahi.c                 |  6 ++--
 src/playlist/control.c                             | 34 ++++++++++++++++++++++
 src/playlist/thread.c                              |  2 +-
 9 files changed, 92 insertions(+), 11 deletions(-)

-- 
2.13.1



More information about the vlc-devel mailing list