Kodi Community Forum

Full Version: [RELEASE] Roadrunner Records
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi!

as requested, here is a plugin for roadrunnerrecords.com

it's available in my repo which is also available using the Un-oficial Repository Installer

xbox users can install from xbmc4xbox-addons repo via the SVN repo installer.

thanks,

t0mm0
Thanks t0mm0 Really appreciate it. I just found your addon tutorial much easier to follow that the other one i found Hopefully I will be making my own addons soon. Thanks again you Rock \m/

t0mm0 Wrote:hi!

as requested, here is a plugin for roadrunnerrecords.com

it's available in my repo which is also available using the Un-oficial Repository Installer

xbox users can install from xbmc4xbox-addons repo via the SVN repo installer.

thanks,

t0mm0
k1m0s Wrote:Thanks t0mm0 Really appreciate it. I just found your addon tutorial much easier to follow that the other one i found Hopefully I will be making my own addons soon. Thanks again you Rock \m/

no problem!

the code in this one is pretty straightforward too and demonstrates how to use setResolvedUrl() and submenus - maybe at some point if i get time i'll turn this into a second tutorial. feel free to ask if you have trouble following any of my code, and good luck with writing your own addons!

thanks,

t0mm0
Can't get your addon to work. Founf the following in the log:

21:26:53 T:11300 ERROR: Roadrunner Records: HTTP Error 404: Not Found
21:26:53 T:11300 ERROR: Error Type: <type 'exceptions.TypeError'>
21:26:53 T:11300 ERROR: Error Contents: expected string or buffer
21:26:53 T:11300 ERROR: Traceback (most recent call last):
File "C:\Users\usk\AppData\Roaming\XBMC\addons\plugin.video.roadrunnerrecords\default.py", line 83, in <module>
songs = rr.list_media(mode, sort, page, aux)
File "C:\Users\usk\AppData\Roaming\XBMC\addons\plugin.video.roadrunnerrecords\resources\lib\roadrunner.py", line 35, in list_media
return self._parse_page(html)
File "C:\Users\usk\AppData\Roaming\XBMC\addons\plugin.video.roadrunnerrecords\resources\lib\roadrunner.py", line 55, in _parse_page
for s in re.finditer(r, html, re.DOTALL):
File "C:\Program Files (x86)\XBMC\system\python\Lib\re.py", line 186, in finditer
return _compile(pattern, flags).finditer(string)
TypeError: expected string or buffer
21:26:53 T:8764 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.roadrunnerrecords/?sort=most_recent&mode=video
21:26:53 T:8764 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.roadrunnerrecords/?sort=most_recent&mode=video) failed

Could you help me figure out the issue.
I am getting a similar error

14:10:57 T:6296 ERROR: Roadrunner Records: HTTP Error 403: Forbidden
14:10:57 T:6296 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: expected string or buffer
Traceback (most recent call last):
File "C:\Users\Adam\AppData\Roaming\XBMC\addons\plugin.video.roadrunnerrecords\default.py", line 83, in <module>
songs = rr.list_media(mode, sort, page, aux)
File "C:\Users\Adam\AppData\Roaming\XBMC\addons\plugin.video.roadrunnerrecords\resources\lib\roadrunner.py", line 35, in list_media
return self._parse_page(html)
File "C:\Users\Adam\AppData\Roaming\XBMC\addons\plugin.video.roadrunnerrecords\resources\lib\roadrunner.py", line 55, in _parse_page
for s in re.finditer(r, html, re.DOTALL):
File "C:\Program Files (x86)\XBMC\system\python\Lib\re.py", line 186, in finditer
return _compile(pattern, flags).finditer(string)
TypeError: expected string or buffer
-->End of Python script error report<--
14:10:57 T:4384 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.roadrunnerrecords/?mode=video&sort=most_recent
14:10:57 T:4384 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.roadrunnerrecords/?mode=video&sort=most_recent) failed

Any help would be much appreciated