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

240 Commits

Author SHA1 Message Date
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
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
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
b47cc9be80 Implemented negative filters for title and description. 2020-05-15 11:42:12 +01:00
8415f6f644 Minor log fixes 2020-04-22 18:56:19 -07:00
24c9e7953d Refactor feed package 2020-04-20 21:02:05 -07:00
d1bd2c2d24 Integrate key providers 2020-04-20 20:54:49 -07:00
7a65e3d1c5 Implement key providers 2020-04-20 19:15:30 -07:00
2623a30b83 Allow specify list of API keys in TOML 2020-04-20 18:53:28 -07:00
82bbd02cdf Switch toml package to github.com/naoina/toml 2020-04-20 18:38:52 -07:00
df7dc56daf Fix self update loop 2020-04-19 14:26:53 -07:00
0e4a7a6d88 Auto update youtube-dl #119 #130 2020-04-19 13:19:31 -07:00
e764ab6b92 Refactor packages 2020-04-18 14:52:15 -07:00
3dd0e85d95 Update feed customizations #125 2020-04-17 22:31:05 -07:00
f7d0f0b0bb Support log rotation 2020-04-17 16:10:34 +01:00
fb9ba8adb0 Remove temporary files and directories. 2020-04-17 00:16:55 +01:00
4afc4774d3 Detect ffmpeg or avconv for youtube-dl #122 2020-04-16 15:36:03 -07:00
67478ac9f4 Fix key not found error #120 2020-04-16 15:14:46 -07:00
174557ee4f Log a message when a '429 Too Many Requests' error is detected, in case of another error log the output from youtube-dl. (#121)
Co-authored-by: Dmitry Panov <dop251@gmail.com>
2020-04-16 13:22:32 -07:00
e3aed440ae Fix linter 2020-04-15 14:18:05 -07:00