do you need to load it in your database as it was if it was uploaded 
directly ?

http://web2py.com/books/default/chapter/29/06#More-on-uploads

Il giorno lunedì 27 maggio 2013 08:25:53 UTC+2, Mika Sjöman ha scritto:
>
> Yes but how do I import the video into a field of web2py? 
>
> I look in my app and it does not get inside my app folder - so where does 
> it go? Say for example I download the movie via the Dropbox API, how do I 
> then add it to my "video"
>  table?
>
> Cheers
>
> On Monday, May 27, 2013 4:02:55 AM UTC+8, Niphlod wrote:
>>
>> if I understood correctly what you need is just something that updates a 
>> table whenever a new file pops up into your dropbox folder (that receives 
>> yet the files).
>> Just schedule something that lists all contents of a directory and update 
>> your table accordingly, let's say every minute.
>> Scheduler can fit the bill, cause you'll be sure to have just one running 
>> process that takes care of it.
>> If you want a more refined solution ubuntu has filesystem notifications, 
>> so hooking up with something like 
>> https://pypi.python.org/pypi/watchdogwouldn't be difficult.
>>
>> On Sunday, May 26, 2013 9:09:32 PM UTC+2, Alan Etkin wrote:
>>>
>>> We are trying to set up our production flow so that the guys making 
>>>> small instructional movies will automatically upload them to our server 
>>>> with dropbox. My question is how I can get those movies into a database 
>>>> automatically with the filename as the description into a 
>>>> Field('Description') of our videos table? Does anyone have an idea of how 
>>>> we can make somthing like this a reality?
>>>>
>>>
>>> For using dropbox services from web2py apps, there's a recipe in the 
>>> manual
>>>
>>> http://www.web2py.com/books/default/chapter/29/14#Dropbox-API
>>>
>>> If you want a video database integrated with slides and subtitles, try 
>>> this app:
>>>
>>> http://code.google.com/p/video2py
>>>
>>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to