VLC not sending titles to Last.FM

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Quatroking
New Cone
New Cone
Posts: 7
Joined: 08 Apr 2009 22:41

VLC not sending titles to Last.FM

Postby Quatroking » 24 Aug 2009 01:36

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC not sending titles to Last.FM

Postby Jean-Baptiste Kempf » 24 Aug 2009 10:16

Messages?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Quatroking
New Cone
New Cone
Posts: 7
Joined: 08 Apr 2009 22:41

Re: VLC not sending titles to Last.FM

Postby Quatroking » 24 Aug 2009 14:09

none at all, VLC continues playing but Last.FM just stops, while its supposed to keep updating the titles I'm listening to.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC not sending titles to Last.FM

Postby Jean-Baptiste Kempf » 24 Aug 2009 15:21

There are always messages in VLC, open messages dialog and use the verbosity thing.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Quatroking
New Cone
New Cone
Posts: 7
Joined: 08 Apr 2009 22:41

Re: VLC not sending titles to Last.FM

Postby Quatroking » 24 Aug 2009 17:42

Alright, I'll leave that open for a few hours and see when the scrobbler stops, then throw it all in a pastebin.

Quatroking
New Cone
New Cone
Posts: 7
Joined: 08 Apr 2009 22:41

Re: VLC not sending titles to Last.FM

Postby Quatroking » 24 Aug 2009 18:17

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?

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: VLC not sending titles to Last.FM

Postby Arite » 24 Aug 2009 19:04

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.
Don't use PMs for support questions.

Quatroking
New Cone
New Cone
Posts: 7
Joined: 08 Apr 2009 22:41

Re: VLC not sending titles to Last.FM

Postby Quatroking » 25 Aug 2009 00:11

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".

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: VLC not sending titles to Last.FM

Postby Arite » 25 Aug 2009 20:23

So after ~2 hours it continues to scrobble according to the messages, however it doesn't submit properly to Last.fm?

Arite.
Don't use PMs for support questions.

BulletJBT
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Sep 2009 22:53

Re: VLC not sending titles to Last.FM

Postby BulletJBT » 30 Sep 2009 23:00

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.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC not sending titles to Last.FM

Postby VLC_help » 01 Oct 2009 13:23

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; }

BulletJBT
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Sep 2009 22:53

Re: VLC not sending titles to Last.FM

Postby BulletJBT » 01 Oct 2009 22:13

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

BulletJBT
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Sep 2009 22:53

Re: VLC not sending titles to Last.FM

Postby BulletJBT » 02 Oct 2009 05:40

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!

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC not sending titles to Last.FM

Postby VLC_help » 03 Oct 2009 15:15

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.

BulletJBT
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Sep 2009 22:53

Re: VLC not sending titles to Last.FM

Postby BulletJBT » 05 Oct 2009 19:27

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!

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC not sending titles to Last.FM

Postby VLC_help » 06 Oct 2009 13:49

trac-test.videolan.org/vlc/ticket/3089

BulletJBT
Blank Cone
Blank Cone
Posts: 18
Joined: 30 Sep 2009 22:53

Re: VLC not sending titles to Last.FM

Postby BulletJBT » 08 Oct 2009 05:12

Thank You!

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: VLC not sending titles to Last.FM

Postby funman » 17 Oct 2009 15:29

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) ?

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: VLC not sending titles to Last.FM

Postby funman » 27 Oct 2009 08:13

bump, the last 1.0.3 nightly build should fix that, can anyone confirm ?

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: VLC not sending titles to Last.FM

Postby funman » 28 Oct 2009 14:35

bumping again, I can't test myself since I don't want to use last.fm ^^

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: VLC not sending titles to Last.FM

Postby funman » 31 Oct 2009 22:36

re-bump, anyone on windows can test & confirm the bug is fixed so we can close the ticket ?

bollschweiler
New Cone
New Cone
Posts: 2
Joined: 11 Nov 2009 00:54

Re: VLC not sending titles to Last.FM

Postby bollschweiler » 11 Nov 2009 00:57

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.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC not sending titles to Last.FM

Postby VLC_help » 11 Nov 2009 13:07

It crashes even if you disable last.fm?

bollschweiler
New Cone
New Cone
Posts: 2
Joined: 11 Nov 2009 00:54

Re: VLC not sending titles to Last.FM

Postby bollschweiler » 11 Nov 2009 19:13

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.

tommygreatboom
New Cone
New Cone
Posts: 1
Joined: 02 Oct 2009 07:24

Re: VLC not sending titles to Last.FM

Postby tommygreatboom » 12 Nov 2009 07:27

I get this problem as well.
Anyone get the solution yet ?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 94 guests