keikari / LBRY_channel_downloader

Just to have this script somewhere
2 stars 1 forks source link

Downloads location #1

Open superbonaci opened 9 months ago

superbonaci commented 9 months ago

Where are files downloaded to? They take space in my drive but can't find them.

keikari commented 9 months ago

It follows your lbry-sdk(lbrynet)'s settings.

If you don't have saving of files enabled, it only downloads blobs(these are used for the hosting and when viewing on the app).
If you have it enabled, it also creates acutal files from them to Download directory set in settings. lbrynet settings get.

I don't remember how it works if you enable saving of files afterwards, and run downloader again. But I think it will just create the files from the blobs.

Blobs are stored in .../lbrynet/blobfiles https://lbry.com/faq/lbry-directories

superbonaci commented 9 months ago

In MacOS the blobfiles folder is not inside lbrynet, but here:

~/Library/Application Support/LBRY/blobfiles

I don't have saving of files enabled, but it downloads a bunch of data that doesn't go to the ~/Library/Application Support/LBRY folder anywhere inside. The used space of the root filesystem increases but the LBRY still has the same size all the time (about 452-453 MB) The download folder is empty.

So I want to know where all this blob files go, which are taking space in the hard drive. Maybe in /var, /tmp, /private or some other system directory?

The used space in root increases as the download of the blobs goes, but as soon as it ends, frees all of the space again, like if they were discarded or they were duplicates.

Maybe I need to report the bug to lbry directly, because I don't like that I don't know where the files go.

keikari commented 9 months ago

I don't know where things are stored in Mac.
Do you have saving of blobs enabled? I think not saving them will still temporarily store them.(Not 100% sure)