lbry-desktop icon indicating copy to clipboard operation
lbry-desktop copied to clipboard

Set custom path/directory/folder to save watched videos for seeding

Open slrslr opened this issue 3 years ago • 5 comments

LBRY_0.53.6.AppImage on Debian Linux stable with KDE.

I would like to help host videos i am watching but i can not do it, because apparently i am unable to define custom path where the videos should be saved (in the Content hosting section in Settings). My system drive does not have enough disk space, but my removable drive have enough.

Workaround in the meantime: https://lbry.com/faq/how-to-change-lbry-blob-files

slrslr avatar Nov 06 '22 07:11 slrslr

I support this. There have been discussions comparing, for example, how steam can move your games for you. At the moment you can start up the sdk with a setting pointing to where you wish to store it.

We would need to test what happens if that path/drive is not available.

https://github.com/lbryio/lbry-desktop/issues/3477

jessopb avatar Nov 06 '22 12:11 jessopb

Thank you. Btw. i was trying a workaround relocating folders and symlink

newdir="/yourdestinationfolderhere/Cache" && olddir="$HOME/.config/LBRY/Cache" && mv "$olddir" "$newdir"/ && ln -s "$newdir" "$olddir"
newdir="/yourdestinationfolderhere/blobfiles" && olddir="$HOME/.local/share/lbry/lbrynet/blobfiles" && mv "$olddir" "$newdir"/ && ln -s "$newdir" "$olddir"

but ...

slrslr avatar Nov 07 '22 08:11 slrslr

Problem. The second command works to relocate files and symlink new to old properly, but after running LBRY, it deletes whole destination blobfiles folder so the symlink turns into a dead link and LBRY shows in previously downloaded videos:

The media could not be loaded, either because the server or network failed or because the format is not supported.

Later i have found that moving whole folder $HOME/.local/share/lbry and symlinking not cause that error (like when i was moving only sub-folder $HOME/.local/share/lbry/lbrynet/blobfiles ), i only had to confirm startup wizard. So working command was:

mv $HOME/.local/share/lbry/ /EXTERNAL/DRIVE/caches/ && ln -s /EXTERNAL/DRIVE/caches/lbry $HOME/.local/share/lbry

slrslr avatar Nov 07 '22 10:11 slrslr

This is very crucial thing, if you want new users with enough space! I have system on relative small SSD and all other data on quite big HDD. (It isn't removable, if it does matter.) And I don't want to tinker with symbol links! And I'm sure, there are plenty of users out there, like me.

LightTemplar avatar May 27 '23 22:05 LightTemplar

See also https://github.com/lbryio/lbry-sdk/issues/3704 and https://github.com/lbryio/lbry-sdk/issues/2723

moodyjon avatar May 27 '23 23:05 moodyjon