• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
[RELEASE] 8tracks - Listen to handcrafted internet radio
#61
(2013-01-03, 23:07)sbchisholm Wrote: I managed to get it running on 12.0-RC2 Git:8e45737. I've updated the plugin and added it to my repo here. Let me know if it work for you.

Got 8tracks installed. Thanks for the update, sbchisholm!

I note that I can only play music via "Browse by Tags" and "Search by Artist." If I select "Browse Mixes" and then select a mix via "Hot this week" or "Popular this month," I get a script error. (Bummer as these are the two spots I like to look first!) Selecting a track from "Browse Mixes - Latest" works though.

Any help?
Reply
#62
When I go to "Hot this week" and click the first mix, I get the error: "Couldnt get URL Forbidden"

This is my log:
Code:
19:24:10 T:2761947968  NOTICE: Thread Jobworker start, auto delete: true
19:27:19 T:3038000896 WARNING: GetLabel - Unknown nodetype requested 0
19:27:19 T:2732587840 WARNING: Previous line repeats 1 times.
19:27:19 T:2732587840  NOTICE: Thread Background Loader start, auto delete: false
19:27:19 T:2943343424 WARNING: CreateLoader - Unsupported protocol(addons) in addons://sources/audio/fanart.jpg
19:27:20 T:2796489536   ERROR: Unable to find plugin extrafanart
19:27:20 T:2796489536   ERROR: GetDirectory - Error getting plugin://extrafanart/
19:27:21 T:2732587840  NOTICE: Thread XBPyThread start, auto delete: false
19:27:21 T:2732587840  NOTICE: -->Python Interpreter Initialized<--
19:27:21 T:2722102080  NOTICE: Thread Background Loader start, auto delete: false
19:27:21 T:2796489536 WARNING: CreateLoader - Unsupported protocol(addons) in addons://sources/audio/fanart.jpg
19:27:23 T:2722102080  NOTICE: Thread XBPyThread start, auto delete: false
19:27:23 T:2722102080  NOTICE: -->Python Interpreter Initialized<--
19:27:24 T:2722102080  NOTICE: Thread XBPyThread start, auto delete: false
19:27:24 T:2722102080  NOTICE: -->Python Interpreter Initialized<--
19:27:25 T:2732587840  NOTICE: Thread Background Loader start, auto delete: false
19:27:25 T:2922380096 WARNING: CreateLoader - Unsupported protocol(plugin) in plugin://plugin.audio.8tracks/fanart.jpg
19:27:27 T:2732587840  NOTICE: Thread XBPyThread start, auto delete: false
19:27:27 T:2732587840  NOTICE: -->Python Interpreter Initialized<--
19:27:28 T:2732587840  NOTICE: Thread XBPyThread start, auto delete: false
19:27:28 T:2732587840  NOTICE: -->Python Interpreter Initialized<--
19:27:28 T:2722102080  NOTICE: Thread Background Loader start, auto delete: false
19:27:28 T:2761947968 WARNING: CreateLoader - Unsupported protocol(plugin) in plugin://plugin.audio.8tracks/?mode=mixesfanart.jpg
19:27:29 T:2722102080  NOTICE: Thread XBPyThread start, auto delete: false
19:27:29 T:2722102080  NOTICE: -->Python Interpreter Initialized<--
19:27:30 T:2732587840  NOTICE: Thread XBPyThread start, auto delete: false
19:27:30 T:2732587840  NOTICE: -->Python Interpreter Initialized<--
19:27:31 T:2732587840   ERROR: 8tracks: Couldn't get URL Forbidden
19:27:34 T:2732587840   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: 'bool' object has no attribute '__getitem__'
                                            Traceback (most recent call last):
                                              File "/home/bkanuka/.xbmc/addons/plugin.audio.8tracks/default.py", line 58, in <module>
                                                player.play_mix(mix_id, mix_name, user, img)
                                              File "/home/bkanuka/.xbmc/addons/plugin.audio.8tracks/resources/lib/eighttracks.py", line 222, in play_mix
                                                self.add_next(True)
                                              File "/home/bkanuka/.xbmc/addons/plugin.audio.8tracks/resources/lib/eighttracks.py", line 259, in add_next
                                                if result['set']['at_end']:
                                            TypeError: 'bool' object has no attribute '__getitem__'
                                            -->End of Python script error report<--
Reply
#63
Thanks for continuing to work on this! Can we access out own mixes without searching, like a menu item?

Thanks again!
Reply
#64
just found this addon, very nice

just hope it will make a youtube playlist instead of music playlist as the sites does so we can also watch the video.

thanks
Reply
#65
Hey


Just wanted to give the OP a big thank you.

Works great, thanks
Reply
#66
Thanks sbchisholm! I used to l love playing 8 tracks pre frodo, it seems that I can't skip from mix to mix like before, I used to start a song in a few different playlist and then 8tracks would randomly play songs from the different playlist. Any one Else Remember that?
Reply
#67
so is the original addon in the first post not working?

i just tried sbchisholm's version from post number 45 in this thread and its works great: http://forum.xbmc.org/showthread.php?tid...pid1285028

im using xbmc 12.2 on android.
Reply
#68
Hello thebearnecessit,
Yeah, I believe T0mm0 the original dev for 8tracks is MIA. the addon was broken with Frodo, but sbchisholm has updated the code!
P.S. I am getting songs to play from different playlist just as before! It seems to be working.
Reply
#69
it works! thanks sbchisholm for all your hard work!
Reply
#70
Is this addon still used by some people? Would people be interested in an effort on my behalf to complete it (features that require login)?
Reply
#71
Yes, I use this and would love to see some improvements. I wish I could help, but I can't see that happening anytime soon unfortunatly
Reply
#72
(2014-01-09, 04:56)sennm Wrote: Is this addon still used by some people? Would people be interested in an effort on my behalf to complete it (features that require login)?

Hi,

Yes, I would appreciate yout efforts. I have a big problem, as this addon cannot be used with Yatsee remote. It leads to XBMC hang, I already contacted sbchisholm but he is busy nowadays.

Do you think you can help with solving my problem? I dig into us much as I can and found some things.

When I use keyboard to play a mix it calls the plugin in this way:
Code:
18:54:18 T:4312   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
18:54:18 T:4312   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
18:54:18 T:4312   DEBUG: XFILE::CPluginDirectory::RunScriptWithParams - calling plugin 8tracks('plugin://plugin.audio.8tracks/','-1','?mix_name=%20WE%20ARE%20ELECTRIC%20&play=3156265&user=UnstUnstUnst&img=http%3A//8tracks.imgix.net/i/001/665/469/c9b0e58a695d11e3ac8712ae8506c2d1_8-5488.jpg%3Ffm%3Djpg%26q%3D65%26w%3D200%26h%3D200%26fit%3Dmax')

When I use the remote it works differently
Code:
18:56:44 T:4876   DEBUG: webserver: request received for /jsonrpc
18:56:44 T:4876   DEBUG: JSONRPC: Incoming request: {"id":1,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"plugin:\/\/plugin.audio.8tracks\/?mix_name=%20WE%20ARE%20ELECTRIC%20&play=3156265&user=UnstUnstUnst&img=http%3A\/\/8tracks.imgix.net\/i\/001\/665\/469\/c9b0e58a695d11e3ac8712ae8506c2d1_8-5488.jpg%3Ffm%3Djpg%26q%3D65%26w%3D200%26h%3D200%26fit%3Dmax"}}}
18:56:44 T:4876   DEBUG: JSONRPC: Calling player.open
18:56:44 T:4312   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
18:56:44 T:4312   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
18:56:44 T:4312   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin 8tracks('plugin://plugin.audio.8tracks/','11','?mix_name=%20WE%20ARE%20ELECTRIC%20&play=3156265&user=UnstUnstUnst&img=http%3A//8tracks.imgix.net/i/001/665/469/c9b0e58a695d11e3ac8712ae8506c2d1_8-5488.jpg%3Ffm%3Djpg%26q%3D65%26w%3D200%26h%3D200%26fit%3Dmax')
18:56:44 T:4312    INFO: initializing python engine.
18:56:44 T:4312   DEBUG: new python thread created. id=15
18:56:44 T:4312   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the 8tracks (id=15) plugin...
You can see, that "StartScript - calling" is waiting for the script return. However the script runs in a loop to handle report, etc.
It seems like this old issue: http://trac.xbmc.org/ticket/11353

Is it possible to solve it in the addon or this is an XBMC problem? Can you help me with this?
Reply
#73
(2014-01-10, 21:54)sakos Wrote:
(2014-01-09, 04:56)sennm Wrote: Is this addon still used by some people? Would people be interested in an effort on my behalf to complete it (features that require login)?

