Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mime-type for xspf

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
robertut



Joined: 31 Aug 2007
Posts: 156

PostPosted: Tue Jun 03, 2008 10:59 am    Post subject: mime-type for xspf Reply with quote

I guess there's no mime-type specified for the xspf playlists in IceCast's webserver, because IE tries to download it and show it like an XML.

Code:
application/xspf+xml  xspf

should be added for better compatibility with browsers.

Also for m3u:
Code:
audio/x-mpegurl   m3u
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jun 03, 2008 1:34 pm    Post subject: Reply with quote

Actually xspf is xml and I'm guessing this is on windows because of the lack of a central mime types file. You can define a <mime-types> in the icecast xml to refer to a mime types file.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
robertut



Joined: 31 Aug 2007
Posts: 156

PostPosted: Wed Jun 04, 2008 7:33 am    Post subject: Reply with quote

Is it fine like this?
Code:
    <mime-types>C:\AppServ\Apache2.2\conf\mime.types</mime-types>
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jun 04, 2008 1:05 pm    Post subject: Reply with quote

That should be fine.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber