[Data] Setup database #2

Closed
opened 2025-08-04 19:45:03 +02:00 by max · 0 comments
Owner

The database is SQLite, this is to keep the library and db close to each other.
Initial setup for entities and contexts.

  • Setup EF Core
  • Setup SQLite package

Application db

- [ ] Jobs of app that are running or executed

  • Settings/config

Library db entities

  • YouTube clients (accounts)

    • Id
    • Cookies (table)
    • Name
    • Added date
    • Modified date
    • Playlists
  • Http cookies

    • Name
    • Value
    • Domain
    • Path
    • Expires
    • Secure
    • HttpOnly
    • SameSite
    • AddedDate
    • ModifiedDate
    • Client id
  • Playlists

    • Id
    • Name
    • Description
    • Added date
    • Modified date
    • CreatedDate
    • ChannelId
  • Channels

    • Id
    • Name
    • Picture -> Disk
    • Description
    • Joined date
    • Added date
    • Modified date
  • Media info/metadata

    • Id
    • Title
    • Description
    • Upload date
    • ChannelId (Link to Channels table)
    • Added date
    • Modified date
    • State - Video online, removed, hidden, etc.
    • Localized - Media is downloaded to disk
    • LocalizedResolution
    • Formats (media format table)
  • Media format

    • Quality
    • IsAdaptive
    • MimeType - Audio/Video mp4/webm codecs
    • Bitrate
    • AverageBitrate
    • LastModified
    • ContentLenght
    • ApproxDurationMs
    • Width
    • Height
    • Fps
    • QualityLabel
    • ProjectType
    • AudioChannels
    • AudioSampleRate
    • LoudnessDb
    • Audio track info - (name, id, isDefault, autoDubbed)
  • Media captions

    • MediaId
    • Name
    • CaptionPath
    • LanguageCode
The database is SQLite, this is to keep the library and db close to each other. Initial setup for entities and contexts. - [X] Setup EF Core - [X] Setup SQLite package ### Application db ~~- [ ] Jobs of app that are running or executed~~ - [X] Settings/config ### Library db entities - [X] YouTube clients (accounts) - Id - Cookies (table) - Name - Added date - Modified date - Playlists - [X] Http cookies - Name - Value - Domain - Path - Expires - Secure - HttpOnly - SameSite - AddedDate - ModifiedDate - Client id - [X] Playlists - Id - Name - Description - Added date - Modified date - CreatedDate - ChannelId - [X] Channels - Id - Name - Picture -> Disk - Description - Joined date - Added date - Modified date - [X] Media info/metadata - Id - Title - Description - Upload date - ChannelId (Link to Channels table) - Added date - Modified date - State - Video online, removed, hidden, etc. - Localized - Media is downloaded to disk - LocalizedResolution - Formats (media format table) - [X] Media format - Quality - IsAdaptive - MimeType - Audio/Video mp4/webm codecs - Bitrate - AverageBitrate - LastModified - ContentLenght - ApproxDurationMs - Width - Height - Fps - QualityLabel - ProjectType - AudioChannels - AudioSampleRate - LoudnessDb - Audio track info - (name, id, isDefault, autoDubbed) - [X] Media captions - MediaId - Name - CaptionPath - LanguageCode
max added the
Priority
High
2
Kind/Enhancement
Compat/Breaking
labels 2025-08-04 19:45:03 +02:00
max added this to the YouTube Manager project 2025-08-04 19:45:03 +02:00
max moved this to Backlog in YouTube Manager on 2025-08-04 19:45:05 +02:00
max self-assigned this 2025-08-04 20:00:57 +02:00
max changed title from Setup database to [YtMiner] Setup database 2025-08-04 20:02:03 +02:00
max added this to the Initial setup milestone 2025-08-04 20:03:10 +02:00
max added
Priority
Critical
1
and removed
Priority
High
2
labels 2025-08-10 21:28:49 +02:00
max changed title from [YtMiner] Setup database to [Data] Setup database 2025-08-10 22:45:06 +02:00
max moved this to In progress in YouTube Manager on 2025-08-11 00:44:59 +02:00
max closed this issue 2025-08-17 18:55:07 +02:00
max moved this to Done in YouTube Manager on 2025-08-17 18:55:13 +02:00
Sign in to join this conversation.
No description provided.