2013-10-10, 19:16
TuneIn my Raspberry Pi... tkssssssssss
2:29:20 T:2932864064 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: unknown url type:
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.audio.tuneinradio-master/default.py", line 876, in <module>
result = __tunein__.tune(__id__)
File "/home/pi/.xbmc/addons/plugin.audio.tuneinradio-master/resources/lib/tunein.py", line 805, in tune
f = opener.open(request)
File "/usr/lib/python2.7/urllib2.py", line 393, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 255, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type:
-->End of Python script error report<--
22:29:20 T:3040785024 ERROR: Playlist Player: skipping unplayable item: 23, path [plugin://plugin.audio.tuneinradio/?logo=http%3A%2F%2Fd1i6vahw24eb07.cloudfront.net%2Fs31204q.png&path=tune&id=s31204&name=CJAD+-+Not+Supported]
(2013-10-13, 04:30)joelones Wrote: Great plugin!
Although, I see some of my favorites as "Not supported", why is this the case? Here's a trace on a Raspberry Pi.
...
(2013-10-15, 15:31)rmohsen Wrote: Hey
Thanks a lot for the great plugin , quick questions though , does it work with Gotham ?
I'm trying to install but it's giving me ( Dependcies not met )
diff --git a/addon.xml b/addon.xml
index b7c9b87..a83d9ff 100644
--- a/addon.xml
+++ b/addon.xml
@@ -4,7 +4,7 @@
<requires>
- <import addon="xbmc.python" version="1.0"/>
+ <import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.simplejson" version="2.0.10"/>
</requires>
(2013-10-16, 00:01)brianhornsby Wrote:(2013-10-15, 15:31)rmohsen Wrote: Hey
Thanks a lot for the great plugin , quick questions though , does it work with Gotham ?
I'm trying to install but it's giving me ( Dependcies not met )
I'm not going to update the plugin to work with Gotham until there is a release candidate.
But looking at this post I would guess the dependency issue is probably to do with the xbmc.python version specified in the addon.xml file.
Try updating that to 2.1.0
Code:diff --git a/addon.xml b/addon.xml
index b7c9b87..a83d9ff 100644
--- a/addon.xml
+++ b/addon.xml
@@ -4,7 +4,7 @@
<requires>
- <import addon="xbmc.python" version="1.0"/>
+ <import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.simplejson" version="2.0.10"/>
</requires>
That might get it to install, but I don't know if the plugin will work correctly without any other code changes.
DEBUG: static bool XFILE::CPluginDirectory::RunScriptWithParams(const CStdString&) - calling plugin TuneIn Radio('plugin://plugin.audio.tuneinradio/','-1','?logo=http://d1i6vahw24eb07.cloudfront.net/s47713q.png&path=tune&id=s98683&name=1.FM - ReggaeTrade (Reggae)')
15:04:43 T:12709760 WARNING: Attempt to use invalid handle -1