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.2 KiB
JSON
32 lines
1.2 KiB
JSON
{
|
|
"short_date" : "20190319",
|
|
"long_date" : "19 mars 2019",
|
|
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
|
|
"chapters" : [
|
|
{
|
|
"start_timestamp" : "00:01:57.8",
|
|
"end_timestamp" : "00:13:59",
|
|
"short_chapter_name" : "chronique-marie-odile-morandi-transcriptions-qui-redonnent-le-gout-de-la-lecture",
|
|
"chapter_title" : "Chronique de Marie-Odile Morandi Les transcriptions qui redonnent le goût de la lecture"
|
|
},
|
|
{
|
|
"start_timestamp" : "00:17:45.7",
|
|
"end_timestamp" : "01:10:17",
|
|
"short_chapter_name" : "discussion-les-outils-multimedia-pour-image-et-video",
|
|
"chapter_title" : "Discussion sur les outils multimédias libres pour l'image et la vidéo avec Lionel Allorge, Jehan Pagès, Charlotte Boulanger"
|
|
},
|
|
{
|
|
"start_timestamp" : "01:12:41.2",
|
|
"end_timestamp" : "01:23:24",
|
|
"short_chapter_name" : "point-directive-droit-auteur-avec-anne-catherine-lorrain",
|
|
"chapter_title" : "Point sur la directive droit d'auteur avec Anne-Catherine Lorrain"
|
|
},
|
|
{
|
|
"start_timestamp" : "01:23:24",
|
|
"end_timestamp" : "01:30:00",
|
|
"short_chapter_name" : "annonces",
|
|
"chapter_title" : "Annonces"
|
|
}
|
|
]
|
|
}
|