[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to create an m3u playlist containing mp3 and m4a files?



Dear Sharon,

Sharon Kimble wrote:
> On Tue, 27 Aug 2013 21:46:57 +0200
> Claudius Hubig <debian_1308@chubig.net> wrote:
> > Sharon Kimble wrote:
> > > music_directory		"/home/boudiccas/Music"
> > > target directory 	"/home/boudiccas/Music/beeb-radio"
> > > 
> > > and when I ran 'ls -w 1 *.m4a *.mp3 >
> > > ~/.mpd/playlists/beeb-radio.m3u' from the target directory it
> > > creates 'beeb-radio.m3u' but it is non-playable. 

> But how do I get it to show the file path please? I've
> googled for it, read that xmms can create the foobar.m3u that I'm
> after. But wont know if xmms2 can do the same until tomorrow morning. 

$ cd /home/boudiccas/Music
$ ls -1 beeb-radio/*.{mp3,m4a} > ~/.mpd/playlists/beeb-radio.m3u

should do the trick.

Best,

Claudius
-- 
Please don’t CC me.

Attachment: signature.asc
Description: PGP signature


Reply to: