diff --git a/motherearthradio/index.js b/motherearthradio/index.js index d24ebcf7..127b337f 100644 --- a/motherearthradio/index.js +++ b/motherearthradio/index.js @@ -215,7 +215,9 @@ motherearthradio.prototype.clearAddPlayTrack = function (track) { } else if (track.uri.includes("instrumental")) { channelMix = "Instrumental"; metadataUrl = "https://motherearth.streamserver24.com/api/nowplaying/motherearth_instrumental"; - + } else if (track.uri.includes("jazz")) { + channelMix = "Jazz"; + metadataUrl = "https://motherearth.streamserver24.com/api/nowplaying/motherearth_jazz"; } var songs; @@ -320,7 +322,7 @@ motherearthradio.prototype.explodeUri = function (uri) { if (self.timer) { self.timer.clear(); } - if (channel <= 2) { + if (channel <= 3) { // FLAC option chosen response.push({ service: self.serviceName, @@ -437,8 +439,6 @@ motherearthradio.prototype.pushSongState = function (metadata) { title: metadata.now_playing.song.title, artist: metadata.now_playing.song.artist, album: metadata.now_playing.song.album, -// year: metadata.now_playing.song.year, -// genre: metadata.now_playing.song.genre, streaming: true, disableUiControls: true, duration: metadata.now_playing.remaining, diff --git a/motherearthradio/package.json b/motherearthradio/package.json index 102bd110..5301ce91 100644 --- a/motherearthradio/package.json +++ b/motherearthradio/package.json @@ -1,6 +1,6 @@ { "name": "motherearthradio", - "version": "1.1.1", + "version": "1.2.1", "description": "Hi Res Audio and Vinyl streaming", "main": "index.js", "scripts": { @@ -22,7 +22,7 @@ "buster" ], "details": "Mother Earth Radio is a free HD music station without advertising. Best audio quality, selected tracks, audiophile only. Stream now!", - "changelog": "1.1 enabled https streaming, fixed Instrumental channel AAC erroneously playing FLAC stream 1.1.1 fixed URL error" + "changelog": "2.1 added Mother Earth Jazz channel" }, "engines": { "node": ">=8", diff --git a/motherearthradio/radio_stations.json b/motherearthradio/radio_stations.json index dc0438a3..8e30eb5d 100644 --- a/motherearthradio/radio_stations.json +++ b/motherearthradio/radio_stations.json @@ -31,19 +31,29 @@ "url": "https://motherearth.streamserver24.com/listen/motherearth_instrumental/motherearth.instrumental" }, { - "title": "Mother Earth Radio (mp4)", + "title": "Mother Earth Jazz (flac)", "uri": "webmer/3", - "url": "https://motherearth.streamserver24.com/listen/motherearth/motherearth.aac" + "url": "https://motherearth.streamserver24.com/listen/motherearth_jazz/motherearth.jazz" }, { - "title": "Mother Earth Klassik (mp4)", + "title": "Mother Earth Radio (aac)", "uri": "webmer/4", - "url": "https://motherearth.streamserver24.com/listen/motherearth_klassik/motherearth.klassik.aac" + "url": "https://motherearth.streamserver24.com/listen/motherearth/motherearth.aac" }, { - "title": "Mother Earth Instrumental (mp4)", + "title": "Mother Earth Klassik (aac)", "uri": "webmer/5", + "url": "https://motherearth.streamserver24.com/listen/motherearth_klassik/motherearth.klassik.aac" + }, + { + "title": "Mother Earth Instrumental (aac)", + "uri": "webmer/6", "url": "https://motherearth.streamserver24.com/listen/motherearth_instrumental/motherearth.instrumental.aac" + }, + { + "title": "Mother Earth Jazz (aac)", + "uri": "webmer/7", + "url": "https://motherearth.streamserver24.com/listen/motherearth_jazz/motherearth.jazz.mp4" } ] }