When reinstalling LBRY Downloader, the setup script now:
- Checks if config.yaml exists in ~/Documents/lbry-downloads/
- If found, asks user if they want to use existing config
- If yes, skips all configuration prompts and preserves channels/settings
- If no, proceeds with normal interactive setup
This prevents users from having to re-enter all their channels
and settings every time they reinstall or update the tool.
Fixes#2 - Config is no longer overwritten on reinstall.
The lbry-downloader and lbry-test scripts now:
- Check if lbrynet daemon is running before executing
- Automatically start daemon if it's not running
- Wait up to 30 seconds for daemon to become available
- Show clear error messages if daemon fails to start
- Check if lbrynet is installed and provide install link if not
This means users can simply run:
lbry-downloader
Without needing to manually start lbrynet first. The script handles it automatically.
setup.py:
- Automatically adds lbry-downloader to PATH in .bashrc/.zshrc
- Shows clear 'QUICK START' section with numbered steps
- Explicitly states the command to run: 'lbry-downloader'
- Shows config and download locations
- Better formatting with emojis and sections
remote-install.sh:
- Instructs user to 'source ~/.bashrc' to reload shell
- Shows numbered next steps clearly
- Explains what to do if command not found
- Shows config file location
Users now get clear instructions:
1. Reload shell: source ~/.bashrc
2. Start daemon: lbrynet start
3. Test: lbry-downloader --dry-run
4. Download: lbry-downloader