Genre- and collection-specific thumbnails.
[audio.git] / src / archive / constants.py
1 from django.utils.translation import gettext_lazy as _
2
3
4 class status:
5     WAITING = 1
6     QUEUED = 10
7     ENCODING = 20
8     TAGGING = 30
9     CONVERTING_AUDIO = 40
10     CONVERTING_VIDEO = 50
11     ASSEMBLING_AUDIO = 60
12     ASSEMBLING_VIDEO = 70
13     JOINING_AUDIO_VIDEO = 80
14     SENDING = 100
15     SETTING_THUMBNAIL = 110
16
17     choices = [
18         (WAITING, _('Waiting')),
19         (QUEUED, _("Queued")),
20         (ENCODING, _('Encoding')),
21         (TAGGING, _('Tagging')),
22         (CONVERTING_AUDIO, _('Converting audio')),
23         (CONVERTING_VIDEO, _('Converting video')),
24         (ASSEMBLING_AUDIO, _('Assembling audio')),
25         (ASSEMBLING_VIDEO, _('Assembling video')),
26         (JOINING_AUDIO_VIDEO, _('Joining audio and video')),
27         (SENDING, _('Sending')),
28         (SETTING_THUMBNAIL, _('Setting thumbnail')),
29     ]