• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 13
Release Mixcloud plugin
#61
account login didnt work. Ive entered the authentication code, but didnt fetch an access-token - am i doing it wrong?
Reply
#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
jackyNIX on Soundcloud, Mixcloud and Facebook
Reply
#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?
Reply
#64
got the same issues... Logged in with the new url but can't open a stream Sad(
Reply
#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...
jackyNIX on Soundcloud, Mixcloud and Facebook
Reply
#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...
Reply
#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
Reply
#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!
jackyNIX on Soundcloud, Mixcloud and Facebook
Reply
#69
ok, works now, also following you on mixcloud (jomeister is my name there Smile)

thanks.
Reply
#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.
jackyNIX on Soundcloud, Mixcloud and Facebook
Reply
#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
Reply
#72
(2015-02-28, 19:34)biggirafe Wrote: 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

Ok, nice feature. I'll put it on the todo list.
jackyNIX on Soundcloud, Mixcloud and Facebook
Reply
#73
Started using my RPi2 this week. Everything is running smoothly on Xbian except... the Mixcloud add on.
Whenever I try to start a stream, it tries to connect a couple of times but it keeps on failing. I tried changing resolver but that didn't help.
What am I missing? I'd love to use this add-on, especially for the lefto shows. (log contains random fabric stream, I tried lots of different ones)

Log (at least, the part I believe is relevant):

