Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Feb 22, 2022
1 parent 0ab1ee5 commit 275176f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,9 @@ const createClient = (profile, userAgent, opt = {}) => {
onlyCR: opt.onlyCurrentlyRunning,
jnyFltrL: [
profile.formatProductsFilter({profile}, opt.products),
// these don't work:
// {mode: 'INC', type: 'ROUTE', value: 'R::10::Schiff::B3012287613::de:aac:05358|obersee:rs::1'},
// {mode: 'INC', type: 'CAT', value: 'G::4::Fähre::B*::*::*'},
],
// todo: passing `tripId` yields a `CGI_READ_FAILED` error
// todo: passing a stop ID as `extId` yields a `PARAMETER` error
Expand Down
1 change: 1 addition & 0 deletions parse/pid-filters-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const parsePidFiltersTree = (ctx, jnyTreeNodeL) => {
// todo [breaking]: rename field?
// todo: parse differently? most tree nodes have a sparse common.prodL[_.prodX]
product: _.line,
// nrOfTrips: _.stat ? _.stat.cnt : null, // todo: is this wrong
// todo: _.icon?
}
parsedNodes.set(_, node)
Expand Down

0 comments on commit 275176f

Please sign in to comment.