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

Open
opened 2022-11-06 08:26:36 +01:00 by slrslr · 5 comments
slrslr commented 2022-11-06 08:26:36 +01:00 (Migrated from github.com)

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

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
jessopb commented 2022-11-06 13:39:21 +01:00 (Migrated from github.com)

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

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
slrslr commented 2022-11-07 09:32:23 +01:00 (Migrated from github.com)

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 ...

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 commented 2022-11-07 11:51:48 +01:00 (Migrated from github.com)

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

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 commented 2023-05-28 00:28:29 +02:00 (Migrated from github.com)

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.

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 commented 2023-05-28 01:11:49 +02:00 (Migrated from github.com)
See also https://github.com/lbryio/lbry-sdk/issues/3704 and https://github.com/lbryio/lbry-sdk/issues/2723
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#7721
No description provided.