lav-outils/podcasts/config/lav-20190507.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.2 KiB
JSON

{
"short_date" : "20190507",
"long_date" : "07 mai 2019",
"ffmpeg_bin" : "../FFmpeg/ffmpeg",
"chapters" : [
{
"start_timestamp" : "00:01:50.04",
"end_timestamp" : "00:13:23.74",
"short_chapter_name" : "chronique-pepites-libres-jean-christophe-becquet-les-ressources-libres-pour-la-formation-en-ligne",
"chapter_title" : "Chronique « Pépites libres » par Jean-Christophe Becquet : Les ressources libres pour la formation en ligne"
},
{
"start_timestamp" : "00:16:05.09",
"end_timestamp" : "01:04:03.50",
"short_chapter_name" : "sujet-long-les-licences-libre",
"chapter_title" : "Sujet long : les licences libres"
},
{
"start_timestamp" : "01:07:30.68",
"end_timestamp" : "01:20:12.38",
"short_chapter_name" : "chronique-le-libre-fait-sa-comm-isabella-vanni-interview-antoine-bardelli-expolibre",
"chapter_title" : "Chronique « Le libre fait sa comm' » d'Isabella Vanni : interview d'Antoine Bardelli sur l'Expolibre"
},
{
"start_timestamp" : "01:20:15.55",
"end_timestamp" : "01:23:36.68",
"short_chapter_name" : "annonces",
"chapter_title" : "Annonces"
}
]
}