2011-08-06, 13:25
giftie Wrote:There is code in the script(I was messing around with an FTP earlier this year) but Kode and I decided against to have it built in. fanart.tv is quite easy to upload to(you can even upload multiple cdARTs, as long as the cdARTs are for the same artist.)
This may change, though mostly up to Kode @ fanart.tv
The only real issue with this is we would have to create some kind of API key that users have to use, other wise there would be no way to attribute the uploads to the correct user.
Also it probably wouldn't be ftp access, because I'd have to create some kind of ftp staging area where users can upload using guest access (as anyone could just look at the scripts source and get the ftp details) which would be a real pain.
But it should be possible to post the file to the server, maybe using curl? A quick google brings up http://curl.haxx.se/libcurl/python/ but i'm not 100% sure.