1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-14 18:35:16 +01:00

Better check for MS-WMSP.

This commit is contained in:
John Maguire 2010-10-25 12:19:36 +00:00
parent cc782430cf
commit 6c5ce58eda

View File

@ -420,7 +420,7 @@ void SongLoader::MagicReady() {
// It is a playlist - we'll get more data and parse the whole thing in
// EndOfStreamReached
qDebug() << "Magic says" << parser_->name();
if (parser_->name() == "ASX/INI") {
if (parser_->name() == "ASX/INI" && url_.scheme() == "http") {
// This is actually a weird MS-WMSP stream. Changing the protocol to MMS from
// HTTP makes it playable.
parser_ = NULL;