• 1
  • 13
  • 14
  • 15
  • 16
  • 17(current)
Release Last.FM Scrobbler
thanx, that's indeed a bug in the addon.

here's a fixed version:
service.scrobbler.lastfm-4.0.3.zip
but in order to use it, you'll need at least Kodi 19-alpha2 !
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Has Last.FM changed something because my addon suddenly doesn't work anymore?
Or am I the only one that it doesn't work for maybe?

Update:
Never mind this.
I had a backup of my Windows user profile so I just copied the addon folder service.scrobbler.lastfm and from addon_data the folder service.scrobbler.lastfm and now it works.
Have no idea why it stopped working because everything looked ok.
Reply
Stopped working here.
Reply
Using service.scrobbler.lastfm 4.0.3 on Kodi 19.3 Windows 10 x64. I get an  error notification when starting Kodi, and here is the relevent part of my log:

Code:

2021-12-09 17:33:53.328 T:4728    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'ValueError'>
                                                   Error Contents: source code string cannot contain null bytes
                                                   Traceback (most recent call last):
                                                     File "C:\Users\David\AppData\Roaming\Kodi\addons\service.scrobbler.lastfm\default.py", line 21, in <module>
                                                       lastfm.Main()
                                                     File "C:\Users\David\AppData\Roaming\Kodi\addons\service.scrobbler.lastfm\lib\lastfm.py", line 15, in __init__
                                                       data = read_file(self.file)
                                                     File "C:\Users\David\AppData\Roaming\Kodi\addons\service.scrobbler.lastfm\lib\utils.py", line 109, in read_file
                                                       data = eval(data)
                                                   ValueError: source code string cannot contain null bytes
                                                   -->End of Python script error report<--
                                                   
2021-12-09 17:33:53.431 T:4728     INFO <general>: Python interpreter stopped

This was previously working fine in my Kodi 19.1
Reply
@drvid could you try if deleting this file fixes the error:
C:\Users\David\AppData\Roaming\Kodi\userdata\addon_data\service.scrobbler.lastfm\lastfm.xml

there are no changes between 19.1 and 19.3 that would cause addons to break as far as i know..
if the suggestion above doesn't solve your issue, just let me know and i'll dig deeper into it.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Great that fixed it thanks! The lastfm.xml file was indeed full of NULL bytes. I wonder what would have caused that.
Reply
Hello, may I please ask for help? I tried to use last.fm add-on with music played by tidal2 add-on, but it does not scrobble. There is no record about last.fm add-on in kodi log:
```
2022-01-27 10:31:17.678 T:26187    INFO <general>: CPythonInvoker(170, /storage/.kodi/addons/plugin.audio.tidal2/addon.py): script successfully run
2022-01-27 10:31:17.941 T:26189    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder flac
2022-01-27 10:31:18.271 T:26195   ERROR <general>: DoWork - Direct texture file loading failed for special://masterprofile/Thumbnails/9/9c297563.jpg
2022-01-27 10:31:18.407 T:1250     INFO <general>: Librespot: Kodi playback started
2022-01-27 10:31:18.980 T:26187    INFO <general>: Python interpreter stopped
2022-01-27 10:31:19.030 T:26104    INFO <general>: Librespot: suspended sink 1
2022-01-27 10:31:19.031 T:26104    INFO <general>: Librespot: librespot stopped
2022-01-27 10:31:19.033 T:26104    INFO <general>: Librespot: librespot thread stopped
2022-01-27 10:31:20.157 T:26189    INFO <general>: AudioDecoder: File is queued
2022-01-27 10:31:20.158 T:1221     INFO <general>: CActiveAE::ApplySettings - Forcing samplerate to 48000
2022-01-27 10:31:20.170 T:26189    INFO <general>: PAPlayer:TonguerepareStream - Ready
2022-01-27 10:31:20.177 T:1222     INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-01-27 10:31:20.177 T:1222     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "iec958:CARD=ICUSBAUDIO7D,DEV=0"
2022-01-27 10:31:20.199 T:1222     INFO <general>: CAESinkALSA::Initialize - Opened device "iec958:CARD=ICUSBAUDIO7D,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02"
2022-01-27 10:31:20.201 T:1222     INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2022-01-27 10:31:20.201 T:1222     INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
```
Reply
Actually, I discovered that last.fm does scrobble from tidal2 add-on, but not songs started manually, only songs that are played as follow up in album. Therefore 2nd sond and further. This seems to be a bug. Jan
Reply
if you can reproduce the issue and capture it in a Debug Log, it might give me some clues why it isn't working as it should.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
I keep my artist tags empty whenever I can use album artist tags (i.e. on every non-compilation album), so I needed the following at line 230 to get the track titles to scrobble correctly:

python:

if not artist:
  artist = tags.getAlbumArtist()

Otherwise works great!
Reply
thanx i'll add your change in the next version!
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Hey, playing from my library works great but scrobbling doesn't seem to work from TuneIn radio, I can see some of the artists/tracks in the log but they don't all appear, it's quite random as in it recognises the first two songs played and then nothing and sometimes I can see a track in now playing on last.fm but it doesn't get scrobbled.

Debug log here: https://paste.kodi.tv/uzesebehuq
Reply
How do you stop the "Updating session Key" Notifications? I would want to see them for debugging purposes, but not if everything is working as it should.
Kodi ver.19.1  Aeon MQ 8 Matrix Mod Windows 10 
Reply
Feature Request
Hello @ronie !
Could you kindly enable scrobbling of music videos. I don't mean the music videos in the Kodi video nodes but music with MP4 file extension fully tagged with MusicBrainz Picard, with complete MBIDs and scanned into the Music library. They never scrobble for me but MP3, FLAC and other audio formats work just fine. I added .mp4 musicextension in the advancedsettings.
Life is short, I don't have time for squabbles. Lets be friends, lets enjoy Kodi :)
Reply
I've the same request as TimeZone before me, enable scrobble of videos from concerts indexed by musicbrainz in the Music library as individual songs.

Not proving any log because this is a missing functionality and not a bug imo.

Thanks for the great work otherwise!
Reply
  • 1
  • 13
  • 14
  • 15
  • 16
  • 17(current)

Logout Mark Read Team Forum Stats Members Help
Last.FM Scrobbler5