NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 167 168 169 170 171 … 1231 Next »
"remove unreferenced channels" does not work

 
  • 0 Vote(s) - 0 Average
"remove unreferenced channels" does not work
zaldwaik
Offline

Senior Member

Posts: 535
Threads: 128
Joined: Oct 2005
#1
2006-09-16, 06:18 PM
I am trying to clean up my channel lineup, but this button does nothing. It never worked for me. I have a lot of channels that I do not subscribe to, that were added to my lineup by Zap2it, there does not seem to be a simple way to disable GB-PVR from adding new channels. At this point, I have too many channels and I do need a cleanup. I am using v.97.13

Removing channels one by one in the capture source is tedious and slow.

In case no way exists to do this through the inteface, which tables in the database I need to update to fix this problem?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2006-09-16, 06:21 PM
You're supposed to disable them in your channel lineup at http://labs.zap2it.com if you dont want them to be added, otherwise they'll get re-added with each EPG update.

If you've already got the channels, then you need to 'remove' them from each capture source channel list, then click the 'remove unreferenced channels' button.
zaldwaik
Offline

Senior Member

Posts: 535
Threads: 128
Joined: Oct 2005
#3
2006-09-16, 06:43 PM
Dish network adds new channels all the time. Zap2it adds them to my list automatically, and there is not a way to disable that. Then they get added to my list in GBPVR.

Removing one channel at a time from each capture source (I cannot select multiple channels) will take me a week. I presume that removing the capture source completely will remove schedule recordings too?

I am skilled in SQL and if you feel that you can tell me which tables I can manipulate to remove channels, I would be grateful.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2006-09-16, 06:52 PM
I never recommend hacking manually in the database, but if you cant resist the urge, then the tables in question are CHANNEL and SOURCE_CHANNEL_MAPPING.
gnutech
Offline

Member

Posts: 87
Threads: 22
Joined: Nov 2005
#5
2009-02-21, 07:45 AM
I installed and used SQLiteSpy to delete unreferenced channels from my gbpvr.db3 database.

1. Make sure to make a copy of your working gbpvr.db3 database.
2. Remove all the channels from your recording source.
3. The remaining unreferenced channels will show under your channels tab.
4. Fire up SQLiteSpy.
5. In SQLiteSpy, right click and show data for the Channels table.
6. Use the following sql syntax to delete the remaining unreferenced rows (hit [F9] to execute sql):

DELETE FROM "CHANNEL" WHERE "oid" = 1;

7. Fire up the GB-PVR config utility and confirm the unreferenced rows have been removed.
8. Update your EPG and you should be back on your way.

Kind Regards,


Gary
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#6
2009-02-21, 02:37 PM
zaldwaik Wrote:Dish network adds new channels all the time. Zap2it adds them to my list automatically, and there is not a way to disable that. Then they get added to my list in GBPVR.

Removing one channel at a time from each capture source (I cannot select multiple channels) will take me a week. I presume that removing the capture source completely will remove schedule recordings too?

I am skilled in SQL and if you feel that you can tell me which tables I can manipulate to remove channels, I would be grateful.

I had a similar problem. You could could switch to mc2xml, it will let you list only the channels you want to retrieve.

If you stick with SD and it insists on adding new channels to the XML, then GBPVR will add them during the EPG update. However, they won't be mapped to a tuning string. This will let you select them, but remember that analogs are also without a tuning string, so also select on your source.

SELECT *
FROM SOURCE_CHANNEL_MAPPING
WHERE tuning_request is NULL and capture_source_oid in (3, 4, 7)

If you get the right answers, then change to delete them. After deleting select on CHANNEL where it's unreferenced:

select * from Channel c
where NOT EXISTS
(select * FROM SOURCE_CHANNEL_MAPPING scm
WHERE scm.channel_oid = c.oid OR c.channel_number=0)

The OR c.channel_number=0 is to prevent killing the IMPORT channel used by the vidimport plugin. If this works, then automate it.

You might ask SD nicely for an option of "do not add new channels" to the lineup.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  no EPG for two channels JimPletcher 5 4,760 2019-08-15, 09:53 PM
Last Post: jobby99
  USB-UIRT InterCodeDelay - does it work? blader_se 19 9,327 2019-03-09, 11:50 AM
Last Post: jksmurf
  Locking in QAM Channels highestbid 8 7,393 2014-03-12, 03:10 AM
Last Post: highestbid
  Need help remapping Channel guide and actual channels divinehammer 3 3,770 2012-01-20, 10:43 AM
Last Post: kayleigh
  Two Channels Without Video skycyclepilot 5 3,473 2011-10-29, 07:49 PM
Last Post: sub
  GBPVR Webserver does not work - Windows 7 Pro, 64 Bit Ijaja 6 4,453 2011-10-19, 07:21 PM
Last Post: Basher52
  Will A Hauppauge Colossus work in 1.4.7? hondophred 5 3,730 2011-06-29, 09:12 PM
Last Post: sub
  No sound for French DVB-T H264 channels with E-AC3 tracks jorionpi 7 4,677 2011-06-26, 01:25 AM
Last Post: sub
  Problem with GB-PVR - Cannot Watch Channels and Administrator Problem Greg Smith 10 4,429 2011-05-22, 05:09 PM
Last Post: sub
  Unable to get Sony MPeg2 card to work... AssarGabrielson 43 17,506 2011-03-17, 11:09 PM
Last Post: Snooze

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

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

Linear Mode
Threaded Mode