Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DONE] add CACHE_VIDEO_DEFAULT_TIMEOUT in configuration #973

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
186 changes: 100 additions & 86 deletions pod/main/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -859,33 +859,33 @@
]
},
"settings": {
"RESTRICT_EDIT_IMPORT_VIDEO_ACCESS_TO_STAFF_ONLY": {
"default_value": true,
"MAX_UPLOAD_SIZE_ON_IMPORT": {
"default_value": 4,
"description": {
"en": [
"Only \"staff\" users will be able to import videos"
"Maximum size in Gb of video files that can be imported into the platform ",
"via the import_video application (0 = no maximum size)."
],
"fr": [
"Seuls les utilisateurs \"staff\" pourront importer des vidéos"
"Taille maximum en Go des fichiers vidéos qui peuvent être importés sur la plateforme ",
"via l'application import_video (0 = pas de taille maximum)."
]
},
"pod_version_end": "",
"pod_version_init": "3.3.0"
"pod_version_init": "3.4.0"
},
"MAX_UPLOAD_SIZE_ON_IMPORT": {
"default_value": 4,
"RESTRICT_EDIT_IMPORT_VIDEO_ACCESS_TO_STAFF_ONLY": {
"default_value": true,
"description": {
"en": [
"Maximum size in Gb of video files that can be imported into the platform ",
"via the import_video application (0 = no maximum size)."
"Only \"staff\" users will be able to import videos"
],
"fr": [
"Taille maximum en Go des fichiers vidéos qui peuvent être importés sur la plateforme ",
"via l'application import_video (0 = pas de taille maximum)."
"Seuls les utilisateurs \"staff\" pourront importer des vidéos"
]
},
"pod_version_end": "",
"pod_version_init": "3.4.0"
"pod_version_init": "3.3.0"
},
"USE_IMPORT_VIDEO": {
"default_value": true,
Expand Down Expand Up @@ -1018,31 +1018,31 @@
"pod_version_end": "",
"pod_version_init": "3.1"
},
"EVENT_GROUP_ADMIN": {
"default_value": "event admin",
"EVENT_CHECK_MAX_ATTEMPT": {
"default_value": 10,
"description": {
"en": [
""
],
"fr": [
"Permet de préciser le nom du groupe dans lequel les utilisateurs peuvent planifier un évènement sur plusieurs jours."
"Nombre de tentatives maximum pour vérifier la présence / taille d'un fichier sur le filesystem"
]
},
"pod_version_end": "",
"pod_version_init": "3.1"
"pod_version_init": "3.4"
},
"EVENT_CHECK_MAX_ATTEMPT": {
"default_value": 10,
"EVENT_GROUP_ADMIN": {
"default_value": "event admin",
"description": {
"en": [
""
],
"fr": [
"Nombre de tentatives maximum pour vérifier la présence / taille d'un fichier sur le filesystem"
"Permet de préciser le nom du groupe dans lequel les utilisateurs peuvent planifier un évènement sur plusieurs jours."
]
},
"pod_version_end": "",
"pod_version_init": "3.4"
"pod_version_init": "3.1"
},
"HEARTBEAT_DELAY": {
"default_value": 45,
Expand Down Expand Up @@ -1602,31 +1602,31 @@
]
},
"settings": {
"DEFAULT_PLAYLIST_THUMBNAIL": {
"default_value": "/static/playlist/img/default-playlist.svg",
"COUNTDOWN_PLAYLIST_PLAYER": {
"default_value": 0,
"description": {
"en": [
"Default image displayed as a poster or thumbnail, used to present the playlist.",
"This image must be located in the `static` directory."
"Countdown used between each video when playing an autoplay playlist.",
"The coutdown is not present if it at 0."
],
"fr": [
"Image par défaut affichée comme poster ou vignette, utilisée pour présenter la playlist.",
"Cette image doit se situer dans le répertoire `static`."
"Compte à rebours utilisé entre chaque vidéo lors de la lecture d'une playlist en lecture automatique.",
"Le compte à rebours n'est pas présent s'il est à 0."
]
},
"pod_version_end": "",
"pod_version_init": "3.4"
},
"COUNTDOWN_PLAYLIST_PLAYER": {
"default_value": 0,
"DEFAULT_PLAYLIST_THUMBNAIL": {
"default_value": "/static/playlist/img/default-playlist.svg",
"description": {
"en": [
"Countdown used between each video when playing an autoplay playlist.",
"The coutdown is not present if it at 0."
"Default image displayed as a poster or thumbnail, used to present the playlist.",
"This image must be located in the `static` directory."
],
"fr": [
"Compte à rebours utilisé entre chaque vidéo lors de la lecture d'une playlist en lecture automatique.",
"Le compte à rebours n'est pas présent s'il est à 0."
"Image par défaut affichée comme poster ou vignette, utilisée pour présenter la playlist.",
"Cette image doit se situer dans le répertoire `static`."
]
},
"pod_version_end": "",
Expand Down Expand Up @@ -2037,6 +2037,21 @@
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"CACHE_VIDEO_DEFAULT_TIMEOUT": {
"default_value": 600,
"description": {
"en": [
"",
"Time in second to cache video data"
],
"fr": [
"",
"Temps en seconde de conservation des données de l'application video"
]
},
"pod_version_end": "",
"pod_version_init": "3.5.0"
},
"CHANNEL_FORM_FIELDS_HELP_TEXT": {
"default_value": "",
"description": {
Expand Down Expand Up @@ -2756,7 +2771,6 @@
"pod_version_end": "",
"pod_version_init": "3.1.0"
},

"VIDEO_REQUIRED_FIELDS": {
"default_value": "[]",
"description": {
Expand Down Expand Up @@ -2870,6 +2884,32 @@
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"ENCODE_STUDIO": {
"default_value": "start_encode_studio",
"description": {
"en": [
""
],
"fr": [
"Fonction appelée pour lancer l’encodage du studio (merge and cut)."
]
},
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"ENCODE_VIDEO": {
"default_value": "start_encode",
"description": {
"en": [
""
],
"fr": [
"Fonction appelée pour lancer l’encodage des vidéos direct par thread ou distant par celery"
]
},
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"ENCODING_CHOICES": {
"default_value": "()",
"description": {
Expand All @@ -2893,6 +2933,21 @@
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"ENCODING_TRANSCODING_CELERY_BROKER_URL": {
"default_value": false,
"description": {
"en": [
""
],
"fr": [
"",
"Il faut renseigner l'url du redis sur lequel Celery va chercher les ordres d'encodage et de transcription",
"par exemple : \"redis://redis:6379/7\""
]
},
"pod_version_end": "",
"pod_version_init": "3.3.1"
},
"FORMAT_CHOICES": {
"default_value": "()",
"description": {
Expand All @@ -2916,31 +2971,19 @@
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"ENCODE_STUDIO": {
"default_value": "start_encode_studio",
"description": {
"en": [
""
],
"fr": [
"Fonction appelée pour lancer l’encodage du studio (merge and cut)."
]
},
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"ENCODE_VIDEO": {
"default_value": "start_encode",
"USE_DISTANT_ENCODING_TRANSCODING": {
"default_value": false,
"description": {
"en": [
""
],
"fr": [
"Fonction appelée pour lancer l’encodage des vidéos direct par thread ou distant par celery"
"",
"Si True, active l'encodage et la transcription sur un environnement distant via redis+celery"
]
},
"pod_version_end": "",
"pod_version_init": "3.1.0"
"pod_version_init": "3.4.0"
},
"VIDEO_RENDITIONS": {
"default_value": "[]",
Expand Down Expand Up @@ -2987,35 +3030,6 @@
},
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"ENCODING_TRANSCODING_CELERY_BROKER_URL": {
"default_value": false,
"description": {
"en": [
""
],
"fr": [
"",
"Il faut renseigner l'url du redis sur lequel Celery va chercher les ordres d'encodage et de transcription",
"par exemple : \"redis://redis:6379/7\""
]
},
"pod_version_end": "",
"pod_version_init": "3.3.1"
},
"USE_DISTANT_ENCODING_TRANSCODING": {
"default_value": false,
"description": {
"en": [
""
],
"fr": [
"",
"Si True, active l'encodage et la transcription sur un environnement distant via redis+celery"
]
},
"pod_version_end": "",
"pod_version_init": "3.4.0"
}
},
"title": {
Expand Down Expand Up @@ -4363,31 +4377,31 @@
"pod_version_end": "",
"pod_version_init": "3.1.0"
},
"HIDE_DISCIPLINES": {
"HIDE_CURSUS": {
"default_value": false,
"description": {
"en": [
""
],
"fr": [
"Si True, permet de ne pas afficher les disciplines dans la colonne de droite"
"Si True, permet de ne pas afficher les cursus dans la colonne de droite"
]
},
"pod_version_end": "",
"pod_version_init": "3.1.0"
"pod_version_init": "3.4.0"
},
"HIDE_CURSUS": {
"HIDE_DISCIPLINES": {
"default_value": false,
"description": {
"en": [
""
],
"fr": [
"Si True, permet de ne pas afficher les cursus dans la colonne de droite"
"Si True, permet de ne pas afficher les disciplines dans la colonne de droite"
]
},
"pod_version_end": "",
"pod_version_init": "3.4.0"
"pod_version_init": "3.1.0"
},
"HIDE_LANGUAGE_SELECTOR": {
"default_value": false,
Expand Down Expand Up @@ -5013,4 +5027,4 @@
}
}
}
]
]