Work in Progress - Google Music Addon

  Thread Rating:
  • 5 Votes - 4.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #46
update
I unistalled and reinstalled a clean copy of Googlemusic, still errors out on ATV2
See below for the log http://www.xbmclogs.com/show.php?id=7214

Hope you can help me

Thanks
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #47
Ok here is a fresh log http://www.xbmclogs.com/show.php?id=7216

I deleted the old one rebooted and then launched GMusic
Got in clicked only on Playlists and it error out

My internet is FIOS about 16mbps down and 5 mbps up

Hope you can help, thank you
find quote
gillou666 Offline
Junior Member
Posts: 15
Joined: Apr 2012
Reputation: 0
Post: #48
(2012-06-28 00:49)claypigeon Wrote:  
(2012-06-28 00:08)vially Wrote:  I have never used openelec but I have some experience with a couple other linux distributions and I might be able to help you. But first I would need to know why you think you'd need apt-get? I don't know which google API instructions are you following but the way this add-on works is by using script.module.gmusicapi which is basically the Unofficial-Google-Music-API packed for XBMC. This means you won't have to install it yourself because XBMC will download and install it automatically when you install the zip for the Google Music add-on.

Hope this helps.

Cheers!

Ha, that is because I over thunk it, I looked at the link to the API and assumed from the prior link that it was a dependency, and it the api doc it was talking about apt-get for installing it, and I thought that it needed to be installed first. My error.

I did just install the plugin, looks like it installed ok and I was able to configure it but it appears to be failing on execution.

Here is the log, thanks for the help.

http://sprunge.us/IGfY

Error of permission .... change chmod in /usr/config/gmusicapi.log
just my opinion im not an expert.
(This post was last modified: 2012-08-27 16:57 by gillou666.)
find quote
MarceFX Offline
Junior Member
Posts: 31
Joined: Jun 2012
Reputation: 0
Post: #49
Hi!

Thanks for your work. Any chance we can get playlist into favorites on XBMC main menu?
(This post was last modified: 2012-09-12 01:31 by MarceFX.)
find quote
foreverguest Offline
Senior Member
Posts: 128
Joined: Oct 2012
Reputation: 6
Post: #50
Hi all,

I have been doing some modifications on this addon to my own use and I think others may be interested too, since the original author seens to be very busy at the moment.

If you're willing to test, at your own risk, I'm making it available at: GoogleMusic

Any feedback is welcome.

Regards.
(This post was last modified: 2013-05-06 02:24 by foreverguest.)
find quote
MarceFX Offline
Junior Member
Posts: 31
Joined: Jun 2012
Reputation: 0
Post: #51
(2012-10-17 23:04)foreverguest Wrote:  Hi all,

I have been doing some modifications on this addon to my own use and I think others may be interested too, since the original author seens to be very busy at the moment.

If you're willing to test, at your own risk, I'm making it available at: http://db.tt/TmTkSA1G

Any feedback is welcome.

Regards.

Hi,

What modifications have you implemented?

Thanks
find quote
foreverguest Offline
Senior Member
Posts: 128
Joined: Oct 2012
Reputation: 6
Post: #52
The ability to browse the library by artists, albums or genres and access to the 'Auto Playlists'.
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #53
Great update except on ATV2 the playlist does not work
See the log below and I hope you help me fix it so my playlist work

Thanks

http://pastebin.com/zSAQnZj2
find quote
foreverguest Offline
Senior Member
Posts: 128
Joined: Oct 2012
Reputation: 6
Post: #54
This is because the GoogleMusicApi library is not updated. Do you know how can I submit an update for the library in the XBMC repository?

Meanwhile, you can edit the following files in your addons\script.module.gmusicapi\lib\gmusicapi folder:
- in file protocol.py remove the line
"magicPlaylists": WC_Protocol.pl_array,
- in file api.py remove the lines
if instant:
playlists['instant'] = self._playlist_list_to_dict(res['magicPlaylists'])

Like the modifications here:
https://github.com/simon-weber/Unofficia...rotocol.py
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #55
Did what you instructed still no luck for playlists on ATV2 see the log here

