Coder Social home page Coder Social logo

Comments (24)

foreverguest avatar foreverguest commented on August 26, 2024

Unfortunately even with the api support it is not easy to implement in the addon. I have some ideas how it could be done, but I don't have access to 'All Access', so I can't test.
Hopefully someone with an 'All Access' account can step in to implement this.

from googlemusic-xbmc.

werty1st avatar werty1st commented on August 26, 2024

hello,

i have an "all access" enabled account and want to give it a try. i just copied the new gmusic api over the old one in the plugin, but this didnt help.

can you explain why it is not so easy and how you would do it?

thanks.

from googlemusic-xbmc.

foreverguest avatar foreverguest commented on August 26, 2024

Because in "all access" each track return several url streams. Thats different from normal xbmc assumption where each track has one url stream.
I have made a workaround assembling a extended m3u playlist with the urls when playing an "all access" track, but for now this have the issue of not playing the next track in the playlist.
You can test this experimental addon here: https://www.box.com/s/304b3na2pwqsgnwtprve

from googlemusic-xbmc.

zoic21 avatar zoic21 commented on August 26, 2024

Hi, is there any new on this subject ?

from googlemusic-xbmc.

tlm2021 avatar tlm2021 commented on August 26, 2024

This should be completely working after pull 35 was all cleared up. (It's working for me).

from googlemusic-xbmc.

zoic21 avatar zoic21 commented on August 26, 2024

For me it's doesn't work I got "403 unauthorized" error. I don't know why.
I wonder if there anything a i can do to avoid this error ?

from googlemusic-xbmc.

tlm2021 avatar tlm2021 commented on August 26, 2024

Incorrect username or password maybe? That might cause a 403 error.

from googlemusic-xbmc.

zoic21 avatar zoic21 commented on August 26, 2024

No I can get list of my artist, playlist and song within my librairie work.

from googlemusic-xbmc.

foreverguest avatar foreverguest commented on August 26, 2024

Hi Travis, are you using an addon packed by yourself or the one I distribute in the forums?

from googlemusic-xbmc.

zoic21 avatar zoic21 commented on August 26, 2024

I used this version : http://forum.xbmc.org/showthread.php?tid=134783&page=37 (Version 0.8exp17)

from googlemusic-xbmc.

tlm2021 avatar tlm2021 commented on August 26, 2024

I'm using one I packed myself. I can update and try again.

from googlemusic-xbmc.

zoic21 avatar zoic21 commented on August 26, 2024

Yes if could update I can try your package

from googlemusic-xbmc.

foreverguest avatar foreverguest commented on August 26, 2024

Please try the version from the forum too. So we can track where is the problem.

from googlemusic-xbmc.

zoic21 avatar zoic21 commented on August 26, 2024

I tried forum version but same probleme. I can't tried @tlm2021 version beacause I get an dependance error but I read his code and I wonder if alla acces work because of that :

def getSongStreamUrl(self, song_id):
self.login.login()
stream_url = self.gmusicapi.get_stream_url(song_id)
#self.storage.updateSongStreamUrl(song_id, stream_url)

    return stream_url

I don't use google api but in doc get_stream_url must be used with device ID

from googlemusic-xbmc.

tlm2021 avatar tlm2021 commented on August 26, 2024

You're looking in the master branch. The develop branch has the correct
definition.

On Fri, Jan 10, 2014 at 11:23 AM, zoic21 [email protected] wrote:

I tried forum version but same probleme. I can't tried @tlm2021https://github.com/tlm2021version beacause I get an dependance error but I read his code and I wonder
if alla acces work because of that :

def getSongStreamUrl(self, song_id):
self.login.login()
stream_url = self.gmusicapi.get_stream_url(song_id)
#self.storage.updateSongStreamUrl(song_id, stream_url)

return stream_url

I don't use google api but in doc get_stream_url must be used with device
ID


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-32056849
.

from googlemusic-xbmc.

zoic21 avatar zoic21 commented on August 26, 2024

I just try with develop branch I got the same error "403 Forbiden". Maybe it's du to device id but I look my phone is correctly recognize...

from googlemusic-xbmc.

tlm2021 avatar tlm2021 commented on August 26, 2024

I'll look at it this weekend. Just noting that that particular function
does appear to be the cause.
On Jan 10, 2014 1:59 PM, "zoic21" [email protected] wrote:

I just try with develop branch I got the same error "403 Forbiden". Maybe
it's du to device id but I look my phone is correctly recognize...


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-32070632
.

from googlemusic-xbmc.

zoic21 avatar zoic21 commented on August 26, 2024

If I can help you I will be available today and tomorrow. I can test some code if you need

from googlemusic-xbmc.

tlm2021 avatar tlm2021 commented on August 26, 2024

I'm able to reproduce the error. Oddly, calling MobileClient.get_stream_url with same arguments in an ipython session works fine.

The MobileClient in XBMC is reporting it's still authorized. Still digging.

from googlemusic-xbmc.

tlm2021 avatar tlm2021 commented on August 26, 2024

Looks like it's an issue with authorization caching. Setting nocache=True when logging in just before getting a stream lets me play the music.

Working on fixing that, but I'm not very familiar with that system yet, so it'll take me a bit.

from googlemusic-xbmc.

foreverguest avatar foreverguest commented on August 26, 2024

Just had posted a fix for this in the forums, seems to solve the problem.
Thanks.

from googlemusic-xbmc.

mikesalmonuk avatar mikesalmonuk commented on August 26, 2024

What's the link to the forums? Be handy to follow the fixes there as well as here on github.
Thanks.

from googlemusic-xbmc.

foreverguest avatar foreverguest commented on August 26, 2024

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

from googlemusic-xbmc.

mikesalmonuk avatar mikesalmonuk commented on August 26, 2024

Thanks @foreverguest

from googlemusic-xbmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.