Kodi Community Forum
[RELEASE] Grooveshark (Script) Music Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] Grooveshark (Script) Music Addon (/showthread.php?tid=74474)



- dallasnights - 2011-02-16

Solver here is my debug file hope this helps to fix error and frozen screen

10:50:45 T:155828224 M:100405248 INFO: initializing python engine.
10:50:45 T:155828224 M:100405248 DEBUG: Loading: /Applications/XBMC.frappliance/XBMCData/XBMCHome/system/python/python26-arm-osx.so
10:50:45 T:155828224 M:100405248 DEBUG: PYTHONHOME -> /Applications/XBMC.frappliance/Frameworks/usr
10:50:45 T:155828224 M:100405248 DEBUG: PYTHONPATH -> /Applications/XBMC.frappliance/Frameworks/usr
10:50:45 T:155828224 M:100405248 DEBUG: Python wrapper library linked with system Python library
10:50:45 T:155828224 M:100401152 DEBUG: new python thread created. id=2
10:50:45 T:203362304 M:100397056 DEBUG: thread start, auto delete: 0
10:50:45 T:203362304 M:100397056 DEBUG: Python thread: start processing
10:50:46 T:203362304 M: 99999744 NOTICE: -->Python Interpreter Initialized<--
10:50:46 T:203362304 M: 99999744 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/script.audio.grooveshark/default.py
10:50:46 T:203362304 M: 99999744 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/script.audio.grooveshark:/var/mobile/Library/Preferences/XBMC/addons/script.module.cryptopy/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.mechanize/lib:/var/mobile/Library/Preferences/XBMC/addons/script.web.viewer/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/Applications/XBMC.frappliance/Frameworks/usr:/Applications/XBMC.frappliance/Frameworks/usr/lib/python26.zip:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-darwin:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-mac:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-tk:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-old:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-dynload
10:50:46 T:203362304 M: 99999744 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/script.audio.grooveshark
10:50:46 T:203362304 M: 99913728 NOTICE: GrooveShark: ####### Start
10:50:46 T:203362304 M: 99905536 NOTICE: GrooveShark: Initialized as a post-dharma plugin
10:50:46 T:203362304 M: 99909632 NOTICE: GrooveShark: Debugging disabled
10:50:49 T:203362304 M: 99602432 NOTICE: /var/mobile/Library/Preferences/XBMC/addons/script.audio.grooveshark/resources/lib/GrooveAPI.py:1: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import urllib, urllib2, unicodedata, re, os, traceback, sys, pickle, socket, string, time, random, sha, md5
10:50:49 T:203362304 M: 99598336 NOTICE: /var/mobile/Library/Preferences/XBMC/addons/script.audio.grooveshark/resources/lib/GrooveAPI.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import urllib, urllib2, unicodedata, re, os, traceback, sys, pickle, socket, string, time, random, sha, md5
10:50:49 T:203362304 M: 99577856 NOTICE: Unable to import pysqlite2. Search suggestions disabled. This should only happen if you've compiled from SVN and forgotten to compile sqlite2.
10:50:49 T:203362304 M: 99577856 NOTICE: GrooveShark version 0.3.2
10:50:49 T:203362304 M: 99577856 INFO: Default 4:3 resolution directory is 720p
10:50:49 T:203362304 M: 99577856 INFO: Default 16:9 resolution directory is 720p
10:50:49 T:203362304 M: 99577856 INFO: Loading skin includes from /720p/includes.xml
10:50:49 T:203362304 M: 99577856 INFO: Error loading includes.xml file (/720p/includes.xml): Failed to open file (row=0, col=0)
10:50:49 T:155828224 M: 99569664 DEBUG: Activating window ID: 13000
10:50:49 T:155828224 M: 99569664 DEBUG: Checking if window ID 13000 is locked.
10:50:49 T:155828224 M: 99557376 DEBUG: ------ Window Deinit (MyMusicSongs.xml) ------
10:50:50 T:155828224 M: 99508224 DEBUG: ------ Window Init (/var/mobile/Library/Preferences/XBMC/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/grooveshark.xml) ------
10:50:50 T:155828224 M: 99508224 INFO: Loading skin file: /var/mobile/Library/Preferences/XBMC/addons/script.audio.grooveshark/resources/skins/DefaultSkin/720p/grooveshark.xml


GrooveShark is back. Version 0.4.0 released - solver - 2011-02-16

I've requested a pull from my repo so the script should be available again within a couple of hours in the addon manager. If you're impatient you can grab the new version from my google code page. See first post on how to do that.

I hope I've corrected all the bugs that was found in the beta. If not, don't hesitate to report them.

Cheers


- dallasnights - 2011-02-16

You did it great job thank you!! Works great now on 4.21 FW


- marv_el - 2011-02-18

