tgorgdotcom / locast2plex

A very simple script to connect locast to Plex's live tv/dvr feature.
MIT License
234 stars 43 forks source link

Sanitize station names for XML #245

Closed RyanMathewson closed 3 years ago

RyanMathewson commented 3 years ago

Some station names can contain symbols that need to be escaped, otherwise the channel XML will be invalid and Plex will not detect any channels. This PR uses the escape method available in saxutils to preform this sanitization. This change solved my issue when doing a fresh install.

RyanMathewson commented 3 years ago

This fixes #216