Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge_xmltv issue xmltv_id changing during channel creation #11

Open
jamesm147 opened this issue May 20, 2019 · 0 comments
Open

Merge_xmltv issue xmltv_id changing during channel creation #11

jamesm147 opened this issue May 20, 2019 · 0 comments

Comments

@jamesm147
Copy link

jamesm147 commented May 20, 2019

This is resulting in epg being broken. xmltv_id"sdabc22.au" becomes "NSW - Sydney - ABC COMEDY/ABC KIDS NSW - Channel 22"

Source line--
<channel update="i" site="freeview.com.au" site_id="1010:0221:0222" xmltv_id="sdabc22.au">NSW - Sydney - ABC COMEDY/ABC KIDS NSW - Channel 22</channel>

Result after channel creation--
<channel update="i" site="merge-xmltv" site_id="sdabc22.au" xmltv_id="NSW - Sydney - ABC COMEDY/ABC KIDS NSW - Channel 22">NSW - Sydney - ABC COMEDY/ABC KIDS NSW - Channel 22</channel>

Ir has to be something in the channel creation. Here's what mine looks like.

* @auto_xml_channel_start
*index_site_id.scrub {regex||<channel [^>]*id="[^\"]*"[^>]*>.*?</channel>||}
*scope.range {(channellist)|end}
*index_site_channel.modify {addstart|'index_site_id'}
*index_site_id.modify {substring(type=regex)|<channel [^>]*id="([^\"]*)"[^>]*>}
*index_site_channel.modify {substring(type=regex)|<display-name [^>]*>(.*?)</display-name>}
*index_site_id.modify {cleanup(removeduplicates=equal link="index_site_channel")}
*end_scope
** @auto_xml_channel_end
@jamesm147 jamesm147 changed the title site_id & xmltv_id swapping xmltv_id changing during channel creation May 20, 2019
@jamesm147 jamesm147 changed the title xmltv_id changing during channel creation Merge_xmltv issue xmltv_id changing during channel creation May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant