Skip to content

Commit

Permalink
add additional status
Browse files Browse the repository at this point in the history
  • Loading branch information
nikooo777 committed Mar 7, 2019
1 parent aecdc1c commit ef95099
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,17 @@ func NewSyncManager(stopOnError bool, maxTries int, takeOverExistingChannel bool
}

const (
StatusPending = "pending" // waiting for permission to sync
StatusQueued = "queued" // in sync queue. will be synced soon
StatusSyncing = "syncing" // syncing now
StatusSynced = "synced" // done
StatusFailed = "failed"
StatusFinalized = "finalized" // no more changes allowed
StatusAbandoned = "abandoned" // deleted on youtube or banned
StatusPending = "pending" // waiting for permission to sync
StatusPendingEmail = "pendingemail" // permission granted but missing email
StatusQueued = "queued" // in sync queue. will be synced soon
StatusSyncing = "syncing" // syncing now
StatusSynced = "synced" // done
StatusFailed = "failed"
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 (
VideoStatusPublished = "published"
Expand Down

0 comments on commit ef95099

Please sign in to comment.