File indexation #1

Open
opened 2023-12-23 11:55:48 -03:00 by aleidk · 0 comments
aleidk commented 2023-12-23 11:55:48 -03:00 (Migrated from codeberg.org)

Understand index a file to add it to the database with it's metadata.

  • Recoursively walk a directory to index all the music files
  • Try to mantain the folder structure for at least artist - album - songs
  • The project spect the structure to be already formatted and structured, eather manually or by external services (like lidarr)
  • The index fuction only add to the database missing or new files
  • The "check integrity" function compares the database state to the file system, and reports the files that are in the database but not in the File System
    • Add the option to "swap" with other file of the database
      • This means update all the metadata of the selected file but mantain the ID for consistency in other tables like "playlists" and delete the the other file
    • Delete the missing file
Understand index a file to add it to the database with it's metadata. - Recoursively walk a directory to index all the music files - Try to mantain the folder structure for at least artist - album - songs - The project spect the structure to be already formatted and structured, eather manually or by external services (like lidarr) - The index fuction only add to the database missing or new files - The _"check integrity"_ function compares the database state to the file system, and reports the files that are in the database but not in the File System - Add the option to _"swap"_ with other file of the database - This means update all the metadata of the selected file but mantain the ID for consistency in other tables like "playlists" and delete the the other file - Delete the missing file
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: alecodes/fuuka#1
No description provided.