FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.36k stars 824 forks source link

Add downloads tab (ability to sort and watch offline videos) #1772

Open peepo5 opened 3 years ago

peepo5 commented 3 years ago

Is your feature request related to a usage problem (not a bug)? Please describe. As of now, downloading videos in FreeTube is finnicky, slightly unreliable and not manageable / accessible in the app. There are many problems with the current implimentation so here is a list of the main problems:

  1. Confusing download options (and sorted weirdly)
  2. Not a direct download link (directs to browser and you also need to right click to download)
  3. Does not download video information such as thumbnail, title or description
  4. Downloaded videos are not viewable in the app
  5. Download playlists / channels and view inside the app (good luck)

Describe the solution you'd like to see implemented There would be many different additions needed to add a downloads tab. The first would be making downloads go to a local directory rather than just opening a link in a browser. The second would be mapping video information to video files without making the folder structure look ugly (basically meaning downloaded files can be moved / copied easily). The third would be displaying the offline videos and video information inside of the app, which would require a very different implementation than it is currently.

TLDR; I would like for a downloads tab to be added.

(As of writing) There is a bug where when you are offline, a blank white theme is displayed and the user cannot access even the settings. This needs to be fixed to start implementing a tab.

Describe alternatives you've considered Viewing videos manually outside freetube

Additional context This would help people who are using laptops / mobile devices and it would also help people that want to archive videos locally. It would make it alot more efficient to download videos and more manageable.

For now, I think the focus should be on making videos download directly to a directory before any of the other suggestions are looked at.

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

Edit: related to https://github.com/FreeTubeApp/FreeTube/issues/582, https://github.com/FreeTubeApp/FreeTube/issues/643, https://github.com/FreeTubeApp/FreeTube/issues/884, #1434

peepo5 commented 3 years ago

@efb4f5ff-1298-471a-8973-3d47447115dc This is not a duplicate, none of the issues describe adding a downloads tab, only improving downloads in their current form. If you think this PR is unnecessary then talk in matrix.

efb4f5ff-1298-471a-8973-3d47447115dc commented 3 years ago

Oh i see. Apologies for the mistake.

constraintAutomaton commented 2 years ago

I would like to tackle it starting by a download page and in app download

efb4f5ff-1298-471a-8973-3d47447115dc commented 2 years ago

Im looking forward to see ur PR😄

chrrybmb64 commented 1 year ago

Suggestions for a downloads tab:

TheodorSmall commented 2 months ago

Some ideas that can make downloads an even more powerful feature, however the time to implement these might not be worth it. First, "local" videos could be introduced, to which downloaded videos can be saved, including the following data:

Next, these local videos could also be added from the local filesystem, or parts of it can be changed by the user (for example, there are lots of videos, especially music compilations, that don't use the chapters feature, but timestamps are given in the comments or the description). Of course, external tools can be used here, which would suggest some flag telling the app to currently ignore this video. By saving the YT video ID (I don't know what it's called officially), an indicator can tell the user whether any displayed video (or format) is locally available. These local videos can then be treated like any other "normal" video, e.g. added to playlists, or optionally be displayed when searching, in an extra section above the results returned by YT.

Pentaphon commented 1 month ago

I agree. There is no download UI at all. No progress bar, no download history, nothing. There needs to be a tab and a progress bar.