lav-outils/podcasts/config/lav-20190423.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

32 lines
1.1 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"short_date" : "20190423",
"long_date" : "23 avril 2019",
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
"chapters" : [
{
"start_timestamp" : "00:01:34.5",
"end_timestamp" : "00:14:27.8",
"short_chapter_name" : "chronique-xavier-berne-parcoursup",
"chapter_title" : "Chronique de Xavier Berne sur Parcoursup"
},
{
"start_timestamp" : "00:18:14",
"end_timestamp" : "01:12:25",
"short_chapter_name" : "sujet-long-les-entreprises-du-logiciel-libre",
"chapter_title" : "Sujet long sur les entreprises du logiciel libre"
},
{
"start_timestamp" : "01:14:59",
"end_timestamp" : "01:24:10.35",
"short_chapter_name" : "chronique-vincent-calame-jouons-collectif-je-me-demandais-ce-que-vous-faisiez-la",
"chapter_title" : "Chronique de Vincent Calame Jouons collectif « Je me demandais ce que vous faisiez là »"
},
{
"start_timestamp" : "01:24:12.2",
"end_timestamp" : "01:29:59",
"short_chapter_name" : "annonces",
"chapter_title" : "Annonces"
}
]
}