You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
Executing iina-cli --mpv-shuffle ~/Movies plays files in random order as per the documented behavior of the mpv shuffle option.
Actual behavior:
The files in the directory are always played in the same order.
From a quick look at the code, it appears IINA is processing the directory itself and adding the files to the playlist one by one. Possibly if IINA passed the directory to mpv it would load the files and shuffle the playlist. If that is not feasible then IINA needs to recognize and implement this mpv option.
Steps to reproduce:
Put multiple video files into a directory
Start IINA using iina-cli, specifying --mpv-shuffle and the directory containing the video files
Click on Show Playlist Panel under the Playback menu
Take note of the order of the files in the playlist
Repeat
The same file starts playing and the playlist order has not changed
MPV does not have this problem.
How often does this happen?
Every time.
The text was updated successfully, but these errors were encountered:
From a quick look at the code, it appears IINA is processing the directory itself and adding the files to the playlist one by one. Possibly if IINA passed the directory to mpv it would load the files and shuffle the playlist. If that is not feasible then IINA needs to recognize and implement this mpv option.
I went ahead and implemented exactly the change you suggested in PR #4439, following the pattern used for BD folders and playlist files. Seems to do the job.
System and IINA version:
Expected behavior:
Executing
iina-cli --mpv-shuffle ~/Movies
plays files in random order as per the documented behavior of the mpv shuffle option.Actual behavior:
The files in the directory are always played in the same order.
From a quick look at the code, it appears IINA is processing the directory itself and adding the files to the playlist one by one. Possibly if IINA passed the directory to mpv it would load the files and shuffle the playlist. If that is not feasible then IINA needs to recognize and implement this mpv option.
Steps to reproduce:
iina-cli
, specifying--mpv-shuffle
and the directory containing the video filesShow Playlist Panel
under thePlayback
menuHow often does this happen?
Every time.
The text was updated successfully, but these errors were encountered: