Kodi Community Forum
[RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script - 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 (Plugin) Music Addon - An alterntive to the Grooveshark Script (/showthread.php?tid=88235)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


- denhams - 2011-01-22

dallasnights Wrote:Hope that is what you are looking for and it helps to fix the problem

Indeed it is. I have fixed the problem and you should install the new version at:

http://sourceforge.net/projects/xbmc-groove/files/plugin.audio.groove-0.2.2.zip/download

Thanks for reporting the issue.

Stephen.


- dallasnights - 2011-01-22

Thanks but it is still erroring and failing to load

Here is the log

07:32:55 T:804675584 M:111894528 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.audio.groove/)
07:32:55 T:804675584 M:111894528 DEBUG: ParentPath = [addons://sources/audio/]
07:32:55 T:155340800 M:111886336 DEBUG: thread start, auto delete: 1
07:32:55 T:155340800 M:111886336 DEBUG: StartScript - calling plugin Grooveshark XBMC('plugin://plugin.audio.groove/','0','')
07:32:55 T:155340800 M:111886336 INFO: initializing python engine.
07:32:55 T:155340800 M:111886336 DEBUG: Loading: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/system/python/python26-arm-osx.so
07:32:55 T:155340800 M:111886336 DEBUG: PYTHONHOME -> /private/var/stash/Applications/XBMC.frappliance/Frameworks/usr
07:32:55 T:155340800 M:111886336 DEBUG: PYTHONPATH -> /private/var/stash/Applications/XBMC.frappliance/Frameworks/usr
07:32:55 T:155340800 M:111886336 DEBUG: Python wrapper library linked with system Python library
07:32:55 T:155340800 M:111878144 DEBUG: new python thread created. id=2
07:32:55 T:174084096 M:111869952 DEBUG: thread start, auto delete: 0
07:32:55 T:174084096 M:111869952 DEBUG: Python thread: start processing
07:32:55 T:155340800 M:111869952 DEBUG: WaitOnScriptResult - waiting on the Grooveshark XBMC plugin...
07:32:55 T:174084096 M:111857664 NOTICE: -->Python Interpreter Initialized<--
07:32:55 T:174084096 M:111857664 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove/default.py
07:32:55 T:174084096 M:111857664 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python26.zip:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-darwin:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-mac:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-mac/lib-scriptpackages:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-tk:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-old:/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-dynload
07:32:55 T:174084096 M:111726592 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove
07:32:55 T:804675584 M:111726592 DEBUG: ------ Window Init (DialogBusy.xml) ------
07:32:56 T:174084096 M:114499584 NOTICE: /private/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove/resources/lib/GroovesharkAPI.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import socket, hmac, urllib, urllib2, pprint, md5, re, sha, time, random, os, pickle, uuid, tempfile
07:32:56 T:174084096 M:114495488 NOTICE: /private/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove/resources/lib/GroovesharkAPI.py:1: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import socket, hmac, urllib, urllib2, pprint, md5, re, sha, time, random, os, pickle, uuid, tempfile
07:32:57 T:174084096 M:114409472 NOTICE: http://api.grooveshark.com/ws/2.1/?method=pingService&&wsKey=wordpress&sig=2df88095d995c201a853a5988b71c191&format=json
07:32:57 T:155340800 M:114401280 INFO: Loading skin file: DialogProgress.xml
07:32:57 T:155340800 M:114397184 DEBUG: ------ Window Init (DialogProgress.xml) ------
07:32:57 T:174084096 M:114331648 NOTICE: Response...
07:32:57 T:174084096 M:114331648 NOTICE: '{"header":{"hostname":"RHL039.in.escapemg.com"},"result":"Hola, mundo."}'
07:32:57 T:174084096 M:114331648 INFO: -->Python script returned the following error<--
07:32:57 T:174084096 M:114331648 ERROR: Error Type: <type 'exceptions.OSError'>
07:32:57 T:174084096 M:114331648 ERROR: Error Contents: (17, 'File exists', '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.groove/thumb')
07:32:57 T:174084096 M:114323456 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove/default.py", line 386, in <module>
grooveshark = Groveshark();
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove/default.py", line 81, in __init__
os.makedirs(artDir)
File "/private/var/stash/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: (17, 'File exists', '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.groove/thumb')
07:32:57 T:174084096 M:114323456 INFO: -->End of Python script error report<--
07:32:57 T:804675584 M:114323456 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
07:32:57 T:174084096 M:114421760 INFO: Python script stopped
07:32:57 T:174084096 M:114421760 DEBUG: Thread 174084096 terminating
07:32:57 T:155340800 M:114425856 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
07:32:57 T:804675584 M:114425856 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
07:32:57 T:804675584 M:114216960 ERROR: GetDirectory - Error getting plugin://plugin.audio.groove/
07:32:57 T:804675584 M:114216960 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove/) failed
07:32:57 T:804675584 M:114216960 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/audio/)
07:32:57 T:804675584 M:114216960 DEBUG: ParentPath = []
07:32:57 T:179523584 M:114163712 DEBUG: thread start, auto delete: 0
07:32:57 T:179523584 M:114163712 DEBUG: Loading fileitems [addons://sources/audio/]
07:32:57 T:179523584 M:114155520 DEBUG: -- items: 6, directory: addons://sources/audio/ sort method: 0, ascending: false
07:32:57 T:179523584 M:114155520 DEBUG: Saving fileitems [addons://sources/audio/]
07:32:57 T:179523584 M:114163712 DEBUG: -- items: 7, sort method: 0, ascending: false
07:32:57 T:179523584 M:114163712 DEBUG: Thread 179523584 terminating
07:32:57 T:804675584 M:114163712 DEBUG: RetrieveMusicInfo() took 179 msec
07:32:57 T:178458624 M:114167808 DEBUG: thread start, auto delete: 0
07:32:57 T:178458624 M:114167808 DEBUG: Thread 178458624 terminating
07:32:57 T:178991104 M:114163712 DEBUG: thread start, auto delete: 0
07:32:57 T:178991104 M:114163712 DEBUG: Thread 178991104 terminating
07:32:57 T:804675584 M:113963008 DEBUG: python thread 2 destructed
07:32:58 T:804675584 M:110227456 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
07:33:03 T:804675584 M:110755840 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
07:33:07 T:804675584 M:111038464 INFO: Python, unloading python24.dll because no scripts are running anymore
07:33:07 T:804675584 M:111038464 DEBUG: UnloadExtensionLibs, clearing python extension libraries
07:33:07 T:804675584 M:111038464 DEBUG: Unloading: python26-arm-osx.so
07:33:17 T:176746496 M:111128576 DEBUG: Received request to serve 'DeviceDescription.xml'
07:33:27 T:155340800 M:111149056 DEBUG: Thread 155340800 terminating (autodelete)


- dallasnights - 2011-01-22

Maybe a clean unistall would be the key
How do I do that other than from the XBMC menus for unistall add ons
I mean what other directories should i unistall via SSH
Maybe that is the soluition


- denhams - 2011-01-22

dallasnights Wrote:Maybe a clean unistall would be the key
How do I do that other than from the XBMC menus for unistall add ons
I mean what other directories should i unistall via SSH
Maybe that is the soluition

No, its my fault. My fix was not correct. Please try this:

http://sourceforge.net/projects/xbmc-groove/files/plugin.audio.groove-0.2.3.zip/download


- dallasnights - 2011-01-22

you did it, it works
Great Job
I will report if I see any other BUGS, thank you!!!!


- dallasnights - 2011-01-22

So far so good, question, is there a way to make it continuous play, I mean I choose a song from my library or playlist, it plays then stops and does not move to next song, maybe a shuffle command or something

Let me know and thank you!


- dominater01 - 2011-01-22

anyway you can make it so the playlists are in abc order cuz when you have 148 differnt playlists like me its hard to find what i want to listen to

also its hard to c song names sometimes is there anyway you could change it to track artist album insted of artist album track


- dallasnights - 2011-01-22

ok how do you do that, change the option I like you have over 100 playlist tooSmile


- denhams - 2011-01-22

dallasnights Wrote:So far so good, question, is there a way to make it continuous play, I mean I choose a song from my library or playlist, it plays then stops and does not move to next song, maybe a shuffle command or something

Let me know and thank you!

Go to the XBMC Music Settings, select Playback and then Play the next song automatically.


- dallasnights - 2011-01-22

thanks just checked that option is on for me still no play automatically on my side


- denhams - 2011-01-22

dominater01 Wrote:anyway you can make it so the playlists are in abc order cuz when you have 148 differnt playlists like me its hard to find what i want to listen to

also its hard to c song names sometimes is there anyway you could change it to track artist album insted of artist album track

Thanks for you suggestions. I will try to add these to the next version.


- dallasnights - 2011-01-22

Here is a list for you and thanks for your great work
1) Shuffle
2) Continuous play (not working through options I think)
3) Alphabetical
4) Faster parsing if possible of a playlist (example I have one over 4000 songs, takes a while and craps out at about 2000 but still shows 2000 songs I think)
5) Album artist parsing if possible

Can not wait to see the updateSmile

Thanks again!


- denhams - 2011-01-22

dallasnights Wrote:thanks just checked that option is on for me still no play automatically on my side

Mmm, it works okay for me Smile

Try this using the DVD player as described in the FAQ section of this thread:

http://forum.xbmc.org/showthread.php?tid=74474

Stephen.


- dallasnights - 2011-01-22

okay maybe i am dense but not sure what you mean, looked at thread and maybe I am missing it can you be a little for clear

Thank you!


- denhams - 2011-01-22

dallasnights Wrote:okay maybe i am dense but not sure what you mean, looked at thread and maybe I am missing it can you be a little for clear!

Not much clearer Smile. Find the section in the first post that starts 'FAQ' (about halfway down) then do what it says.