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

44 lines
1.5 KiB
JSON

{
"short_date" : "20190226",
"long_date" : "26 février 2019",
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
"chapters" : [
{
"start_timestamp" : "00:02:02.5",
"end_timestamp" : "00:15:49.5",
"short_chapter_name" : "chronique-ISA-libre-fait-sa-com",
"chapter_title" : "Chronique d'Isabella le libre fait sa comm'"
},
{
"start_timestamp" : "00:20:10.5",
"end_timestamp" : "00:34:47",
"short_chapter_name" : "chronique-vbonnet-partager-est-bon",
"chapter_title" : "Chronique de Véronique Bonnet Partager est bon"
},
{
"start_timestamp" : "00:39:02.3",
"end_timestamp" : "00:50:12.8",
"short_chapter_name" : "chronique-mo-morandi-transcription",
"chapter_title" : "Chronique de Marie-Odile Morandi Les transcriptions qui redonnent le goût de la lecture"
},
{
"start_timestamp" : "00:53:05",
"end_timestamp" : "01:12:10",
"short_chapter_name" : "chronique-vcalame-jouons-collectif",
"chapter_title" : "Chronique de Vincent Calame Jouons collectif"
},
{
"start_timestamp" : "01:15:41.5",
"end_timestamp" : "01:25:25.5",
"short_chapter_name" : "itw-echarp-adl-revue-presse-decryptualite",
"chapter_title" : "Interview d'Emmanuel Charpentier Agenda du libre Revue de presse et Décrytualité"
},
{
"start_timestamp" : "01:25:25.5",
"end_timestamp" : "01:29:20",
"short_chapter_name" : "annonces",
"chapter_title" : "Annonces"
}
]
}