Open captn3m0 opened 11 years ago
/search/?search=TEXT
. /track/top.php
/album/top.php
.I've just realized that the app is not showing the album art. What's the request structure for the same?
The album art for any track is reached by:
<pics_root>/<albumId>.jpg
For instance, muzi's pic_root is https://cdn.sdslabs.co.in/music_pics/
and the album art for album id 13651 can be reached at https://cdn.sdslabs.co.in/music_pics/13651.jpg
This issue basically describes what requests should be made and when; and whether or not it should be cached.
On Launch Make a background request to
/album/list.php
and/band/list.php
. Both these requests are cached for exactly one day. The cache borderline is 12 'o' clock midnight. So basically, we check the date on the device and compare it against the date of the cache. If its greater, we make a fresh request to both these urls and save them again. If the user browses to Artists or Albums while this request is being made, we show the stale data from cache. When the user browses to Artists/Albums, use the current language filter to decide which rows to show.Click on an Album
/album/?id=ID
. Show the tracks and cover art. For track numbers:/track/?id=1282
) and get the year of release and show it, if its not 0.