Hi Simone,

> I have a problem with Fonera uploading file larger than 2gb on Youtube, I
> have a verified Youtube account and I can upload any size of files, but I
> reach the problem about the image below
Looking at the source code for the upload daemon that the Fonera uses, I
see that it explictely refuses to upload files larger that 2GB:

        
http://trac.fonosfera.org/fon-ng/browser/trunk/luci/libs/uploadd/luasrc/fon/gdata.lua#L257

However, at first glance I don't see any reasons in the uploadd code
itself, nor in the Youtube API documentation for such a limitation.
Perhaps the Youtube API used had a limit in the past that was removed.

In that case, we should be able to simply remove this limitation in the
uploadd code. Perhaps you can try this? I've prepared a version of
gdata.lua with the check removed. To install it, run the following
command through SSH:

  root@Fonera:~# wget http://www.mkit.nl/static/tmp/gdata.lua -O 
/usr/lib/lua/luci/fon/gdata.lua

Afterwards, try uploading a new > 2GB file to see if you get any errors.

See http://trac.fonosfera.org/fon-ng/wiki/reportbugs for some more info
on how to run commands through SSH.

Regards,

Matthijs Kooijman

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to