Jellyfin Forum
Playlist Shuffle - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Client Development (https://forum.jellyfin.org/f-client-development)
+---- Forum: Roku Development (https://forum.jellyfin.org/f-roku-development)
+---- Thread: Playlist Shuffle (/t-playlist-shuffle)



Playlist Shuffle - 0xCC - 2023-09-17

Unless I'm just missing it, it seems like the Roku app differs from the web interface in that there's no shuffle option in playlists. We have Rokus on all of our TVs and really like it, and the Roku app kicks butt in almost every way. We've had zero issues with it and use it every day. I love being able to go into a TV series with a lot of eps and hit shuffle and let it run all day. For example, yesterday I had my own Twilight Zone marathon. 

It's been a longtime desire of mine to be able to, at certain times of year like Halloween or other holidays, to be able to have a playlist of genre movies (Horror, Christmas, etc) and shuffle them. We can't seem to do that on Roku. Wondering if there's a plugin that adds it. I've been looking for a while and can't find anything.

I also put in a feature request to be able to shuffle a filtered movie list. So instead of manually curating a playlist and shuffling it for Halloween, just filtering my movie list by genre (horror) and then shuffling the entire filtered list (but that's not relevant to this post because you can't do that in the native web UI either).


RE: Playlist Shuffle - nooobieee - 2023-09-17

One thing that I did (for different reasons) is write a script (using Jellyfin's API) that selects n number of items randomly from a list and saves it as a collection. You can then just play the collection in order. You can re-generate the collection as often as you like to re-shuffle.

The key API endpoints are:

/Items (get)
/Collections (post) or /Playlists (post)


RE: Playlist Shuffle - cewert - 2023-09-20

(2023-09-17, 03:18 PM)0xCC Wrote: Unless I'm just missing it, it seems like the Roku app differs from the web interface in that there's no shuffle option in playlists.

Currently, there is no way to shuffle a playlist but I made a PR to expand Quick Play (that's what I call it when you hit the play button and things just play) and one of the things it supports is playlists. Hitting the play button will shuffle the whole playlist when you have one selected. Hitting play on a collection of playlists from the top My Media row on the home screen will pick a random playlist and shuffle it.

Hopefully this will make it in the next release but no guarantees. Crossed-fingers


RE: Playlist Shuffle - Ddetton - 2024-01-15

(2023-09-20, 11:29 AM)cewert Wrote:
(2023-09-17, 03:18 PM)0xCC Wrote: Unless I'm just missing it, it seems like the Roku app differs from the web interface in that there's no shuffle option in playlists.

Currently, there is no way to shuffle a playlist but I made a PR to expand Quick Play (that's what I call it when you hit the play button and things just play) and one of the things it supports is playlists. Hitting the play button will shuffle the whole playlist when you have one selected. Hitting play on a collection of playlists from the top My Media row on the home screen will pick a random playlist and shuffle it.

Hopefully this will make it in the next release but no guarantees. Crossed-fingers

Thanks @cewert!  I was looking for this specific feature and "Boom!"  here it is!  Just tried it in the current Roku client and it appears to work.  Press Play on a selected playlist and it starts playing randomly.  Is there a way to jump to the next random selection if I don't want to watch the current one?  I tried pause then the right arrow (on screen) but that did not seem to work.  If there is a way to do this it would make me very happy!  Thanks!