wow, the new version is fantastic. very much improved, i love it.
thanks alot!


- rbrohman - 2011-02-19

Thanks solver. New version working great for me.

I do find that I miss having my playlists sorted by date added. I use GS web to create a playlist for each album I'm currently listening to, as well as albums I've seen recommended or with a lot of hype, etc. It was nice being able to see these listed chronologically so I could keep track of what was new or what I haven't yet given a listen to. I know that sorting by name is more universally useful, but it would be nice to maybe have the option to toggle back and forth.

Also, very minor thing, but it'd be great if the menus were looped at top and bottom. For example, if I press the left arrow on my remote to pull up the home menu, I keep trying to hit up to jump immediately to "Exit". Again, very minor, but it would be consistent with rest of xbmc.

Thanks again for the great work!


- fiddystorms - 2011-02-19

Where did everyone get the new version 4.21 at?


- dallasnights - 2011-02-19

no the latest version is 4.0 the firmware on Apple tv is 4.21


- Bawk - 2011-02-19

Been trying all day to get this to work. Keep getting "ERROR Unable to get a new session ID. Wait a few minutes a..." reloaded several times, waited hour between starts and same error.

Plugin v4.0
Debug log http://www.mediafire.com/?vxb5442ns2jo9o6
XBMC 10.0 r35648
Linux 2.6.37


- fiddystorms - 2011-02-21

dallasnights Wrote:no the latest version is 4.0 the firmware on Apple tv is 4.21

Ummm... Oh yeah Blush

Can someone help me figure out what I need to do to add playercorefactory.xml so that it is only used by grooveshark? In other words I don't want any of my other programs which are running smooth with the current installed players to be affected by my adding an external player. I just want to solve the cache issue as explained on the first page. Grooveshark currently takes a long time between songs.

I looked to see if I have playercorefactory.xml and I don't. I want someone to point me to the code I can use that will work with grooveshark only and I will add the code from page 1 that solves my cache issue. Thanks for whatever help you can give me.

P.S. if it's not possible to seclude playercorefactory.xml to just Grooveshark, then what must I do to get playercorefactory.xml to effectively run all of my media across the entire ATV2 platform?


- denhams - 2011-02-21

fiddystorms Wrote:Can someone help me figure out what I need to do to add playercorefactory.xml so that it is only used by grooveshark?

The very first post of this thread tells you how to do this (http://forum.xbmc.org/showpost.php?p=542102&postcount=1). Look under the "FAQ" heading. Also, I think you can select the player in the script settings (use DVDPlayer to avoid the delay).

Stephen.


- solver - 2011-02-21

Bawk Wrote:Been trying all day to get this to work. Keep getting "ERROR Unable to get a new session ID. Wait a few minutes a..." reloaded several times, waited hour between starts and same error.

Plugin v4.0
Debug log http://www.mediafire.com/?vxb5442ns2jo9o6
XBMC 10.0 r35648
Linux 2.6.37

I'll have a look at it


- solver - 2011-02-21

rbrohman Wrote:Thanks solver. New version working great for me.

I do find that I miss having my playlists sorted by date added. I use GS web to create a playlist for each album I'm currently listening to, as well as albums I've seen recommended or with a lot of hype, etc. It was nice being able to see these listed chronologically so I could keep track of what was new or what I haven't yet given a listen to. I know that sorting by name is more universally useful, but it would be nice to maybe have the option to toggle back and forth.

Also, very minor thing, but it'd be great if the menus were looped at top and bottom. For example, if I press the left arrow on my remote to pull up the home menu, I keep trying to hit up to jump immediately to "Exit". Again, very minor, but it would be consistent with rest of xbmc.

Thanks again for the great work!

Good suggestions. I'll see if I can't remember to implement it in the next version. Do you mind putting them in the issue tracker so I don't forget?


- solver - 2011-02-21

rbrohman Wrote:I'm having trouble with 1 playlist. The track order is correct when I access GS in a browser, but when I pull it up in the GS script in XBMC, the tracks are out of sequence. I've deleted and recreated this playlist a couple of times, but haven't been able to resolve. I haven't noticed this on any other playlists, though I haven't verified all of them.

here's the playlist: http://listen.grooveshark.com/playlist/London+Symphony+Orchestra+Swan+Lake/43351254?src=5

In xbmc, it comes up 1, 2, 11,12....

Thanks

It's on my issue list. I haven't quite figured out yet how the GS web interface sorts


- rflores2323 - 2011-02-21

does this addon provide continuous play in atv2?


- maruchan - 2011-02-22

Hey solver, thank you for all of your hard work on this awesome script Smile I'm having an issue where I can't load my playlists. It just spins the little loading animation for a bit and then stops. The debug log can be found below:

https://pastee.org/9tn5e