2017-12-28 18:14:33 +01:00
|
|
|
# YT Sync Process
|
2017-10-11 18:45:56 +02:00
|
|
|
|
2017-12-28 18:14:33 +01:00
|
|
|
- make sure you don't have a `.lbryum/wallets/default_wallet`
|
|
|
|
- delete existing wallet if there's nothing you need there, or better yet, move it somewhere else in case you need it later
|
2017-12-13 18:58:58 +01:00
|
|
|
- make sure daemon is stopped and can be controlled with `systemctl`
|
2017-12-30 01:21:16 +01:00
|
|
|
- run `lbry ytsync YOUTUBE_KEY LBRY_CHANNEL_NAME YOUTUBE_CHANNEL_ID`
|
2017-12-13 18:58:58 +01:00
|
|
|
- after sync is complete, daemon will be stopped and wallet will be moved to `~/wallets/`
|
|
|
|
- now mark content as synced in doc
|
|
|
|
|
|
|
|
Running the sync command for a channel that was already started will resume the sync. This can also be used to update a channel with new
|
|
|
|
content that was put on Youtube since the last sync.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
Add this to cron to delete synced videos that have been published:
|
|
|
|
|
2017-12-28 18:14:33 +01:00
|
|
|
`*/10 * * * * (/bin/ls /tmp/ | /bin/grep -q ytsync && /usr/bin/find /tmp/ytsync* -mmin +20 -delete) || true
|