diff options
author | spiff_ <spiff_@svn> | 2010-11-27 00:09:00 +0000 |
---|---|---|
committer | spiff_ <spiff_@svn> | 2010-11-27 00:09:00 +0000 |
commit | 9752c0859645ce047a615a457195a6d3d40fc8cb (patch) | |
tree | 7414b7f16577940bc6fee4231fb936ae1cd1088e | |
parent | 005b00034f737cf29ed5514334af0347ad89f3d3 (diff) |
fixed: force http protocol in fileshoutcast in case we were called with a shout:// url
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35483 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/FileSystem/FileShoutcast.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/FileSystem/FileShoutcast.cpp b/xbmc/FileSystem/FileShoutcast.cpp index 034a603912..a7ebc6c36f 100644 --- a/xbmc/FileSystem/FileShoutcast.cpp +++ b/xbmc/FileSystem/FileShoutcast.cpp @@ -71,6 +71,7 @@ bool CFileShoutcast::Open(const CURL& url) { CURL url2(url); url2.SetProtocolOptions("noshout=true&Icy-MetaData=1"); + url2.SetProtocol("http"); bool result=false; if ((result=m_file.Open(url2.Get()))) |