Page 1 of 2
VLC not sending titles to Last.FM
Posted: 24 Aug 2009 01:36
by Quatroking
Lately I've been noticing VLC to stop sending my song titles to my Last.FM account when I've been playing music for about 2 hours, is this supposed to happen? If not, is there a fix for this?
I'm using VLC 1.0.1 Goldeneye on a Vista Home Basic 64-bit.
Thanks in advance,
Quatroking
Re: VLC not sending titles to Last.FM
Posted: 24 Aug 2009 10:16
by Jean-Baptiste Kempf
Messages?
Re: VLC not sending titles to Last.FM
Posted: 24 Aug 2009 14:09
by Quatroking
none at all, VLC continues playing but Last.FM just stops, while its supposed to keep updating the titles I'm listening to.
Re: VLC not sending titles to Last.FM
Posted: 24 Aug 2009 15:21
by Jean-Baptiste Kempf
There are always messages in VLC, open messages dialog and use the verbosity thing.
Re: VLC not sending titles to Last.FM
Posted: 24 Aug 2009 17:42
by Quatroking
Alright, I'll leave that open for a few hours and see when the scrobbler stops, then throw it all in a pastebin.
Re: VLC not sending titles to Last.FM
Posted: 24 Aug 2009 18:17
by Quatroking
http://quatroking.pastebin.com/f15398c81
I noticed that audioscrobbler gives a "No artist" message on line 3574, which seems to be the last message audioscrobbler gives before registered some meta data and no longer giving anything else. Could this be the problem?
Re: VLC not sending titles to Last.FM
Posted: 24 Aug 2009 19:04
by Arite
Both artist and trackname are required fields for scrobbling. Scrobbling seems to be working correctly up to the file GitS\04 - Idling.mp3 where, as you said, it says there is no artist.
Presumably all other files scrobbled prior to that correctly? If so, ensure you metadata is correct. The track played after GitS\04 - Idling.mp3 was Cowboy Bebop\08 No Reply.mp3 which says that the Metadata was registered, implying it should be scrobbled, however the messages appear to finish before the songs finished playing.
Arite.
Re: VLC not sending titles to Last.FM
Posted: 25 Aug 2009 00:11
by Quatroking
I just fixed all the metadata in my media library, making sure there are no files left with no artist/album/title information. Didn't help a lot.
http://quatroking.pastebin.com/d566794a0
The last audioscrobbler message is at line 1612, again, "meta data registered".
Re: VLC not sending titles to Last.FM
Posted: 25 Aug 2009 20:23
by Arite
So after ~2 hours it continues to scrobble according to the messages, however it doesn't submit properly to Last.fm?
Arite.
Re: VLC not sending titles to Last.FM
Posted: 30 Sep 2009 23:00
by BulletJBT
I'm seeing this behavior as well.
Scrobbling seems to work for a while and then it just stops until I stop and restart VLC.
I've been turning on the Messages window at Verbosity Level 2 and I copied the messages to Notepad++.
Here are the lines which I found with audioscrobbler:
audioscrobbler debug: Song not listened long enough, not submitting
audioscrobbler debug: Meta data registered
audioscrobbler debug: Song not listened long enough, not submitting
audioscrobbler debug: Meta data registered
audioscrobbler debug: Song not listened long enough, not submitting
audioscrobbler debug: Meta data registered
audioscrobbler debug: Song not listened long enough, not submitting
audioscrobbler debug: Meta data registered
audioscrobbler debug: Song not listened long enough, not submitting
audioscrobbler debug: Meta data registered
audioscrobbler debug: Song not listened long enough, not submitting
audioscrobbler debug: Meta data registered
audioscrobbler debug: Song not listened long enough, not submitting
audioscrobbler debug: Meta data registered
The last of these "not listened long enough, not submitting" was after listening to Dave Matthews Band - Seek Up from the Live At Red Rocks Disc 1 (a 16:20 long song!)
If I exit VLC and restart it, I'm sure that it will start scrobbling just fine again.
Re: VLC not sending titles to Last.FM
Posted: 01 Oct 2009 13:23
by VLC_help
Code: Select all
/* Send if the user had listen more than 240s OR half the track length */
if( ( played_time < 240 ) && ( played_time < ( p_sys->p_current_song.i_l / 2 ) ) )
{
msg_Dbg( p_this, "Song not listened long enough, not submitting" );
goto end;
}
Re: VLC not sending titles to Last.FM
Posted: 01 Oct 2009 22:13
by BulletJBT
I've been leaving VLC running constantly for the last 24 hours (muted when I'm away from the computer) and yet scrobbling is not functioning all the time: Check my last.fm profile at
http://www.last.fm/user/ByronTodd
If I had the time, I would check the code to see if something happens to "played_time" when VLC is paused, because I think there is something about stopping and restarting the playback that gets the scrobbling working again. (I think but cannot prove so take my musing with a grain of salt!
)
I'll continue to investigate this as I'm becoming more and more reliant on VLC as my one for everything media player.
Furthermore, please give some "kudos" to the devs as I am not in anyway trying to be a PITA here... (I'd contribute $$$ myself, but my PayPal is empty and I'm currently unemployed....)
BT
Re: VLC not sending titles to Last.FM
Posted: 02 Oct 2009 05:40
by BulletJBT
It's something in the Pause function. If I pause a song before it's midway through playing (meeting the conditions set in the code to not scrobble), further songs are not scrobbled until VLC is exited and restarted.
You can check my last.fm scrobbling account, and I'll try to get run the Messages and pastebin the results so that this bug can be verified (and fixed!)
Thank you devs!
Re: VLC not sending titles to Last.FM
Posted: 03 Oct 2009 15:15
by VLC_help
You can check my last.fm scrobbling account, and I'll try to get run the Messages and pastebin the results so that this bug can be verified (and fixed!)
I will open ticket once you paste the messages.
Re: VLC not sending titles to Last.FM
Posted: 05 Oct 2009 19:27
by BulletJBT
Ok.
What I did:
Started up VLC 1.0.2 Goldeneye.
Pulled up the Messages window.
Turned Verbosity Level to 2.
Started playing the Dave Matthews Band - Stand Up album - Old Dirt Hill (Bring That Beat Back).
After that song completed, checked my Last.fm account:
http://www.last.fm/user/ByronTodd - successful scrobbler posting.
DMB - Hunger For The Great Light played, and successfully scrobbled.
DMB - Hello Again played, and successfully scrobbled.
DMB - You Might Die Trying paused at 2:00 (of 4:44) for approximately one minute.
DMB - You Might Die Trying un-paused, and finished playing, successfully scrobbled,
DMB - American Baby paused at 0:44 (of 4:35).
DMB - American Baby un-paused, and finished playing, not scrobbled - message of "Song not listened long enough, not submitting"
DMB - American Baby Intro paused at ??? (of 2:03).
DMB - American Baby Intro un-paused, and finished playing, not scrobbled, same message.
DMB - Louisiana Bayou started playing and stopped.
Output of the "Messages" window pasted into
http://pastebin.ca/1595025
Thank you for your help!
Re: VLC not sending titles to Last.FM
Posted: 06 Oct 2009 13:49
by VLC_help
trac-test.videolan.org/vlc/ticket/3089
Re: VLC not sending titles to Last.FM
Posted: 08 Oct 2009 05:12
by BulletJBT
Thank You!
Re: VLC not sending titles to Last.FM
Posted: 17 Oct 2009 15:29
by funman
Hi,
I believe it is fixed in git repository
Could you try the next nightly build (20091018) from
here (it will be built in 9 hours from now) ?
Re: VLC not sending titles to Last.FM
Posted: 27 Oct 2009 08:13
by funman
bump, the
last 1.0.3 nightly build should fix that, can anyone confirm ?
Re: VLC not sending titles to Last.FM
Posted: 28 Oct 2009 14:35
by funman
bumping again, I can't test myself since I don't want to use last.fm ^^
Re: VLC not sending titles to Last.FM
Posted: 31 Oct 2009 22:36
by funman
re-bump, anyone on windows can test & confirm the bug is fixed so we can close the ticket ?
Re: VLC not sending titles to Last.FM
Posted: 11 Nov 2009 00:57
by bollschweiler
I can "confirm" that this problem exists. Not working in the present release build (1.03). Furthermore, VLC is frequently crashing at ends of songs. I am guessing that these are not unrelated issues.
EDIT: Now testing nightly build as requested above.
EDIT: So, I installed what was supposedly the nightly build, verified that my last.fm username/pass info had been entered, restarted, opened messages, set verbosity to 2, played a track. VLC crashed at the end of the track. Last.fm received no information.
Re: VLC not sending titles to Last.FM
Posted: 11 Nov 2009 13:07
by VLC_help
It crashes even if you disable last.fm?
Re: VLC not sending titles to Last.FM
Posted: 11 Nov 2009 19:13
by bollschweiler
No, no crash except [evidently] on attempted submission to last.fm.
Okay, evidently my diagnosis was mostly incorrect. VLC is crashing with or without attempted submissions. And apparently several (in particular, three) submissions to Last.fm were made. I'll have to do more work to track this down. Sorry for the false confirmation.
Re: VLC not sending titles to Last.FM
Posted: 12 Nov 2009 07:27
by tommygreatboom
I get this problem as well.
Anyone get the solution yet ?