Read the statement by Michael Teeuw here.
[MMM-Dreambox] to connect a Dreambox or a Enigma2 Receiver (like VU or VU+) to MagicMirror and stream stations via omxplayer
-
Okay, rebooted in order to start fresh.
Now 1 stream.
Looks like one actual omxplayer active:pi@MagicPi:~/MagicMirror/modules $ ps -eaf | grep omxplayer | grep -v grep pi 29320 29185 0 18:39 ? 00:00:00 /bin/sh -c omxplayer --win 0,0,480,320 -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0: pi 29321 29320 0 18:39 ? 00:00:00 /bin/bash /usr/bin/omxplayer --win 0,0,480,320 -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0: pi 29344 29321 10 18:39 ? 00:00:01 /usr/bin/omxplayer.bin --win 0,0,480,320 -o both http://192.168.178.28:8001/1:0:16:177A:C82:3:EB0000:0:0:0:
InfoBarTunerState also states there is one stream.
The will do for today.
Will do some more testing tomorrow.Thanks a lot AxLed for the support so far !!
-
@evroom
Good to hear you had success and thanks for your challenge with more than one bouquet 😂, helped debugging the module.AxLED
-
@AxLed
I have opened 4 feature requests on GitHub.To be honest, my MM is hanging a meter or so away from the TV, so I most probably will not make use of the module.
Navigating through the services list and starting & stopping a stream is not that comfortable
Although it might be practical to see on my MM what is currently playing and I might use it solely as a program guide.Will be available though for some testing.
-
Hi, if the to monitors are close together you can still view 2 different shows :-) .
I checked your 4 feature requests and added 2 of them in the module.
For the other two i can not promise, if they will be implemented.AxLED
-
@evroom
In your feature request, you wanted to select a bouquet (if there is more than one):Okay.
Let’s say I have the bouquet “MagicMirror (TV)”, could there be an option to use this one, instead of the default “Favourites (TV)” ?
I assume “Favourites (TV)” is the default.Please check the dev branch of my module.
- Rename your MMM-Dreambox folder to _MMM-Dreambox (for example)
- do a
git clone --branch dev https://github.com/Ax-LED/MMM-Dreambox.git
in your modules folder - add new parameters to your config.js, as descriped in readme. (see apibouquet and listmax).
Regards
AxLED
-
Hi @AxLed ,
Busy trying your updated module.
I am struggling a bit with it.1/ I suppose I set
apibouquet: 1,
Is that correct ?
What does it do ?
When just enabling, then why not true or false to make it more clear?
Or do I set it to 1 for bouquet 1 and 2 for 2, etc?
Please explain.2/ The parameter
listmax: 10,
is working, but after play or stop, it jumps to the bouquet name.3/ On my install, when I do DB-PLAY, it starts the stream twice.
So, I have 2 omxplayer process-sets and it takes up 2 streams on my Dreambox.
EDIT: now streaming Das Erste HD. No other process-sets present.
Perhaps decoding takes to long and omxplayer is respawning.4/ Even though I have employer processes, I do not see anything on my screen.
EDIT: now streaming Das Erste HD.
I think I have a local issue, as I cannot stream decoded content anymore.
My MPG2 license is still valid.
Perhaps a performance issue. -
Example for observation/issue 3:
DB-PLAY:
pi@MagicPi:~/MagicMirror/modules $ ps -eaf | grep omxplayer | grep -v grep pi 4190 4061 0 19:31 ? 00:00:00 /bin/sh -c omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0: pi 4191 4190 0 19:31 ? 00:00:00 /bin/bash /usr/bin/omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0: pi 4214 4191 7 19:31 ? 00:00:00 /usr/bin/omxplayer.bin --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0: pi 4222 4061 0 19:31 ? 00:00:00 /bin/sh -c omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0: pi 4223 4222 0 19:31 ? 00:00:00 /bin/bash /usr/bin/omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0: pi 4246 4223 13 19:31 ? 00:00:00 /usr/bin/omxplayer.bin --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
After a few seconds and when the stream is visible on the screen:
pi@MagicPi:~/MagicMirror/modules $ ps -eaf | grep omxplayer | grep -v grep pi 4190 4061 0 19:31 ? 00:00:00 /bin/sh -c omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0: pi 4191 4190 0 19:31 ? 00:00:00 /bin/bash /usr/bin/omxplayer --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0: pi 4214 4191 10 19:31 ? 00:00:02 /usr/bin/omxplayer.bin --win 0,625,590,957 -o both http://192.168.178.28:8001/1:0:19:283D:3FB:1:C00000:0:0:0:
-
@evroom
here are some questions:
to 1:apibouquet
expects a number (integer) and in java it starts with 0. If i use the xml-sample file of/web/getallservices
you send me its in your case as follows:
0: Favourites (TV)
1: Nederland (TV)
2: Duitsland (TV)to 2: i cant reproduce this behavior
to 3 & 4: try disabling some other modules, to find out if there is a intolerance beetween modules.
AxLED
-
to 1: thanks. Very clear.
to 2: does not happen always, or too fast to detect (I did ps manually).
to 3: did this, but does not help. I have think I have an issue that is related to my install only.
Thanks for the changes. It makes it more usable.
-
@axled I want to give this module another try for some testing, but I still didn’t understand how am I supposed to stream a Dreambox channel in MM? :hushed_face: