[RELEASE] Mixcloud plugin

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
blutstein Offline
Junior Member
Posts: 4
Joined: Feb 2015
Reputation: 0
Post: #61
account login didnt work. Ive entered the authentication code, but didnt fetch an access-token - am i doing it wrong?
find quote
jackyNIX Offline
Junior Member
Posts: 29
Joined: Dec 2011
Reputation: 0
Location: Brussels
Post: #62
Try this link to get your access code:
https://www.mixcloud.com/oauth/authorize...xcloud.com

I'll fix this in 2.0.1

Follow jackyNIX on Soundcloud and Mixcloud
find quote
biggirafe Offline
Junior Member
Posts: 3
Joined: Feb 2015
Reputation: 0
Post: #63
I've added in my authentication code and got my token and can now see my following, followers etc and the streams but any stream I now go to is unplayable I get a script error, if I roll back to the previous version and go to the same steam via a search its playable, any ideas?
(This post was last modified: 2015-02-24 23:46 by biggirafe.)
find quote
blutstein Offline
Junior Member
Posts: 4
Joined: Feb 2015
Reputation: 0
Post: #64
got the same issues... Logged in with the new url but can't open a stream Sad(
find quote
jackyNIX Offline
Junior Member
Posts: 29
Joined: Dec 2011
Reputation: 0
Location: Brussels
Post: #65
That's resolver related I guess.

What resolver do you use?
Please try the local resolver. Apparently offliberty has issues (only 1 out of 10 streams will play with offliberty).

If local resolver doesn't work either, go in debug mode and post here a dump of the log file after. (And if it does work, let us know too Wink )

The weird thing is that offliberty returns an url to a stream, but xbmc/kodi says it is unplayable (corrupt mp3 header). That same stream is also unplayable in VLC...

Follow jackyNIX on Soundcloud and Mixcloud
(This post was last modified: 2015-02-25 11:03 by jackyNIX.)
find quote
biggirafe Offline
Junior Member
Posts: 3
Joined: Feb 2015
Reputation: 0
Post: #66
Hi
Does not work with either resolver, I've set the log. Where will I find the log files to send to you?, can I get to them with the file explorer built into Kodi?



(2015-02-25 10:11)jackyNIX Wrote:  That's resolver related I guess.

What resolver do you use?
Please try the local resolver. Apparently offliberty has issues (only 1 out of 10 streams will play with offliberty).

If local resolver doesn't work either, go in debug mode and post here a dump of the log file after. (And if it does work, let us know too Wink )

The weird thing is that offliberty returns an url to a stream, but xbmc/kodi says it is unplayable (corrupt mp3 header). That same stream is also unplayable in VLC...
find quote
Gurtol Offline
Junior Member
Posts: 4
Joined: Oct 2009
Reputation: 0
Post: #67
I get this error:

21:40:27 T:140552175601408 NOTICE: -->Python Interpreter Initialized<--
21:40:27 T:140552175601408 NOTICE: MIXCLOUD ##########################################################
21:40:27 T:140552175601408 NOTICE: MIXCLOUD Mode: 0
21:40:27 T:140552175601408 NOTICE: MIXCLOUD Offset: 0
21:40:27 T:140552175601408 NOTICE: MIXCLOUD Key:
21:40:27 T:140552175601408 NOTICE: MIXCLOUD Query:
21:40:27 T:140552175601408 NOTICE: MIXCLOUD ##########################################################
21:40:27 T:140552150423296 NOTICE: Thread BackgroundLoader start, auto delete: false
21:40:30 T:140552175601408 NOTICE: Previous line repeats 2 times.
21:40:30 T:140552175601408 NOTICE: Thread LanguageInvoker start, auto delete: false
21:40:30 T:140552175601408 NOTICE: -->Python Interpreter Initialized<--
21:40:30 T:140552175601408 NOTICE: URLResolver: Initializing URLResolver version: 2.8.0
21:40:30 T:140552175601408 NOTICE: URLResolver: Update settings from to 2.8.0
21:40:30 T:140552175601408 NOTICE: Site: None
21:40:30 T:140552175601408 NOTICE: Mode: None
21:40:30 T:140552175601408 NOTICE: URL: None
21:40:30 T:140552175601408 NOTICE: Name: None
21:40:30 T:140552175601408 NOTICE: Img: None
21:40:30 T:140552150423296 NOTICE: Thread BackgroundLoader start, auto delete: false
21:40:31 T:140552192386816 NOTICE: MIXCLOUD get cloudcast http://api.mixcloud.com/nicolemoudaber/i...al-part-2/
21:40:31 T:140552192386816 WARNING: Attempt to use invalid handle 396
21:40:31 T:140552192386816 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: (u'thumbnail',)
Traceback (most recent call last):
File "/home/xbmc/.kodi/addons/plugin.audio.mixcloud/default.py", line 750, in <module>
ok=play_cloudcast(key)
File "/home/xbmc/.kodi/addons/plugin.audio.mixcloud/default.py", line 394, in play_cloudcast
listitem=xbmcgui.ListItem(label=infolabels[STR_TITLE],label2=infolabels[STR_ARTIST],iconImage=infolabels[STR_THUMBNAIL],thumbnailImage=infolabels[STR_THUMBNAIL],path=url)
KeyError: (u'thumbnail',)
-->End of Python script error report<--
21:40:31 T:140552192386816 NOTICE: Thread LanguageInvoker start, auto delete: false
find quote
jackyNIX Offline
Junior Member
Posts: 29
Joined: Dec 2011
Reputation: 0
Location: Brussels
Post: #68
(2015-02-26 07:57)Gurtol Wrote:  I get this error:

