Jump to content

last.fm scrobbler plugin feedback


ginjaninja

Recommended Posts

ginjaninja

Screenshot%202014-03-01%2022.27.12.png

 

Never Scrobbled Before, so perhaps not eligible tester.

 

feedback:

Setup went without a hitch although no feedback on lastfm authentication success/failure

 

Screenshot seems to show that favourites are coming though and reference to mediabrowser playing an item coming through. 

Edited by ginjaninja
Link to comment
Share on other sites

ginjaninja

after a few, the now playing seemed to stop getting through to last fm.

2014-03-01 22:41:19.9551 Debug - LastfmScrobbler: 'Tender' not played to completion, not scrobbling
2014-03-01 22:41:19.9551 Error - App: Error streaming media
	The specified network name is no longer available
	System.Net.HttpListenerException
	   at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult)
	   at System.IO.Stream.<BeginEndWriteAsync>b__17(Stream stream, IAsyncResult asyncResult)
	   at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.IO.Stream.<CopyToAsyncInternal>d__2.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<StreamFile>d__3.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<WriteToAsync>d__0.MoveNext()
	
2014-03-01 22:41:19.9551 Error - HttpResponseExtensionsInternal: Error occured while Processing Request: [AggregateException] One or more errors occurred.
	One or more errors occurred.
	System.AggregateException
	   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.WriteTo(Stream responseStream)
	   at ServiceStack.HttpResponseExtensionsInternal.WriteToOutputStream(IResponse response, Object result, Byte[] bodyPrefix, Byte[] bodySuffix)
	   at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse(IResponse response, Object result, ResponseSerializerDelegate defaultAction, IRequest request, Byte[] bodyPrefix, Byte[] bodySuffix)
	InnerException: System.Net.HttpListenerException
	The specified network name is no longer available
	   at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult)
	   at System.IO.Stream.<BeginEndWriteAsync>b__17(Stream stream, IAsyncResult asyncResult)
	   at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.IO.Stream.<CopyToAsyncInternal>d__2.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<StreamFile>d__3.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<WriteToAsync>d__0.MoveNext()
	
2014-03-01 22:41:19.9706 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/Audio/fe4de156569b5d322973c13706a4c5b9/stream.mp3?audioChannels=2&audioBitrate=128000&StartTimeTicks=0&audioCodec=mp3
2014-03-01 22:41:19.9706 Info - App: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140105\ffmpeg.exe -i file:"\\Q6600\Music\Blur\(1999) 13\D1_03. Coffee & TV.mp3" -threads 2 -vn -ab 128000 -ac 2 -id3v2_version 3 -write_id3v1 1 "C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\transcoding-temp\3937a295-f60f-8222-585a-902d0cae306d.mp3"
2014-03-01 22:41:19.9706 Debug - HttpServer: HTTP Response 500 to [::1]:52771. Response time: 148488.3556 ms
	Url: http://localhost:8096/mediabrowser/Audio/9524ddf149c9a3c9fc00beb288564d6d/stream.mp3?audioChannels=2&audioBitrate=128000&StartTimeTicks=0&audioCodec=mp3
2014-03-01 22:41:20.4157 Debug - SessionWebSocketListener: Received PlaybackStart message
2014-03-01 22:41:20.4407 Info - App: HttpClientManager POST: http://ws.audioscrobbler.com/2.0/?format=json
2014-03-01 22:41:20.6267 Error - LastfmScrobbler: Invalid method signature supplied
2014-03-01 22:41:20.6267 Info - LastfmScrobbler: nicholasbird is now playing 'Coffee & TV'
Link to comment
Share on other sites

Logos302

Yeah I saw this plug-in installed/setup it and now I have no idea what else to do with it :).  But I think it's working, no indication from the plug-in.  

Link to comment
Share on other sites

ginjaninja

but this was temporary..started working again for next track

 

Screenshot%202014-03-01%2022.46.04.png

Link to comment
Share on other sites

ginjaninja

dont know if scrobbling should communicate album as well as track name, but last.fm not always getting the correct album.

Link to comment
Share on other sites

MrSmoke

~snip~

 

Never Scrobbled Before, so perhaps not eligible tester.

 

feedback:

Setup went without a hitch although no feedback on lastfm authentication success/failure

 

Screenshot seems to show that favourites are coming though and reference to mediabrowser playing an item coming through. 

 

At the moment it will tell you if your password is incorrect otherwise it will just save settings saved. I'll have a look into giving better feedback :)

 

 

dont know if scrobbling should communicate album as well as track name, but last.fm not always getting the correct album.

 

Strange, I've never had that myself. I've updated the dev build to also send the album. Can you give that a try? It should also give you some more info in the logs now

2014-03-02 13:47:04.0959 Info - LastfmScrobbler: MrSmoke711 played 'March of the Pigs' - The Downward Spiral - Nine Inch Nails
Edited by MrSmoke
Link to comment
Share on other sites

ginjaninja

on 1.0.5174.2702, i can readily reproduce that the now playing does not get through to last.fm. will test next version and post logs.

cant see difference in logs between those that work work and dont work...typically first few will work, then 1 and only 1 failure then a few more will work etc.

