mherger wrote: > Did you look into using Slim::Utils::Scheduler? Or Async::Util::amap() > (see https://metacpan.org/pod/Async::Util - it's part of LMS). That > those requests under control. The latter allows you to run a callback > for each member of a list, with control about how many tasks you want to > > run "in parallel".
The scheduler might be a possibility, although my POC doesn't use it. I'll look into Async::Util::amap(), of which I was previously unaware... One issue to address is that the requests are initiated each time one drives into the Podcast feed menu. So some kind of state needs to be held, i.e. "Don't go and fetch this one, because we've already fired off a fetch during the last podcast browse session." ------------------------------------------------------------------------ mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=114928 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
