fix claim address, add readme
This commit is contained in:
parent
f5cba7e913
commit
9d4622d044
2 changed files with 12 additions and 2 deletions
10
ytsync/README.md
Normal file
10
ytsync/README.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Current YT Sync Process
|
||||||
|
|
||||||
|
- start daemon with clean `.lbryum` dir
|
||||||
|
- `wallet_list` to get an address
|
||||||
|
- send credits to address. make sure the send is split into 50 or so txns, and that there are enough credits to publish all the videos
|
||||||
|
- wait for credits to arrive and be confirmed
|
||||||
|
- run `lbry ytsync YOUTUBE_KEY CHANNEL_ID CHANNEL_NAME --max-tries=5`
|
||||||
|
- `max-tries` will retry errors that you will undoubtedly get
|
||||||
|
- after sync is done, stop daemon and move `.lbryum`dir somewhere safe
|
||||||
|
- mark content synced in doc
|
|
@ -72,8 +72,8 @@ func (s *Sync) Go() error {
|
||||||
} else if addresses == nil || len(*addresses) == 0 {
|
} else if addresses == nil || len(*addresses) == 0 {
|
||||||
return errors.New("could not find an address in wallet")
|
return errors.New("could not find an address in wallet")
|
||||||
}
|
}
|
||||||
claimAddress := (*addresses)[0]
|
s.claimAddress = (*addresses)[0]
|
||||||
if claimAddress == "" {
|
if s.claimAddress == "" {
|
||||||
return errors.New("found blank claim address")
|
return errors.New("found blank claim address")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue