From bfaf127ed7ab136d874fcd67f469a189c54b84c5 Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sun, 14 Sep 2014 21:43:13 +0200 Subject: [PATCH] Remove few Ubuntu One things remaining --- data/data.qrc | 1 - data/providers/ubuntuone.png | Bin 1964 -> 0 bytes src/engines/gstenginepipeline.cpp | 13 +------------ 3 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 data/providers/ubuntuone.png 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 1a8d1f19532ec01e0901cd6a6c44b69797c359ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1964 zcmV;d2UGZoP)Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_000LA zNklpgIHI(koY>_~!2nu2eg+4sz&RupXyF2^1+vp}I zcXm5-=lj0^C`quG`*2H!7tOydTO^*{rGzjM3^xYDt7!?yH5 z;yI3k`hfrxG$FhXsDU8&;rBK8eJj3y0~`g;0KF+V4tx*139JKJ@Z4mKfutey(h3jD zX)#xUGQ4ma@Tz0#yD)YE{duAf_yO1kGyxTd?x-ovibR{L#BxLUawu^<6!-w&I|~px z6OI78f!V-Fu0$*xRHs1P6#iNZH(3h>jwlp-AWi}sp}@7jMyeIK3bp>2B1U30&?+-kwr5TOtDJ~Yj%RbX{N7teF{RB_C_DwZokAdMY5T1pGZ|~b za{T_Khijg~bIY7Yk+O48V7AD~^@`jk0oDL3@s4(@TGkSs@0tVw7h-G&PG@+Yb>&{b z|B>ZYSxsX+#vO`-^6yjym?l$-q1I`QqcX^H#s*pR(#=7G&Ol&iRbV8rwglN`paOvy ziXjzAwiM!ejy>#0={%Pe;Dw7iSqh63g9{j{3L(>40sf-`92q~6h7&M|T)rBYx9q{Dp!#_dwrutFDt z0!AxVp^nzL3_pCONbob5?+c907%xFu4iQL^6IdiwDj+-BS@g#lz+pvJe;pXN&Cv22M%8~!fs>-2$zj7GF+;-=S;rBqMo3Ha{RifdWx&?bGCEXbJ$Jr((VOE#w3cJUpqZ^Jtm6dKH!;}f1mB-5K9Z}ldOM+(|pn8qZ@^NbS0S;FT# zPGf%B_mgD5uL6$KP z?esk8PJoqptL>&!5>oGFXdjq%=}ODJTo{($2}6y|*s?h8q1!crpU*teCJ0p?i-`JR z!LqxHNWt8Pydbui4Iz)MtvFbroBFe##zaD-Smw#e(@jR^>~UBk6mu1(MV^zzt2;-* z_uHh~EpeJT#5RMRCjue&WUzb}-nS%fg#w-jfn1*US(VI6i?Jf7vTWzxf%T{IewW!W zF2?mkz{1H1dmCvT{MPNkE2OZQB+Ll3q zRUTGl@p>A#Fm8!jqQx7le6CQ&Rb-Qa8*R4FrZEv?1)ICL+uZR?c|P!Qmc&8Ve3|=d z9(Cn+#N@gMJ4*)ZQ7;ApcnOxY*vR32oeJ%rUG0yCVGL3?CM;;`wfNgi-19K7%NdZ# z2B1q?Ubt%Obfd6yvbcMgeUI0HhwY}t9!aOrzt>|Wp2zr%6okd?Yni1yHc*0OSb}** z*scu4p3aNam@d;{cL^J`9;Ql+ceYuhG+Wi7x09qsSZNp7F2${qilkB6uwpBqzy;(y zm7mz}g+&toA7Q(P5~R4dOQN;#u987)>Z^h3SU4E4MfEP>|4gK;2D24=o-nY|p_PKHyf8 yPNY2~cnaApNwg^lQawIxf|ek`vL4)deEtPdf0-7Xa+b9K0000url().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(),