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:
No files matched your search
@@ -475,6 +475,7 @@ type Podcast struct {
|
||||
Episodes []*PodcastEpisode
|
||||
AutoDownload PodcastAutoDownload
|
||||
RootDir string
|
||||
Author string
|
||||
}
|
||||
|
||||
func (p *Podcast) SID() *specid.ID {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user