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.3 KiB
JSON
32 lines
1.3 KiB
JSON
{
|
|
"short_date" : "20190402",
|
|
"long_date" : "2 avril 2019",
|
|
"ffmpeg_bin" : "./FFmpeg/ffmpeg",
|
|
"chapters" : [
|
|
{
|
|
"start_timestamp" : "00:02:09",
|
|
"end_timestamp" : "00:14:51.5",
|
|
"short_chapter_name" : "chronique-pepites-libres-jean-christophe-becquet-jeu-donnees-opendata-rne",
|
|
"chapter_title" : "Chronique « Pépites libres » de Jean-Christophe Becquet Jeu de données opendata : répertoire national des élus"
|
|
},
|
|
{
|
|
"start_timestamp" : "00:17:57",
|
|
"end_timestamp" : "01:08:56.125",
|
|
"short_chapter_name" : "sujet-princial-bouge-ton-gull-magali-garnero-parinux-didier-clermonte-liness-romain-volpi-aldil",
|
|
"chapter_title" : "Sujet principal « Bouge ton GULL » : Magali Garnero pour Parinux, Didier Clermonté pour Liness, Romain Volpi pour ALDIL"
|
|
},
|
|
{
|
|
"start_timestamp" : "01:12:41.2",
|
|
"end_timestamp" : "01:25:39",
|
|
"short_chapter_name" : "chronique-isabella-vanni-libre-fait-sa-com-jdll",
|
|
"chapter_title" : "Chronique « Le libre fait sa com' » d'Isabella Vanni sur les Journées du Logiciel Libre"
|
|
},
|
|
{
|
|
"start_timestamp" : "01:25:39.5",
|
|
"end_timestamp" : "01:30:00",
|
|
"short_chapter_name" : "annonces",
|
|
"chapter_title" : "Annonces"
|
|
}
|
|
]
|
|
}
|