diff --git a/data/data.qrc b/data/data.qrc index 25a861874..ba05aab3d 100644 --- a/data/data.qrc +++ b/data/data.qrc @@ -340,7 +340,6 @@ providers/soundcloud.png providers/subsonic-32.png providers/subsonic.png - providers/ubuntuone.png providers/wikipedia.png rainbowdash.png sample.mood diff --git a/data/providers/ubuntuone.png b/data/providers/ubuntuone.png deleted file mode 100644 index 1a8d1f195..000000000 Binary files a/data/providers/ubuntuone.png and /dev/null differ diff --git a/src/engines/gstenginepipeline.cpp b/src/engines/gstenginepipeline.cpp index 42b749657..0c3487a11 100644 --- a/src/engines/gstenginepipeline.cpp +++ b/src/engines/gstenginepipeline.cpp @@ -841,7 +841,7 @@ void GstEnginePipeline::SourceSetupCallback(GstURIDecodeBin* bin, instance->url().host().contains("grooveshark")) { // Grooveshark streaming servers will answer with a 400 error 'Bad request' // if we don't specify 'Range' field in HTTP header. - // Maybe it could be usefull in some other cases, but for now, I prefer to + // Maybe it could be useful in some other cases, but for now, I prefer to // keep this grooveshark specific. GstStructure* headers; headers = gst_structure_new("extra-headers", "Range", G_TYPE_STRING, @@ -850,17 +850,6 @@ void GstEnginePipeline::SourceSetupCallback(GstURIDecodeBin* bin, gst_structure_free(headers); } - if (g_object_class_find_property(G_OBJECT_GET_CLASS(element), - "extra-headers") && - instance->url().host().contains("files.one.ubuntu.com")) { - GstStructure* headers; - headers = - gst_structure_new("extra-headers", "Authorization", G_TYPE_STRING, - instance->url().fragment().toAscii().data(), nullptr); - g_object_set(element, "extra-headers", headers, nullptr); - gst_structure_free(headers); - } - if (g_object_class_find_property(G_OBJECT_GET_CLASS(element), "user-agent")) { QString user_agent = QString("%1 %2").arg(QCoreApplication::applicationName(),