Re: [mpg123-users] mpg123 playlist with spaces not working
Brought to you by:
sobukus
From: Thomas O. <tho...@or...> - 2022-02-20 22:56:29
|
Am Sun, 20 Feb 2022 14:05:12 -0600 schrieb Will Stites <wil...@uw...>: > I´m trying to make a playlist for mpg123 from a directory containing > subdirectories. Many of the subdirs and filenames contain spaces. This > is using a Raspberry Pi with Raspbian Bullseye, mpg123 1.26.4. > > I made a playlist where each line is an absolute path enclosed in > ¨double quotes¨. Stop right here. Why adding quotes? If you do $ ls dir/*.mp3 > list.m3u $ mpg123 -@ list.m3u it should just work. It reads a full line, including your spaces. There is no quoting. If you got file names with line ends in them (entirely possible), you're out of luck. But you really should avoid those, anyway;-) Adding a #M3U as first line is a nice touch, but a bare list of file names should work. Oh … maybe you should not name your first file „#M3U“. Alrighty then, Thomas |