NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 28 29 30 31 32 … 43 Next »
Update EPG for a channel group

 
  • 0 Vote(s) - 0 Average
Update EPG for a channel group
spe109
Offline

Junior Member

UK
Posts: 9
Threads: 2
Joined: Oct 2020
#1
2020-10-25, 09:00 AM
Hi,
I've got a script which pulls tv listings out of digiguide (UK) and when this is complete I want to update the EPG.

I am using v5 and have the nscripthelper.dll tagged onto the end of my script and all seems to be working, except I realise it is trying to update all of the channels including the ones which aren't mapped to my xml file.

The channels I am interested in are in a channel group and so I was wondering is it possible to limit the update to just that group of channels?

I realise I can also set the other channels EPG source to none which would also work for me, but is there a way to bulk update 500 ish channels EPG source to none? A bit like"Update Channels Set EPGSource = 'None' Where EPGSource = 'DVB/ATSC EPG'

Thanks
Paul.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,911
Threads: 956
Joined: May 2006
#2
2020-10-25, 03:33 PM
The question might be why add channels you are not interested in.  You could change them in bulk in sqlite3 something like when the service is stopped.

Code:
update channel
set epg_source = 'None', epg_mapping = ''
where oid not in (select channel_oid from channel_group where group_oid = ##)

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,691
Threads: 767
Joined: Nov 2003
#3
2020-10-25, 03:53 PM
Sorry, not currently possible to update the EPG for a subset of channel.
spe109
Offline

Junior Member

UK
Posts: 9
Threads: 2
Joined: Oct 2020
#4
2020-10-26, 10:10 AM
(2020-10-25, 03:33 PM)mvallevand Wrote: The question might be why add channels you are not interested in.  You could change them in bulk in sqlite3 something like when the service is stopped.

Code:
update channel
set epg_source = 'None', epg_mapping = ''
where oid not in (select channel_oid from channel_group where group_oid = ##)

Martin

Thanks, I was hoping this might be possible.

For info, the other channels are just the ones picked up from the auto tune, I'm not really interested in most, but thought I'd just leave them on the off chance an interesting program came up, otherwise I'd have to try and tune again.
spe109
Offline

Junior Member

UK
Posts: 9
Threads: 2
Joined: Oct 2020
#5
2020-10-26, 10:11 AM
(2020-10-25, 03:53 PM)sub Wrote: Sorry, not currently possible to update the EPG for a subset of channel.

Thanks anyway, I will do the bulk update in SQL as suggested above.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG doesn't update bornsurvivor 11 949 2025-04-06, 04:04 PM
Last Post: mvallevand
Photo EPG Channel sort order spagio 3 376 2025-03-02, 05:28 PM
Last Post: sub
  Channel Editor -- Feature Request? BigKahuna 1 301 2025-02-19, 06:50 PM
Last Post: sub
Question extras.xml | channel management D3iver 3 384 2025-01-12, 09:05 PM
Last Post: mvallevand
  webplayer dvb-t subtitles no longer supported or available since v7 update a1blues 23 1,282 2025-01-07, 08:06 AM
Last Post: a1blues
  HDHR Tuner not released after recording since update to 7.0.0 spin35 1 352 2024-12-24, 01:46 PM
Last Post: mvallevand
  V7 update artmetz 0 370 2024-12-03, 07:30 PM
Last Post: artmetz
  IPTV - Change source IP address, without needing to reimport channel. Paul92 1 397 2024-11-09, 03:23 AM
Last Post: mvallevand
  Adding new channel, using xmltv bigstusexy 3 461 2024-10-26, 12:35 AM
Last Post: bigstusexy
  How to add a new channel without having them all chosen when updating a device? Luisy44 3 465 2024-10-18, 02:31 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode