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
28 lines
679 B
JSON
28 lines
679 B
JSON
{
|
|
"short_date" : "20190108",
|
|
"long_date" : "8 janvier 2019",
|
|
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
|
|
"chapters" : [
|
|
{
|
|
"start_timestamp" : "0:03:09",
|
|
"end_timestamp" : "0:18:45",
|
|
"short_chapter_name" : "chronique-transcriptions"
|
|
},
|
|
{
|
|
"start_timestamp" : "00:18:45",
|
|
"end_timestamp" : "01:11:01",
|
|
"short_chapter_name" : "dinsic-etalab"
|
|
},
|
|
{
|
|
"start_timestamp" : "01:11:01",
|
|
"end_timestamp" : "01:23:38",
|
|
"short_chapter_name" : "logiciel-caisse"
|
|
},
|
|
{
|
|
"start_timestamp" : "01:23:38",
|
|
"end_timestamp" : "01:29:58",
|
|
"short_chapter_name" : "annonces"
|
|
}
|
|
]
|
|
}
|