Skip to content

Synchronization

Advaita Kṛṣṇa Dāsa edited this page Jul 28, 2024 · 2 revisions

Database

Database has library table with the following documents and ids:

Entity Collection Id
Track library track::<trackid>
Transcript library track::<trackid>::transcript::<language>
sequenceDiagram
    Actor User
    participant App
    participant LocalDB
    participant RemoteDB

    User->>App: Start Application
    App->>RemoteDB: Replication Request
    RemoteDB->>LocalDB: Track Infos
    Note over App,RemoteDB: Downloads track infos<br/> via "library/trackInfos" filter.

    RemoteDB->>LocalDB: Replicate Transcript for Track
    Note over App,RemoteDB: Replicate Transcript<br/> via "library/trackTranscripts" filter.

Loading
Clone this wiki locally