2014-04-17, 23:04
(2014-04-17, 22:15)Lunatixz Wrote: I quickly browsed your code... thought I saw "display-name" and pattern match near each other
They maybe, 'display-name' is only used to create a new field for the tab delimited file. There are three Patterns
1- regpattern = '[A-Z][0-9]+(\.[0-9]+)+' This isolated the the Channel ID
2 - ChnPattern = Channel[ColumnToMacth].text - reads the Channel Number
3- FilePattern = ("(?<=')" + ChnPattern + "\s-\s.*?(?=')") - The Stream Filename Patter.
(2014-04-17, 22:15)Lunatixz Wrote: Does hdhomerun setup do that bad a job matching display-names with the strm? I only use OTA channels so my matches are pretty spot on, I have no idea how big a headache 700 channels can be.
I'm always open to suggestion how to improve my addon. If you have ideas... please let me know. If i could just get the hang of reg ex wildcards, I could come up with a better pattern match...
I don't think HD-Homerun does any matching, it just creates a stream file for the channels its finds. HD-homerun Prime does not create files at all. which is a problem. I was doing this for my brother. I only have OTA as well.
I know what you mean about RegEx, they are not easy to digest. I am more than available to see if i can help with RegEx patterns. I am no expert. but hey that's why they are books.