• 1
  • 20
  • 21
  • 22(current)
  • 23
  • 24
  • 28
[RELEASE] Rdio Music Addon
I have a problem with this addon. I managed to install latest release manually. Created user, api, etc. But when I launch RDIO it gives me a "Error: Script failure."

I can´t event use it. I triple checked my user and pass. Also checked that are correct in settings.xml

DEBUG.LOG

Code:
12:18:39 T:1284   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.audio.rdio/)
12:18:39 T:1284   DEBUG:   ParentPath = [addons://sources/audio/]
12:18:39 T:2432   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Rdio('plugin://plugin.audio.rdio/','1','')
12:18:39 T:2432   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Rdio (id=16) plugin...
12:18:39 T:3192  NOTICE: Thread LanguageInvoker start, auto delete: false
12:18:39 T:3192    INFO: initializing python engine.
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): start processing
12:18:39 T:3192  NOTICE: -->Python Interpreter Initialized<--
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): the source file to load is "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py"
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): setting the Python path to C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.t0mm0.common\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.myconnpy\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.addon.common\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.unidecode\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.requests\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.pytz\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.grab.fanart\default.py;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.decorator\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.urlresolver\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.mechanize\lib;C:\Program Files (x86)\XBMC\addons\xbmc.debug\;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.requests2\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.validictory\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.metahandler\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python27.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): entering source directory C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): instantiating addon using automatically obtained id of "plugin.audio.rdio" dependent on version 2.1.0 of the xbmc.python api
12:18:39 T:3192  NOTICE: C:\Users\Media Center\AppData\Roaming\XBMC\userdata\addon_data\plugin.audio.rdio\
12:18:39 T:3192   DEBUG: Rdio: C:\Users\Media Center\AppData\Roaming\XBMC\userdata\addon_data\plugin.audio.rdio\rdio-state.json does not exist
12:18:39 T:3192   DEBUG: Rdio: Persistent auth state not loaded - initialising new state
12:18:39 T:3192  NOTICE: Rdio: Executing Rdio 1.11.0 addon operation main with params {'mode': 'main'}
12:18:39 T:3192  NOTICE: Rdio: Authenticating to Rdio
12:18:39 T:1284   DEBUG: ------ Window Init (DialogBusy.xml) ------
12:18:40 T:3192  NOTICE: Rdio: Authorizing OAuth token
12:18:40 T:3192   DEBUG: Rdio: Logging in to Rdio
12:18:42 T:3192   DEBUG: Rdio: Retrieved signin page
12:18:42 T:3192   DEBUG: Rdio: Executing Rdio direct API call 'signIn'
12:18:43 T:3192   DEBUG: Rdio: Rdio API response: {u'status': u'error', u'message': u'Invalid user data', u'code': 396, u'user_error': {u'password': [u'Password is incorrect'], u'__all__': []}}
12:18:43 T:3192   DEBUG: Rdio: Executed Rdio direct API call signIn in 820 ms
12:18:43 T:3192   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'rdioapi.RdioAPIException'>
                                            Error Contents: Invalid user data
                                            Traceback (most recent call last):
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py", line 627, in <module>
                                                XbmcRdioOperation(addon).execute()
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py", line 621, in execute
                                                handler()
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py", line 63, in main
                                                self._rdio_api.authenticate()
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioxbmc.py", line 75, in authenticate
                                                oauth_state = self.call_direct('getOAuth1State', token = oauth_token)
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioxbmc.py", line 208, in call_direct
                                                self._login()
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioxbmc.py", line 239, in _login
                                                response = self.call_direct('signIn', username = username, password = password, remember = '1')
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioxbmc.py", line 227, in call_direct
                                                raise RdioAPIException(response['message'])
                                            RdioAPIException: Invalid user data
                                            -->End of Python script error report<--
(2014-10-03, 17:02)CaBrA Wrote: I have a problem with this addon. I managed to install latest release manually. Created user, api, etc. But when I launch RDIO it gives me a "Error: Script failure."

I can´t event use it. I triple checked my user and pass. Also checked that are correct in settings.xml

As you can see in the error Rdio claims the password is incorrect, however given that you've checked the settings already I'm at a loss to explain this. Have a look again in settings.xml, just make sure that there's no additional spaces or anything like that at the start/end of the username and password (some users had trouble with this in the past). If not I can help you with getting some more debug output - I'll PM you.
@Cabra: Just use e-mail as logon (aka:username)

Sorry on necroing didn't notice it was almost two months ago.
(2014-09-27, 05:48)ampedandwired Wrote:
(2014-09-05, 16:13)AussieFries Wrote: Does this plug-in still work?

I'm unable to install plugin.program.repo.installer-1.0.5.zip on XBMC 13.2 (Win7).

Yeah, looks like the repo-installer no longer works. I'm looking into installation issues with the latest version of XBMC. In the meantime you should be able to install the plugin from the zip file directly: https://github.com/ampedandwired/ampedan...1.11.0.zip

