NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 52 53 54 55 56 … 159 Next »
XMLTV - cloning EPG Data

 
  • 0 Vote(s) - 0 Average
XMLTV - cloning EPG Data
kylebrophy
Offline

Member

Posts: 156
Threads: 39
Joined: Nov 2007
#1
2009-03-03, 01:15 AM
Hi Everyone,

I tried to log this on the the XMLTVNZ forum - but the author suggested i use some editor to do what im after - then didnt give any hints (so safe to say he doesnt wanna know bout it).

I have a HVR4000 - which as such has 2 capture sources DVB-S and DVB-T.

I have set channels 1-3 from the DVB-T as "ONE HD, TWO HD, THREE HD" - just so that i can tell these are the HD Capable channels vs DVB-S which is always SD.

However since import all the EPG data from a XMLTV file - it will only populate the EPG data against the SD Channels (Since i called the HD channels by a different name).

My question is there anyway (or utilility) that i can use that can "duplicate" all the TV1,TV2,TV3 data - and add it back into the file for "ONE HD, TWO HD, THREE HD".

I hope this isnt an unreasonable question - as i dont really want to be recording all my stuff in HD - which is why ive set them up as different channel names.

I can remember one of the aussie epg programs was written that you could output the data to as many duplicate names as you wished, but as mentioned above - xmltvnz is not keen on that. I do understand that this is probably not a very common request - but id love to know how to get around it (other than forget about having separate HD channel names).

Many thanks in advance Smile
Regards,

Kyle Brophy
IT Manager
Christchurch
New Zealand

nPVR HTPC v3.1.1 (Multidec and also Hauppauge WinTV-CI and Irdeto CAM)
ASUS P5Q SE/R, Core 2 Quad 2.66GHz, 16GB RAM, Windows 7 (64 bit), 2TB (recordings) + 2TB (Movie)
KU: Fixed 90cm - D1,D3,C1
Hoogineer
Offline

Junior Member

Posts: 14
Threads: 3
Joined: Feb 2009
#2
2009-03-03, 02:13 AM
I just figured this out with mc2xml. This post has a link to the mc2xml website. I don't know whether mc2xml works for NZ. However, if you read the documentation carefully, you'll notice that you can create a separate DAT file for each tuner and combine them into a single XML file. Here is how I managed it with the GBPVR updateEPG.bat file:

cd C:\EPG\
mc2xml.exe -D antenna.dat -C antenna.chl -i 100 -o antenna.xml -c us -g 12345
mc2xml.exe -D cable.dat -C cable.chl -I antenna.xml -o xmltv.xml -c us -g 12345
del antenna.xml
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#3
2009-03-03, 04:32 AM
kylebrophy Wrote:My question is there anyway (or utilility) that i can use that can "duplicate" all the TV1,TV2,TV3 data - and add it back into the file for "ONE HD, TWO HD, THREE HD".

Maybe you could do something like I did when DvbToXMLTV stopped working to rename the channels so I didn't have to setup different channels because the name was different. I in your case it would proably be best to just have two xml files & point your DVB-S to the standard XMLTVNZ file & your DVB-T to the one you modify the name in.

