Compare commits
2 commits
0da9097a6a
...
194b286e30
| Author | SHA1 | Date | |
|---|---|---|---|
| 194b286e30 | |||
| ba71665bc5 |
5 changed files with 6 additions and 6 deletions
|
|
@ -485,7 +485,7 @@ class File(models.Model):
|
|||
'wanted': self.wanted,
|
||||
}
|
||||
for key in ('folder', 'filename'):
|
||||
if key in keys:
|
||||
if keys and key in keys:
|
||||
data[key] = getattr(self, key)
|
||||
if error:
|
||||
data['error'] = error
|
||||
|
|
|
|||
|
|
@ -1402,7 +1402,7 @@
|
|||
240, 288, 360, 432, 480, 720 and 1080.
|
||||
*/
|
||||
"video": {
|
||||
"formats": ["webm", "mp4"],
|
||||
"formats": ["mp4"],
|
||||
// fixme: this should be named "ratio" or "defaultRatio",
|
||||
// as it also applies to clip lists (on load)
|
||||
"previewRatio": 1.7777777778,
|
||||
|
|
|
|||
|
|
@ -1888,7 +1888,7 @@
|
|||
240, 288, 360, 432, 480, 720 and 1080.
|
||||
*/
|
||||
"video": {
|
||||
"formats": ["webm", "mp4"],
|
||||
"formats": ["mp4"],
|
||||
"previewRatio": 1.375,
|
||||
"resolutions": [240, 480]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1392,7 +1392,7 @@
|
|||
240, 288, 360, 432, 480, 720 and 1080.
|
||||
*/
|
||||
"video": {
|
||||
"formats": ["webm", "mp4"],
|
||||
"formats": ["mp4"],
|
||||
"previewRatio": 1.3333333333,
|
||||
//supported resolutions are
|
||||
//1080, 720, 480, 432, 360, 288, 240, 144, 96
|
||||
|
|
|
|||
|
|
@ -1281,8 +1281,8 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
|||
240, 288, 360, 432, 480, 720 and 1080.
|
||||
*/
|
||||
"video": {
|
||||
"downloadFormat": "webm",
|
||||
"formats": ["webm", "mp4"],
|
||||
"downloadFormat": "mp4",
|
||||
"formats": ["mp4"],
|
||||
"previewRatio": 1.3333333333,
|
||||
"resolutions": [240, 480]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue