Kodi Community Forum

Full Version: Mixcloud plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
The local resolver is fixed!
I followed the approach used in the script posted by @understatement , but better adapted to mixcloud. It runs a lot faster and it will stay 100% independent from other scripts or plugins.

The plugin will be updated from Kodi repo in the coming days...
Thanks @jackyNIX! Glad to have helped. Working well on my end.
Is anyone able to port this great addon over to kodi nexus?
I believe it does not run because the xbmc.translatePath variable was removed.
Just replacing all instances with xbmcvfs.translatePath in the addon code does not get it to work.
Sadly i'm not skilled enough to understand how to get it running again. 😢

Thx for any help. 😃
https://github.com/peat80/xbmc-mixcloud-.../tag/3.0.3

This version runs fine on nexus now.
Thanks @peat 

It's been a while since my last update of this plugin. I didn't even know about Nexus Laugh . About time I'll look into that one.
The first nexus release is probably not anytime soon. Has only alpha status yet. So you don't have to hurry. 😀
Hi can How Do I Get Around The Autherizin When I've Originally Signed Up To MixCloud Via Facebook. I've Already Tryed Unlinking Facebook From MixCloud And Reseting Password All Unsuccessfully.
Am Using Kodi 19.4 On Smart TV. Using Android Smartphone To Login Via The Link Provided.
Should I Be Doing All This Thru A Laptop? Any Help Appreciated.
Realy Dont Want To Be Creating A New MixCloud Account Tho. Thanks
Kodi automatically updated itself to Nexus on my nvidia shield and unfortunately this means mixcloud has stopped working ... could an updated version of the addon perhaps be added to the repository?
Hi. Is this plugin working on the xbmc4xbox? I have it installed on the latest rev, but when I enter the access code as linked on the first page, the plugin responds that no valid code is available, or something similar.
Mix cloud plugin stopped working. It looks like it has a problem with mixcloud web services.

First of all, it tries to read csrf cookie from www.mixcloud.com but cookie is not set, and plugin breaks with the following message
Code:
File "/home/osmc/.kodi/addons/plugin.audio.mixcloud/lib/resolver.py", line 97, in resolve
'Cookie' : 'csrftoken=' + csrf_token,
TypeError: can only concatenate str (not "NoneType") to str

If I comment out "csrf token" section, plugin breaks when reading graphql response from http://api.mixcloud.com. Has anybody else had the same problem?
OK, I was able to fix it my self - it is not api.mixcloud.com but app.mixcloud.com.

Here is the diff for reslover.py, changes are marked red:

Code:
96,97c96,97
<                 'X-CSRFToken' : csrf_token,
<                 'Cookie' : 'csrftoken=' + csrf_token,
---
> #                'X-CSRFToken' : csrf_token,
> #                'Cookie' : 'csrftoken=' + csrf_token,
101c101
<             req = request.Request('https://www.mixcloud.com/graphql', postdata, headers, 'https://www.mixcloud.com')
---
>             req = request.Request('https://app.mixcloud.com/graphql', postdata, headers, 'https://www.mixcloud.com')
283c283

So comment out two lines and change "www" to "app". Kodi needs restart to apply changes.
Thx for the fix Darionis. I've updated my fork.

https://github.com/peat80/xbmc-mixcloud-.../tag/3.0.4
Is there any possibility this will get added to a repository, so that it is easy to install for those of us who don't know how to do it just from a github link?
Hello,

in this latest version the track information (OSD) does not disappear. how to correct this problem.

Thank you.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13