21:40:27 T:140552175601408 NOTICE: -->Python Interpreter Initialized<--
21:40:27 T:140552175601408 NOTICE: MIXCLOUD ##########################################################
21:40:27 T:140552175601408 NOTICE: MIXCLOUD Mode: 0
21:40:27 T:140552175601408 NOTICE: MIXCLOUD Offset: 0
21:40:27 T:140552175601408 NOTICE: MIXCLOUD Key:
21:40:27 T:140552175601408 NOTICE: MIXCLOUD Query:
21:40:27 T:140552175601408 NOTICE: MIXCLOUD ##########################################################
21:40:27 T:140552150423296 NOTICE: Thread BackgroundLoader start, auto delete: false
21:40:30 T:140552175601408 NOTICE: Previous line repeats 2 times.
21:40:30 T:140552175601408 NOTICE: Thread LanguageInvoker start, auto delete: false
21:40:30 T:140552175601408 NOTICE: -->Python Interpreter Initialized<--
21:40:30 T:140552175601408 NOTICE: URLResolver: Initializing URLResolver version: 2.8.0
21:40:30 T:140552175601408 NOTICE: URLResolver: Update settings from to 2.8.0
21:40:30 T:140552175601408 NOTICE: Site: None
21:40:30 T:140552175601408 NOTICE: Mode: None
21:40:30 T:140552175601408 NOTICE: URL: None
21:40:30 T:140552175601408 NOTICE: Name: None
21:40:30 T:140552175601408 NOTICE: Img: None
21:40:30 T:140552150423296 NOTICE: Thread BackgroundLoader start, auto delete: false
21:40:31 T:140552192386816 NOTICE: MIXCLOUD get cloudcast http://api.mixcloud.com/nicolemoudaber/i...al-part-2/
21:40:31 T:140552192386816 WARNING: Attempt to use invalid handle 396
21:40:31 T:140552192386816 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: (u'thumbnail',)
Traceback (most recent call last):
File "/home/xbmc/.kodi/addons/plugin.audio.mixcloud/default.py", line 750, in <module>
ok=play_cloudcast(key)
File "/home/xbmc/.kodi/addons/plugin.audio.mixcloud/default.py", line 394, in play_cloudcast
listitem=xbmcgui.ListItem(label=infolabels[STR_TITLE],label2=infolabels[STR_ARTIST],iconImage=infolabels[STR_THUMBNAIL],thumbnailImage=infolabels[STR_THUMBNAIL],path=url)
KeyError: (u'thumbnail',)
-->End of Python script error report<--
21:40:31 T:140552192386816 NOTICE: Thread LanguageInvoker start, auto delete: false


Nicole Moudaber, excelent choice!

I remember fixing this problem with the thumbnail. Apparently version 2.0.0 which was distributed was not the final 2.0.0, a f*ckup on my side then Undecided.
Current version (2.0.1) does thumbnails another way and should work again for you.

Version 2.0.1 will be in the repo in the next few days. Or you can download it from github if you want to try it now.

If it works, please let me know!

Follow jackyNIX on Soundcloud and Mixcloud
(This post was last modified: 2015-02-26 10:57 by jackyNIX.)
find quote
Gurtol Offline
Junior Member
Posts: 4
Joined: Oct 2009
Reputation: 0
Post: #69
ok, works now, also following you on mixcloud (jomeister is my name there Smile)

thanks.
find quote
jackyNIX Offline
Junior Member
Posts: 29
Joined: Dec 2011
Reputation: 0
Location: Brussels
Post: #70
(2015-02-26 20:42)Gurtol Wrote:  ok, works now, also following you on mixcloud (jomeister is my name there Smile)

thanks.

Nice to hear that Smile
Tnx for the feedback.

Follow jackyNIX on Soundcloud and Mixcloud
find quote
biggirafe Offline
Junior Member
Posts: 3
Joined: Feb 2015
Reputation: 0
Post: #71
Great all working for me as well now,

One request would it be possible to add a link to 'my' MixCloud uploads, when I say my i of course mean whoever the logged in account is Smile
find quote
Post Reply