Indeed - having the same issue.
i connected my spotify account to google home. And when you ask google home to play some music. it’s considered like an another account.
Read the statement by Michael Teeuw here.
Posts
-
RE: [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song
-
RE: MMM-ProfileSwitche - icone not working after update
Hey everyone,
It’s solved \o/
somehow the @fortawesome wasnt created.
i downloaded font awesome and recreated the symbolic linkln -s \home\pi\fontawesome @fortawesome fixed everything
@MichMich
i saw you had an open issue with the exact same error message
https://github.com/MichMich/MagicMirror/issues/1597so i put that here :-)
fijne avond
-
MMM-ProfileSwitche - icone not working after update
Re: [MMM-ProfileSwitcher](A Profile/User/Layout Switching Module)
Hello everyone,
this module doesnt show the icon anymore. i followed all the post here about the font awesome issue. npm install etc etc but still ;-/ any idea ?
i checked and it seems that the code is correct.
getStyles: function() {
return [“font-awesome.css”, this.file(‘MMM-TouchNavigation.css’)];
}, -
RE: MMM-Hue-Lights - new module for your Philips Hue lights!
Amazing job !!
did you plan to make your module tactile ready :-p
-
RE: [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song
@raywo
control the volume, play pause next previous and maybe the playlist content ?every morning I changing my playlist on my phone and this is my ultimate goal to have it in the screen :-)
-
RE: [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song
Thanks!!! just amazing.
Any chance you work on an version for touch screen @Raywo? -
RE: MMM-Todoist - Your todoist tasks on your mirror
This is my code
it’s based on 2 users (i badly commented the code)/* Magic Mirror * Fetcher * * * By Michael Teeuw http://michaelteeuw.nl edited for Wunderlist by Paul-Vincent Roll * Edited again for Todoist by Chris Brooker * * MIT Licensed. */ var request = require("request"); /* Fetcher * Responsible for requesting an update on the set interval and broadcasting the data. * * attribute listID string - ID of the Wunderlist list. * attribute reloadInterval number - Reload interval in milliseconds. */ function dateDiff(date1, date2){ var diff = {} // Initialisation du retour var tmp = date2 - date1; tmp = Math.floor(tmp/1000); // Nombre de secondes entre les 2 dates diff.sec = tmp % 60; // Extraction du nombre de secondes tmp = Math.floor((tmp-diff.sec)/60); // Nombre de minutes (partie entière) diff.min = tmp % 60; // Extraction du nombre de minutes tmp = Math.floor((tmp-diff.min)/60); // Nombre d'heures (entières) diff.hour = tmp % 24; // Extraction du nombre d'heures tmp = Math.floor((tmp-diff.hour)/24); // Nombre de jours restants diff.day = tmp; return diff; } var Fetcher = function(listID, reloadInterval, accessToken, clientID) { var self = this; if (reloadInterval < 1000) { reloadInterval = 1000; } var reloadTimer = null; var items = []; var fetchFailedCallback = function() {}; var itemsReceivedCallback = function() {}; /* private methods */ /* fetchTodos() * Request the new items. */ var fetchTodos = function() { clearTimeout(reloadTimer); reloadTimer = null; request({ url: "https://todoist.com/API/v7/sync/", method: "POST", headers: { 'content-type': 'application/x-www-form-urlencoded', 'cache-control': 'no-cache' }, form: { token: accessToken, sync_token: '*', resource_types: '["items"]' } }, function(error, response, body) { if (!error && response.statusCode == 200) { items = []; for (var i = 0; i < JSON.parse(body).items.length; i++) { if (JSON.parse(body).items[i].project_id == listID) { donneetableau = JSON.parse(body).items[i]; onbalance = []; icontodo = []; assignedname = []; datedueretour = []; contentretour = []; assignedtodoname = []; checkedretour = []; if (donneetableau.priority == '1') {icontodo ='<i></i> '} else if (donneetableau.priority == '2') {icontodo ='<i></i> '} else if (donneetableau.priority == '3') {icontodo ='<i></i> '} else {icontodo ='<i></i> '} if (donneetableau.assigned_by_uid == 'XXXXXXXX') {assignedname ='(XXXXX)'}//TEST first XXX UID second XXXX yourname else if (donneetableau.assigned_by_uid == 'XXXXXXX') {assignedname ='(XXXXXX)'}//TEST first XXX UID second XXXX yourname else {assignedname ='Inconnu'}; if (donneetableau.due_date_utc) { date1 = new Date(); date2 = new Date(donneetableau.due_date_utc); diff = dateDiff(date1, date2); if (diff.day = '1') {datedueretour += diff.day + 'd <i></i> ';} else if (diff.hour >= '1') {datedueretour += diff.hour + 'h <i></i> ';} else {datedueretour += diff.min + 'min <i></i> ';}; } else {datedueretour =''}; contentretour = donneetableau.content; if (donneetableau.responsible_uid ) { if (donneetableau.responsible_uid == 'XXXXXXX') { assignedtodoname ='<i></i> ' } ////YOUR UID USER else if (donneetableau.responsible_uid == 'XXXXXXX') {assignedtodoname ='<i></i> '} else {assignedtodoname ='Inconnu'}; // YOUR UID USER } else { assignedtodoname ='' }; checkedretour = donneetableau.checked; onbalance +=assignedtodoname + icontodo + datedueretour + contentretour; items.push(onbalance); //items.split('\n'); //priority.push(JSON.parse(body).priority[i].priority); //datedue.push(JSON.parse(body).datedue[i].due_date_utc); } } self.broadcastItems(); scheduleTimer(); } }); }; /* scheduleTimer() * Schedule the timer for the next update. */ var scheduleTimer = function() { //console.log('Schedule update timer.'); clearTimeout(reloadTimer); reloadTimer = setTimeout(function() { fetchTodos(); }, reloadInterval); }; /* public methods */ /* setReloadInterval() * Update the reload interval, but only if we need to increase the speed. * * attribute interval number - Interval for the update in milliseconds. */ this.setReloadInterval = function(interval) { if (interval > 1000 && interval < reloadInterval) { reloadInterval = interval; } }; /* startFetch() * Initiate fetchTodos(); */ this.startFetch = function() { fetchTodos(); }; /* broadcastItems() * Broadcast the exsisting items. */ this.broadcastItems = function() { if (items.length
-
RE: MMM-Todoist - adding reminder priority owner
Hello
see here - i’m on holiday. Send that as soon as i’m back
https://forum.magicmirror.builders/topic/566/mmm-todoist-your-todoist-tasks-on-your-mirror/59?page=6
-
RE: MMM-Todoist - Your todoist tasks on your mirror
@djsunrise19 Hello
i’m on holiday. Can send you the files when i’m back. you need to change the fetcher indeed.
Have a nice day