Revisit cache lifetime for audioscrobbling info
Submitted by gno..@..il.com
Link to original bug (#770773)
Description
The below information is defined in rb-audioscrobbler-user.c
#define USER_INFO_LIFETIME 86400 /* 24 hours / #define RECENT_TRACKS_LIFETIME 3600 / 1 hour / #define TOP_TRACKS_LIFETIME 86400 / 24 hours / #define LOVED_TRACKS_LIFETIME 86400 / 24 hours / #define TOP_ARTISTS_LIFETIME 86400 / 24 hours / #define RECOMMENDED_ARTISTS_LIFETIME 86400 / 24 hours */
I am sure, this can be reduced to increase the responsiveness of rhythmbox audioscrobbler plugin. I tried changing the profile picture in Last.fm website, and it was not getting reflected for few hours. Tracing the reason, I landed in the above file. ( I was trying to use the official Last.fm software on windows vm and the change was quick )
Also, I guess that there might a bug in the caching code, as the profile picture which I updated weeks ago for Libre.fm, was still not getting updated. It worked only after clearing the cache.
Version: 3.4