mherger wrote: > > hmmm ... found the guilty plugin and it was one of mine, of course :). > > LMS was constantly asking for metadata of a track that was not and > could > > not be cached. Would you happen to know, when getMetadataFor is > called, > > what is the minimum infoset that will decide LMS to not continue > asking > > for metadata? Is this artist, album, duration, title? Otherwise I'll > > look at the code > > The status query would certainly use that function to get track > information. Probably display code? > > I usually do cache in getMetadataFor too, in particular when dealing > with remote tracks. Would yours have been an expensive call? > > If in doubt (and if you don't fear the excessive logging), you could > always add a logBacktrace() statement to getMetadataFor() to see where > the calls are coming from. I'm not sure whether the callers do implement > > any kind of caching. > > -- > > Michael
Yes, they were a expensive calls that normally are cached upon resolution but there, for some reason, the request for metadata was for an old track that was not available anymore online, so could not be resolved (so could not be cached). I initially thought that the callers of getMetadataFor would stop when they get what they want, but I'm wrong. I need, to prevent such case, to create and cache a "fake" metadata when the url is not available anymore online LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5 ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=111239 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
