locast2plex
locast2plex copied to clipboard
Ampersand in channel name
Plex couldn't load the channels, so I researched and found the reason to be that one of the channels friendly names was H&I. The page didnt render. You will need to add something to the code that creates the channels info to filter out or otherwise for an ampersand.
I suspect you have a different problem. I also have H&I, and everything seems to be working reliably with it. I just tested live watching, and the EPG data is present.
I ran into this same issue when initially adding the tuner which caused Plex to fail during the channel scan (0 channels found). The ampersand causes the XML generated when browsing "/devices/wwmtinpl/channels" to be invalid. I fixed it locally by using saxutils.escape() to clean up the channel names when generating that XML. Once I get a dev environment setup I'll try to create a PR.