Link to comment
Share on other sites

MrSmoke

on 1.0.5174.2702, i can readily reproduce that the now playing does not get through to last.fm. will test next version and post logs.

cant see difference in logs between those that work work and dont work...typically first few will work, then 1 and only 1 failure then a few more will work etc.

 

Its only for the now playing and the actual play's get through? If you see LastfmScrobbler: MrSmoke711 is now playing 'While I'm Still Here' in the logs then the request has been successfully sent to Last.fm.

 

Can you confirm that the tracks have the correct duration in Mediabrowser? If no duration is sent to last fm in the Now Playing request, the track will only show up as Now Playing for about 10 seconds before being dropped off.

Edited by MrSmoke
Link to comment
Share on other sites

ginjaninja

just rechecked, when the now playing doesnt get through, the actual plays dont get through either (making sure to play the entire song from beggining to end).

note using dashboard as client

 

https://dl.dropboxusercontent.com/u/84611964/server-63529366594.log

 

so joan armatrading/weakness in me................ makes it to last fm (now playing and actual plays).

she & him/why do you let me stare here?.............did not (either)....the track duration is correct.

 

logs attached

2014-03-02 16:52:24.1622 Debug - SessionWebSocketListener: Received PlaybackStart message
2014-03-02 16:52:24.2167 Info - App: HttpClientManager POST: http://ws.audioscrobbler.com/2.0/?format=json
2014-03-02 16:52:24.4052 Error - LastfmScrobbler: Invalid method signature supplied
2014-03-02 16:52:24.4052 Info - LastfmScrobbler: nicholasbird is now playing 'Why Do You Let Me Stay Here?'

logs suggest successful scrobble, but it wasnt successful...maybe last.fm api is reporting success when in fact its letting the side down.

ps still on 1.0.5174.270

Edited by ginjaninja
Link to comment
Share on other sites

ginjaninja

task to sync lastfm back to mediabrowser...so far so good

2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Found 2 tracks in last.fm library for Junip
2014-03-02 17:05:13.1428 Debug - LastfmScrobbler: Found match for Line of Fire = Line of Fire
2014-03-02 17:05:13.1428 Debug - LastfmScrobbler: Line of Fire Favourite: True
2014-03-02 17:05:13.1428 Debug - LastfmScrobbler: Found match for The Ghost of Tom Joad = The Ghost Of Tom Joad
2014-03-02 17:05:13.1428 Debug - LastfmScrobbler: The Ghost of Tom Joad Favourite: False
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Seasick Steve
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Rodriguez
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Green Day
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Blind Melon
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Mylo
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Living End, The
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Republica
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Rage Against The Machine
2014-03-02 17:05:13.1428 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Samuel Barber
2014-03-02 17:05:13.1583 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Girls Aloud
2014-03-02 17:05:13.1583 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Mark Ronson
2014-03-02 17:05:13.1583 Info - LastfmScrobbler: Found 1 tracks in last.fm library for Arcade Fire
2014-03-02 17:05:13.1583 Debug - LastfmScrobbler: Found match for Neighborhood #3 (Power Out) = Neighborhood #3 (Power Out)
2014-03-02 17:05:13.1583 Debug - LastfmScrobbler: Neighborhood #3 (Power Out) Favourite: True
2014-03-02 17:05:13.1583 Info - LastfmScrobbler: Nick has no tracks in last.fm library for Jack Peñate

Link to comment
Share on other sites

ginjaninja

Noticed a potential issue with the import last.fm data task.

 

I played a song of an artist from a compilation...it was scrobbled successfully to last.fm with the correct artist and title (and incorrect album)

i marked song as favourite on last fm and ran the import task.

MB3/plugin marked the incorrect instance of the song as favourite (an instance from the artists album (not identical to last.fms estimate of the album)  rather than the compilation).

 

maybe with the communication of 'album' in the next release's scrobble submission, this issue will go away.....or if lastfm api can not make album distinction then, all instances of the artist/title should be marked favourite in such a situation....such a splatter gun effect is not ideal, as some artist/title pairs will be different instances of the track and not necessarily all favourites...might need a user preference option if the lastfm api cannot distinguish an exact instance of the track (ie which album it came from).

Edited by ginjaninja
Link to comment
Share on other sites

Koleckai Silvestri

We need a way to remove the credentials from a user. If I try to empty the fields it gives me an error "Please Fill Out this Field" and won't save.

Link to comment
Share on other sites

Koleckai Silvestri

Have been using this across the morning. Consistently, it does not scrobble the first song of the mix. It will only scrobble the second and higher. Click the stop button on the player and it won't scrobble the first song when you restart.

 

I am also getting the Album mismatches on Scrobbled songs. My live and best of recordings are being identified as their shorter album versions. All songs are off of published album, correctly identified in the Web Client and iTunes, and have proper MP3 Tags via MusicBrainz' Picard.

Edited by Wayne Luke
Link to comment
Share on other sites

MrSmoke

just rechecked, when the now playing doesnt get through, the actual plays dont get through either (making sure to play the entire song from beggining to end).

note using dashboard as client

 