(edit: fix URL)

Sorry for my late reply. Thank you very much for the correct link. Works very well!
(2014-11-24, 15:41)AussieFries Wrote: Sorry for my late reply. Thank you very much for the correct link. Works very well!

No worries. I'm going to try to get this plugin into the official repo so it makes things easier.
I never could make this addon work :-( tried with email for login but nothing...
(2014-11-28, 19:13)CaBrA Wrote: I never could make this addon work :-( tried with email for login but nothing...

Did you sign up for the Rdio API as well?
(2014-11-29, 15:04)AussieFries Wrote:
(2014-11-28, 19:13)CaBrA Wrote: I never could make this addon work :-( tried with email for login but nothing...

Did you sign up for the Rdio API as well?

- I have API and Shared Key configured.
- I had created another Rdio user with another email. (Rdio user + Rdio dev user)
- I also edited manually setting.xml file
- I had uploaded debig log a few posts earlier.

It is really frustrating. Maybe is not compatible in certain areas?

Actually I´m using Windows 8 Modern UI Rdio App launched within XBMC/KODI cause I never could pass "script failure". I don´t know how to get proper support. It seems a bad joke.... -.-
Are you able to log into the Rdio app with the login you've used for the plugin?
(2014-11-29, 17:26)AussieFries Wrote: Are you able to log into the Rdio app with the login you've used for the plugin?

Yes, with username and pass.
You're using same plugin as posted a few posts back? Older Rdio plugins removed?
Hi ampedandwired,

Thanks for this great addon.

I am getting this error after updating to Kodi 14.0RC3 (OpenElec 4.97.3).
I am using the github version 1.14.0

Code:
22:01:56 T:139668979185408  NOTICE: -->Python Interpreter Initialized<--
22:01:56 T:139668979185408   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named distutils.version
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/rdio-xbmc/rdioplugin.py", line 36, in <module>
                                                from rdioxbmc import RdioApi, RdioAuthenticationException
                                              File "/storage/.kodi/addons/rdio-xbmc/rdioxbmc.py", line 27, in <module>
                                                from rdioapi import Rdio, RdioProtocolException, RdioAPIException
                                              File "/storage/.kodi/addons/rdio-xbmc/resources/lib/rdioapi/__init__.py", line 34, in <module>
                                                import oauth2 as oauth
                                              File "/storage/.kodi/addons/rdio-xbmc/resources/lib/oauth2/__init__.py", line 48, in <module>
                                                import _version
                                              File "/storage/.kodi/addons/rdio-xbmc/resources/lib/oauth2/_version.py", line 17, in <module>
                                                from distutils.version import LooseVersion as distutils_Version
                                            ImportError: No module named distutils.version
                                            -->End of Python script error report<--
22:01:56 T:139670301398912   ERROR: GetDirectory - Error getting plugin://plugin.audio.rdio/
22:01:56 T:139670301398912   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.rdio/) failed

Is there a way to fix this error ?

Thank you
Regards
Hello ,i believe that Rdio plugin somehow failed to parse settings.xml file which is in C:\Users\*yourname*\AppData\Roaming\Kodi\addons\plugin.audio.rdio\resources.The settings.xml file hasn't got proper closing tags and it also has incorrect tags"(for those familiar with html).Here is my version which is working atm,and i can log on to Rdio:



Code:
<?xml version ="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="General">
    <setting id="username" type="text" label="30100" default="" />
    <setting id="password" type="text" option="hidden" label="30101" default="" />
    <setting id="apikey" type="text" label="30102" default="" />
    <setting id="apisecret" type="text" option="hidden" label="30103" default="" />
    <setting id="stream_mode" type="enum" label="30104" values="RTMP/AMF|RTMP/WEB|HTTP" />
  </category>
</settings>



So to fix apply this steps:

1.Open Kodi and go to Addons/Rdio and double click it to adjust user and other login data.There use "clear data" ,or however it's spelled, just make sure that all of login information is cleared..

2.Find this file at your "C:\Users\*yourname*\AppData\Roaming\Kodi\addons\plugin.audio.rdio\resources" and edit it by deleting whole text and replacing it with one i've posted.

3.Input your login credentials once again (while using your e-mail as username).

There u go ,enjoy
Hi silenttech,

Thanks for your help, I tried what you suggest but I still get the same error :
Error Type: <type 'exceptions.ImportError'> Error Contents: No module named distutils.version
Hi there, mine current version of Rdio plugin is 1.11.0 so i beleive this fix applies to this version only(Not 1.14.0).So, try this please :

Deinstall Rdio plugin 1.14.0 inside Kodi.Also if u've used repository to install it try this:Go to addons menu-Get addons-Highlight "ampedandwired repository", press "c" deinstall repository.
After that, download version 1.11.0 from Github This link and use "Install from zip file" inside addon menu.Start Rdio and it should login to your account.
  • 1
  • 20
  • 21
  • 22(current)
  • 23
  • 24
  • 28

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Rdio Music Addon2