fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable youtube publish button when in volume.
[audio.git]
/
src
/
archive
/
constants.py
diff --git
a/src/archive/constants.py
b/src/archive/constants.py
index
6cb92a7
..
3493e00
100644
(file)
--- a/
src/archive/constants.py
+++ b/
src/archive/constants.py
@@
-1,14
+1,28
@@
from django.utils.translation import gettext_lazy as _
class status:
from django.utils.translation import gettext_lazy as _
class status:
- WAITING = 1
- ENCODING = 2
- TAGGING = 3
- SENDING = 4
+ QUEUED = 1
+ WAITING = 10
+ ENCODING = 20
+ TAGGING = 30
+ CONVERTING_AUDIO = 40
+ CONVERTING_VIDEO = 50
+ ASSEMBLING_AUDIO = 60
+ ASSEMBLING_VIDEO = 70
+ JOINING_AUDIO_VIDEO = 80
+ SENDING = 100
+ SETTING_THUMBNAIL = 110
choices = [
choices = [
+ (QUEUED, _('Queued')),
(WAITING, _('Waiting')),
(ENCODING, _('Encoding')),
(TAGGING, _('Tagging')),
(WAITING, _('Waiting')),
(ENCODING, _('Encoding')),
(TAGGING, _('Tagging')),
+ (CONVERTING_AUDIO, _('Converting audio')),
+ (CONVERTING_VIDEO, _('Converting video')),
+ (ASSEMBLING_AUDIO, _('Assembling audio')),
+ (ASSEMBLING_VIDEO, _('Assembling video')),
+ (JOINING_AUDIO_VIDEO, _('Joining audio and video')),
(SENDING, _('Sending')),
(SENDING, _('Sending')),
+ (SETTING_THUMBNAIL, _('Setting thumbnail')),
]
]