tuxfoo / lbry-seedit

A simple script to help support the lbry network and your favourite creators on it.
GNU General Public License v2.0
33 stars 10 forks source link

Allow non Video files #10

Open tuxfoo opened 3 years ago

tuxfoo commented 3 years ago

At the moment seedit only works for video files

Add a feature to optionally allow other file types too.

belikor commented 3 years ago

In your code you use this line

command = [
        "lbrynet",
        "claim",
        "search",
        f"--channel={channel}",
        "--stream_type=video",
        f"--page_size={page_size}",
        "--order_by=release_time",
]

It restricts the download to only videos. Just by removing the stream_type you would be able to download any claim.

I'm not sure it's necessary to restrict the type so I'd just remove that line.