@sdetweil said in MMM-pages - how to know which page index my module has?:
git clone https://github.com/sdetweil/MMM-MPlayer
Did as you suggested
The video appears only on page index 0 and not on the hidden page
See the 2 video images on the attached screenshot - both are over the weather module
The header for the MPlayer appears on the hidden page
I can change to the hidden page with Remote Control, no problem
{
module: "MMM-pages",
config: {
rotationTime: 1000 * 86400, // rotate every 20 seconds
modules: [
["page1"], // class name for page 1
// ["page2"], // class name for page 2
// ["page3"], // class name for page 3
],
fixed: ["fixed_page"],
hiddenPages: {
"Doorbell": ["doorbell_page"],
}
}
},
{
module: 'MMM-MPlayer',
classes: "doorbell_page",
disabled: false,
position: "top_left",
header: "MPlayer",
config: {
useTwoWindows: true,
layout: 'column',
monitorAspect: 0,
rotate: -1,
windowSize: { width: 640, height: 360 },
windowPosition: { x: 5, y: 225 },
streamInterval: 30000,
streams: {
window1: [
'rtsp://10.0.1.1:7447/gv9eHrB9yZyPhgvN',
],
window2: [
'rtsp://10.0.1.1:7447/D89zTJyDwN8YtKix',
]
}
}
},
