add additional status
This commit is contained in:
parent
aecdc1c29f
commit
ef950997e5
1 changed files with 9 additions and 8 deletions
|
@ -70,16 +70,17 @@ func NewSyncManager(stopOnError bool, maxTries int, takeOverExistingChannel bool
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
StatusPending = "pending" // waiting for permission to sync
|
StatusPending = "pending" // waiting for permission to sync
|
||||||
StatusQueued = "queued" // in sync queue. will be synced soon
|
StatusPendingEmail = "pendingemail" // permission granted but missing email
|
||||||
StatusSyncing = "syncing" // syncing now
|
StatusQueued = "queued" // in sync queue. will be synced soon
|
||||||
StatusSynced = "synced" // done
|
StatusSyncing = "syncing" // syncing now
|
||||||
StatusFailed = "failed"
|
StatusSynced = "synced" // done
|
||||||
StatusFinalized = "finalized" // no more changes allowed
|
StatusFailed = "failed"
|
||||||
StatusAbandoned = "abandoned" // deleted on youtube or banned
|
StatusFinalized = "finalized" // no more changes allowed
|
||||||
|
StatusAbandoned = "abandoned" // deleted on youtube or banned
|
||||||
)
|
)
|
||||||
|
|
||||||
var SyncStatuses = []string{StatusPending, StatusQueued, StatusSyncing, StatusSynced, StatusFailed, StatusFinalized, StatusAbandoned}
|
var SyncStatuses = []string{StatusPending, StatusPendingEmail, StatusQueued, StatusSyncing, StatusSynced, StatusFailed, StatusFinalized, StatusAbandoned}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
VideoStatusPublished = "published"
|
VideoStatusPublished = "published"
|
||||||
|
|
Loading…
Reference in a new issue