Skip to content

Commit

Permalink
Add IMSCP format preset.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Oct 18, 2023
1 parent 1edc3d0 commit 421ca56
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions le_utils/constants/format_presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
QTI_THUMBNAIL = "qti_thumbnail"
QTI_THUMBNAIL_READABLE = "QTI Thumbnail"

IMSCP_ZIP = "imscp_zip"
IMSCP_ZIP_READABLE = "IMSCP Zip"


SLIDESHOW_IMAGE = "slideshow_image"
SLIDESHOW_IMAGE_READABLE = "Slideshow Image"
Expand Down Expand Up @@ -114,6 +117,7 @@
(SLIDESHOW_IMAGE, SLIDESHOW_IMAGE_READABLE),
(SLIDESHOW_THUMBNAIL, SLIDESHOW_THUMBNAIL_READABLE),
(SLIDESHOW_MANIFEST, SLIDESHOW_MANIFEST_READABLE),
(IMSCP_ZIP, IMSCP_ZIP_READABLE),
)


Expand Down
12 changes: 12 additions & 0 deletions le_utils/resources/presetlookup.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,18 @@
"allowed_formats": ["png", "jpg", "jpeg"],
"convertible_formats": []
},
"imscp_zip": {
"readable_name": "IMSCP Zip",
"multi_language": false,
"supplementary": false,
"thumbnail": false,
"subtitle": false,
"display": true,
"order": 1,
"kind": "html5",
"allowed_formats": ["zip"],
"convertible_formats": []
},
"h5p": {
"readable_name": "H5P",
"multi_language": false,
Expand Down

0 comments on commit 421ca56

Please sign in to comment.