constants.py 256 B

1234567
  1. import datetime
  2. TOKYO_TZ = datetime.timezone(datetime.timedelta(hours=9), name='Asia/Tokyo')
  3. HHMM_FMT = '%H:%M'
  4. FULL_DATE_FMT = '%Y-%m-%d %H:%M:%S'
  5. MODE_TO_STATUS = {'download': 'downloading', 'live': 'live', 'schedule': 'scheduled', 'watch': 'watching'}