When the boss talks… :-)
Indeed it seems easier as @Sean proposed if you use his new MMM-Spotify module. (Which I will try soon also).
I’ve learnt one more thing myself.
Thanks.
Read the statement by Michael Teeuw here.
Posts
-
RE: Would this be possible?
-
RE: Would this be possible?
Hi,
I believe you can do it with MMM-NotificationTrigger and MMM-RemoteControl.
i.e :
When Spotify stops, send notification “SPOTIFY STOP”. (within Spotify module)When “SPOTIFY STOP” is received by MMM-NotificationTrigger, send “HIDE MODULE Spotify” to MMM-RemoteControl.
Of course, code is not correctly written, but that’s how I would do it. MMM-NotificationTrigger and MMM-RemoteControl are pretty easy to use.
FYI, I’m already doing that with news / compliments modules. When news article is made bigger by the “Article_more-details” notification, then the compliment module is hidden.
Once “article-less-details” is triggered, then the compliment module is shown again.Regards
-
RE: Default Calendar // Help in tweaking the dateheaders mode
@sdetweil
Thanks for your support, works fine!Last thing :
i.e : we are on March 11th.
fulldayevent starts on March 9th and finishes on 13th
Thanks to you, the event only starts to show on 11th.
Unfortunatly, it “only” shows on 11th. not on 12 and 13th.Looking at how the dateheaders part is written, I believe it’s impossible, correct? (as the event display date is only based on one dateasstring…)
-
RE: Flick Large gesture control
@Radu_Stancu
Hi,Did you considered using (and maybe tweaking a bit) the MMM-GroveGestures module and “only” replace the Grove Gesture Sensor (PAJ7620u2) by the Flick one?
It’s maybe a bit “basic thinking” from me but the MMM-GroveGestures plugin is really working great and both sensor seems to be based on the same working method / supplier / …
So maybe worth to consider it, don’t you think?(would eb great for me at least, as I’m using MMM-GroveGestures and I’m interested into switching to the flick one).
Regards
-
RE: Default Calendar // Help in tweaking the dateheaders mode
hi Sam @sdetweil
I’ve tried following but I believe this is not the way to do it.
It seems I can’t figure out how the dateheaders mode is working…I “only” want that fulldayevents which started earlier than today stops to be displayed in earlier dates and only starts today…
for (var e in events) { var event = events[e]; var dateAsString = moment(event.startDate, "x").format(this.config.dateFormat); var dateAsString2 = moment(now, "x").format(this.config.dateFormat); if(this.config.timeFormat === "dateheaders"){ if(lastSeenDate !== dateAsString){ var dateRow = document.createElement("tr"); dateRow.className = "normal"; var dateCell = document.createElement("td"); dateCell.colSpan = "3"; if (event.fullDayEvent) { dateCell.innerHTML = dateAsString2; } else { date.Cell.innerHTML = dateAsString; } dateRow.appendChild(dateCell); wrapper.appendChild(dateRow); if (e >= startFade) { //fading currentFadeStep = e - startFade; dateRow.style.opacity = 1 - (1 / fadeSteps * currentFadeStep); } lastSeenDate = dateAsString; } }
Don’t you think that it’s maybe something to be added in line 449?
-
RE: Default Calendar // Help in tweaking the dateheaders mode
Thanks @sdetweil
I will try that.
Nevertheless, it seems strange … because from my understading, everything which is between line 264 and 364 seems to be linked to “not dateheaders” format. -
Default Calendar // Help in tweaking the dateheaders mode
Hi,
When I’m in dateheaders mode, the fulldayevents are always displayed on the start date.
I would like it to be displayed starting today’s date even if the fulldayevent started days before.
i.e : I’ve a fulldayevent which started on March 6th and finishes tomorrow.
In the dateheaders view, event is displayed on March 6th date. Which I don’t want.
What I would like is to see it in today’s + tomorrow’s header.I’ve already tried to modify calendar.js line 258 in several ways but don’t manage to get it done. (maybe it’s even not the right line to modify…)
Would appreciate if someone could help me in this! Thanks already.
-
RE: MMM-CalendarExt2 not showing icons in calendar
Hi,@Sean @sworrs
did you solve your icon issue?
Mine are not showing neither…Several calendars, all not showing the icons. Strange… -
RE: MM Error - .AppleDouble and UnhandledPromiseRejectionWarning
@lavolp3 :-)
Let’s see what will happen to mine then!! But to be honest, I’m also afraid that this is the kind of things which is never really “finished”…
Who cares…As soon as we enjoy??
(the issue then becomes the quantity of unfinished things…)