diff --git a/public/data/documentaries_interviews_audio.json b/public/data/documentaries_interviews_audio.json
index b4a641f..b9e0e27 100644
--- a/public/data/documentaries_interviews_audio.json
+++ b/public/data/documentaries_interviews_audio.json
@@ -1,42 +1,50 @@
[
{
- "title": "",
+ "title": "Late Junction",
+ "details": "BBC, 2019",
"parent_dir": "documentaries_interviews_audio",
- "media": "-21 08_Late Junction_2019 - Meredith Monk v2 BBC.mp3"
+ "media": "-21 08_Late Junction_2019 - Meredith Monk v2 BBC"
},
{
- "title": "",
+ "title": "Speaking of Music",
+ "details": "Meredith Monk, 1984 Part 1 of 2",
"parent_dir": "documentaries_interviews_audio",
- "media": "-22 02_Speaking of Music Meredith Monk 1984 Part 1 of 2.mp3"
+ "media": "-22 02_Speaking of Music Meredith Monk 1984 Part 1 of 2"
},
{
- "title": "",
+ "title": "Speaking of Music",
+ "details": "Meredith Monk, 1984 Part 2 of 2",
"parent_dir": "documentaries_interviews_audio",
- "media": "-23 03_Speaking of Music_ Meredith Monk 1984 Part 2 of 2.mp3"
+ "media": "-23 03_Speaking of Music_ Meredith Monk 1984 Part 2 of 2"
},
{
- "title": "",
+ "title": "Interview with I Frechl-Bayn Rundfunk",
+ "details": "1986",
"parent_dir": "documentaries_interviews_audio",
- "media": "-24 04 Meredith Monk Interview with I Ferchl_Bayn Rundfunk 1986.mp3"
+ "media": "-24 04 Meredith Monk Interview with I Ferchl_Bayn Rundfunk 1986"
},
{
- "title": "",
+ "title": "Terry Gross Interview",
+ "details": "1987",
"parent_dir": "documentaries_interviews_audio",
- "media": "-25 05 Terry Gross interview_1987.mp3"
+ "media": "-25 05 Terry Gross interview_1987"
},
{
- "title": "",
+ "title": "Interview with David Garland",
+ "details": "WNYC, Sacred Sundays, 2008",
"parent_dir": "documentaries_interviews_audio",
- "media": "-26 06 WNYC Interview w_ David Garland_SacredSundays_2008.mp3"
+ "media": "-26 06 WNYC Interview w_ David Garland_SacredSundays_2008"
},
{
- "title": "",
+ "title": "Frosty McNeil and Meredith Monk",
+ "details": "Fireside Chat, Red Bull Radio",
"parent_dir": "documentaries_interviews_audio",
- "media": "-27 07_Red Bull Radio_Fireside Chat_M frosty McNeil and MM_41119.mp3"
+ "media": "-27 07_Red Bull Radio_Fireside Chat_M frosty McNeil and MM_41119"
},
{
- "title": "",
+ "title": "Late Junction",
+ "details": "BBC, 2019",
"parent_dir": "documentaries_interviews_audio",
- "media": "-28 08_Late Junction_2019 - Meredith Monk v2 BBC.mp3"
+ "media": "-28 08_Late Junction_2019 - Meredith Monk v2 BBC"
}
-]
\ No newline at end of file
+]
diff --git a/public/data/documentaries_interviews_video.json b/public/data/documentaries_interviews_video.json
index a31a54e..720032b 100644
--- a/public/data/documentaries_interviews_video.json
+++ b/public/data/documentaries_interviews_video.json
@@ -1,51 +1,61 @@
[
{
- "title": "",
+ "title": "Michael Blackwood Making Dances",
+ "details": "",
"parent_dir": "documentaries_interviews_video",
"media": "--2 MichaelBlackwoodMakingDances.m4v"
},
{
- "title": "",
+ "title": "ECM 1981",
+ "details": "2019",
"parent_dir": "documentaries_interviews_video",
"media": "--3 ECM1981 Video Meredith Monk V2_2019.m4v"
},
{
- "title": "",
+ "title": "Andere Avantgarde",
+ "details": "TV Interview 1982",
"parent_dir": "documentaries_interviews_video",
"media": "--4 Meredith Monk_Andere Avantgarde_TV Interview_1982_.m4v"
},
{
- "title": "",
+ "title": "New Sounds for a New World",
+ "details": "1982",
"parent_dir": "documentaries_interviews_video",
"media": "--5 New Sounds for a New World_1982.m4v"
},
{
- "title": "",
+ "title": "Four American Composers",
+ "details": "PeterGreenaway",
"parent_dir": "documentaries_interviews_video",
"media": "--6 Four American Composers_Peter Greenaway.m4v"
},
{
- "title": "",
+ "title": "BBC Late Show",
+ "details": "",
"parent_dir": "documentaries_interviews_video",
"media": "--7 bbc_late_show (Original).m4v"
},
{
- "title": "",
+ "title": "Documentary by Sidsel Mundal",
+ "details": "Norwegian Television, 1994",
"parent_dir": "documentaries_interviews_video",
"media": "--8 1994 documentary by Sidsel Mundal_for Norwegian Telev.m4v"
},
{
- "title": "",
+ "title": "Television Documentary",
+ "details": "Polish Television, 1995",
"parent_dir": "documentaries_interviews_video",
"media": "--9 Meredith Monk - Polish Television Documentary (1995).m4v"
},
{
- "title": "",
+ "title": "Inner Voice",
+ "details": "",
"parent_dir": "documentaries_interviews_video",
"media": "-12 MeredithMonk_Inner Voice.m4v"
},
{
- "title": "",
+ "title": "Lecutre Performance",
+ "details": "Bennington College, 11 March 2011",
"parent_dir": "documentaries_interviews_video",
"media": "-13 Bennington College lecture performance 3.11.11.m4v"
},
@@ -79,4 +89,4 @@
"parent_dir": "documentaries_interviews_video",
"media": "-19 Coffee and Composition with Meredith Monk_2021.m4v"
}
-]
\ No newline at end of file
+]
diff --git a/public/data/music_sound_ecm.json b/public/data/music_sound_ecm.json
index ef4c5da..e5f9fa1 100644
--- a/public/data/music_sound_ecm.json
+++ b/public/data/music_sound_ecm.json
@@ -1,6 +1,7 @@
[
{
- "title": "",
+ "title": "Dolmen Music",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-43 Dolmen Music",
"album": true,
@@ -13,7 +14,8 @@
]
},
{
- "title": "",
+ "title": "Turtle Dreams",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-44 Turtle Dreams",
"album": true,
@@ -26,7 +28,8 @@
]
},
{
- "title": "",
+ "title": "Do You Be",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-45 Do You Be",
"album": true,
@@ -46,7 +49,8 @@
]
},
{
- "title": "",
+ "title": "Book of Days",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-46 Book of Days",
"album": true,
@@ -68,7 +72,8 @@
]
},
{
- "title": "",
+ "title": "Facing North",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-47 Facing North",
"album": true,
@@ -90,7 +95,8 @@
]
},
{
- "title": "",
+ "title": "Atlas",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-48 ATLAS an opera in three parts 2-CD album",
"album": true,
@@ -123,7 +129,8 @@
]
},
{
- "title": "",
+ "title": "Volcano Songs",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-49 Volcano Songs",
"album": true,
@@ -145,7 +152,8 @@
]
},
{
- "title": "",
+ "title": "Mercy",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-50 mercy",
"album": true,
@@ -167,7 +175,8 @@
]
},
{
- "title": "",
+ "title": "Impermenance",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-51 impermanance",
"album": true,
@@ -191,7 +200,8 @@
]
},
{
- "title": "",
+ "title": "Songs of Ascension",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-52 Songs of Ascension",
"album": true,
@@ -220,7 +230,8 @@
]
},
{
- "title": "",
+ "title": "Piano Songs",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-53 Piano Songs",
"album": true,
@@ -240,7 +251,8 @@
]
},
{
- "title": "",
+ "title": "On Behalf of Nature",
+ "details": "",
"parent_dir": "music_sound_ecm",
"media": "-54 On Behalf of Nature",
"album": true,
@@ -266,4 +278,4 @@
"-54-19 Monk_ Spider Web Anthem.mp3"
]
}
-]
\ No newline at end of file
+]
diff --git a/public/data/music_sound_various.json b/public/data/music_sound_various.json
index 449063d..d5581c0 100644
--- a/public/data/music_sound_various.json
+++ b/public/data/music_sound_various.json
@@ -1,4 +1,45 @@
[
+ {
+ "title": "",
+ "parent_dir": "music_sound_various",
+ "media": "MONK MIX Remixes and Interpretations of Music by Meredith Monk CD1",
+ "album": true,
+ "tracks": [
+ "01 Gotham Lullaby (Featuring Björk With The Brodsky Quartet).mp3",
+ "02 Caldera Chimera (Featuring Gabriel Prokofiev Remix).mp3",
+ "03 Click Song #1 (Featuring Don Byron).mp3",
+ "04 Double Fiesta (Featuring Meredith Monk & Bang On A Can).mp3",
+ "05 Astronaut Anthem (Featuring Sakamoto Remix).mp3",
+ "06 Shaking (Featuring Lukas Ligeti) [Pyrolator Remix].mp3",
+ "07 Last Song (Featuring Caetano Veloso).mp3",
+ "08 Fat Stream (Featuring Nico_s Piano Homage).mp3",
+ "09 Wheel (Featuring John Hollenbeck & Theo Bleckmann).mp3",
+ "10 Scared Song (Featuring Pamela Z).mp3",
+ "11 Boat Song (Featuring Rubin Kodheli).mp3",
+ "12 Gathering (Featuring Lee Ranaldo Remix).mp3",
+ "13 Evening (Featuring Henry Grimes Remix).mp3"
+ ]
+ },
+ {
+ "title": "",
+ "parent_dir": "music_sound_various",
+ "media": "MONK MIX Remixes and Interpretations of Music by Meredith Monk CD2",
+ "album": true,
+ "tracks": [
+ "01 Dawn (feat. Dj Spooky Remix).mp3",
+ "02 Rain (feat. Vijay Iyer Revelation Mix Featuring Latasha N. Nevada Diggs).mp3",
+ "03 Atlas Ascending (feat. Todd Reynolds Remix).mp3",
+ "04 Epic (feat. Dj Rekha & Raj Star Remix).mp3",
+ "05 Memory Song (feat. Miho Hatori Remix).mp3",
+ "06 Travellers (feat. King Britt Idm Mix).mp3",
+ "07 Night Vs. Lullaby (feat. Matt Marks Remix).mp3",
+ "08 Double Fiesta (feat. Arto Lindsay Remix).mp3",
+ "09 Long Shadows (feat. Scanner Entwine Mix).mp3",
+ "10 Dolmen Music, Part 1 (feat. Shodekeh's Embody & Continuums Remix).mp3",
+ "11 Braid (feat. High Priest _ Hprizm Ghostlover Remix).mp3",
+ "12 Vocal_ Mill Feuille (feat. Sussan Deyhim Remix).mp3"
+ ]
+ },
{
"title": "",
"parent_dir": "music_sound_various",
@@ -79,16 +120,6 @@
"_58_09 Double Fiesta.mp3"
]
},
- {
- "title": "",
- "parent_dir": "music_sound_various",
- "media": "_59 MONK MIX Remixes and Interpretations of Music by Meredith Monk 2-CD",
- "album": true,
- "tracks": [
- "MONK MIX CD1",
- "MONK MIX CD2"
- ]
- },
{
"title": "",
"parent_dir": "music_sound_various",
diff --git a/scripts/files2json.js b/scripts/files2json.js
index 4d1c55f..504d418 100644
--- a/scripts/files2json.js
+++ b/scripts/files2json.js
@@ -6,6 +6,8 @@ async function main() {
let mediaDir = ''
let outputDir = ''
let recurse = false
+ let imagesOnly = false
+ let dryRun = false
// get command line arguments
process.argv.forEach(function (val, index) {
@@ -15,6 +17,14 @@ async function main() {
mediaDir = process.argv[index + 1] || ''
}
+ if (val == '--dry-run') {
+ dryRun = true
+ }
+
+ if (val == '--images') {
+ imagesOnly = true
+ }
+
if (val == '-r' || val == '-R') {
recurse = true
}
@@ -30,8 +40,18 @@ async function main() {
return 0
}
+ // variable to hold media
+ let media = []
+ let images = []
+
// read directory
- const media = await fs.readdir(mediaDir)
+ const dirList = await fs.readdir(mediaDir)
+
+ if (!recurse) {
+ media = dirList.filter(i => i.match(/.(mp\d|m\d\w)$/i))
+ images = dirList.filter(i => i.match(/.(jp\w*g|png)$/i))
+ }
+
// clean up directory for json
let parent_dir = mediaDir
@@ -42,12 +62,14 @@ async function main() {
outputDir = '.'
}
- const obj = await Promise.all(media.map(async m => {
+ const obj = await Promise.all(media.map(async (m, i) => {
const _r = {
title: '',
+ details: '',
parent_dir,
media: m,
+ image: images[i],
}
if (recurse) {
@@ -63,7 +85,12 @@ async function main() {
const json = JSON.stringify(obj, null, 2)
let output = `${parent_dir}.json`
- fs.writeFile(path.join(outputDir, output), json)
+
+ if (dryRun) {
+ console.log(json)
+ } else {
+ fs.writeFile(path.join(outputDir, output), json)
+ }
}
diff --git a/src/api/Router.js b/src/api/Router.js
index 24ec7eb..0f03e55 100644
--- a/src/api/Router.js
+++ b/src/api/Router.js
@@ -107,7 +107,7 @@ export default new Router({
plugins: [
lazy(() => import('../views/videos.js'))
],
- render: () => html`