Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418937 - media-sound/qmpdclient-9999 ( and possibly earlier ) fail to post scrobble data with QT 4.8
Summary: media-sound/qmpdclient-9999 ( and possibly earlier ) fail to post scrobble da...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL: https://github.com/Voker57/qmpdclient...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-06-01 10:42 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2012-07-02 15:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Scrobbling fix for Qt 4.8 (0001-First-attempt-at-fixing-lastfm-scrobbling.patch,1.45 KB, patch)
2012-06-01 10:42 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-06-01 10:42:17 UTC
Created attachment 313807 [details, diff]
Scrobbling fix for Qt 4.8

As per the bug in the URL, qmpdclient-9999 fails under QT4.8 due to a change in the QT Api that means POST requests are no longer submitted as "application/x-www-form-urlencoded" . 

AS a result of this, its likely this problem affects earlier versions of qmpdclient scrobble support for the same reason ( I upgraded to 9999 as a result of scrobbling issues in a hope of avoiding said issues ). 

Upstream are a bit quiet at present however, but fortunately, I've managed to work out enough of a patch to coerce it into working again on the git version. 

https://github.com/Voker57/qmpdclient/pull/14/files

Hopefully upstream can merge this in sometime soon, but in the interim:

Old versions of QMPDClient need to be checked for lastfm scrobble support on QT4.8 and blocks possibly added, or compatibility patches appended. 

The change in QT that causes this: http://qt.gitorious.org/qt/qt/commit/2a6d7fcde4092f41230841bbe4c078f2e42166bb/diffs 

Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.4.0-gentoo x86_64)
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.1
Timestamp of tree: Thu, 31 May 2012 15:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x11 rainyday perl-experimental-snapshots bumblebee java-overlay seden
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
< cant be bothered posting the rest >
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2012-07-02 15:31:58 UTC
Applied your patch, thanks