Skip to content

Commit

Permalink
Merge pull request #28 from peterbaumert/patch-1
Browse files Browse the repository at this point in the history
Wrong Xml path for externalOutput
  • Loading branch information
jensstigaard authored Sep 29, 2024
2 parents abee81d + 5bd427d commit 0db9b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xml-api/general-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default class XmlState {
if (xmlDocument) {
this.update(xmlDocument)
}
const el: Element = xpath.select1('//vmix/recording', this._data) as Element
const el: Element = xpath.select1('//vmix/external', this._data) as Element

return el.textContent! === 'True'
}
Expand Down Expand Up @@ -149,4 +149,4 @@ export default class XmlState {

return el.textContent! === 'True'
}
}
}

0 comments on commit 0db9b15

Please sign in to comment.