[SlimDevices: Beta] Re: Crash whilst using Network test plugin
Andy Grundman
andy at slimdevices.com
Mon Oct 2 03:29:14 PDT 2006
On Oct 2, 2006, at 2:56 AM, max.spicer wrote:
> What's so bad about NET::FTP, or was that before you'd noticed the
> threads?
As Herger said, it will block, although using threads is one way
around this blocking. What you might want to do instead is use HTTP
and POST something to a server to update the Now Playing info. We've
already got a good async HTTP library you can use to do this easily
without needing threads. You could also fire off a separate short-
lived process if you'd like to still use FTP. See the scanner code
for an example on how to do this.
More information about the beta
mailing list