Release LastFM Tube
#1
Image

Available from my beta repo and the Official Kodi repository.

I'm a long time LastFM fan going far back in XBMC history... Most of their api/service has been stripped from its glory! for those who still scrobble this plugin will access your user history info and pair it with youtube videos found on the net. Enjoy!!
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Twitter | Help?
Reply
#2
Thanks for this!  I can't believe I'm the first reply.  It still partially works.  Main problem is that Top Tracks gets an error (see log):

19:26:07.349 T:3439211264 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xcc in position 36: ordinal not in range(128)
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.audio.lastfmtube/default.py", line 350, in <module>
elif mode == 3: LastFMTube().getTopTracks(user, pwd)
File "/home/osmc/.kodi/addons/plugin.audio.lastfmtube/default.py", line 255, in getTopTracks
name = encodeString(str(top.item))
File "/home/osmc/.kodi/addons/plugin.audio.lastfmtube/default.py", line 91, in encodeString
return ''.join(i for i in string.encode('utf8') if ord(i)<128)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 36: ordinal not in range(128)
-->End of Python script error report<--
19:26:07.642 T:4079317584 ERROR: GetDirectory - Error getting plugin://plugin.audio.lastfmtube/?mode=3&name=Top%20Tracks&pwd=660f95562af2836686069e4da4950a1b&url&user=myuser
19:26:07.642 T:4079317584 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.lastfmtube/?mode=3&name=Top%20Tracks&pwd=660f95562af2836686069e4da4950a1b&url&user=myuser) failed]
I didn't create an API key.  Just username/password.  Would doing so help do you think?   

Recently Played section works. Loved Tracks seemed to list a couple, but I don't have many.

Besides fixing Top Tracks, couple areas for improvement I notice:
1. the YouTube background behind the list of Recent Tracks results videos is extremely lo-res. Smile
2. It would be helpful to somehow indicate who the uploader is, the upload date, maybe description. Maybe with "info" button?

Question:  When one video plays, what plays next? 

Thanks, man!
Reply
#3
not working
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
LastFM Tube51