gmusicapi icon indicating copy to clipboard operation
gmusicapi copied to clipboard

Invalid artist and album ids on search

Open susnux opened this issue 4 years ago • 3 comments

When receiving the search results from mobileclient, the song_hits are not valid. So the artist and album Ids does not start with A or B as they are supposed to. Not sure if this affects the gmusicapi when working with that ID, if not it should be at least documented.

(I am using mopidy-gmusic and there an ID without leading A,B or T is handled as an uploaded song).

susnux avatar May 20 '20 14:05 susnux

Can you provide an example?

simon-weber avatar May 20 '20 15:05 simon-weber

E.g. search("cory wong") (reduced the output, as it would be too much) output.txt

susnux avatar May 20 '20 16:05 susnux

Huh, interesting. I wonder if they switched things around on the backend prior to the switch to youtube music.

I don't think gmusicapi makes any assumptions in code about the prefixes, but if this makes parts of the docs incorrect then that ought to be fixed.

simon-weber avatar May 20 '20 16:05 simon-weber