261 Commits

Author SHA1 Message Date
ligang945 c3d2ba3efe fix warnning: Variable 'feed' collides with imported package name 2024-04-19 09:59:24 -07:00
Maksym Pavlenko 7a81903ae8 Replace deprecated function calls
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-03-31 17:23:42 -07:00
Maksym Pavlenko 391489a35f Fix tests and lints
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-03-31 14:35:17 -07:00
Dmitry Mukhin 081dfbdd20 Add S3 prefix support (#498)
* Start working on S3 prefix
* Make amends with linter.
* Simplify buildKey and add more info on prefix setting in example template
* Make buildKey an S3 method.
2023-03-14 12:55:42 -07:00
Michal Middleton 24166c46ac Add max_age filter to skip old episodes
Filter max_age allows you to skip download of episodes older than n days.
2023-03-08 15:40:41 -06:00
Th0masL 453484a818 Rebase with main 2022-11-23 05:02:14 +02:00
Th0masL 2552a6c6b3 Add min and max duration filter 2022-11-19 21:51:14 +02:00
Dawid H 7d44946e3c chore: remove dead code added by mistake 2022-11-04 21:42:10 +01:00
Dawid H d3fe8c61e5 chore: correct formating 2022-11-04 21:35:57 +01:00
Dawid H 3a42d8249e fix: correct enclosure type on custom format 2022-11-03 08:51:24 +01:00
Dawid H 5f0123ddbc fix: correct enclosure type on custom format 2022-11-03 08:48:47 +01:00
Dawid H a0353e4914 chore: files formatting 2022-10-29 02:30:59 +02:00
Dawid H d15e729d46 feat: added custom format support 2022-10-29 02:22:45 +02:00
Contextualist e57746dc82 Clean up episodes before generating XML feed 2022-07-27 00:35:54 -04:00
Johannes Hoppe 44f4f3586c Override the default link
This will override the default link (usually the URL address) in the generated RSS feed with another link.

fixes #233
2022-06-24 00:21:28 +02:00
Contextualist 81f9894587 Fix struct tag for config storage.local.data_dir 2022-06-14 21:48:42 -04:00
Maksym Pavlenko 7a69ddb994 Merge pull request #320 from Th0masL/fix_pagesize_bug
Fix page_size limited at 50 on YouTube
2022-06-14 11:00:22 -07:00
Th0masL 906a5a6216 Some more improvements 2022-06-14 02:38:03 +03:00
Th0masL 531ceb78c3 Small improvement and fix errors reported by golangci-lint 2022-06-13 23:56:14 +03:00
Th0masL a2e788f861 Improve the slices chunking 2022-06-13 12:04:02 +03:00
Th0masL 937145a68f Small improvements 2022-06-13 11:44:51 +03:00
Th0masL 5f41d87a8b Fix page_size limited at 50 on YouTube 2022-06-13 01:43:56 +03:00
Contextualist edade8d330 Add storage config section
This also deprecate `server.data_dir` in favor of `storage.local.data_dir`
2022-06-12 14:08:34 -04:00
Contextualist 3edba1ab3b Add tests for fs.S3 2022-06-11 18:59:08 -04:00
Contextualist c9c2b80c7d Support S3-compatible provider as storage backend 2022-06-09 19:43:40 -04:00
Maksym Pavlenko 7509ad31cb Fix tests 2022-05-08 16:45:33 -07:00
Maksym Pavlenko 79868dce7f Move HTTP server to services 2022-05-08 16:39:04 -07:00
Matej Drobnic eb93dd927a consolidate booleans in struct
this is attempt to fix maligned lint error
2022-04-07 20:02:52 +02:00
Matej Drobnic b38928eac0 reformat xml.go 2022-04-02 10:34:33 +02:00
Matej Drobnic e76f43f4d4 add support to set feed as private 2022-04-02 10:31:55 +02:00
Maksym Pavlenko b82bb3547b Merge pull request #288 from Contextualist/fix-cover-art-quality
Fix cover art quality config and default being ignored
2022-03-20 14:55:01 -07:00
Maksym Pavlenko 407c33bed0 Bump Go version to 1.18
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-03-20 14:51:12 -07:00
Contextualist 65ffd5bebb Fix cover art quality config and default being ignored 2022-03-09 02:06:04 -05:00
Maksym Pavlenko aaf8e0958c Add config.toml.example (fix #269 #194) 2022-01-02 17:31:52 +02:00
Maksym Pavlenko 36900183b5 Allow custom youtube-dl path 2022-01-02 16:57:54 +02:00
Maksym Pavlenko 142b0e0f3c Add server package 2022-01-02 15:16:39 +02:00
Maksym Pavlenko 54834550d5 Decouple config package 2022-01-02 14:57:10 +02:00
Maksym Pavlenko db4de62430 Migrate to pelletier/go-toml 2022-01-02 13:46:43 +02:00
Maksym Pavlenko 12cdbf61db Refactor code to allow pluggable storages 2022-01-02 13:17:28 +02:00
Maksym Pavlenko 26f4b2a47a Fix context import 2021-12-31 21:24:58 +02:00
Maksym Pavlenko ac0aa8f15f Fix vimeo test 2021-12-31 12:48:24 +02:00
Matej Drobnic 52293e4ad2 add support for descengind playlists 2021-12-28 08:06:10 +01:00
Unshuffled c1130f3f97 Initial SoundCloud playlist support 2021-10-09 17:14:35 -07:00
Eric Duncan 40ad9a4e32 Fix TOML inline table definition in Tests 2020-10-29 09:26:16 -07:00
Eric Duncan 1ae7f09e02 Add Podcast Owner Custom Definitions per #171
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.

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.
2020-10-29 09:26:16 -07:00
op69qs 2751c4b8de Add server bind option (#190)
* add Server.path and Server.bindAddress two options to special http server handle path and Bind Address.
* Update server.go

Co-authored-by: op69qs <L7Itt9N1VfByhUEs>
2020-10-26 22:29:42 -07:00
Maksym Pavlenko d39e464585 Configure download timeouts #186 2020-10-17 16:47:41 -07:00
Maksym Pavlenko 3572e14706 Support cover art quality 2020-10-04 14:20:32 -07:00
Maksym Pavlenko 0ce6e99545 Customize subcategories #161 2020-10-04 14:00:51 -07:00
Paul Götzinger 27e41d7599 Support overwriting title, author and description of feed (#177)
Fixes #176
2020-10-01 13:51:47 -07:00