Git Product home page Git Product logo

mmm-backgroundslideshowinfo's People

Contributors

cweinhofer avatar gpetersen avatar l-carado avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

erdoukki l-carado

mmm-backgroundslideshowinfo's Issues

Missing module exif

I gave it a quick try under windows, haven't tried on pi yet. I'm sure I've missed something but upon adding this module I am getting error that it is looking for module exif.

no Exif, server IP inserted (with non-default port)

This is a new instance of issue #4

The fix implemented in commit 31c2561 works great if you are using the default port number, but the issues reemerges if you have to use a different port number (like when, for example, 8080 is being used by another program)

If I change the port number in node_helper.js lines 27 & 28 to match my port number, everything works fine.

Error thrown on missing "Model"

if there is no Model included in EXIF data I'm seeing a lot of these in the console:

Uncaught TypeError: Cannot read property 'Model' of undefined
    at Class.extract (MMM-BackgroundSlideshowInfo.js:264)
    at Class.updateView (MMM-BackgroundSlideshowInfo.js:189)
    at Class.socketNotificationReceived (MMM-BackgroundSlideshowInfo.js:275)
    at module.js:246
    at r.<anonymous> (socketclient.js:25)
    at r.emit (index.js:83)
    at r.onevent (index.js:83)
    at r.MMSocket.self.socket.onevent (socketclient.js:19)
    at r.onpacket (index.js:83)
    at r.<anonymous> (index.js:83)
    at r.emit (index.js:83)
    at r.ondecoded (index.js:83)
    at a.<anonymous> (index.js:83)
    at a.r.emit (index.js:83)
    at a.add (index.js:83)
    at r.ondata (index.js:83)
    at r.<anonymous> (index.js:83)
    at r.emit (index.js:83)
    at r.onPacket (index.js:83)
    at r.<anonymous> (index.js:83)
    at r.emit (index.js:83)
    at r.onPacket (index.js:83)
    at r.onData (index.js:83)
    at WebSocket.ws.onmessage (index.js:83)

no Exif, server IP inserted

I put this on my RPi. The images continue to work fine, however no EXIF data is being pulled. Here is example of consol output. For some reason http://0.0.0.0:8080/ is inserted in the link after MM.

[BACKGROUNDSLIDESHOWINFO] GET_EXIF - url: http://0.0.0.0:8080/modules/MMM-BackgroundSlideshow/exampleImages/BARN%20PARTY%20003.JPG
[BACKGROUNDSLIDESHOWINFO] helper loading EXIF data for /home/pi/MagicMirror/http://0.0.0.0:8080/modules/MMM-BackgroundSlideshow/exampleImages/BARN PARTY 003.JPG
Error: Encountered the following error while trying to read given image: Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/http://0.0.0.0:8080/modules/MMM-BackgroundSlideshow/exampleImages/BARN PARTY 003.JPG'

I just noticed you had some comments about this in node_helper. If I insert this line 28: var imageUri = imageUri.replace("http://0.0.0.0:8080/",""); it fixes this issue.

Remove File Extention

Thanks for creating this module. It's a nice addition to MMM-BackgroundSlideshow.

It would be great if there was an option to remove the file extension when displaying the file name.

GPS Data not showing

Hi @gpetersen ,

I don't manage to get GPS data showing in MM...
Would you be so kind and help me?

My config ':

`{

		// 29
		disabled: false,
		module: "MMM-BackgroundSlideshowInfo",
		header: "Picture Info",
		position: 'lower_third',
		config: {
			ignoreFolderNames: ['MagicMirror', 'modules', 'MMM-ImageSlideshow', 'SynoPhoto5Stars'],
			geonameUser: "myusernamewithoutthepassword",
			showGPS: true,
			showGPSFields: ['name','countryCode','adminName1'],
			showCustom: ['exif.FNumber'],
			showFolderNames: true,
			showFileName: false,
			showModel: false,
			
		}
	},`

Also, terminal is showing the following... which means GPS datas from exif are recognized...

[BACKGROUNDSLIDESHOWINFO] Getting Geonames for lat/lng: 49.256195/4.028688333333333

All others datas are showing fine..

Strange, isn't it?

Thanks already,

No delimiter in place names

@rts58 mentioned:
A couple comments so far: Is there a way to insert some type of delimiter in the place names? For now it looks like this: "Veterans Memorial ParkUSNew Hampshire".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.