http://www.xbmclogs.com/show.php?id=10958

Thanks
find quote
foreverguest Offline
Senior Member
Posts: 128
Joined: Oct 2012
Reputation: 6
Post: #56
I can't reproduce your problem.
Do you have any problem with the 'Auto Playlists' and browsing the songs?
Have you tried to clean the cache and the cookie?
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #57
All works except Playlists and Auto playlists
Here is the latest log
http://www.xbmclogs.com/show.php?id=10991

YES I cleared out the Cache and Cookie

Hope you can help

Thank you
find quote
bluenote Offline
Fan
Posts: 307
Joined: May 2010
Reputation: 0
Post: #58
I have (what I guess may be?) a path error. I've tried both 0.2.1 and the other 0.3.
Or maybe I'm doing something else dumb? Im just installing from zip.
Thanks for any pointers.

Here's a relevant snippet of my log:
Code:
18:17:50 T:4172  NOTICE: -->Python Interpreter Initialized<--
18:17:50 T:4172  NOTICE: GoogleMusic-0.2.1 ARGV: ['plugin://plugin.audio.googlemusic/', '0', '']
18:17:51 T:4172  NOTICE: CommonFunctions-1.2.0
18:17:51 T:4172   ERROR: Error Type: <type 'exceptions.ImportError'>
18:17:51 T:4172   ERROR: Error Contents: No module named pkg_resources
18:17:51 T:4172   ERROR: Traceback (most recent call last):
                                              File "C:\Program Files\XBMC\portable_data\addons\plugin.audio.googlemusic\default.py", line 34, in <module>
                                                import GoogleMusicNavigation
                                              File "C:\Program Files\XBMC\portable_data\addons\plugin.audio.googlemusic\GoogleMusicNavigation.p​y", line 4, in <module>
                                                import GoogleMusicApi
                                              File "C:\Program Files\XBMC\portable_data\addons\plugin.audio.googlemusic\GoogleMusicApi.py", line 3, in <module>
                                                from gmusicapi.api import Api
                                              File "C:\Program Files\XBMC\portable_data\addons\script.module.gmusicapi\lib\gmusicapi\__init__.p​y", line 29, in <module>
                                                from .api import Api, CallFailure
                                              File "C:\Program Files\XBMC\portable_data\addons\script.module.gmusicapi\lib\gmusicapi\api.py", line 74, in <module>
                                                from protocol import WC_Protocol, MM_Protocol
                                              File "C:\Program Files\XBMC\portable_data\addons\script.module.gmusicapi\lib\gmusicapi\protocol.p​y", line 44, in <module>
                                                import metadata_pb2
                                              File "C:\Program Files\XBMC\portable_data\addons\script.module.gmusicapi\lib\gmusicapi\metadata_p​b2.py", line 3, in <module>
                                                from google.protobuf import descriptor
                                              File "C:\Program Files\XBMC\portable_data\addons\script.module.protobuf\lib\google\__init__.py", line 1, in <module>
                                                __import__('pkg_resources').declare_namespace(__name__)
                                            ImportError: No module named pkg_resources
18:17:51 T:3660   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.googlemusic
18:17:51 T:3660   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.googlemusic) failed
find quote
devanl Offline
Junior Member
Posts: 46
Joined: Feb 2008
Reputation: 0
Post: #59
Thanks foreverguest, this got it working for me!

(2012-10-19 05:41)foreverguest Wrote:  This is because the GoogleMusicApi library is not updated. Do you know how can I submit an update for the library in the XBMC repository?

Meanwhile, you can edit the following files in your addons\script.module.gmusicapi\lib\gmusicapi folder:
- in file protocol.py remove the line
"magicPlaylists": WC_Protocol.pl_array,
- in file api.py remove the lines
if instant:
playlists['instant'] = self._playlist_list_to_dict(res['magicPlaylists'])

Like the modifications here:
https://github.com/simon-weber/Unofficia...rotocol.py
find quote
gillou666 Offline
Junior Member
Posts: 15
Joined: Apr 2012
Reputation: 0
Post: #60
work for me ATV2 version v0.3

thx foreverguest for your work Smile
find quote
Post Reply