Open ae-g-i-s opened 6 years ago
Use the same script(s) to ignore m3u?
The playlists contain folders, not individual files. An option to exclude specific files by pattern/suffix when playing folders would be good in other situations as well (and make an option to ignore nested playlists redundant).
Exactly, instead of adding another option why not make whichever scripts you're already using glob through those directories you're adding and ignore m3u/cues there?
It's a usable workaround in this situation, but being able to exclude files when playing a folder would still be great.
Actually was fixed by f266eadf1eae920d645477b9658c6847aca47ff5. You can use --directory-mode=ignore
now and it should work.
You can exclude m3u
s with a script that excludes files by extension like https://github.com/mpv-player/mpv/issues/2595#issuecomment-1454746798
But you have to give the original playlist a different extension so it doesn't get excluded too.
Actually was fixed by https://github.com/mpv-player/mpv/commit/f266eadf1eae920d645477b9658c6847aca47ff5. You can use --directory-mode=ignore now and it should work.
This was wrong actually but maybe the option could include anything that gets interpreted as playlist (currently not the case).
Version: mpv 0.27.2 (but probably applies to all)
I have a large collection of music folders on a network drive, making regular players unusable for performance reasons. Currently, I'm using a few scripts that select one or more of these folders, create a plaintext playlist for mpv and then start it using
mpv --playlist=<path>
.About half of these folders contain m3u playlists, which have the annoying effect of being picked up by
mpv
as part of the playlist and causing it to play all songs in this folder twice - once because the "master" playlist contains this folder, and a second time because the m3u points to the individual files.I've searched the docs for a feature that would allow me to exclude certain file types or, more specific to my issue, cause mpv to ignore nested playlists, but haven't found anything. Is there such an option? If not, it'd be great to have.
The only workaround I can think of is specifying every individual file in my plaintext playlist, which makes it about 10x larger and might lead to a different order of tracks being played.