mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
8.11k stars 642 forks source link

shuffle long playlists issue #438

Open jrbalderrama opened 8 years ago

jrbalderrama commented 8 years ago

Suppose you have a long playlist (e.g., 121 items) with ID 1 (several pages when you open it) The following sequence works but the second one does not. IMO this is a bug:

mpsyt play 1 q -121 shuffle

Second sequence :

mpsyt open 1 -121 shuffle

the error "Invalid item / range entered!" is reported instead of play randomly the 121 items of the playlist (it expects at most the number of items listed in the current page of the playlist), meanwhile when you directly play the playlist then go back to the menu you can shuffle ALL the elements of the playlist as is described in the first sequence.

Graystripe17 commented 7 years ago

Bump. I can't get all of them to shuffle on the same page. Any easy work around?

mavaa commented 4 years ago

Not a fix, and I don't understand entirely why it works this way, but it does:

mpsyt
open 1
dump
all shuffle

Ref issue: https://github.com/mps-youtube/mps-youtube/issues/726