20:57:35 T:1579295760 NOTICE: MIXCLOUD Mode: 40
20:57:35 T:1579295760 NOTICE: MIXCLOUD Offset: 0
20:57:35 T:1579295760 NOTICE: MIXCLOUD Key: /fabric_London/mark-system-fabriclive-x-exit-records-mix-mar-2015/
20:57:35 T:1579295760 NOTICE: MIXCLOUD Query:
20:57:35 T:1579295760 NOTICE: MIXCLOUD ##########################################################
20:57:35 T:1579295760 NOTICE: MIXCLOUD resolverid=0
20:57:35 T:1579295760 NOTICE: MIXCLOUD locally resolving cloudcast stream for http://www.mixcloud.com/fabric_London/ma...-mar-2015/
20:57:36 T:1579295760 NOTICE: MIXCLOUD decoding C04WFQEABQIxARYDVVRMTQkQGwUBV1pcGhcGDQQMQ0xHHh0LFAMBAQNLFx8MRgdfAVEAXFNQQFlbVkAVQV5AA1QLQ19YRxIPTkANB1FfFghGQl4UVwpDUlIVQQMLAkBCCFUSR0hPTB0ATU1OXlpUVl5ARVtNX0lBHBwIDUcrGRoaFCgcCwcUDBsePgAAUlZFQ0QhUi1aTFEtWlxULSdJWzEwLlgyK1VNRVRTRzYtQUdFNVstNkUY
20:57:36 T:1579295760 NOTICE: MIXCLOUD get cloudcast http://api.mixcloud.com/fabric_London/ma...-mar-2015/
20:57:36 T:1579295760 NOTICE: MIXCLOUD playing https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a
20:57:37 T:1960779776 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a
20:57:38 T:1960779776 ERROR: Previous line repeats 1 times.
20:57:38 T:1960779776 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 0
20:57:38 T:1960779776 NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
20:57:38 T:1960779776 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 0
20:57:38 T:1960779776 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
20:57:38 T:1960779776 ERROR: Open - failed to open source <https://stream18.mixcloud.com/c/m4a/64/7/2/b/2/b0d6-52af-4eb0-ba56-c8d757a1bbf0.m4a>
20:57:38 T:1960779776 ERROR: Init: Error opening file https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a
20:57:38 T:1960779776 ERROR: CAudioDecoder: Unable to Init Codec while loading file https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a
20:57:38 T:1960779776 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
20:57:38 T:1960779776 ERROR: Playlist Player: skipping unplayable item: 2, path [plugin://plugin.audio.mixcloud/?mode=40&key=%2Ffabric_London%2Fmark-system-fabriclive-x-exit-records-mix-mar-2015%2F&user=%2Ffabric_London%2F]
20:57:38 T:1615852560 NOTICE: Thread LanguageInvoker start, auto delete: false
20:57:38 T:1615852560 NOTICE: -->Python Interpreter Initialized<--
Reply
#74
(2015-03-03, 22:24)PeteBridges Wrote: Started using my RPi2 this week. Everything is running smoothly on Xbian except... the Mixcloud add on.
Whenever I try to start a stream, it tries to connect a couple of times but it keeps on failing. I tried changing resolver but that didn't help.
What am I missing? I'd love to use this add-on, especially for the lefto shows. (log contains random fabric stream, I tried lots of different ones)

Log (at least, the part I believe is relevant):

20:57:35 T:1579295760 NOTICE: MIXCLOUD Mode: 40
20:57:35 T:1579295760 NOTICE: MIXCLOUD Offset: 0
20:57:35 T:1579295760 NOTICE: MIXCLOUD Key: /fabric_London/mark-system-fabriclive-x-exit-records-mix-mar-2015/
20:57:35 T:1579295760 NOTICE: MIXCLOUD Query:
20:57:35 T:1579295760 NOTICE: MIXCLOUD ##########################################################
20:57:35 T:1579295760 NOTICE: MIXCLOUD resolverid=0
20:57:35 T:1579295760 NOTICE: MIXCLOUD locally resolving cloudcast stream for http://www.mixcloud.com/fabric_London/ma...-mar-2015/
20:57:36 T:1579295760 NOTICE: MIXCLOUD decoding C04WFQEABQIxARYDVVRMTQkQGwUBV1pcGhcGDQQMQ0xHHh0LFAMBAQNLFx8MRgdfAVEAXFNQQFlbVkAVQV5AA1QLQ19YRxIPTkANB1FfFghGQl4UVwpDUlIVQQMLAkBCCFUSR0hPTB0ATU1OXlpUVl5ARVtNX0lBHBwIDUcrGRoaFCgcCwcUDBsePgAAUlZFQ0QhUi1aTFEtWlxULSdJWzEwLlgyK1VNRVRTRzYtQUdFNVstNkUY
20:57:36 T:1579295760 NOTICE: MIXCLOUD get cloudcast http://api.mixcloud.com/fabric_London/ma...-mar-2015/
20:57:36 T:1579295760 NOTICE: MIXCLOUD playing https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a
20:57:37 T:1960779776 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a
20:57:38 T:1960779776 ERROR: Previous line repeats 1 times.
20:57:38 T:1960779776 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 0
20:57:38 T:1960779776 NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
20:57:38 T:1960779776 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 0
20:57:38 T:1960779776 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
20:57:38 T:1960779776 ERROR: Open - failed to open source <https://stream18.mixcloud.com/c/m4a/64/7/2/b/2/b0d6-52af-4eb0-ba56-c8d757a1bbf0.m4a>
20:57:38 T:1960779776 ERROR: Init: Error opening file https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a
20:57:38 T:1960779776 ERROR: CAudioDecoder: Unable to Init Codec while loading file https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a
20:57:38 T:1960779776 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
20:57:38 T:1960779776 ERROR: Playlist Player: skipping unplayable item: 2, path [plugin://plugin.audio.mixcloud/?mode=40&key=%2Ffabric_London%2Fmark-system-fabriclive-x-exit-records-mix-mar-2015%2F&user=%2Ffabric_London%2F]
20:57:38 T:1615852560 NOTICE: Thread LanguageInvoker start, auto delete: false
20:57:38 T:1615852560 NOTICE: -->Python Interpreter Initialized<--

Most important: what's your plugin version?

Second: mixcloud had some downtime yesterday. Is this still happening now?

Also: When url's fail, try to download the m4a from your example debug log (https://stream18.mixcloud.com/c/m4a/64/7...a1bbf0.m4a), and play it on the same system where the plugin is installed. (So, download it, put it in your media library and play it from inside your xbmc or whatever you're using)

I tried the same cloudcast in my XBMC, and guess what... It plays.
My log:
Quote:09:38:28 T:752 NOTICE: MIXCLOUD ##########################################################
09:38:28 T:752 NOTICE: MIXCLOUD Mode: 40
09:38:28 T:752 NOTICE: MIXCLOUD Offset: 0
09:38:28 T:752 NOTICE: MIXCLOUD Key: /fabric_London/mark-system-fabriclive-x-exit-records-mix-mar-2015/
09:38:28 T:752 NOTICE: MIXCLOUD Query:
09:38:28 T:752 NOTICE: MIXCLOUD ##########################################################
09:38:28 T:752 NOTICE: MIXCLOUD resolverid=0
09:38:28 T:752 NOTICE: MIXCLOUD locally resolving cloudcast stream for http://www.mixcloud.com/fabric_London/ma...-mar-2015/
09:38:30 T:752 NOTICE: MIXCLOUD decoding C04WFQEABQIxARYDVVRMTQkQGwUBV1pcGhcGDQQMQ0NHHh0LFAMBAQNLFx8MRgdfAVEAXFNQQFlbVkAVQV5AA1QLQ19YRxIPTkANB1FfFghGQl4UVwpDUlIVQQMLAkBCCFUSR0hPTB0ATU1OXlpUVl5ARVtNX0lBHBwIDUcrGRoaFCgcCwcUDBsePgAAUlZFQ0dXUlYvRScqWltYKiRJW0xHK1hKK1FDRSZRMEZaQDZKMlZYR0UY
09:38:30 T:752 NOTICE: MIXCLOUD get cloudcast http://api.mixcloud.com/fabric_London/ma...-mar-2015/
09:38:30 T:752 NOTICE: MIXCLOUD playing https://stream17.mixcloud.com/c/m4a/64/7...a1bbf0.m4a

Mixcloud returned me another url which plays just fine. (but the url from your log also plays fine)
jackyNIX on Soundcloud, Mixcloud and Facebook
Reply
#75
Thanks for your immediate reaction. This has been happening since I first downloaded and tried it a few days ago so it is not due to downtime.
I did an uninstall and reinstall yesterday, so I guess I should have the latest version but I will check the version number tonight. (at work ftm).
I installed this add-on using Kodi on Xbian. I will try to play the downloaded m4a directly and I'll let you know the result.
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 13

Logout Mark Read Team Forum Stats Members Help
Mixcloud plugin1