Christian P. MOMON
3cbc59b769
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
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
|
"short_date" : "20190326",
|
|
"long_date" : "26 mars 2019",
|
|
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
|
|
"chapters" : [
|
|
{
|
|
"start_timestamp" : "00:01:41",
|
|
"end_timestamp" : "00:15:07.4",
|
|
"short_chapter_name" : "point-directive-droit-auteur-vote-26-mars",
|
|
"chapter_title" : "Point directive droit d'auteur suite au vote du 26 mars"
|
|
},
|
|
{
|
|
"start_timestamp" : "00:19:04",
|
|
"end_timestamp" : "01:08:28.7",
|
|
"short_chapter_name" : "sujet-long-civic-tech-et-logiciel-libre-caroline-corbal-emmanuel-raviart",
|
|
"chapter_title" : "Sujet long : civic-tech et logiciel libre avec Caroline Corbal (Code for France), Emmanuel Raviart (développeur logiciel libre)"
|
|
},
|
|
{
|
|
"start_timestamp" : "01:11:33",
|
|
"end_timestamp" : "01:22:14",
|
|
"short_chapter_name" : "chronique-vincent-calame-jouons-collectif",
|
|
"chapter_title" : "Chronique Vincent Calame « Jouons collectif »"
|
|
},
|
|
{
|
|
"start_timestamp" : "01:22:14",
|
|
"end_timestamp" : "01:29:28",
|
|
"short_chapter_name" : "annonces",
|
|
"chapter_title" : "Annonces"
|
|
}
|
|
]
|
|
}
|