Add additional Playlist control for Loop Mode
Currently the loop mode is set by the Playback Mode of the Playlist (eg. Sequential, Shuffle etc). However there might be instances that users want to have playlists loop differently but still retain the Playback Mode. For example a user may desire to have a playlist play sequentially but not loop after the final track.
This issue captures work required to add an additional control to the Playlists Directory as well as underlying logic to handle and apply the loop mode.
Some possibly affected classes/methods: PlaylistDirectory - changes to template/add UI elements Playlist.playAll - new logic to respect user's loop mode Playlist._onEnd - new logic to respect user's loop mode