scrobbler breaks when you upgrade curl 7.21.3 -> 7.21.4 #16

Closed
Dieterbe opened this Issue Mar 27, 2011 · 7 comments

Comments

Projects
None yet
3 participants

On Arch Linux, I performed the following curl upgrade:

upgraded curl (7.21.3-1 -> 7.21.4-2)

As you can see, on song changes, nothing gets really submitted:

Trying to load module: scrobbler
Added module suffix scrobbler -> scrobbler.so
Trying user configured path `/home/dieter/.mpdcron/modules/scrobbler.so'
Trying system path `/usr/lib/mpdcron-0.3/modules/scrobbler.so'
Found scrobbler -> `/usr/lib/mpdcron-0.3/modules/scrobbler.so'
[scrobbler] Starting mpdcron/scrobbler (mcn 0.3)
Loaded module `/usr/lib/mpdcron-0.3/modules/scrobbler.so'
Connecting to `localhost' on port 6600 with timeout 0
Connected to Mpd server, running version 0.16.0
Sending idle command with mask 0xff
Sending status & currentsong commands to Mpd server
[scrobbler] New song detected (Hallucinogen - Jiggle of the Sphinx), id: 115, pos: 115
Setting environment variable MC_CALLS_PLAYER=1
Running hook: hooks/player home directory: /home/dieter/.mpdcron
Failed to execute hook player: Failed to execute child process "hooks/player" (No such file or directory)
Sending idle command with mask 0xff
Sending status & currentsong commands to Mpd server
[scrobbler] Submitting old song (Hallucinogen - Jiggle of the Sphinx), id: 115, pos: 115
[scrobbler] 1301211789, songchange: Hallucinogen - Jiggle of the Sphinx (399)
[scrobbler] New song detected (Fluro Conspiracy - Ancient Suns), id: 116, pos: 116
Setting environment variable MC_CALLS_PLAYER=2
Running hook: hooks/player home directory: /home/dieter/.mpdcron
Failed to execute hook player: Failed to execute child process "hooks/player" (No such file or directory)
Sending idle command with mask 0xff

So I downgraded curl again, and then it works fine:

Trying to load module: scrobbler
Added module suffix scrobbler -> scrobbler.so
Trying user configured path `/home/dieter/.mpdcron/modules/scrobbler.so'
Trying system path `/usr/lib/mpdcron-0.3/modules/scrobbler.so'
Found scrobbler -> `/usr/lib/mpdcron-0.3/modules/scrobbler.so'
[scrobbler] Starting mpdcron/scrobbler (mcn 0.3)
Loaded module `/usr/lib/mpdcron-0.3/modules/scrobbler.so'
Connecting to `localhost' on port 6600 with timeout 0
Connected to Mpd server, running version 0.16.0
Sending idle command with mask 0xff
[scrobbler] [last.fm] handshake successful
[scrobbler] [last.fm] session: <id>
[scrobbler] [last.fm] now playing url: http://post.audioscrobbler.com:80/np_1.2
[scrobbler] [last.fm] submit url: http://post2.audioscrobbler.com:80/protocol_1.2
Sending status & currentsong commands to Mpd server
[scrobbler] New song detected (Hara Gobi - 303 Gold), id: 117, pos: 117
Setting environment variable MC_CALLS_PLAYER=1
Running hook: hooks/player home directory: /home/dieter/.mpdcron
Failed to execute hook player: Failed to execute child process "hooks/player" (No such file or directory)
Sending idle command with mask 0xff
[scrobbler] [last.fm] sending 'now playing' notification
[scrobbler] [last.fm] post data: &s=<some data here>
[scrobbler] [last.fm] url: http://post.audioscrobbler.com:80/np_1.2
[scrobbler] [last.fm] OK

here is the changelog, I don't see any specific/breaking/api changes though
http://curl.haxx.se/changes.html

I do see some configure flags have changed in the Arch package during the version bump:

10:00:11 dieter@ws extra-i686 svn diff -r 104004:110631 PKGBUILD                                                                                                                                                                                                                  1 ↵
Index: PKGBUILD
===================================================================
--- PKGBUILD    (.../trunk/PKGBUILD)    (revision 104004)
+++ PKGBUILD    (.../repos/extra-i686/PKGBUILD) (revision 110631)
@@ -1,11 +1,12 @@
 # $Id$
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
 # Contributor: Eric Belanger <eric@archlinux.org>
 # Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

 pkgname=curl
-pkgver=7.21.3
-pkgrel=1
+pkgver=7.21.4
+pkgrel=2
 pkgdesc="An URL retrival utility and library"
 arch=('i686' 'x86_64')
 url="http://curl.haxx.se"
@@ -14,7 +15,7 @@
 options=('!libtool')
 source=(http://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2
         curlbuild.h)
-md5sums=('5b57fee22090b5c43a6886fdd35af2ce'
+md5sums=('e2dd20c88a7d01c745af9d788545ab2a'
          '751bd433ede935c8fae727377625a8ae')

 [[ $CARCH == "x86_64" ]] && _curlbuild=curlbuild-64.h
@@ -32,8 +33,9 @@
         --disable-ldap \
         --enable-manual \
         --enable-versioned-symbols \
-        --with-ca-path=/etc/ssl/certs \
-        --without-libidn
+        --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
+        --without-libidn \
+        --enable-threaded-resolver
     make
 }

alip was assigned Feb 10, 2013

Owner

alip commented Feb 10, 2013

Can you still reproduce this?
Does rebuilding mpdcron after the curl upgrade help?

i'm not using mpdcron anymore.. for now.

kyv commented Jun 4, 2013

It seems to still be broken. I have both libre and last fm configured, but nothing is submited to either. As above, In the logs I see "[scrobbler] New song detected", but there are no other messages. I would expect: "[scrobbler] [last.fm] sending 'now playing' notification" or some such.

mpdcron-0.3-49a02b9-dirty
curl 7.30.0-1

Owner

alip commented Aug 9, 2013

eaa440f should fix this.
Please confirm with latest git.

Owner

alip commented Aug 9, 2013

Please reopen if the bug is still reproducible.

alip closed this Aug 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment