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

26 lines
981 B
JSON

{
"short_date" : "20190416",
"long_date" : "16 avril 2019",
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
"chapters" : [
{
"start_timestamp" : "00:00:00",
"end_timestamp" : "00:00:00",
"short_chapter_name" : "chronique-marie-odile-morandi-les-transcriptions-qui-redonnent-le-gout-de-la-lecture-sur-la-vie-privee",
"chapter_title" : "Chronique de Marie-Odile Morandi « Les transcriptions qui redonnent le goût de la lecture » sur la vie privée"
},
{
"start_timestamp" : "00:01:30",
"end_timestamp" : "00:52:05",
"short_chapter_name" : "sujet-long-collectif-chatons",
"chapter_title" : "Sujet long sur le collectif CHATONS"
},
{
"start_timestamp" : "00:56:00",
"end_timestamp" : "01:17:01",
"short_chapter_name" : "chronique-juridique-noemie-bergez-in-code-we-trust",
"chapter_title" : "Chronique juridique Noémie Bergez « In code we trust »"
}
]
}