Giter Site home page Giter Site logo

Comments (2)

Schmiddiii avatar Schmiddiii commented on July 17, 2024 2

A nice idea, but I believe that this should either be a setting or a per-video option as most people probably do not want to download the video on mobile data. Another idea would be making the downloading independent of the watch-later list, e.g. a new button, and clicking on the video after downloading plays the downloaded video instead of fetching the video. A GUI indicator for downloaded videos would probably also be nice.

from pipeline.

Schmiddiii avatar Schmiddiii commented on July 17, 2024

I have now implemented basic download-functionality to Tubefeeder. I have decided against doing it in the watch-later-list, instead every video has a "download"-button hidden behind a expandable area next to the "watch-later"-button.

Note that this will download the highest quality video, which can take a long time. There is no real indicator of the download-percentage, the "currently-playing"-indicator is used.
To change the download-setting, change the DOWNLOADER environmental variable, for example to yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' --output '$HOME/Downloads/%(title)s-%(id)s.%(ext)s' for the best 480p video.
Do not forget to set the output directory to Downloads as the Flatpak only has access to this directory.
Also notice the use of yt-dlp instead of youtube-dl as this is built into the Flatpak.

Please test out the new functionality in Flathub-beta.

from pipeline.

Related Issues (20)

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.