Hello, I like this - it's clever and elegant, and solves #291588 as well. It seems to work well here.
I've added NoDisplay=true to the playlist desktop file to ensure that menus don't show XMMS twice. I'm not able to upload for a while, but I do hope that Josip or I can get this into Sarge. Cheers, Christopher Martin On February 9, 2005 09:40, Stefan Alfredsson wrote: > xmms has a problem using playlist-urls, and must be fed playlists from > the local filesystem. > > This becomes a problem with for example m3u hyperlinks. XMMS.desktop > says > > Exec=xmms %U > > I.e. feed the url to xmms, which brings up an emtpy file-box when > clicking a playlist in galeon (via Edna for example), but it works fine > when clicking directly on a mp3 file. > > m3u files must instead be downloaded, which is taken care of by instead > using > > Exec=xmms %f > > (feed xmms the downloaded file). This is however not desireable when > streaming mp3s, as these tend to be several megabytes, compare to a > regular playlist file weighing some kilobytes. > > The solution is to split XMMS.desktop into two files; one containing the > mimetypes for playlists, and using Exec=xmms %f for those, and another > desktop file for URL playing. > > I've attached two desktop files which incorporates changes discussed the > above (note that the original XMMS.desktop must also be changed to remove > the playlist mime types). Feel free to include after testing.
pgpHOUbI1woiM.pgp
Description: PGP signature

