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

258 Commits

Author SHA1 Message Date
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
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
453484a818 Rebase with main 2022-11-23 05:02:14 +02:00
2552a6c6b3 Add min and max duration filter 2022-11-19 21:51:14 +02:00
7d44946e3c chore: remove dead code added by mistake 2022-11-04 21:42:10 +01:00
d3fe8c61e5 chore: correct formating 2022-11-04 21:35:57 +01:00
3a42d8249e fix: correct enclosure type on custom format 2022-11-03 08:51:24 +01:00
5f0123ddbc fix: correct enclosure type on custom format 2022-11-03 08:48:47 +01:00
a0353e4914 chore: files formatting 2022-10-29 02:30:59 +02:00
d15e729d46 feat: added custom format support 2022-10-29 02:22:45 +02:00
e57746dc82 Clean up episodes before generating XML feed 2022-07-27 00:35:54 -04:00
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
81f9894587 Fix struct tag for config storage.local.data_dir 2022-06-14 21:48:42 -04:00
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
906a5a6216 Some more improvements 2022-06-14 02:38:03 +03:00
531ceb78c3 Small improvement and fix errors reported by golangci-lint 2022-06-13 23:56:14 +03:00
a2e788f861 Improve the slices chunking 2022-06-13 12:04:02 +03:00
937145a68f Small improvements 2022-06-13 11:44:51 +03:00
5f41d87a8b Fix page_size limited at 50 on YouTube 2022-06-13 01:43:56 +03:00
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
3edba1ab3b Add tests for fs.S3 2022-06-11 18:59:08 -04:00
c9c2b80c7d Support S3-compatible provider as storage backend 2022-06-09 19:43:40 -04:00
7509ad31cb Fix tests 2022-05-08 16:45:33 -07:00
79868dce7f Move HTTP server to services 2022-05-08 16:39:04 -07:00
eb93dd927a consolidate booleans in struct
this is attempt to fix maligned lint error
2022-04-07 20:02:52 +02:00
b38928eac0 reformat xml.go 2022-04-02 10:34:33 +02:00
e76f43f4d4 add support to set feed as private 2022-04-02 10:31:55 +02:00
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
407c33bed0 Bump Go version to 1.18
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-03-20 14:51:12 -07:00
65ffd5bebb Fix cover art quality config and default being ignored 2022-03-09 02:06:04 -05:00
aaf8e0958c Add config.toml.example (fix #269 #194) 2022-01-02 17:31:52 +02:00
36900183b5 Allow custom youtube-dl path 2022-01-02 16:57:54 +02:00
142b0e0f3c Add server package 2022-01-02 15:16:39 +02:00
54834550d5 Decouple config package 2022-01-02 14:57:10 +02:00
db4de62430 Migrate to pelletier/go-toml 2022-01-02 13:46:43 +02:00
12cdbf61db Refactor code to allow pluggable storages 2022-01-02 13:17:28 +02:00
26f4b2a47a Fix context import 2021-12-31 21:24:58 +02:00
ac0aa8f15f Fix vimeo test 2021-12-31 12:48:24 +02:00
52293e4ad2 add support for descengind playlists 2021-12-28 08:06:10 +01:00
c1130f3f97 Initial SoundCloud playlist support 2021-10-09 17:14:35 -07:00
40ad9a4e32 Fix TOML inline table definition in Tests 2020-10-29 09:26:16 -07:00
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
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
d39e464585 Configure download timeouts #186 2020-10-17 16:47:41 -07:00
3572e14706 Support cover art quality 2020-10-04 14:20:32 -07:00
0ce6e99545 Customize subcategories #161 2020-10-04 14:00:51 -07:00
27e41d7599 Support overwriting title, author and description of feed (#177)
Fixes #176
2020-10-01 13:51:47 -07:00
01d74f815f Use H.264 codec first 2020-09-20 20:46:20 +09:00
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
a21f8d9ea2 Remove 'stale' episodes. When cleaning remove title and description to save space. 2020-06-08 18:55:54 +01:00