1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Fix cover art quality config and default being ignored

This commit is contained in:
Contextualist
2022-03-09 01:52:28 -05:00
parent c25d38e678
commit 65ffd5bebb

View File

@ -391,14 +391,15 @@ func (yt *YouTubeBuilder) Build(ctx context.Context, cfg *feed.Config) (*model.F
}
feed := &model.Feed{
ItemID: info.ItemID,
Provider: info.Provider,
LinkType: info.LinkType,
Format: cfg.Format,
Quality: cfg.Quality,
PageSize: cfg.PageSize,
PlaylistSort: cfg.PlaylistSort,
UpdatedAt: time.Now().UTC(),
ItemID: info.ItemID,
Provider: info.Provider,
LinkType: info.LinkType,
Format: cfg.Format,
Quality: cfg.Quality,
CoverArtQuality: cfg.Custom.CoverArtQuality,
PageSize: cfg.PageSize,
PlaylistSort: cfg.PlaylistSort,
UpdatedAt: time.Now().UTC(),
}
if feed.PageSize == 0 {