#174 Adding m3u playlists always fails

2.1.4
closed-out-of-date
nobody
5
2014-08-09
2009-04-06
No

Hello!

When I add a typical playlist, gtkpod claims the files doesn't exist. I
suspect it can't handle the path or filenames that the m3u is pointing t
at.

For example:

Warning

The following error occured

Error message:

The following track could not be processed (file does not exist:
'/home/thnov/.gvfs/torrentflux on mistik/Audiobooks/Jan_Guillou_-
_Coq_Rouge-1986-13CD-AUDIOBOOK-SE-2006-NOAHWYLE/0301-Jan_Guillou_-_Cr_03.O1-NOAHWYLE.mp3'

$ ls -l /home/thnov/.gvfs/torrentflux\ on\ mistik/Audiobooks/Jan_Guillou_-_Coq_Rouge-1986-13CD-AUDiOBOOK-SE-2006-NOAHWYLE/0301-Jan_Guillou_-_Cr_03.01-NOAHWYLE.mp3
-rwx------ 1 thnov thnov 119017 2009-03-11
20:08 /home/thnov/.gvfs/torrentflux on
mistik/Audiobooks/Jan_Guillou_-_Coq_Rouge-1986-13CD-AUDiOBOOK-SE-2006-NOAHWYLE/0301-Jan_Guillou_-_Cr_03.01-NOAHWYLE.mp3

So the file indeed exists and is readable. If I instead choose add files
and select all files contained in the m3u it works.

$ head -1 0300-Jan_Guillou_-_Coq_Rouge-CD03-2006-NOAHWYLE.m3u
0301-Jan_Guillou_-_Cr_03.01-NOAHWYLE.mp3

I have gtkpod 0.99.14-0ubuntu2/Ubuntu Jaunty.

Rgds

Discussion

  • Anonymous - 2009-04-15

    I've had the same issue and found a solution. It was because the .m3u file I was using had \r\n as end of lines. Changing all \r\n to \n resulted in the playlist being read correctly.

    To easily convert a m3u file to only include \n, use the following command in linux:

    tr -d '\r' < playlistname.m3u > newplaylistname.m3u

     
  • Thomas Novin

    Thomas Novin - 2009-04-16

    Okey.. thanks for the workaround! Seems like a not-to-hard thing to fix in gtkpod.

     
  • Thomas Novin

    Thomas Novin - 2009-04-16

    This can be used to convert all m3u's in one directory:

    convert_m3u.sh:

    #!/bin/sh
    for i in `ls *.m3u`; do
    tr -d '\r' < $i > $i.tmp
    mv $i.tmp $i
    done

     
  • phantomjinx

    phantomjinx - 2014-08-09
    • status: open --> closed-out-of-date
    • Group: --> v1.0_(example)
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks