@B3nihana
The “hidden” features are in the destfilter:
Try the following,
Should give you all the Metro trains
{
module: 'MMM-Rejseplanen',
position: 'top_left',
header: 'Rejseplanen.dk',
config: {
stationID: "8600646",
stationName: "Nørreport",
vehicle: "T",
destfilter: "Metro"
}
},
Or you can get all trains in one direction
{
module: 'MMM-Rejseplanen',
position: 'top_left',
header: 'Rejseplanen.dk',
config: {
stationID: "8600646",
stationName: "Nørreport",
vehicle: "T",
destfilter: "Vanløse"
}
},
It was the easiest way to solve this, as well as the most flexible. Only require about 8 lines of code.
And I’m a lazy man. So less code is really nice