Comments (14)
@gpetersen
Everthing seems to work perfectly on my side.
Notifications (Next, Play, Pause) works well.
Seems the timer issue is definetly solved.
What to say?? Works life a charm, thank you very much.
Let's get that PR into the original branch so that everybody can enjoy your work!!
from mmm-backgroundslideshow.
don't know what happened...I tried several time again, and worked each time...
Anyway, one more thanks for the module, it rocks.
from mmm-backgroundslideshow.
Hello Darik I have PIR sensor and it's working great with my magic mirror it's open the HDMI screen but this is not the issue that the problem is I want when it's open the screen HDMI to start to play the picture then when the screen it's off to put in in pause mode.
Another one question if you have from the keyboard to press to put the play mode and the pause mode.
Thank you
from mmm-backgroundslideshow.
I've been working on a fork to do something similar. E.g. right now the code will also refresh any time the module's .resume function is called, which means for modules like MMM-Carousel, the image changes every time the slide changes. I've submitted a change to fix that behavior. Wouldn't be too difficult to incorporate this as well. What would you like the notifications to look like? Something like:
BACKGROUNDSLIDESHOW_PAUSE
BACKGROUNDSLIDESHOW_PLAY
Any need to change the slideshow timer interval?
from mmm-backgroundslideshow.
@gpetersen Hi,
Implementation of
BACKGROUNDSLIDESHOW_PAUSE (stop refresh / rotation)
BACKGROUNDSLIDESHOW_PLAY (resume)
BACKGROUNDSLIDESHOW_PRV (go to next image)
BACKGROUNDSLIDESHOW_NXT (got to previous image)
BACKGROUNDSLIDESHOW_SHOW EXIF (I just noticed your other module called "Exif", should be great to have both integrated)
Would be perfect indeed. (I will look at your fork for my information)
Having an option to change the timer interval within config.js would beperfect also!
By the way, do you experience some issues with lagging or timer stability ? In some case, 4 or 5 different images are displayed wihtin 10seconds, sometimes one image during 30s, Strange...
from mmm-backgroundslideshow.
Play, Pause, Next should be easy and I'll post an update after I finish working on EXIF. So far it's working and I'm pretty happy with it. PREV is harder since they're random and it's not yet retaining history so far as I can tell, not impossible, but would take some thought.
To answer your original question: I used to have the timer issues until I moved the refresh outside of the .resume function. I haven't seen problems since.
from mmm-backgroundslideshow.
@gpetersen
Ok. Play / pause is.priority for me. Previous could be cherry on the cake.
I will try your fork to check timer improvement!
(FYI my picture library is an remote NFS folder, maybe it can explain the lagging issue).
Keep me posted for the updates!!
from mmm-backgroundslideshow.
@bolish
My changes are posted, I also found the bug in the timer/multiple refresh issues. The problem was there were some conditions where there were multiple timers running, and this could create the situation where the images changed quickly. While implementing the Play/Pause/Next I fixed that. Tested so far on my end.
There's two modules. I haven't actually run it on Linux yet, just on my setup that runs on Windows, so there may be some issues.
https://github.com/gpetersen/MMM-BackgroundSlideshow is my fork of the BackgroundSlideshow with the new functionality, and in addition it will also send a notification when the image is updated to allow my second module: https://github.com/gpetersen/MMM-BackgroundSlideshowInfo to know the image has changed and to get the image metadata and show it.
Please test them out and submit any bugs over there. If they work well I'll request a Pull from @darickc .
from mmm-backgroundslideshow.
Thanks for working on this. I have seen the timer issue also, glad you got it fixed. I'm also glad that others have found this module useful.
from mmm-backgroundslideshow.
No problem. This module fit 80% of what I needed for my "MagicPictureFrame", but wanted a couple more features on top, a good learning exercise. Will look into other options like "PREV" in the future, but wanted to get the easy ones out sooner than later.
from mmm-backgroundslideshow.
@gpetersen @darickc
Sorry to bother again guys.
Is it normal that the module is not able to pick into subfolders?
I'm targeting the module to folder A which does only contain subfolders. Pictures are in those subfolders.
When I do that, module is not showing any picture.
I can only get it do work when pictures are at folder A root.
Strange or normal?
recursiveSubDirectories: true,......
Sorry guys...
from mmm-backgroundslideshow.
recursiveSubDirectories: true,
Should be all you need.. I have some pretty deep subdirectory trees and it works well on my system, definitely not normal.
Is the recursiveSubDirectories within the βconfigβ section of your module config? Right next to the imagePaths:
from mmm-backgroundslideshow.
Guys, I have a new feature idea...
Maybe @gpetersen is already managing that as your project is a picture frame...
How do you manage pictures which are not in the right format (let's say your screen is portrait, and the image to display landscape)?
I believe you're using "contain" instead of "cover".
What do you think about a third mode which could be ':
- Use "cover" but have some movement during the slideshowspeed that will move slowly the picture?
ie : screen is portrait. picture is landscape. Setting is "cover". The image height = screen height but the movement (starting from left edge) will slowly bring the picture to the right side edge.
from mmm-backgroundslideshow.
Good question, my screen is landscape, but you could have the same problem either way. I think for now it meets my needs, but may look into a more dynamic slideshow/collage at some point in the future.
from mmm-backgroundslideshow.
Related Issues (20)
- Using MMM-BackgroundSlideshow with MMM-pages HOT 1
- resizeImages eats RAM HOT 2
- Sending notification to display a single image? HOT 4
- Not Responding to Notifications HOT 3
- nitpicky syntax error in readme
- Image info... But in french??? HOT 2
- Don't repeate until all are used
- Input file filtering (suggestion)
- Pictures original size with blur background
- Image Caption not EXIF Info
- Display in MM position, not fullscreen background. HOT 1
- imageInfo with EXIF IPTC City and Country (proposal)
- Option : recursiveSubDirectories
- best pics HOT 2
- Image folder change function! by MQTT ( Can someone teach me? )
- is there a function to show recent x days pictures only?
- Looking for help / direction - Freezing Right Away HOT 16
- the fade-in is jerky HOT 10
- Picture orientation HOT 8
- where to set unhandled-rejections=strict HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-backgroundslideshow.