PHP script for intelligently labelling torrents via the µtorrent Web API