Commit Graph

246 Commits

Author SHA1 Message Date
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
Tatsuya Otsuka 01d74f815f Use H.264 codec first 2020-09-20 20:46:20 +09:00
Jessica Stokes a878c05d9d Allow additional youtube-dl arguments
This allows inserting arbitrary extra arguments into the youtube-dl command-line within each podcast feed entry. This allows, for example, requesting that youtube-dl embed subtitles and captions into the video file, or configuring additional postprocessor arguments.

No effort has been made to make sure no incompatible arguments are provided, with the expectation that the end-user will understand what's possible, and that this is an option expressly for advanced users.

This would fix #162,and theoretically also #136!
2020-08-11 16:28:20 -07:00
Dmitry Panov a21f8d9ea2 Remove 'stale' episodes. When cleaning remove title and description to save space. 2020-06-08 18:55:54 +01:00
qiuhanty f8f8bd948a Fixed episodes out-of-order in XML #151 #133
Fixed episodes out-of-order in XML #133

Co-authored-by: Yong Tan <yong.tan@tigergraph.com>
2020-06-07 22:10:03 -07:00
Dmitry Panov b47cc9be80 Implemented negative filters for title and description. 2020-05-15 11:42:12 +01:00
Maksym Pavlenko 8415f6f644 Minor log fixes 2020-04-22 18:56:19 -07:00
Maksym Pavlenko 24c9e7953d Refactor feed package 2020-04-20 21:02:05 -07:00
Maksym Pavlenko d1bd2c2d24 Integrate key providers 2020-04-20 20:54:49 -07:00
Maksym Pavlenko 7a65e3d1c5 Implement key providers 2020-04-20 19:15:30 -07:00
Maksym Pavlenko 2623a30b83 Allow specify list of API keys in TOML 2020-04-20 18:53:28 -07:00
Maksym Pavlenko 82bbd02cdf Switch toml package to github.com/naoina/toml 2020-04-20 18:38:52 -07:00
Maksym Pavlenko df7dc56daf Fix self update loop 2020-04-19 14:26:53 -07:00
Maksym Pavlenko 0e4a7a6d88 Auto update youtube-dl #119 #130 2020-04-19 13:19:31 -07:00
Maksym Pavlenko e764ab6b92 Refactor packages 2020-04-18 14:52:15 -07:00
Maksym Pavlenko 3dd0e85d95 Update feed customizations #125 2020-04-17 22:31:05 -07:00