hebo / chompy Goto Github PK
View Code? Open in Web Editor NEWDownload and watch videos easily on iOS
Download and watch videos easily on iOS
Add a preview image for files in /videos
Tasks
Eventually LRU, for now oldest gets removed
Work out how to cut sponsor segments out of video files, or skip them on playback.
May need to leverage SponSkrub
Given a Youtube or other video playlist to track, Chompy should automatically download any new videos from that playlist regularly.
TODOs
docker run
commandOne of the ways I use chompy is to set my YouTube watch later playlist to auto download, then I watch the video, then remove it from youtube's watch later. But then, all the videos remain in my chompy browse the directory in VLC or a file browser and directly watch the mp4's that were downloaded, allowing me to directly watch the videos without having to always go through the youtube app and Shortcuts. Then I later remove the video from my watch later playlist on youtube. But then the video stays in my chompy directory forever, unless I use the max size limit option.
I saw that chompy saves downloaded playlist files to a ".ytdl-archive.txt" file but does not save to this file if the user activates chompy via iOS shortcuts.
The logic would be, at time of refreshing the PLAYLIST_SYNC playlist:
IF (video is in .ytdl-archive.txt) AND (video is not in PLAYLIST_SYNC playlist) THEN (delete local file).
Thanks!
Currently missing a <title> on /videos
, add one. Maybe even a favicon one day...
Chompy doesn't clean up downloaded videos. It should.
Probably sufficient to allow users to specify a maximum directory size, and delete videos when near that limit.
Implementation notes:
Is it possible to create an environmental variable called DELETE_AFTER or something similar that before or after a download/check automatically deletes all downloaded videos that have a date created/date modified older than X hours? This would make it easy to keep a chompy downloads folder clean without worrying about file size of videos, as an alternative to the MAX_SIZE variable. I'd like to keep videos around for 1 or 2 days, but no more, regardless of length/size.
Might have to automatically disable this if the PLAYLIST_SYNC variable is set.
Videos like Hitman 3's Banana Is Broken | Highlight Reel #577 won't play properly because the '#' is interpreted as a URL Fragment.
Use URL Encoding for all links to avoid this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.