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

New backend functions

Open belikor opened this issue 3 years ago • 2 comments

I wrote a more extensive collection of functions to wrap around lbrynet to download and manage the LBRY claims.

https://github.com/belikor/lbrytools

The library of functions is the subdirectory package lbrytools, which should be placed in the Python path (local or global site-packages).

The script that uses this module is zeedit.py while the configuration is zeedit_config.py.

I haven't tried using this inside a container, but I suppose as long as you keep the three components together (lbrytools, zeedit and zeedit_config), it should work.

belikor avatar May 15 '21 22:05 belikor

Thanks, I will check it out. Might merge it into this docker container.

tuxfoo avatar May 16 '21 16:05 tuxfoo

I just committed an improvement to zeedit so that now it takes an argument, which is the configuration file.

python zeedit.py config.py

This means that the configuration does not need to be hard coded any more. Different groups of channels can have their own configuration.

python zeedit.py funny_ch_config.py

python zeedit.py tech_ch_config.py

python zeedit.py gaming_ch_config.py

This prevents downloading too many videos at the same time, which can cause lbrynet to choke. In each configuration you may specify different download directories as well, to keep the media files more organized.

All blobs will still be in the same directory (lbry/lbrynet/blobfiles), so maybe in the future lbrynet itself should be modified to be able to specify the location of the blobs.

belikor avatar May 18 '21 22:05 belikor