A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • 0 Votes
    1 Posts
    604 Views
    A

    I don’t know whether anyone has already done this, but just wanted to share with you something which I have created.

    So, I have been using the MMM-Wallpaper module and changing up the sources to find some other wallpapers and I found that I liked the firetv source best. I tried reddit sources, but those tended to contain many personal photos and not quality wallpapers. But after a few months, I found that only the same wallpapers were being repeated, so I dug into the code, and found, as of course, many of you perhaps know as well, there is a fixed cache of firetv wallpapers which are cycled through, and even though the list is long, it’s still finite.

    So I started thinking about how can I get more wallpapers for my magic mirror. I knew that there is one custom option in the module which would let me use my own images through a specific folder that I specify in the config. So I started creating a background application that will scrape a wallpaper website, download many wallpapers into a particular location and then, as the config is pointing to that folder, the wallpapers would be new.

    But that would mean that I had to go into my raspberry Pi, run the script manually, perhaps changing the wallpaper genre as well to get new wallpapers. So, I made a basic Android app as well with just a drop-down and a submit button. The app, when started, would query my background application in the pi for the list of genres in the site, and populate them in the drop-down. Then, when I select a genre and click submit, it automatically scrapes that particular genre in the wallpaper site, downloads the wallpapers and in the next refresh cycle, the new wallpapers would appear.

    How do you like my concept?

  • 4 Votes
    2 Posts
    572 Views
    R

    @barlouka

    Following up because it took me a while to figure out.

    https://github.com/kolbyjack/MMM-Wallpaper

    You use the iCloud album id as a config item.

    source: “icloud:”,

    The album id is simply the last bit in your iCloud shared album URL. It will look something like this:

    https://www.icloud.com/sharedalbum/#nUm83r5N13t+3r5

    That’s not a real link, just an example.

    Copy everything to the right of the #, basically nUm83r5N13t+3r5.

    You must use a shared album and you have to set it to Public Website (anyone with the link can view the photos). That will allow you to generate the link. See: https://support.apple.com/en-us/108314

    This is what a basic config will look like.

    modules: [ { module: "MMM-Wallpaper", position: "fullscreen_below", config: { // See "Configuration options" for more information. source: "icloud:nUm83r5N13t+3r5", slideInterval: 60 * 1000 // Change slides every minute } } ]