lav-outils/podcasts/config/lav-20190219.json
Christian P. MOMON 3cbc59b769 Normalized tab and space use in *json config files.
cpm@ocmstar (01:46:39) …/lav-outils/podcasts/config > cat donormalize
sed -i.bak s/\ \ \ \ \ \ \ \ \ \ \ \ /\\t\\t\\t/g lav-*.json

sed -i.bak 's/short_date"[[:space:]]\+:[[:space:]]\+"/short_date"    : "/g' lav-*.json
sed -i.bak  's/long_date"[[:space:]]\+:[[:space:]]\+"/long_date"     : "/g' lav-*.json
sed -i.bak 's/ffmpeg_bin"[[:space:]]\+:[[:space:]]\+"/ffmpeg_bin"    : "/g' lav-*.json
sed -i.bak  's/chapters"[[:space:]]\+:[[:space:]]\+\[/chapters"  : [/g' lav-*.json

sed -i.bak    's/start_timestamp"[[:space:]]\+:[[:space:]]\+"/start_timestamp"       : "/g' lav-*.json
sed -i.bak      's/end_timestamp"[[:space:]]\+:[[:space:]]\+"/end_timestamp"         : "/g' lav-*.json
sed -i.bak 's/short_chapter_name"[[:space:]]\+:[[:space:]]\+"/short_chapter_name"    : "/g' lav-*.json
sed -i.bak      's/chapter_title"[[:space:]]\+:[[:space:]]\+"/chapter_title"         : "/g' lav-*.json

rm -f *.bak
2019-05-10 01:50:35 +02:00

38 lines
1.3 KiB
JSON

{
"short_date" : "20190219",
"long_date" : "19 février 2019",
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
"chapters" : [
{
"start_timestamp" : "00:02:42",
"end_timestamp" : "01:02:02.5",
"short_chapter_name" : "itw-bortzmeyer-cyberstructure",
"chapter_title" : "Interview de Stéphane Bortzmeyer sur son livre https://cyberstructure.fr/"
},
{
"start_timestamp" : "01:07:15",
"end_timestamp" : "01:13:32",
"short_chapter_name" : "itw-lacroix-pacte-pour-la-transition",
"chapter_title" : "Interview d'Aliette Lacroix pour le Pacte pour la transition"
},
{
"start_timestamp" : "01:13:34",
"end_timestamp" : "01:17:54.5",
"short_chapter_name" : "directive-droit-auteur",
"chapter_title" : "Point d'actualité sur la directive droit d'auteur"
},
{
"start_timestamp" : "01:18:17.5",
"end_timestamp" : "01:23:32",
"short_chapter_name" : "pjl-ecole-de-la-confiance",
"chapter_title" : "Point d'actualité sur le projet de loi « Pour une école de la confiance »"
},
{
"start_timestamp" : "01:23:44.5",
"end_timestamp" : "01:29:21",
"short_chapter_name" : "annonces",
"chapter_title" : "Annonces"
}
]
}