NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 33 34 35 36 37 … 433 Next »
Is there a way to clone EPG from one channel to a different channel?

Is there a way to clone EPG from one channel to a different channel?
Beeman
Offline

Junior Member

Posts: 16
Threads: 5
Joined: Jan 2019
#1
2019-01-08, 09:23 PM
Is there a way to share EPG from one channel to a different channel? I tried cloning the channel.epg node but it didn't work, are there any workarounds. Example below as Channel 4 HD is NOT on OTA EPG:-

original channel.epg node in Channel 4 HD replaced by
Code:
<Channel>
    <Name>Channel 4 HD</Name>
    <Number>104</Number>
    <ServiceType>25</ServiceType>
    <tuning>
      <type>DVB-S</type>
      <locator>
        <frequency>11126</frequency>
        <polarity>V</polarity>
        <symbol_rate>22000</symbol_rate>
        <fec>56</fec>
        <diseqc_type>1</diseqc_type>
        <lnb>1</lnb>
        <lowosc>9750</lowosc>
        <highosc>10600</highosc>
        <switch>11700</switch>
        <modulation>QPSK</modulation>
      </locator>
      <service_id>21200</service_id>
      <tsid>2068</tsid>
      <onid>2</onid>
      <service_type>25</service_type>
      <provider>BSkyB</provider>
    </tuning>
    <EPGSource>DVB/ATSC EPG</EPGSource>
    <epg>
      <source>DVB/ATSC EPG</source>
      <capture_source>20</capture_source>
      <readable_source>9213:2041:2 Channel 4</readable_source>
      <mapping>9213:2041:2</mapping>
    </epg>
  </Channel>

replaced by channel.epg node from Channel 4 SD

Code:
<Channel>
    <Name>Channel 4</Name>
    <Number>120</Number>
    <ServiceType>1</ServiceType>
    <tuning>
      <type>DVB-S</type>
      <locator>
        <frequency>10714</frequency>
        <polarity>H</polarity>
        <symbol_rate>22000</symbol_rate>
        <fec>56</fec>
        <diseqc_type>1</diseqc_type>
        <lnb>1</lnb>
        <lowosc>9750</lowosc>
        <highosc>10600</highosc>
        <switch>11700</switch>
        <modulation>QPSK</modulation>
      </locator>
      <service_id>9213</service_id>
      <tsid>2041</tsid>
      <onid>2</onid>
      <service_type>1</service_type>
      <provider>BSkyB</provider>
    </tuning>
    <EPGSource>DVB/ATSC EPG</EPGSource>
    <epg>
      <source>DVB/ATSC EPG</source>
      <capture_source>20</capture_source>
      <readable_source>9213:2041:2 Channel 4</readable_source>
      <mapping>9213:2041:2</mapping>
    </epg>
  </Channel>
Beeman
Offline

Junior Member

Posts: 16
Threads: 5
Joined: Jan 2019
#2
2019-01-09, 09:03 PM
I tried various permutations with no joy so will assume it's not possible. I guess I'll have to abandon OTA EPG and use xmltv, or try a different PVR. Cheers.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#3
2019-01-09, 09:22 PM
Does this channel not transmit its own listings for the application to read?

I don't think it's possible to do what you're suggesting.
Beeman
Offline

Junior Member

Posts: 16
Threads: 5
Joined: Jan 2019
#4
2019-01-10, 12:47 AM (This post was last modified: 2019-01-10, 04:08 PM by Beeman.)
Google brings up this:- (Channel 4 HD no longer on EPG but Channel 4 SD is)
https://forum.team-mediaportal.com/threa...on.137933/

Just had a quick look and found the epg data in here npvr.db3 so I should be able to knock up a script tomorrow to clone the data. I've come this far, shame to retreat now! I actually still have EPG collector running, but trying to get away from all that.

UPDATE:
OK This clones it for me, just need to automate it to run after EPG has been retrieved.
Code:
INSERT INTO EPG_EVENT (title, subtitle, description, start_time, end_time, channel_oid, unique_id, rating, original_air_date, season, episode, dvb_service_event_id, dvb_table_version, genres, first_run, quality, aspect, audio, star_rating, cast_member, crew, md5, significance)    
    SELECT title, subtitle, description, start_time, end_time, 15386, unique_id, rating, original_air_date, season, episode, dvb_service_event_id, dvb_table_version, genres, first_run, quality, aspect, audio, star_rating, cast_member, crew, md5, significance
    FROM EPG_EVENT WHERE channel_oid = 15397

Update2: All scripted, can clone any to any based on vals in csv, will test tomorrow, gone 3am now!
Update3: Just tested all worked fine. I will github script at some point when I get a chance. It also handles renaming, renumbering all from a single csv file. Now just need to fix my dish for missing channels, assuming that's the issue. Will re-test the chans in WMC to double check.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IR Server Suite Channel Changer BTJustice 26 27,425 2023-01-11, 08:49 PM
Last Post: Frapo
  Device Update - Channel Mapping chezmorris 10 4,801 2022-07-01, 01:59 PM
Last Post: mvallevand
  IPTV Channel Mapping jrockow 15 8,077 2021-03-07, 09:45 PM
Last Post: jrockow
  channel icon location Brucek2839 2 1,754 2021-03-04, 10:30 PM
Last Post: Brucek2839
  UK channel More4 - tunes but cannot view? prothed 7 2,816 2021-02-17, 02:59 PM
Last Post: Graham
  send channel chanes via winLIRC?? chef Paula 67 13,852 2021-02-11, 07:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,968 2021-02-03, 01:29 PM
Last Post: Graham
  Possible to set the EPG source for more than one channel at a time? LeGrandZombie 15 8,268 2020-12-06, 02:15 AM
Last Post: pitbull1969
  xmltv and EPG channel icons HaTaX 5 4,184 2020-10-28, 04:25 AM
Last Post: sub
  TV Guide Initial channel NumberFive 2 1,882 2020-07-28, 06:03 PM
Last Post: NumberFive

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

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

Linear Mode
Threaded Mode