cleaner site/archive/file seperation
This commit is contained in:
parent
ccfb0e27f5
commit
953d207377
4 changed files with 189 additions and 104 deletions
35
TODO
35
TODO
|
|
@ -18,11 +18,38 @@ FIREFOX integration:
|
|||
media servers hosting the actuall videos and clients to access them
|
||||
- rewrite large parts in javascript + sqlite bundled with firefox (requires js subprocess to work)
|
||||
|
||||
|
||||
EXTENSION api:
|
||||
oxff = OxFF() //is site is not allowed, ask if user wants to allow domaing to use oxff
|
||||
|
||||
oxff.update() //check for new files, would be nicer if that would be somehow automatic and not needed
|
||||
|
||||
oxff.archives() //return list of archive names
|
||||
|
||||
//new archive
|
||||
archive = oxff.archive('name')
|
||||
archive.setLocation() //opens file dialog to set location of archive
|
||||
|
||||
//get files
|
||||
archive.files()
|
||||
archive.files(since) //unixtimestamp, get new/deleted/... since
|
||||
|
||||
//get info
|
||||
oxff.get(oshash) //retuns info
|
||||
//get media
|
||||
oxff.get(oshash, 'stills') //retuns stills dict or None if not extracted
|
||||
oxff.get(oshash, '96p.webm') //returns video location or none if not extracted
|
||||
|
||||
//extract media
|
||||
oxff.extract(oshash, 'stills')
|
||||
oxff.extract(oshash, '96p.webm')
|
||||
|
||||
//questions
|
||||
- how to upload media to site? somehow make use of Firefogg
|
||||
- could some of those requests take to long and require callbacks?
|
||||
|
||||
TODO:
|
||||
add fields:
|
||||
make archive / file link via id?
|
||||
|
||||
is extracted field enough or requires frames/video thingy
|
||||
use api like approach as done in pand.do/ra backend code
|
||||
|
||||
cache location, should cache be inside of archive, home folder or whats a good default.
|
||||
must be a config option in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue