Com-Lum / MMM-RMV

MagicMirror - extension module - RMV departure monitor
MIT License
20 stars 7 forks source link

added unkown blocked ctype #13

Closed jnmcfly closed 5 years ago

jnmcfly commented 5 years ago

hey,

first of all, thank you for the quick reaction on opt-out transporttypes. My issue targeted primaly the unknown transporttype. Here in marburg we have transports called AST (Anruf Sammel Taxi) and sometimes the table of departures got spammed with those. AST appears as Unkown Transport type. So please check my fork. Dont judge me, it is my first js code ever.

thanks

Com-Lum commented 5 years ago

i have checked your code. it is a good idea but you have to modify the rmvType function also and add the unkown part there,too. in addition the rmvallblocked and the hid-function needs to be adapted to include the case that the unknown transport type is blocked although there are available unkown transports.

please check my modifications in the mmm-rmv,js file.

BR