Re: [slim] Stream google play music
Hechtus wrote: > As I'm the author of the Google Play Music plugin I'd like to give some > hints. First of all the plugin is currently tested and supported on > Linux-based systems only. Windows and Mac OS are not supported so far. > The reason for this is that the Google API being used is written in > Python and I do not have any plans to port it to Perl, the programming > language of the Logitech Media Server (LMS). > > It would be great if someone would try to find a way to make this plugin > running on Windows or Mac OS. So, I'm relying on your help. If there is > a way to make it running on non-Linux systems I will include the > installation procedure to the current Linux HowTo. > > Now the details. The Plugin which is completely written in Perl > communicates with the Python Google API (gmusicapi) through a two Perl > Modules: Inline and Inline::Python. The Inline module allows for > inlining other programming languages. Inline::Python is for inlining > Python. Thus, both modules have to be installed in a way that the Perl > interpreter of the LMS can use them. If done correctly (at least for > Inline) the "Can't locate Inline.pm in @INC" error should be fixed. > > I have no clue how Python on Windows has to be installed to be able to > inline it with Perl. But I'm quite sure it is doable. One thing that > needs to be solved is this: "Previous versions of Inline::Python worked > on Windows and Cygwin -- this version has never been tested there. I > strongly suspect it will require patching. Please send me patches." It > comes from the documentation page of Inline::Python. > > There is another possibility to communicate with the Python gmusicapi. > The gmusicapi could be wrapped into a Python Proxy server run on the LMS > host. There is something similar out there: gmusicproxy. The Plugin > could send requests to the proxy using JSON. This approach would avoid > the use of the Perl modules Inline and Inline::Python. > > So, any volunteers? I volunteer to help out. I can try either method if provided with the basics to get it running. I have searched high and low to get inline and inline::python running on my python install but have been unable to find the relevant windows or relevant patch files/instructions. Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Stream google play music
ironmikel wrote: > Jphccfc - I have the exact same issue but on my Synology NAS. > > "Warning: Module [Plugins::GoogleMusic::Plugin] failed to load: > Can't locate Inline.pm in @INC" > > I confirmed the gmusicapi is installed correctly by testing with the > mobility client. I just can't seem to get the plugin to load without > error. > > I will let you know if I manage to get past this and what the resolution > was. > > Mike Mike did you sort out your error, I have been unable to get the cpan inline modules working on Windows Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Stream google play music
I now have the plugin option however get plugin failed to load as the error message in the squeezebox server settings Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Stream google play music
i managed to get the pip install gmusicapi running, I had to run it from cmd prompt and not the python prompt. I know need to determine how to get the plugin in the squeezebox plugins folder so i can set settings Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Stream google play music
Thanks Srasher, I no longer get the error message it ran and then left the message restart, I dont know how to test if it is running. I was expecting a gmusicapi.py file that would then need to be run but couldnt find that in the github Unofficial-Google-Music-API folder. For the life of me I cant understand why the squeezebox-googlemusic doesnt show in the plugins page of the server. I have copied the repo.xml file to the plugins folder of the squeezebox directory. Do i need to have the squeezebox-googlemusic folder in that directory too? Thanks Again for your help Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Stream google play music
srasher wrote: > For me it worked relatively straight as described on the page. The only > thing I stumbled over was that I had to explicitly install the package > providing the "pip" command mentioned in the installation notes. I think > it was python-pip or something similar, was easy to find via > apt-get/aptitude. I successfully got it running on a x86 machine with > Ubuntu 13.04 as well as on a sheevaplug running Debian Wheezy. > > Where exactly does your installation fail? Im runnning Windows 64bit I have installed python 2.7.6, I have run an exe to install pip command. If I type $ pip install gmusicapi I get a syntax error pointing to the $. I have downloaded the python file from the following: https://github.com/simon-weber/Unofficial-Google-Music-API/tree/master. PIP still doesnt work (I pasted this into the root of the python27 directory). I have also tried running setup.py using the GUI on python and I get the following error:- Traceback (most recent call last): File "C:\Python27\Unofficial-Google-Music-API-develop\setup.py", line 5, in from setuptools import setup, find_packages ImportError: No module named setuptools I have copied the repo.xml file to my plugins root and even then the plugins page on the squeezebox web server does not seem to see the plugin so I have no ability to setup password or mobile device id!!! Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Stream google play music
thanks srasher, I tried to install the python plugin and just couldnt get this running. Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Stream google play music
Thanks that is great I will give it a go Sent from my Nexus 4 using Tapatalk Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Stream google play music
I know there are workarounds using upnp for Google music but would still love a dedicated Google music app for my squeezebox, I see there are unofficial apis available. I would be happy to help test if there are any willing developers. Sent from my Nexus 4 using Tapatalk Jphccfc's Profile: http://forums.slimdevices.com/member.php?userid=46163 View this thread: http://forums.slimdevices.com/showthread.php?t=99482 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss