[RELEASE] Grooveshark (Plugin) Music Addon - An alterntive to the Grooveshark Script

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #46
dominater01 Wrote:when i sign in it sez check your setting and i know the info is 100% right so i know somethings up

Please can you check that your username/password are in the settings.xml file. I think for xbmc4xbox that will be somewhere under q:\UserData. It seems to me that these settings are not being loaded correctly.

If you are up to changing the code, try editing 'default.py' and hardwiring 'self.username' and 'self.password' in the function '_get_login(self)'.

Thanks,

Stephen.
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #47
dallasnights Wrote:ya i can not get the plugin from this forum and the one avail on the actual program on the TV to work at all, can anyone tell us a solution please

Please can you tell me some more information:

- which version of the addons you have
- which version of XBMC
- which operating system
- the error messages you see
- if possible, post our xbmc.log

Many thanks,

Stephen.
find quote
dominater01 Offline
Member
Posts: 98
Joined: May 2007
Reputation: 0
Rainbow   
Post: #48
denhams Wrote:Please can you check that your username/password are in the settings.xml file. I think for xbmc4xbox that will be somewhere under q:\UserData. It seems to me that these settings are not being loaded correctly.

If you are up to changing the code, try editing 'default.py' and hardwiring 'self.username' and 'self.password' in the function '_get_login(self)'.

Thanks,

Stephen.

nevermind i got it to work i updated xbmc again to a fresh install and it logged in fine
(This post was last modified: 2011-01-21 14:11 by dominater01.)
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #49
ok not sure how to tell you its not working, I have 3.1 for groovehark on my XBMC, I have the latest 10.0 XMBC
When I load Gorrveshark it wont show my playlists or anything
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #50
dallasnights Wrote:ok not sure how to tell you its not working, I have 3.1 for groovehark on my XBMC, I have the latest 10.0 XBMC
When I load Gorrveshark it wont show my playlists or anything

I think you are using the 'script' addon and not the 'plugin' addon. There are actually two different Grooveshark addons available (I know, it's a bit confusing). Anyway, the only one that works at the moment is the plugin from:

http://sourceforge.net/projects/xbmc-gro...p/download

Please give that a try.

Stephen.
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #51
Ok installed that and still get error it says Script Failed in red on the right bottom corner, any other solutions, thanks
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #52
Here are the steps I take
Download the ZIP file
SSH into AppleTV go under var/mobile, drop the file
Go to XBMC under System, Addons, Install from Zip
Click on the file
It shows installed
go back to Music
See the file Grooveshark XBMC
Click
Get red error mentioned

Not sure what I am doing wrong

Thanks for your help
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #53
dallasnights Wrote:Not sure what I am doing wrong

Me neither Big Grin

Please can you post (or pastebin.com) the xbmc.log? It should show what the error it.

Thanks,

Stephen.
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #54
sure where can i find that
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #55
dallasnights Wrote:sure where can i find that

http://wiki.xbmc.org/index.php?title=Log_File
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #56
ok went to /private/var/mobile/Library/Logs

No logs for XBMC, what am I doing wrong

Thanks so much for your patience
find quote
denhams Offline
Senior Member
Posts: 155
Joined: Jun 2010
Reputation: 1
Post: #57
dallasnights Wrote:ok went to /private/var/mobile/Library/Logs

No logs for XBMC, what am I doing wrong

Thanks so much for your patience

The log must be there somewhere. Please try doing a search/find of the whole computer for xbmc.log.

Stephen.
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #58
still can not find it, here is a question, maybe if I unistall XBMC and reinstall it might work
How do I do that, thanks again!
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #59
09:57:45 T:172888064 M:118177792 DEBUG: StartScript - calling plugin Grooveshark XBMC('plugin://plugin.audio.groove/','0','')
09:57:45 T:172888064 M:118177792 INFO: initializing python engine.
09:57:45 T:172888064 M:118177792 DEBUG: Loading: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/system/python/python26-arm-osx.so
09:57:45 T:172888064 M:118165504 DEBUG: PYTHONHOME -> /private/var/stash/Applications/XBMC.frappliance/Frameworks/usr
09:57:45 T:172888064 M:118165504 DEBUG: PYTHONPATH -> /private/var/stash/Applications/XBMC.frappliance/Frameworks/usr
09:57:45 T:172888064 M:118165504 DEBUG: Python wrapper library linked with system Python library
09:57:46 T:172888064 M:118157312 DEBUG: new python thread created. id=9
09:57:46 T:175370240 M:118153216 DEBUG: thread start, auto delete: 0
09:57:46 T:175370240 M:118153216 DEBUG: Python thread: start processing
09:57:46 T:172888064 M:118075392 DEBUG: WaitOnScriptResult - waiting on the Grooveshark XBMC plugin...
09:57:46 T:175370240 M:118005760 NOTICE: -->Python Interpreter Initialized<--
09:57:46 T:175370240 M:118005760 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove/default.py
09:57:46 T:175370240 M:118005760 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
09:57:46 T:175370240 M:118005760 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.audio.groove
09:57:46 T:804675584 M:117989376 DEBUG: ------ Window Init (DialogBusy.xml) ------
09:57:47 T:175370240 M:121229312 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
09:57:47 T:175370240 M:121229312 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
09:57:47 T:172888064 M:121221120 INFO: Loading skin file: DialogProgress.xml
09:57:47 T:172888064 M:121221120 DEBUG: ------ Window Init (DialogProgress.xml) ------
09:57:47 T:175370240 M:121012224 NOTICE: http://api.grooveshark.com/ws/2.1/?metho...ormat=json
09:57:48 T:804675584 M:121008128 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
09:57:48 T:175370240 M:120705024 NOTICE: Response...
09:57:48 T:175370240 M:120705024 NOTICE: '{"header":{"hostname":"RHL073"},"result":"Hello, world."}'
09:57:48 T:175370240 M:120705024 INFO: -->Python script returned the following error<--
09:57:48 T:175370240 M:120705024 ERROR: Error Type: <type 'exceptions.OSError'>
09:57:48 T:175370240 M:120705024 ERROR: Error Contents: (17, 'File exists', '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.groove/thumb')
09:57:48 T:175370240 M:120684544 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(arttDir)
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')
09:57:48 T:175370240 M:120684544 INFO: -->End of Python script error report<--
09:57:48 T:175370240 M:120684544 INFO: Python script stopped
09:57:48 T:175370240 M:120684544 DEBUG: Thread 175370240 terminating
09:57:48 T:804675584 M:120737792 DEBUG: python thread 9 destructed
09:57:48 T:804675584 M:120737792 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
09:57:48 T:172888064 M:120737792 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
09:57:48 T:804675584 M:120557568 ERROR: GetDirectory - Error getting plugin://plugin.audio.groove/
09:57:48 T:804675584 M:120557568 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.groove/) failed
09:57:48 T:804675584 M:120557568 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/audio/)
09:57:48 T:804675584 M:120557568 DEBUG: ParentPath = []
09:57:49 T:175370240 M:120557568 DEBUG: thread start, auto delete: 0
09:57:49 T:175370240 M:120557568 DEBUG: Loading fileitems [addons://sources/audio/]
09:57:49 T:175370240 M:120557568 DEBUG: -- items: 6, directory: addons://sources/audio/ sort method: 0, ascending: false
09:57:49 T:175370240 M:120557568 DEBUG: Saving fileitems [addons://sources/audio/]
09:57:49 T:175370240 M:120557568 DEBUG: -- items: 7, sort method: 0, ascending: false
09:57:49 T:175370240 M:120557568 DEBUG: Thread 175370240 terminating
09:57:49 T:804675584 M:120557568 DEBUG: RetrieveMusicInfo() took 0 msec
09:57:49 T:177119232 M:120635392 DEBUG: thread start, auto delete: 0
09:57:49 T:177119232 M:120631296 DEBUG: Thread 177119232 terminating
09:57:49 T:177651712 M:120627200 DEBUG: thread start, auto delete: 0
09:57:49 T:177651712 M:120627200 DEBUG: Thread 177651712 terminating
09:57:49 T:804675584 M:116957184 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
09:57:54 T:804675584 M:117473280 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
09:57:58 T:804675584 M:117751808 INFO: Python, unloading python24.dll because no scripts are running anymore
09:57:58 T:804675584 M:117751808 DEBUG: UnloadExtensionLibs, clearing python extension libraries
09:57:58 T:804675584 M:117751808 DEBUG: Unloading: python26-arm-osx.so
09:58:19 T:172888064 M:117882880 DEBUG: Thread 172888064 terminating (autodelete)
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #60
Hope that is what you are looking for and it helps to fix the problem

Thank you

BTW Log is in
/private/var/mobile/Library/Preferences
find quote
Post Reply