Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Track StreamURL for free users #21

Closed
Daniel-Reynolds opened this issue Dec 29, 2017 · 7 comments
Closed

Track StreamURL for free users #21

Daniel-Reynolds opened this issue Dec 29, 2017 · 7 comments
Milestone

Comments

@Daniel-Reynolds
Copy link

Hi

I've been using this lib in a refactor of an old project I made in Python using the python gmusicapi.

Currently, I can compile a listing of all the music I own on GoogePlayMusic, but when i try to get a StreamURL to play one of the tracks I get the exception that it's not available to free uasers.

Obviously, playing music in our own collections from GooglePlay is something that is available to free users. Which means that either: I'm doing it wrong, or you've not added that functionality (I know it's only release 0.3, so that's understandable)

Am I doing it wrong? If not, is that functionailty you plan to add for an early version, or would it be best that I look elsewhere?

Many thanks

@FelixGail
Copy link
Owner

Hello,
I will look into that shortly

Best regards
Felix

@Daniel-Reynolds
Copy link
Author

Hi Felix,

Thanks a lot, that'd be great.
If there's anything you need from me, like how I'm calling what, let me know.

Many thanks,
Danny

@FelixGail
Copy link
Owner

Hello,
first of all - sorry for the late response. It is currently exam phase at my college.
With 8c528ce I changed the Track.getStreamURL()-method to skip the exception on library tracks. Would you try if this is enough to allow library tracks to be played? This version is available with gplaymusic:0.3.3-SNAPSHOT.

@jy-roda
Copy link

jy-roda commented Feb 19, 2018

Hello ! I (quickly) tested that, and it gives me a network exception (404 response) instead. Apparently, it still doesn't work. Didn't test extensively though.
Best regards,
Jean-Yves

@FelixGail FelixGail added this to the 0.4 milestone Feb 20, 2018
@FelixGail
Copy link
Owner

this means the url is different for free users. i'll do some testing tomorrow

@FelixGail
Copy link
Owner

Ok - I did some testing it seems to work now (gplaymusic:0.3.4-SNAPSHOT). It also looks like i missed to add a method to retrieve the library tracks - this is now possible with TrackAPI.getLibraryTracks(). I will also add a method to search for a specific library track.

@FelixGail
Copy link
Owner

This feature was merged into master and is available with version 0.3.5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants