Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Andreas Kohlbach Newsgroups: comp.os.linux.misc Subject: Re: mpg123 question Date: Mon, 10 Oct 2022 23:02:25 -0400 Organization: A noiseless patient Spider Lines: 38 Message-ID: <87mta3rrjy.fsf@usenet.ankman.de> References: MIME-Version: 1.0 Content-Type: text/plain Injection-Info: reader01.eternal-september.org; posting-host="dadfb924203993166acbaef7beb369eb"; logging-data="1093051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+suxamMfeESeTikV+BEC4z" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:07ilXgz+u60ljsFgiFdhXGcU9NY= sha1:O+f93Y+DtiH4UBCRWEMxaqDCmKM= Xref: csiph.com comp.os.linux.misc:35715 On Tue, 11 Oct 2022 00:12:20 -0000 (UTC), pH wrote: > > I gave mpg123 a command line along the lines of: > > mpg123 -z pattern1* pattern2* pattern3* > > I had assumed it would gather all the matching pattern mp3 files from all > three arguements and then shuffle them as it played. > > Instead, it processed each pattern independently...it shuffled and played 1, > then 2, then 3. > > Is there a simple way to get it to do what I had hoped, suck them *all* up > and *then* play shuffle them all? > > I did not see anything obvious in the man pages. Is mpg123 still maintained? I moved to mpv (or mplayer2 on another computer), where I created a playlist. I assume it works for mpg123 too. So one line per song in a text file, which is your playlist. Let's call it "music.pls". I recommend using absolute paths, like /home/your_user/Music/Some_Song.mp3 in case things moving around. Then mpv -shuffle -vo=null --playlist=music.pls to play. -- Andreas