Posts: 455
Joined: Oct 2012
Reputation:
42
I will be doing a version with All Access search so you can test.
StefanK, you mean the Albums folder listed by 'Artist - Album'? You don't like the two level 'Artist' > "Album' folders?
Posts: 455
Joined: Oct 2012
Reputation:
42
2014-08-01, 21:12
(This post was last modified: 2014-08-13, 23:02 by foreverguest.)
In this test version, search will try to retrieve All Access results and Albums are sorted by Artist.
plugin.audio.googlemusic.exp-1.1alpha.zip
Please test and check the log for errors if failed.
Posts: 174
Joined: Mar 2012
Reputation:
1
2014-08-03, 16:38
(This post was last modified: 2014-08-03, 16:41 by StefanK.)
Thank you da-anda!
I overwrote googlemusicapi.py with your text above.
Still no playlist content, but search now give a fast result.
Only a handful or two of tracks show up though when searching artists. I would like to get a result based on albums with the artist.
In order to satisfy all searches it would seem ideal to make a search query return a list with 1) artists matching search, 2) albums containing search query and below these 3) tracks containing search query.
Oh, and what does it mean when a track is followed by **?
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
I think ** is to indicate an all access tracks - didn't have a closer look though.
As for the grouped search results: This is unfortunately not that easy in XBMC AFAIK - at least not in form of a flat list with grouped sections (like global search addon which requires skin support). The addon could only create a folder structure you'd have to browse (at least from what I know)
Posts: 455
Joined: Oct 2012
Reputation:
42
2014-08-04, 03:20
(This post was last modified: 2014-08-13, 23:02 by foreverguest.)
Thanks for the feedback. Version below should address most of your problems:
plugin.audio.googlemusic.exp-1.1alpha2.zip
** is used to flag All Access tracks, I'll remove it when everything is working.
For now I'm returning only tracks for All Access search, albums and artists implies in creating folders that should trigger another search, it requires more time to figure how to implement it.
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
2014-08-04, 08:48
(This post was last modified: 2014-08-04, 08:49 by da-anda.)
if you implement albums and artists to the search results, DON'T fire up a new search but cache the result form the initial search. There is no need to fire up the very same search again only to list the matching artists/albums. (low power devices will thank you for doing so)
Also, you could add context menu entries to the found tracks like "go to Album" and "go to Artist"
Posts: 280
Joined: Aug 2010
Reputation:
3
No use to this post other than to say this is friggin' awesome work! I'll try and do as much testing as possible with your releases.
Cheers!
Posts: 174
Joined: Mar 2012
Reputation:
1
Great work again, foreverguest! Now for more comments and wishes :-)
When I try to add search results to the play queue, they get added and show up as next track. But - they don't get played. If I add a song that is already included in one of my playlists, it does get played.
I would also like to be able to add "My Library" or rather "Albums" to my favorites with the context menu.
Posts: 455
Joined: Oct 2012
Reputation:
42
When the track is skipped in the playlist, you can see any error printed in the log?