Extented Spotify module is not configured in config.js
-
hi, I’m trying to get Spotify working from Magicmirror itself in GA v3 but when I try and make a token I get this error “Extented Spotify module is not configured in config.js”
do I still need A2D as a module? do I need a Spotify module as well? is my config ok?/* Magic Mirror Config Sample
*- By Michael Teeuw https://michaelteeuw.nl
- MIT Licensed.
- For more information on how you can configure this file
- See https://github.com/MichMich/MagicMirror#configuration
*/
var config = {
address: “localhost”,
electronOptions: { // Address to listen on, can be:
webPreferences: { // - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
webviewTag: true, // - another specific IPv4/6 to listen on a specific interface
} // - “0.0.0.0”, “::” to listen on any interface
}, // Default, when address config is left out or empty, is “localhost”
port: 8080,
basePath: “/”, // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a /
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "en", locale: "en-US", logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 24, units: "metric", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" } ] } }, { module: "compliments", position: "lower_third" }, { module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "New York", locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "YOUR_OPENWEATHER_API_KEY" } }, { module: "weather", position: "top_right", header: "Weather Forecast", config: { weatherProvider: "openweathermap", type: "forecast", location: "New York", locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "YOUR_OPENWEATHER_API_KEY" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, { module: "MMM-GoogleAssistant", position: "top_left", configDeepMerge: true, config: { debug: false, assistantConfig: { lang: "en-AU", latitude: -35.30016, longitude: 148.22505, }, responseConfig: { useFullscreen: false, useResponseOutput: true, responseOutputCSS: "response_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, confirmationChime: true, useInformations: true }, chimes: { beep: "beep.mp3", error: "error.mp3", continue: "continue.mp3", confirmation: "confirmation.mp3", open: "Google_beep_open.mp3", close: "Google_beep_close.mp3", warning: "warning.ogg" }, imgStatus: { hook: "hook.gif", standby: "standby.gif", reply: "reply.gif", error: "error.gif", think: "think.gif", continue: "continue.gif", listen: "listen.gif", confirmation: "confirmation.gif", information: "information.gif", warning: "warning.gif", userError: "userError.gif" }, zoom: {} }, micConfig: { recorder: "arecord", device: "plughw:2",}, Extented: { useEXT: true, deviceName: "MagicMirror", stopCommand: "stop", }, youtube: { useYoutube: true, youtubeCommand: "youtube", displayResponse: true, useVLC: true, minVolume: 30, maxVolume: 100 }, links: { useLinks: true, displayDelay: 60 * 1000, scrollStep: 25, scrollInterval: 1000, scrollStart: 5000, scrollActivate: false, verbose: false }, photos: { usePhotos: true, useGooglePhotosAPI: true, displayType: "none", displayDelay: 10 * 1000, albums: [], sort: "new", hiResolution: true, timeFormat: "DD/MM/YYYY HH:mm", moduleHeight: 300, moduleWidth: 300, }, volume: { useVolume: false, volumePreset: "ALSA", myScript: null }, welcome: {}, screen: { useScreen: true, animateBody: true, delay: 5 * 60 * 1000, turnOffDisplay: true, mode: 1, ecoMode: true, delayed: 0, displayCounter: true, displayBar: true, displayStyle: "Text", detectorSleeping: false, governorSleeping: false, displayLastPresence: true }, touch: {}, pir: {}, governor: { useGovernor: false, useCallback: true, sleeping: "powersave", working: "ondemand" }, internet: { useInternet: true, displayPing: false, delay: 2* 60 * 1000, scan: "google.fr", command: "pm2 restart 0", showAlert: true, needRestart: false }, cast: { useCast: true, port: 8569 }, spotify: { useSpotify: true, visual: { updateInterval: 1000, idleInterval: 10000, useBottomBar: true, CLIENT_ID: "xxxxxxxxxxxxxxx", CLIENT_SECRET: "xxxxxxxxxxxxxxxx", }, player: { type: "Librespot", email: "xxxxxxxxx", password: "xxxxxxxx", minVolume: 10, maxVolume: 90, usePause: true }, }, recipes: ["ExtSpotify.js",], NPMCheck: {} }, { module: 'MMM-Snowboy', configDeepMerge: true, config: { debug: false, autoStart: true, micConfig: { recorder: "arecord", device: "plughw:2", audioGain: 2.0, applyFrontend: true, }, detectors: [ { Model: "alexa", Sensitivity: null, onDetected: { notification: "ALEXA_ACTIVATE", parameters: null } }, { Model: "jarvis", Sensitivity: null, onDetected: { notification: "GA_ACTIVATE", parameters: null } } ] } }, ]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;} -
hi; use template config of the wiki for create config
actually your spotify module is not inside Extented field (like youtube, links, screen, etc…)
you have make: config: { assistantConfig :{} responseConfig :{} ... Extented: {} youtube :{} ... spotify: {} ... }
and should be:
you have make: config: { assistantConfig :{} responseConfig :{} ... Extented: { youtube :{} ... spotify: {} } ... }
that why you have
Extented Spotify module is not configured in config.js
error.
that why you ust use template