On Tue, 27 Aug 2013 21:46:57 +0200 Claudius Hubig <debian_1...@chubig.net> wrote:
> Dear Sharon, > > Sharon Kimble wrote: > > On Tue, 27 Aug 2013 19:40:35 +0200 > > Claudius Hubig <debian_1...@chubig.net> wrote: > > > This is only a guess: > > > > > > ls -w 1 *.m4a *.mp3 > > > > > > will only print the actual filename, not the full path to the > > > file. However, MPD playlists have the following format: > > > > > > $ cat /var/lib/mpd2/playlists/Dvorak\:\ 8.\ Symphonie.m3u > > > antonín_dvořák/dvorak__sym8__1__allegro_con_brio.ogg > > > antonín_dvořák/dvorak__sym8__2__adagio.ogg > > > antonín_dvořák/dvorak__sym8__3__allegretto_grazioso.ogg > > > antonín_dvořák/dvorak__sym8__4__allegro_ma_non_troppo.ogg > > > > > > where the folder antonín_dvořák exists in the music root > > > directory of MPD: > > > > > > $ grep ^music_directory /etc/mpd2.conf > > > music_directory "/datapub/media/audio" > > > $ ls -d /datapub/media/audio/antonín_dvořák/ > > > /datapub/media/audio/antonín_dvořák// > > > > > 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. > > > > When I try to play it from mpd there is zero sound, although others > > play okay with mpd, and says 'No such song' > > What does ~/.mpd/playlists/beeb-radio.m3u look like (cat > ~/.mpd/playlists/beeb-radio.m3u)? From what I understand, it should > have the following form for MPD to successfully find the files: This is from the middle of the file as it shows both .mp3 and .m4a - Friday_Night_is_Music_Night_-_The_Good_Old_Days_b02yj9vc_default.m4a Geoff_Barkers_Rock_n_Roll_Party_-_Its_a_Rock_Roll_evening_p01dds9d_default.mp3 GK_Chesterton_-_The_Club_of_Queer_Trades_-_6._The_Eccentric_Seclusion_of_the_Old_Lady_b0076rqv_default.m4a Goffy_-_24_08_2013_p01dmwss_default.mp3 Hancocks_Half_Hour_-_The_New_Secretary_b007lrqy_default.m4a ITMA_-_Its_That_Man_Again_-_From_29_03_1945_b007jyn7_default.m4a > > beeb-radio/yoursongone.mp3 > beeb-radio/yoursongtwo.m4a > > whereas it likely looks like that: > > yoursongone.mp3 > yoursongtwo.m4a > Got it in one! 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. Any help gratefully accepted :) Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk efever = http://www.efever.blogspot.com/ efever = http://sharon04.livejournal.com/ Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.0.4 Registered Linux user 334501
signature.asc
Description: PGP signature