[Feature request]: shuffle playlist
Is there any way in ytfzf to add shuffling features to playlists? I was wondering but I don't really have any bash scripting knowledge as far as scripting goes.
Depends on your video player, ytfzf uses mpv by default which i think does have playlist shuffling
--shuffle Play files in random order.
You could just select all the items in a playlist (or the playlist itself) and give it to mpv, and have --url-handler-opts=--shuffle and mpv will shuffle the playlist.
I tried this and it didn't work. Do I have to manually set it in mpv? I’m currently running “ytfzf —type=playlists —url-handler-opts=—shuffle,” is this right?
I think you need --type==playlist,
but if that doesn't work then i'm not sure.
Do I have to manually set it in mpv
No harm in trying.
Yeah, I just ended up playing my music with mpv only. Thanks for the help though!
Updated and working ytfzf project here: https://github.com/tabletseeker/ytfzf_prime