Open b0nk opened 4 years ago
Thanks for filing this issue! It will require some work on the SDK under https://github.com/lbryio/lbry-sdk/issues/1311
I would like to add to this topic the following feature:
Lbry desktop currently saves all files under root Download directory
path with files original names, as channel owner uploaded them. I think it's sensible to save all files under a folder struture using channel name as folder name and files of downloaded videos inside each folder respectively.
Like
{Download directory}\channel_name{file_name}
instead of
{Download directory}{file_name}
This issue is partially taken care of by my library, lbrytools.
It also applies to https://github.com/lbryio/lbry-sdk/issues/1311
It basically inspects the top level directory of the subdirectories that hold the media files and blobfiles. If it crosses a limit in gigabytes, it will start cleaning up older files. It can delete media files (mp4, mkv, etc.), blobs, or both.
lbrytools.cleanup_space(main_dir="/home/user", size=1000, percent=90, what="media")
I think it's sensible to save all files under a folder struture using channel name
This is the default behavior in my tools.
d = lbrytools.download_single("some-video", own_dir=True, ddir="/home/user/Downloads")
If a user decides to check "Save all viewed content to your downloads directory" there is no way to check how large the folder is within the program.
An option (or several) to manage the downloads folder would be useful in the Settings section.
Suggestions: