NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 48 49 50 51 52 … 93 Next »
How to keep track of show information from db

 
  • 0 Vote(s) - 0 Average
How to keep track of show information from db
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#1
2006-10-20, 03:24 PM
Hey everyone,
I'm currently in the process of creating a plugin for this great application.
I need to store some sort of identifier about a show in order to check it's start time. This will happen many times so I need to be able to keep track of this show regardless of EPG Updates.
Would anyone be able to help me with this?
Hopefully I have explained this well enough, if not please let me know and I will try to explain more clearly.

Thanks
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#2
2006-10-26, 01:55 AM
Would maybe a better question to ask be...

does the programmes oid column change after an EPG update or EPG reload?
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#3
2006-10-26, 02:01 AM
Quote:does the programmes oid column change after an EPG update or EPG reload?
Yes it does change.

For zap2it users, you can try to track shows based on unique ID, but there is no equivalent for the rest of the users. GB-PVR internally relies on the start + name to identify a show. If either of these change, its not the same show. Its a pain in the butt - there is just no good source info for tracking this.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2006-10-26, 07:11 AM
programme_oid? or just program's oid? i would think the programme_oid wouldn't.. and do you mean on a specific single show?
interested...i thought programme_oid didn't change..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2006-10-26, 03:28 PM
The PROGRAMME table oid column value will change for most users during an EPG update.

The RECORDING_SCHEDULE table programme_oid column will not typically change but.... episodes of season recording will often have its RECORDING_SCHEDULE record deleted and recreated, and the programme_oid column can change during this. One off recordings wont be deleted and recreated, and the oid wont change.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#6
2006-10-30, 08:17 PM
i'm making a batch to save and restore the re-occurings only, i adjust the channels for the new mappings, and also get the 'extras' table too...
so far so good, it seems to work fine Smile

is there anything else i might be missing other than adjusting the recording groups so they don't collide with existing ones?
see:
http://forums.gbpvr.com/showpost.php?p=1...stcount=29
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Artwork by show name psycik 4 4,516 2017-07-12, 03:47 AM
Last Post: psycik
  Show artwork method psycik 31 11,682 2015-07-14, 07:06 AM
Last Post: aloxinh
  How to get edl information for videos in a web client? fred250 27 10,491 2014-12-10, 12:39 AM
Last Post: fred250
  Media\Show Directory mvallevand 12 6,013 2014-07-02, 10:58 AM
Last Post: sub
  Web services information psycik 22 7,532 2013-12-05, 10:31 PM
Last Post: mvallevand
  sabnzbd plugin to show processed files Wakalaka 1 1,941 2013-03-12, 06:48 AM
Last Post: psycik
  A plugin to import channel information Khurram 6 3,066 2008-06-04, 06:28 PM
Last Post: Khurram
  I-xmltv updated for YahooXMLTv (adds a new show marker and more) Jim_ 78 24,570 2008-01-02, 10:33 AM
Last Post: tvshowman
  ShowSearch Request -- Length of Show ww4397 3 1,791 2007-01-31, 03:23 AM
Last Post: ww4397
  Show conflicts on Main Menu dark_half 2 1,538 2006-10-27, 01:43 PM
Last Post: Jeff

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

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

Linear Mode
Threaded Mode