Giter VIP home page Giter VIP logo

mmm-dreambox's People

Contributors

ax-led avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mmm-dreambox's Issues

TypeError: Cannot read property 'apibouquet' of undefined

Installed the latest dev branch.
The logs show:
TypeError: Cannot read property 'apibouquet' of undefined

My config.js

{
    module: 'MMM-Dreambox',
    position: 'bottom_left',
    disabled: false,
    header: 'Vu+ Duo²',
    config: {
      //apiBase: 'http://192.168.178.46:80',
      apiBase: 'http://192.168.178.28:80',
      omxargs: ' --genlog --win 320,180,1600,900  -o both ',
      refreshInterval: 1000 * 30, //refresh every 30 seconds
      apibouquet: 0,
      apiRecordingsID: 1,
      listmax: 10
    }
},

pm2 logs:

0|mm  | Starting node helper for: MMM-Dreambox
0|mm  | Whoops! There was an uncaught exception...
0|mm  | TypeError: Cannot read property 'apibouquet' of undefined
0|mm  |     at Request._callback (/home/pi/MagicMirror/modules/MMM-Dreambox/node_helper.js:353:81)
0|mm  |     at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
0|mm  |     at emitTwo (events.js:126:13)
0|mm  |     at Request.emit (events.js:214:7)
0|mm  |     at Request.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1157:10)
0|mm  |     at emitOne (events.js:116:13)
0|mm  |     at Request.emit (events.js:211:7)
0|mm  |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1079:12)
0|mm  |     at Object.onceWrapper (events.js:313:30)
0|mm  |     at emitNone (events.js:111:20)

[Feature Request] - selection of bouquet

Feature Request:

Option in config.js to select a bouquet.

I have 3 bouquets, of which only the Favourites (TV) is listed.
It would be nice to have an option like:

apiBouquet: "MyBouquet (TV)",

Should default to "Favourites (TV)".

[Feature Request] - translations

Feature Request:

Translation files (eq en.json, de.json, nl.json) for module headers.

Examples:
Modell: dm7020hd - derzeit läuft: XXX

Model: dm7020hd - now playing: XXX
Model: dm7020hd - current channel: XXX

Model: dm7020hd - momenteel kanaal: XXX

[Feature Request] - change text services without EPG info

Feature Request:

Services without EPG info show as:

ServiceName - (Invalid date None)

Nicer would be:

ServiceName - ()

or:

ServiceName - (No EPG)

or:

ServiceName - (No EPG available)

I personally would prefer the first, as I have around 10 services that do not have EPG info available.
Or one could add it to a translation file.

[Feature Request] - make zapping possible by using DB-ZAP

One could introduce the notification DB-ZAP in order to stream the next available service.
It will be a combination of DB-SERVICE-NEXT & DB-PLAY.

Other idea that comes to mind is DB-ZAP-FORWARD and DB-ZAP-BACKWARD.
It will be a combination of DB-SERVICE-NEXT & DB-PLAY and DB-SERVICE-PREV and DB-PLAY.

[Feature Request] - X services before and after current service.

Feature Request:

An option in config.js to show X services before and after current active service.
Like:

showServices: 5,

Meaning: show 5 services before the current active service and 5 services after the current active service.

I have 50+ services in my Favourites (TV) bouquet and this takes up a large part of my mirror.

No epg info

Hallo,
why doesn’t it show me the EPG info? Can anybody help me.

noEPGinfo

my config.js

{
	    module: 'MMM-Dreambox',
	    position: 'top_left',
	    disabled: false,
	    header: 'Vu+ UNO4K',
	    config: {
		apiBase: 'http://192.168.3.105:82',
		omxargs: ' --genlog --win 320,180,1600,900  -o both ',
		refreshInterval: 1000 * 15, //refresh every 30 seconds
		apiabout: '/web/about',
		apiservices: '/web/getallservices',
		apiepgnow: '/web/epgnow?bRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet',
		apizap: '/web/zap?sRef=',
		apiTimerlist: '/web/timerlist',
		apiServicelistplayable: '/web/servicelistplayable?sRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet',
		apibouquet: 0, //bouquet, if there is more than one under apiservices (/web/getallservices), important apiepgnow and apiServicelistplayable have to match to the selected bouquet
		listmax: 15,
		}
},

[Feature Request] - get sRef and bRef information from getservices.

Make the config.js easier by using getservices.

Parameters apiepgnow and apiServicelistplayable use complicated bRef and sRef strings.
First of all they seem to be identical and second of all there is a way to get them by using:

http://192.168.178.47/web/getservices

This gives the sRef/bRef for all bouquets.
Example for one bouquet:
1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet

You can convert them by using encodeURI(uri) in JavaScript:

https://www.w3schools.com/jsref/jsref_encodeuri.asp

This gives:

1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet

Just a proposal in order to make it easier for the user to not have to set this parameter him/her-self.

Note that the apibouquet parameter will determine which bouquet will be chosen.

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.