lav-outils/podcasts/config/lav-20190409.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" : "20190409",
"long_date" : "9 avril 2019",
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
"chapters" : [
{
"start_timestamp" : "00:01:51",
"end_timestamp" : "00:15:48.2",
"short_chapter_name" : "chronique-veronique-bonnet-partager-est-bon-les-ecoles-devraient-utiliser-exclusivement-du-logiciel-libre",
"chapter_title" : "Chronique Véronique Bonnet « Partager est bon » sur le thème « Les écoles devraient utiliser exclusivement du logiciel libre »"
},
{
"start_timestamp" : "00:19:28",
"end_timestamp" : "01:14:25",
"short_chapter_name" : "sujet-long-wikipedia-et-la-wikimedia-foundation",
"chapter_title" : "Sujet long Wikipédia et la Wikimedia Foundation"
},
{
"start_timestamp" : "01:17:22.2",
"end_timestamp" : "01:25:25",
"short_chapter_name" : "point-actualite-directive-droit-auteur",
"chapter_title" : "Point d'actualité sur la directive droit d'auteur"
},
{
"start_timestamp" : "01:25:25",
"end_timestamp" : "01:29:51",
"short_chapter_name" : "annonces",
"chapter_title" : "Annonces"
}
]
}