feat: download movie every 1h

This commit is contained in:
Simon Ding
2024-07-20 17:26:09 +08:00
parent 9adc1f418b
commit 2fe0a4187a
15 changed files with 240 additions and 128 deletions

View File

@@ -70,10 +70,6 @@ func init() {
mediaDescAirDate := mediaFields[8].Descriptor()
// media.DefaultAirDate holds the default value on creation for the air_date field.
media.DefaultAirDate = mediaDescAirDate.Default.(string)
// mediaDescResolution is the schema descriptor for resolution field.
mediaDescResolution := mediaFields[9].Descriptor()
// media.DefaultResolution holds the default value on creation for the resolution field.
media.DefaultResolution = mediaDescResolution.Default.(string)
storageFields := schema.Storage{}.Fields()
_ = storageFields
// storageDescDeleted is the schema descriptor for deleted field.