Skip to content

Bing photo of the day #120

Closed
Closed

Description

@jacobgad

set the background image to change everyday acording to bing picture of the day

here is a link on how to do it:
https://stackoverflow.com/questions/10639914/is-there-a-way-to-get-bings-photo-of-the-day

Activity

  1. nomandera commented on Mar 3, 2018

    @nomandera

    Similar to #69

    Do we need multiple sources or is this just an viable alternative?

  2. jacobgad commented on Mar 3, 2018

    @jacobgad
    Author

    Here is a github page with all the code you will need to get it sorted.
    Please let me know how you go

    https://github.com/grubersjoe/bing-daily-photo/blob/master/README.md

  3. mhbates commented on Mar 13, 2019

    @mhbates

    Has anyone figured out another way of doing this? Is it possible to make a script to pull the image of the day and give to Heimdall somehow?

  4. insanepoet commented on Jul 9, 2019

    @insanepoet

    I use a different provider but i use a bash script on cron to achieve nearly the same effect on a different project. Bash script grabs the photo, removes the old BGPhoto.jpg and mv the new photo to BGPhoto.jpg. Cron calls the script every morning at 0209.

    As long as you have a volume accessible to the Heimdall container you can run it locally and the container will access it from the root or you could setup cron in the container to run the script there. Bash script only requires curl (i mean do you not already have curl installed?)

    Bash Script - https://gist.github.com/insanepoet/cf4074d7aa1a455ff5b0437497f8dd14

    If you want to run it in the container you can read up on how here
    Cron in container info - https://github.com/Ekito/docker-cron

    For a more advanced script (not yet modified the way I have above) that puts the EXIF data in the lower right of the wallpaper, you could look at https://pastebin.com/iSDF10DK but it requires "exiftool" and "imagemagick"

    This can certainly be achieved in php but it all depends on if this is an edge use case or an actual feature that should be implemented. (make sure you make the script executable)

  5. locked and limited conversation to collaborators on Mar 12, 2022
  6. converted this issue into a discussion #690 on Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions