sthuber90 / mmm-amazon-photos Goto Github PK
View Code? Open in Web Editor NEWMagic Mirror Module to get Amazon Photos as background images
Magic Mirror Module to get Amazon Photos as background images
Providing a template/example of the configuration would be helpful. I tried pasting the URL but not sure if I'm using the right format.
Below is how I used it in my config file, but no photos are loading.
module: 'mmm-amazon-photos',
// position is important
position: 'fullscreen_below',
config: {
imageUrls:"https://www.amazon.com/photos/shared/XXXXX",
backgroundSize: 'contain',
slideshowSpeed: 30000, //milliseconds
// see below for configurable options
},
},
Swipe, Click-drag-right or left arrow key should show previous image. Keeping only the reference of the last image is enough for the beginning. Ideally, we could scroll through the last x images.
At the moment, the module shows the image location as geo data in the format N/S/E/W-hour-minutes-seconds. This can be translated to latitude and longitude. The idea is to call a geo location API that will return an address, street name, city name, country to show instead of just the values.
Currently a black screen is shown until the image has been loaded. If there exists an image locally it should be shown instead of the black screen. Also, the local image should be shown if loading a new image fails
Allow to configure to show images in order or in random order. Ordered images will show all images from one album before continuing to the next album. Random order will load the next image in line from a random album from the list
Click/Tap should show additional image metadata on screen, while hiding all other overlay modules. Information to show can contain:
Only data that is available should be shown, if data is missing it isn't shown, not even with a placeholder
Add, extend tests and automatically run tests on each push to GitHub through GitHub actions
At the moment an image always fills the screen. It should be configurable to cover the background or fit in the image into the background i.e. portrait pictures in landscape mode should fit in window and leave black bars on each side. Also, panorama pictures never actually fit in the screen, so maybe the aspect ratio can be used to fit the pictures into the screen
Errors are very verbose and not easy to debug. Needs improvement
Click/Tap on MagicMirror should hide all other modules and show only the image without any gradients on top and bottom, just like a digital picture frame would do it.
A flag in the config could be used to enable additional features if inputs are possible i.e. through touch screen.
Hi There,
The module does not seem to want to slide show pictures in my shared album....
This is my config:
{ module: 'mmm-amazon-photos', // position is important position: 'fullscreen_below', config: { slideshowSpeed: 60 * 60 * 1000, imageUrls: ['https://www.amazon.co.uk/photos/share/xxxxxx'] // see below for configurable options }, },
Any help would be greatly appreciated!
Many thanks in advance
KD
Swipe, Click-drag-left, or right arrow key forces loading of the next image.
I am trying to use this module to display my photos in one section of the screen (similar to other modules) rather than as the background. I've tried manipulating position, background size, and background position, but I haven't gotten anything to work. Is this possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.