Re: [Rhythmbox-devel] Problems with m3u playlists on device



On Thu, Jan 7, 2010 at 6:44 PM, Bastien Nocera <hadess hadess net> wrote:
> On Thu, 2010-01-07 at 16:56 -0600, Ryan May wrote:
>> 4) Finally, the problem I can't really solve (short of using external
>> shell scripts).  The m3u playlists produced by Rhythmbox don't
>> actually work with my mp3 player.  First, Rhythmbox writes them out as
>> absolute paths,
>
> That's probably because it saves the file in the wrong directory (say,
> in a temp directory) rather than directly in the location it would be.
> totem-pl-parser is pretty clever about that, and will use relative paths
> if you're saving the file in a parent of the location of the files.
>
>>  and my player seems to require relative paths, even
>> though the playlist files are located at the root of the device.
>
> Or maybe I don't understand. What are those paths relative to?

I think I probably mis-spoke when I said relative vs. absolute paths.
The crux of the problem (as shown in the example at the end of the
message, is that the paths are written with a leading '/'.  This
causes problems for both my mp3 player (even if I change it to the
windows '\') and for totem. Removing the leading / fixes the problem.

>> #EXTM3U
>> #EXTINF:,One
>> /MUSIC/Shinedown/00 - One.mp3
>> #EXTINF:,Carried Away
>> /MUSIC/Shinedown/00 - Carried Away.mp3
>>
>> Needs to instead be:
>>
>> #EXTM3U
>> #EXTINF:,One
>> MUSIC\Shinedown\00 - One.mp3
>> #EXTINF:,Carried Away
>> MUSIC\Shinedown\00 - Carried Away.mp3
>> <blank line>

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma


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