mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 04:19:55 +01:00
Remove few Ubuntu One things remaining
This commit is contained in:
parent
3e17a0adb5
commit
bfaf127ed7
@ -340,7 +340,6 @@
|
||||
<file>providers/soundcloud.png</file>
|
||||
<file>providers/subsonic-32.png</file>
|
||||
<file>providers/subsonic.png</file>
|
||||
<file>providers/ubuntuone.png</file>
|
||||
<file>providers/wikipedia.png</file>
|
||||
<file>rainbowdash.png</file>
|
||||
<file>sample.mood</file>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB |
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user