Skip to content

add image slide show update#15

Open
itsASpicyMeatball wants to merge 2 commits into
mykle1:masterfrom
itsASpicyMeatball:add-image-slide-show-update
Open

add image slide show update#15
itsASpicyMeatball wants to merge 2 commits into
mykle1:masterfrom
itsASpicyMeatball:add-image-slide-show-update

Conversation

@itsASpicyMeatball
Copy link
Copy Markdown

In this PR i've added code that will allow the module to be a slide show. I've done this by turning the ownImagePath configuration into an array and added a new configuration value of currentImg that defaults to a values of 0. I've also update the code to clear the interval if it's not being used aka there is no slide show. Last thing is updating the code to remove redundancies.

@collincusce
Copy link
Copy Markdown

consider this @mykle1

@dennisklad
Copy link
Copy Markdown

Hi! Thanks for the code, it worked great.

I decided to improve this by adding more functionality. In my PR #17 MagicMirror selectes a random image from list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants