.pls files viewed as text/plain

Martijn Klingens klingens at kde.org
Mon Sep 16 19:27:36 BST 2002


On Monday 16 September 2002 19:35, Waldo Bastian wrote:
> I guess the webserver isn't configured properly. It returns with the
> following response. I dunno what .pls is supposed to be for type
> (playlist?) but it should probably send along another mimetype than
> text/plain.

Yes, it's a playlist. The website of ID&T radio (www.id-t.com) does it 
correctly:

kparts: BrowserRun::scanfile http://62.250.12.54:8000/listen.pls
kparts: slotBrowserMimetype: found audio/x-scpls for 
http://62.250.12.54:8000/listen.pls

So you need the mimetype audio/x-scpls.

Can this be solved using mime magic and/or using the file extension (eek :) or 
do we require the server to be fixed instead?


-- 
Martijn






More information about the kfm-devel mailing list