Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
slrslr opened this issue Nov 6, 2022 · 5 comments
Open

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

slrslr opened this issue Nov 6, 2022 · 5 comments
Labels
type: new feature New functionality that does not exist yet

Comments

@slrslr
Copy link

slrslr commented Nov 6, 2022

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 slrslr added the type: new feature New functionality that does not exist yet label Nov 6, 2022
@jessopb
Copy link
Member

jessopb commented Nov 6, 2022

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.

#3477

@slrslr
Copy link
Author

slrslr commented Nov 7, 2022

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
Copy link
Author

slrslr commented Nov 7, 2022

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

@LightTemplar
Copy link

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.

@moodyjon
Copy link

See also lbryio/lbry-sdk#3704 and lbryio/lbry-sdk#2723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: new feature New functionality that does not exist yet
Projects
None yet
Development

No branches or pull requests

4 participants