Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: shuffle playlist #732

Open
saifg12345 opened this issue Apr 15, 2024 · 4 comments
Open

[Feature request]: shuffle playlist #732

saifg12345 opened this issue Apr 15, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@saifg12345
Copy link

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.

@saifg12345 saifg12345 added the enhancement New feature or request label Apr 15, 2024
@Euro20179
Copy link
Collaborator

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.

@saifg12345
Copy link
Author

saifg12345 commented Apr 16, 2024

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?

@Euro20179
Copy link
Collaborator

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.

@saifg12345
Copy link
Author

Yeah, I just ended up playing my music with mpv only. Thanks for the help though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants