Git Product home page Git Product logo

chompy's People

Contributors

hebo avatar urvi-k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

urvi-k acrom11

chompy's Issues

Add previews to videos list page

Add a preview image for files in /videos

Tasks

  • Have YouTube-dl download previews (--write-thumbnail)
  • Render thumbnail in videos list page
  • Prevent thumbnail files from being treated as videos in disk operations (getting videos, deleting)
  • Make sure thumbnails are deleted alongside videos

Chompy should automatically download a tracked playlist

Given a Youtube or other video playlist to track, Chompy should automatically download any new videos from that playlist regularly.

TODOs

  • Config to set Playlist URL
  • Config for playlist update frequency?
  • Config to set Cookies for private playlists
  • Add example docker run command

Delete watched playlist videos

tl;dr -- option to auto remove videos that were downloaded via PLAYLIST_SYNC but then removed from that playlist?

One 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!

Chompy should delete old videos

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:

  • Allow user to set size in MB
  • If size on startup is over the limit, ask the user to delete manually so we don't inadvertently delete their files
  • Run deletions after every successful download job
  • (?) Will yt-dl re-download deleted files from playlists

Variable for "DELETE_AFTER" X hours

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.