Hi,

Yes, I would appreciate yout efforts. I have a big problem, as this addon cannot be used with Yatsee remote. It leads to XBMC hang, I already contacted sbchisholm but he is busy nowadays.

Do you think you can help with solving my problem? I dig into us much as I can and found some things.

When I use keyboard to play a mix it calls the plugin in this way:
Code:
18:54:18 T:4312   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
18:54:18 T:4312   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
18:54:18 T:4312   DEBUG: XFILE::CPluginDirectory::RunScriptWithParams - calling plugin 8tracks('plugin://plugin.audio.8tracks/','-1','?mix_name=%20WE%20ARE%20ELECTRIC%20&play=3156265&user=UnstUnstUnst&img=http%3A//8tracks.imgix.net/i/001/665/469/c9b0e58a695d11e3ac8712ae8506c2d1_8-5488.jpg%3Ffm%3Djpg%26q%3D65%26w%3D200%26h%3D200%26fit%3Dmax')

When I use the remote it works differently
Code:
18:56:44 T:4876   DEBUG: webserver: request received for /jsonrpc
18:56:44 T:4876   DEBUG: JSONRPC: Incoming request: {"id":1,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"plugin:\/\/plugin.audio.8tracks\/?mix_name=%20WE%20ARE%20ELECTRIC%20&play=3156265&user=UnstUnstUnst&img=http%3A\/\/8tracks.imgix.net\/i\/001\/665\/469\/c9b0e58a695d11e3ac8712ae8506c2d1_8-5488.jpg%3Ffm%3Djpg%26q%3D65%26w%3D200%26h%3D200%26fit%3Dmax"}}}
18:56:44 T:4876   DEBUG: JSONRPC: Calling player.open
18:56:44 T:4312   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
18:56:44 T:4312   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
18:56:44 T:4312   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin 8tracks('plugin://plugin.audio.8tracks/','11','?mix_name=%20WE%20ARE%20ELECTRIC%20&play=3156265&user=UnstUnstUnst&img=http%3A//8tracks.imgix.net/i/001/665/469/c9b0e58a695d11e3ac8712ae8506c2d1_8-5488.jpg%3Ffm%3Djpg%26q%3D65%26w%3D200%26h%3D200%26fit%3Dmax')
18:56:44 T:4312    INFO: initializing python engine.
18:56:44 T:4312   DEBUG: new python thread created. id=15
18:56:44 T:4312   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the 8tracks (id=15) plugin...
You can see, that "StartScript - calling" is waiting for the script return. However the script runs in a loop to handle report, etc.
It seems like this old issue: http://trac.xbmc.org/ticket/11353

Is it possible to solve it in the addon or this is an XBMC problem? Can you help me with this?

If I recall correctly, there were some safeguards built in with respect to spawning Python threads from JSONRPC. What version are you running?

(2014-01-10, 17:24)bkanuka Wrote: Yes, I use this and would love to see some improvements. I wish I could help, but I can't see that happening anytime soon unfortunatly

Apart from ability to login (and see history/liked mixes etc.) what improvements are you thinking of?

edit: I just found out that the ability to login is already in the addon. Silly me.
Reply
#74
(2014-01-12, 04:55)sennm Wrote: If I recall correctly, there were some safeguards built in with respect to spawning Python threads from JSONRPC. What version are you running?

I have this issue with both 12.2 and 12.3 Frodo. I made a change in the addon and now it exits when the mix has been started. In this setup the XBMC is not freezing, however it is not possible to skip to next song. Always the first track of the mix is played.
Reply
#75
(2014-01-12, 04:55)sennm Wrote: Apart from ability to login (and see history/liked mixes etc.) what improvements are you thinking of?

If you're hunting for something to tweak, I'd like to see searches (so entering a genre manually for example) modified so that past searches are added to an editable list, akin to how they work in the YouTube plugin.

It would be a nice convenience feature and save on the typing for those of us who use a remote Cool
'Zero

-----
Kodi Krypton 17.6 | Linux | FTV w/LiveTV 'Fred edition' | Maraschino Git | Kore v 2 | Chorus2
-----
On a long enough timeline. The survival rate for everyone drops to zero.
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7

Logout Mark Read Team Forum Stats Members Help
[RELEASE] 8tracks - Listen to handcrafted internet radio2