autoEdit 2 Documentation
1.0.6
1.0.6
  • Introduction
  • Overview
    • Intro
      • High-level overview of the parts
      • from 1.0.5 to 1.0.6
      • Project folder structure
    • Support the project
  • Transcriptions
    • Transcriptions intro
    • Transcription json
    • Transcriber
      • audio to video
      • STT sdks
        • IBM Watson STT
        • Gentle STT
        • Pocketsphinx
    • Read metadata
    • Video preview conversion
    • Hypertranscript
  • Papercuts
    • Papercuts
      • Selections
      • Annotations
      • Tags
  • Paper-edit
    • Paper-edit
      • Paper-edit json
      • search-filter
      • drag-and-drop
      • video-preview
  • Export
    • Export
      • EDL export
      • XML export
  • Appendix
    • Dev configuration
    • Deployment/build
      • Deployment/build for Max OS X
      • Deployment / Build for Linux
      • Deployment / Build for Windows
    • Dependencies
    • Current db setup
    • EDL Format
    • Reusable components
    • Prerequisites
    • JQuery and NWJS Packaging
    • Roadmap
      • Paper-editing Roadmap
      • Extra Features Roadmap
      • Future Roadmap
        • Live video editing
        • Social Media Export
        • Translate transcriptions
        • Web app
          • Multi-user collaboration
        • Searchable Editable Archive
        • NLP insights
        • Slack/Chat bot integration
        • Interactive dev tool
        • Phone mms integration with twillio
        • B-roll computational photography
    • Paper-editing Roadmap
    • Testing
    • Updating automated documentation
    • History of autoEdit versions over time
    • ffmpeg and ffprobe in electron
  • Appendix - Data structures
    • IBM Watson json specs
    • Gentle Json transcription specs
    • Pocketsphinx results
    • autoEdit transcription Json
  • QA List
    • QA Intro
    • QA Launch App
    • QA Transcriptions
    • QA Paperedits
    • QA Export
  • Methods
    • Example: Defining Methods
  • Adobe Panel
    • autoEdit Adobe CEP Panel dev setup
    • autoEdit Adobe CEP Panel integration overview
    • Adobe CEP Jsx functions for autoEdit adobe Panel
Powered by GitBook
On this page
  1. Appendix

Current db setup

PreviousDependenciesNextEDL Format

Last updated 6 years ago

has option to use

NW.js/Electron friendly - JS-only backend is level-js or Medea

initially tried

level.js an implementation of the API on top of (which is in turn implemented on top of , which brings this whole shebang full circle)

LevelDOWN was extracted from and now serves as a stand-alone binding for LevelDB.

However indexDb has a 50mb total file size restriction. This might seem ok at first, but some transcriptions can reach 5mb in size in their json representation. So this would not scale if you add n number of transcription.

Decided to move to medea instead.

the way to set up medea is to use .

medeadown is a -compatible interface to

this required installing medeadown separatly

npm install medeadown -save

and changing the LinvoDB data store to it.

LinvoDB.defaults.store = { db: require("medeadown") };

as well as setting up the dbPath

LinvoDB.dbPath = window.config.dataPath;

In this case using require('nw.gui').App.dataPath eg "/Users/pietropassarelli/Library/Application Support/autoEdit2"

and the db would be stored in the folder

/Users/pietropassarelli/Library/Application Support/autoEdit2/transcription.db
https://github.com/Ivshti/linvodb3
level-js
leveldown
IndexedDB
LevelDB
LevelUP
medeadown
as described in this issue
leveldown
medea
App.dataPath