Read the statement by Michael Teeuw here.
Calendar: Hide Duplicate Items
-
Hi all, I’m new here and I’ll preface this by saying I have no prior knowledge or expereince with programming or MagicMirror specifically. I bought a Raspberry Pi specifically to use with Magic Mirror and I want to learn.
My question is: Is it possible to hide duplicates of the same item on the Calendar module, such that it only displays the most recent?
I have some weekly recurring events in my calendar and it fills up my list of upcoming events in the Calendar module very quickly. I don’t want to ignore them all together, I would still like to see the most recent instance of a recurring event, but then ignore any after that.
Is this possible by modifying the Calendar module, and how complicated would it be? Thank you!
-
@jordans so tell me more. I have spent the last 9 months working on calendar reading different ics files and schedules.
the process is collect entries in a list and sort the by start date, then take the first maxEntries and show them
-
@sdetweil Thanks for the reply, Sam. So it would be possible to filter the list by checking if an entry with an identical name already exists, maybe? For instance, I have a weekly recurring reminder of when to put my waste/recycling out…
if (!RecylcingCollection )
{
add to list
} else
{
skip
}Maybe easier if I got a seperate module all together that could just give me a reminder every week on a certain day…
-
@jordans not possible w default calendar
but displaying once a week for a weekly is what calendars do… (even tho u may ignore it in the what chart type view)