[OLD/CLOSED] PseudoTV Live - Set-Top box solution
(2014-04-17, 21:50)ylafont Wrote:
(2014-04-17, 21:26)Lunatixz Wrote: ::EDIT::
Nevermind looked at your code, so you are using re to pattern match channel name in xmltv file?
I played around with pattern matching, but can't get the hang of reg expression... my code couldn't tell the difference between WCBS,WCBSDT,WCBSDT2, etc since it would find CBS in all three matches...

Match on Channel Number not Name.

The scenario you describe was exactly the problem I foresaw ,which could be handled by Regex (But i not the familar). another was the following, There is no way of matching the following channel based on channel name.

I126.45266114 126 MILH 126 MILH Military History Channel Satellite 126 - Military Histor.strm

Also the Generated xmltv.tab file gave me a handy reference on what was matched and I was able to isolate the channel I wanted into a separate folder, run the script and have correct setting2.xml file with only the channels needed. - Very Handy!

Edit::
if the stream file could be save with the channel call Letters (MILH) as standard, it would help. right now that is not the case.

I quickly browsed your code... thought I saw "display-name" and pattern match near each other Smile

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...
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?


Messages In This Thread
RE: [FORK] - by jcaa6479 - 2013-07-16, 23:25
Re: RE: - by bry - 2013-07-19, 08:42
Audio Muting Consistently ? - by gjwAudio - 2013-08-18, 08:25
PTVL Anomalies... - by gjwAudio - 2013-08-25, 01:15
Help Find The BAD Channel... - by gjwAudio - 2013-08-27, 02:12
RE: - by DLWhittet - 2013-10-13, 02:48
Problems with Pseudo TV Live - by media-mogul - 2013-11-07, 22:45
Setup wifi cam stream - by rebelmaveric19 - 2013-12-12, 00:54
Black Screen - by Antisthenes - 2014-03-03, 02:06
RE: [FORK] - by Lunatixz - 2014-03-25, 18:21
RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - by Lunatixz - 2014-04-17, 22:15
Re: RE: - by Lunatixz - 2014-04-26, 17:10
Update breaks autostart? - by grumpygamer - 2014-07-12, 11:48
Re: RE: Update breaks autostart? - by bry - 2014-07-12, 13:44
PseudoTV Live + HDHomerun Tutorial - by bry - 2014-07-25, 23:17
RE: [FORK] - by tromy - 2014-09-22, 19:14
Custom Live Channel - by GavinCampbell - 2014-11-01, 18:20
Options menu? - by Pendragon445 - 2014-11-02, 20:23
Prevent Stop Button - by GavinCampbell - 2014-11-13, 22:45
RE: [FORK] - by herpkektop - 2015-02-11, 11:22
RE: [FORK] - by herpkektop - 2015-02-11, 17:55
PseudoTv issue - by adamp237 - 2015-03-02, 03:41
No Guide - Android Arm - by MoRbIdBoY - 2015-03-14, 20:26
Chanel Issues - by BlueKalel - 2015-05-03, 07:23
RE: donation - by gkithes - 2015-06-11, 02:27
RE: donation - by bornagainpenguin - 2015-06-11, 03:55
Channel Sharing Feature Freezing - by RORO-RR - 2015-07-11, 18:48
Logout Mark Read Team Forum Stats Members Help
[OLD/CLOSED] PseudoTV Live - Set-Top box solution45