Skip to content

Add Podcast Owner Custom Definitions#192

Merged
mxpv merged 2 commits into
mxpv:masterfrom
eduncan911:master
Oct 29, 2020
Merged

Add Podcast Owner Custom Definitions#192
mxpv merged 2 commits into
mxpv:masterfrom
eduncan911:master

Conversation

@eduncan911

@eduncan911 eduncan911 commented Oct 28, 2020

Copy link
Copy Markdown
Contributor

Some users were saying their podcasts were getting rejected since podcast.IOwner wasn't being set. This PR adds that functionality to issue #171.

  • Did not disturb existing custom Author string, as users may already be using that (wasn't sure on the backwards compatibility with this repo).
  • "Name" needed a prefix, since there was already Title and Description. Picked Owner for now.
  • Added to existing Unit Test to ensure it gets set when custom config is used.
  • Formatted the TOML in the tests to be more pretty. :-)

NOTE: I do not have a way to test this as I do not use this repo. This is just a drive-by PR to help the authors.

Some users were saying their podcasts were getting rejected since
`podcast.IOwner` wasn't being set.  This PR adds that functionality
to issue mxpv#171.

* Did not disturb existing custom Author string, as users may
already be using that (wasn't sure on the backwards compatibility
with this repo).
* "Name" needed a prefix, since there was already Title and
Description.  Picked `Owner` for now.
* Added to existing Unit Test to ensure it gets set when custom
config is used.

NOTE: I do not have a way to test this as I do not use this repo.
This is just a drive-by PR to help the authors.
@eduncan911 eduncan911 changed the title Add Podcast Owner Custom Definitions per #171 Add Podcast Owner Custom Definitions Oct 28, 2020
Comment thread pkg/config/config_test.go
quality = "low"
filters = { title = "regex for title here" }
clean = { keep_last = 10 }
custom = { cover_art = "http://img", cover_art_quality = "high", category = "TV", subcategories = ["1", "2"], explicit = true, lang = "en" }

@eduncan911 eduncan911 Oct 28, 2020

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i figured you'd want this cleaned up and formatted a bit. :)

@mxpv

mxpv commented Oct 29, 2020

Copy link
Copy Markdown
Owner

Nice, thanks!

@mxpv
mxpv merged commit 40ad9a4 into mxpv:master Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants