feat(subsonic): support embedded cover art

closes #11
closes #556
This commit is contained in:
sentriz
2025-09-29 18:24:37 +01:00
parent 2fcba12650
commit ec7cffdd57
6 changed files with 109 additions and 29 deletions

No files matched your search

+5
View File
@@ -79,6 +79,7 @@ func (db *DB) Migrate(ctx MigrationContext) error {
construct(ctx, "202505262025", migrateAlbumAddIndexOnBrainzID),
construct(ctx, "202507062103", migrateAlbumCompilationReleaseType),
construct(ctx, "202508261102", migrateAddLyrics),
construct(ctx, "202509291741", migrateAddAlbumEmbeddedCoverTrackID),
}
return gormigrate.
@@ -857,3 +858,7 @@ func migrateAlbumCompilationReleaseType(tx *gorm.DB, _ MigrationContext) error {
func migrateAddLyrics(tx *gorm.DB, _ MigrationContext) error {
return tx.AutoMigrate(Track{}).Error
}
func migrateAddAlbumEmbeddedCoverTrackID(tx *gorm.DB, _ MigrationContext) error {
return tx.AutoMigrate(Album{}).Error
}