Adds rudimentary video support #49
Conversation
feat: adds video link to description (it's a wip, don't judge)
|
Is something blocking this PR to go through? Would really like to use this as well! |
|
Tested this locally and it works great. Found two issues and fixed them: 1. Missing branch when The original code only sets Fix: add an 2. The function used Fix: convert to Diff is straightforward, happy to open a PR against this branch if useful. |
|
@dylanvdbrink I'd been testing this for a while and found it good-enough but not great as it sometimes doesn't detect correctly. @izu-x I would appreciate a PR against this branch! I think I have @ThijsRay's contact info somewhere (if he doesn't see this tag) so we could (re-)consider adding video support if it does end up being stable. |
Pull request type
Pull request description
Adds video support to the Thijstool in a very rudimentary way by manually recreating the URL from the episode ID and placing that in the description. Adds three new env vars:
ENABLE_VIDEOenables this (pre-alpha) functionalityENABLE_VIDEO_CHECKenables functionality that makes a get request to the video url, only adding/marking if a video exists thereVIDEO_TITLE_SUFFIXis a suffix that's added to podcast titles iff ENABLE_VIDEO and ENABLE_VIDEO_CHECK and the video URL refers to an actual video.