I found a mention somewhere in the forums of a rename utility called "replace" (if you can't find the link PM me your email address & I will send it to you) & in my updateEPG.bat I have

Code:
replace -fname *.xml -casesens -find "<display-name>Maori Television<display-name>" -replace "<display-name>Maori TV</display-name>"
replace -fname *.xml -casesens -find "<display-name>TVNZ7</display-name>" -replace "<display-name>TVNZ 7</display-name>"
replace -fname *.xml -casesens -find "<display-name>TVNZ Sport Extra</display-name>" -replace "<display-name>TVNZ SPORT EXTRA</display-name>"
replace -fname *.xml -casesens -find "<display-name>TVNZ6</display-name>" -replace "<display-name>TVNZ 6</display-name>"
replace -fname *.xml -casesens -find "<display-name>Stratos TV</display-name>" -replace "<display-name>STRATOS</display-name>"
replace -fname *.xml -casesens -find "<display-name>Discovery Channel</display-name>" -replace "<display-name>Discovery</display-name>"
replace -fname *.xml -casesens -find "<display-name>Trackside</display-name>" -replace "<display-name>TAB - Trackside</display-name>"
replace -fname *.xml -casesens -find ">Maori Television<" -replace ">Maori TV<"
replace -fname *.xml -casesens -find ">TVNZ7<" -replace ">TVNZ 7<"
replace -fname *.xml -casesens -find ">TVNZ Sport Extra<" -replace ">TVNZ SPORT EXTRA<"
replace -fname *.xml -casesens -find ">TVNZ6<" -replace ">TVNZ 6<"
replace -fname *.xml -casesens -find ">Stratos TV<" -replace ">STRATOS<"
replace -fname *.xml -casesens -find ">Discovery Channel<" -replace ">Discovery<"
replace -fname *.xml -casesens -find ">Trackside<" -replace ">TAB - Trackside<"

so as you can see it was fairly simple to setup & it works a treat for changing the names in the xmltv file & I can't see why it shouldn't do what you want.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#4
2009-03-03, 08:10 PM
Further to your PM, I went hunting & found my original download of "replace.exe" & I had saved a link to the web site Smile I have included it here for you & who knows maybe others could find it helpful as well.

http://www.bestcode.com/html/findreplace.html

just a quick comment about it (& it may have only been something I was doing wrong) is I found I needed to rename the channels twice, as you will see if you look at bit out of my batch file above, as sometimes it seemed to miss renaming one or two but after I set it to do them twice it has been working 100% for a friend for about seven months now......I have gone back to using sub's DvbToXMLTV so don't personally use it any more.
kylebrophy
Offline

Member

Posts: 156
Threads: 39
Joined: Nov 2007
#5
2009-03-04, 08:43 PM
Jaggy Wrote:Further to your PM, I went hunting & found my original download of "replace.exe" & I had saved a link to the web site Smile I have included it here for you & who knows maybe others could find it helpful as well.

http://www.bestcode.com/html/findreplace.html

just a quick comment about it (& it may have only been something I was doing wrong) is I found I needed to rename the channels twice, as you will see if you look at bit out of my batch file above, as sometimes it seemed to miss renaming one or two but after I set it to do them twice it has been working 100% for a friend for about seven months now......I have gone back to using sub's DvbToXMLTV so don't personally use it any more.

Many thanks to everyone that had ideas.

Ive gone with the replace program - and it works BEAUTIFULY !!!
ive set it up to take a copy of the epg data downloaded from xmltvnz - and then it updates the channel display names, and im all set.

AAAAA+ haha
Regards,

Kyle Brophy
IT Manager
Christchurch
New Zealand

nPVR HTPC v3.1.1 (Multidec and also Hauppauge WinTV-CI and Irdeto CAM)
ASUS P5Q SE/R, Core 2 Quad 2.66GHz, 16GB RAM, Windows 7 (64 bit), 2TB (recordings) + 2TB (Movie)
KU: Fixed 90cm - D1,D3,C1
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  UK XMLTV recommendations? bgowland 13 809 2025-05-19, 08:43 AM
Last Post: Damian Cline
  Error getting EPG data with NextPVR juliescamilla 2 348 2025-04-01, 10:07 AM
Last Post: juliescamilla
  zap2it xmltv different than listing SamM 4 1,892 2023-12-11, 02:42 PM
Last Post: Prsa01
  XMLTV - Schedules Direct JSON service changes 2022-05-20 gtb 1 1,075 2022-05-20, 07:34 PM
Last Post: mvallevand
  IPTV Guide data in NZ Jaggy 15 2,621 2022-04-09, 02:05 AM
Last Post: Jaggy
  Schedules Direct - Missing Data ottoguy 4 1,378 2022-03-21, 08:15 PM
Last Post: ottoguy
  Guide data alphabanks 2 2,370 2017-12-19, 08:19 PM
Last Post: sub
  Epg Collector NZ data stustunz 4 3,402 2016-08-20, 09:39 PM
Last Post: Waynesm
  UK - xmltv.exe now included atlas metabroadcast martint123 3 3,869 2013-12-23, 09:37 AM
Last Post: martint123
  No longer have access to shared NPVR data directory on XP server??? HarryH3 2 2,387 2013-11-25, 11:12 AM
Last Post: HarryH3

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode