edward-shen / MMM-MBTA

MagicMirror² module for the Massachusetts Bay Transportation Authority
MIT License
12 stars 4 forks source link

Problem with multiple buses at one stop #13

Closed joelman closed 6 years ago

joelman commented 6 years ago

Great work on this module! My stop is "Broadway @ Main St". There are two buses which stop there: the 89 and the 101. The module seems to mix up the routes and destinations, showing for example, "Clarendon Hill | 101", instead of "Clarendon Hill | 89". See picture

Updating this line seems to fix the problem:

`diff --git a/MMM-MBTA.js b/MMM-MBTA.js index 613d4c0..d75add6 100644 --- a/MMM-MBTA.js +++ b/MMM-MBTA.js @@ -225,7 +225,7 @@ Module.register("MMM-MBTA", { descCell.innerHTML += " | CT3"; break; default:

Cheers, Joel

edward-shen commented 6 years ago

I just implemented this; let me know if that fixes your problem!

joelman commented 6 years ago

Looking good, my man. Thanks!

edward-shen commented 6 years ago

Great! Feel free to reopen or create a new issue if you have any more issues.