Ampache

Pour l'Amour de la Musique

introduction

You are not logged in.

Announcement

- Forums Updated 12/27/2008 -

Please read the Rules before posting. Also please always update to the latest stable release before submitting a bug report. If you are using a development release please update to the latest SVN.

Useful Links

#1 2008-10-19 06:45:17

JimmyNeuron
Member
Registered: 2008-10-19
Posts: 2
Ampache Version: 3.4.3
MySQL Version: 5.0.51a
PHP Version: 5
Reputation :   

Last.fm submissions problem in 3.4.3

Hello,

I installed Ampache 3.4.3 (current stable version) and everything works great except for the Last.fm submissions. I can't find a solution for my problem in the forums: installation seems correct, latest version etc...
I get this in the logs:
2008-10-19 15:35:45 { alex } ( Stats ) - Registering stats for This Lullaby
2008-10-19 15:35:45 { alex } ( LastFM ) - Running Handshake, missing information
2008-10-19 15:35:46 { alex } ( LastFM ) - Handshake Failed: Invalid POST URL returned, unable to continue
2008-10-19 15:35:46 { alex } ( LastFM ) - Handshake failed, you lose
2008-10-19 15:35:46 { alex } ( stream ) - Stream Ended at 2000927 bytes out of 2000927

In the DB table "user_preference", my Last.fm username and md5-hash of the password seem to be filled in correctly. But other preferences in that area (64 to 67) of the table are empty. Is that normal? I don't know if the submission url and port should be in the database too...
I don't know much about PHP, so if anyone could guide me I'd be most grateful! 

Edit: additional info: I'm running Ampache on Ubuntu Server ed. (hardy), with lighttpd as web server and the php-cgi module for PHP.

Last edited by JimmyNeuron (2008-10-19 06:58:35)

Offline

 

#2 2008-10-19 07:38:43

vollmerk
Lead Developer
From: Corvallis, OR
Registered: 2004-09-25
Posts: 3091
Ampache Version: Newer then SVN
MySQL Version: 5.x
PHP Version: 5.2.x
Reputation :   38 
Website

Re: Last.fm submissions problem in 3.4.3

I'd guess it's a problem with last.fm give it a while and try again, their stuff is always breaking

Offline

 

#3 2008-10-19 07:46:26

JimmyNeuron
Member
Registered: 2008-10-19
Posts: 2
Ampache Version: 3.4.3
MySQL Version: 5.0.51a
PHP Version: 5
Reputation :   

Re: Last.fm submissions problem in 3.4.3

With some extra debugging messages, I found the problem: I misspelled my password. Sorry for reporting an unexisting problem.
But maybe it's a good idea to add a test on BADAUTH in the function handshake() in scrobbler.class.php? Invalid authentication credentials give a mysterious "Invalid POST URL returned, unable to continue" in the debug logs. If you add a test on BADAUTH, it could be more clear?

Offline

 

#4 2008-10-20 22:42:09

cjstm
Roadie
From: Denison, Texas
Registered: 2005-08-25
Posts: 180
Ampache Version: Ampache-3.4.1
MySQL Version: 5.0
PHP Version: 5
Reputation :   

Re: Last.fm submissions problem in 3.4.3

Created ticked #317


Charlie
We are debian.org. Lower your prices, surrender your code
We will add your hardware and software distinctiveness to our own. Resistance is futile.

Offline

 

#5 2008-10-21 00:57:42

vollmerk
Lead Developer
From: Corvallis, OR
Registered: 2004-09-25
Posts: 3091
Ampache Version: Newer then SVN
MySQL Version: 5.x
PHP Version: 5.2.x
Reputation :   38 
Website

Re: Last.fm submissions problem in 3.4.3

Thanks, again once I have internet I'll work on this :(

Offline

 

#6 2008-10-21 03:33:43

vetto
Roadie
Registered: 2008-01-15
Posts: 241
Ampache Version: v.3.5-Alpha1 (Build 001)
MySQL Version: 5.0.45-1
PHP Version: 5.2.3-1
Reputation :   

Re: Last.fm submissions problem in 3.4.3

I have two internets, if you want I can email you one of mine...o wait

Offline

 

#7 2008-12-14 15:27:22

fsmorygo
Closet Fan
Registered: 2008-12-14
Posts: 6
Ampache Version: 3.4.3
MySQL Version: 5.0.68
PHP Version: 5.2.6
Reputation :   

Re: Last.fm submissions problem in 3.4.3

It seems I have the same problem.

Code:

2008-12-15 13:15:28 { fsmorygo } ( LastFM ) - Running Handshake, missing information
2008-12-15 13:15:28 { fsmorygo } ( LastFM ) - Handshake Failed: Invalid POST URL returned, unable to continue
2008-12-15 13:15:28 { fsmorygo } ( LastFM ) - Handshake failed, you lose

Only user and password fields are not empty in user_preferences table, so the situation is same as Jimmy's. But login/pass are typed correctly, so I don't know what to do.

Version 3.4.3 (stable)

Offline

 

#8 2008-12-14 21:38:45

vollmerk
Lead Developer
From: Corvallis, OR
Registered: 2004-09-25
Posts: 3091
Ampache Version: Newer then SVN
MySQL Version: 5.x
PHP Version: 5.2.x
Reputation :   38 
Website

Re: Last.fm submissions problem in 3.4.3

last fm dies from time to time... I wouldn't worry too much about it unless it continues for a while

Offline

 

#9 2008-12-15 10:06:35

fsmorygo
Closet Fan
Registered: 2008-12-14
Posts: 6
Ampache Version: 3.4.3
MySQL Version: 5.0.68
PHP Version: 5.2.6
Reputation :   

Re: Last.fm submissions problem in 3.4.3

You are right, the problem was more evident that i supposed. Thanks.

Offline

 

Board footer

Powered by PunBB and MyBestBB

range