Open whatdoineed2do opened 4 years ago
It's been a while since I worked on this part, and looking at the code now I don't really understand what is going on :-) You can see that for DACP there is a listener event that is triggered on certain events, which causes an update "push" to Remote, but for DAAP it doesn't seem to be the case. There is linked list of update_requests, but I don't see any event that triggers these updates. Not sure why that is.
Similar to #1085
If we have smart pl that changes (such as a playlist that generates
random
tracks) the IOS remote appl does not show changes when you goto another screen (likenow playing
) and then revisit the playlist.To reproduce:
id=36
remote
applnow playing screen
playlists
and select thesmartpl
playlistback
to take you toplaylists
smartpl
playlistOn
ii
we hit the server for the playlist but oniv
it looks like theres no request fromremote
butremote
does look for albumart for the tracksI can see in
httpd_daap.c:daap_request()
that there is a cache for respones but I doesn't hit this on step iv. I also modified the code so thatCache-Control: no-store
is added to the response headers but it looks likeremote
doesn't obey this.Is there anywhere else that we could force the DAAP client (
remote
) to make the call to the backend?