https://dl.dropboxusercontent.com/u/84611964/server-63529366594.log

 

so joan armatrading/weakness in me................ makes it to last fm (now playing and actual plays).

she & him/why do you let me stare here?.............did not (either)....the track duration is correct.

 

logs attached

2014-03-02 16:52:24.1622 Debug - SessionWebSocketListener: Received PlaybackStart message
2014-03-02 16:52:24.2167 Info - App: HttpClientManager POST: http://ws.audioscrobbler.com/2.0/?format=json
2014-03-02 16:52:24.4052 Error - LastfmScrobbler: Invalid method signature supplied
2014-03-02 16:52:24.4052 Info - LastfmScrobbler: nicholasbird is now playing 'Why Do You Let Me Stay Here?'

logs suggest successful scrobble, but it wasnt successful...maybe last.fm api is reporting success when in fact its letting the side down.

ps still on 1.0.5174.270

 

Thanks for the logs. I think i've identified the issue and have fixed it. Ill put out an update tomorrow (My time)

 

 

Noticed a potential issue with the import last.fm data task.

 

I played a song of an artist from a compilation...it was scrobbled successfully to last.fm with the correct artist and title (and incorrect album)

i marked song as favourite on last fm and ran the import task.

MB3/plugin marked the incorrect instance of the song as favourite (an instance from the artists album (not identical to last.fms estimate of the album)  rather than the compilation).

 

maybe with the communication of 'album' in the next release's scrobble submission, this issue will go away.....or if lastfm api can not make album distinction then, all instances of the artist/title should be marked favourite in such a situation....such a splatter gun effect is not ideal, as some artist/title pairs will be different instances of the track and not necessarily all favourites...might need a user preference option if the lastfm api cannot distinguish an exact instance of the track (ie which album it came from).

 

The API does give me the album name (and 2% of the time the album MusicBrainz ID). Ill do some tests and see how that works.

 

 

We need a way to remove the credentials from a user. If I try to empty the fields it gives me an error "Please Fill Out this Field" and won't save.

 

Good call. I'll add something to clear (and while im doing that I may as well update trakt because I don't think it has a clear either?)

 

 

Have been using this across the morning. Consistently, it does not scrobble the first song of the mix. It will only scrobble the second and higher. Click the stop button on the player and it won't scrobble the first song when you restart.

 

I am also getting the Album mismatches on Scrobbled songs. My live and best of recordings are being identified as their shorter album versions. All songs are off of published album, correctly identified in the Web Client and iTunes, and have proper MP3 Tags via MusicBrainz' Picard.

 

Could you provide me with some logs for the not scrobbling first track issue. It could also be related to the issue ginjaninja is having above.

 

 

Thanks for the feedback and testing guys, most appreciated!

Link to comment
Share on other sites

ginjaninja

For some reason i had to manually upgrade to the latest dev release, even though my plugin update level was set to dev.

 

anyways on  1.0.5177.16285

 

although the album is being communicated 

2014-03-08 12:58:34.6190 Info - Last.fm Scrobbler: nicholasbird is now playing 'Son of a Preacher Man' - Pulp Fiction - Dusty Springfield

and last fm is aware of the album

http://www.last.fm/music/Various+Artists/Pulp+Fiction?ac=pulp

 

Last FM didnot match album in my now playing when the track 'scrobbled'

 

similar for

2014-03-08 13:09:20.8711 Info - Last.fm Scrobbler: nicholasbird is now playing 'Girl, You'll Be a Woman Soon' - Pulp Fiction - Urge Overkill

 

went to artist's album rather than pulp fiction album.

Edited by ginjaninja
Link to comment
Share on other sites

ginjaninja

Played an album from begining to end

 

Some trakcs didnt 'get through'

2014-03-08 14:54:21.7964 Error - Last.fm Scrobbler: Invalid method signature supplied
2014-03-08 14:54:21.7964 Error - Last.fm Scrobbler: Failed to Scrobble track: Neighborhood #2 (Laïka)
2014-03-08 14:54:22.1515 Debug - SessionWebSocketListener: Received PlaybackStart message
2014-03-08 14:54:22.1695 Info - App: HttpClientManager POST: http://ws.audioscrobbler.com/2.0/?format=json
2014-03-08 14:54:22.3835 Error - Last.fm Scrobbler: Invalid method signature supplied
2014-03-08 14:54:22.3835 Error - Last.fm Scrobbler: Failed to send now playing for track: Une année sans lumière

1st two did...2nd two didnt..last ones did

Edited by ginjaninja
Link to comment
Share on other sites

  • 6 months later...
idlesight

Great plugin for a great program. My only question is why does it say "in XX minutes" after the song scrobbled? Thanks devs for MB and this plugin!

 

540fb1a695f20_Capture.png

Link to comment
Share on other sites

the plugin was contributed very quickly by a forum member, and he hasn't been around in a while. it could probably use a review. it would be great if someone new could step up and help add new features to it.

Link to comment
Share on other sites

idlesight

Thanks for the quick reply Luke. In any case, after a while the scrobbles do show a similar time stamp as other songs and I can live with that.

 

541028a5e0df8_Capture2.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...