feat(podcast): use podcast author if episode author is not defined (#574)

* Use podcast author if episode author is not defined.

* Address feedback.
This commit is contained in:
Vijay Dubb
2025-04-14 17:04:58 +00:00
committed by GitHub
parent 3252884414
commit 19b707c5d4
3 changed files with 16 additions and 12 deletions

No files matched your search

+1
View File
@@ -475,6 +475,7 @@ type Podcast struct {
Episodes []*PodcastEpisode
AutoDownload PodcastAutoDownload
RootDir string
Author string
}
func (p *Podcast) SID() *specid.ID {
+1
View File
@@ -76,6 +76,7 @@ func (db *DB) Migrate(ctx MigrationContext) error {
construct(ctx, "202501152035", migrateTrackAddIndexOnAlbumID),
construct(ctx, "202501152036", migrateAlbumAddIndexOnParentID),
construct(ctx, "202502012036", migratePodcastEpisode),
construct(ctx, "202504132036", migratePodcast),
}
return gormigrate.