NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 63 64 65 66 67 … 93 Next »
Plugin Rules

 
  • 0 Vote(s) - 0 Average
Plugin Rules
Kevl
Offline

Member

Posts: 246
Threads: 26
Joined: Aug 2005
#1
2005-12-12, 11:11 PM
Hi

Am contemplating writing a guide plugin for GBPVR. (I may be some time :-) )

Idea is to write a plugin for a TV guide that more properly suits my requirements.

Have looked at the format of the .mdb file from which the existing TV guide gets populated and have some ideas about what I want to do to the data.

Are there rules about what a plugin may do to the .mdb file?

Is a plugin permitted to change the structure of subs .mdb file (e.g. adding tables or columns to the database) or should a new .mdb file be added to the GBPVR directory and then have the plugin gets its data from this? I can easily imagine that messing with sub's database is non preferred.

My scheme is to have the long channel list in the existing TV guide replaced by a number of short channel lists. Similar to the Xguide browser but with an extra level of hierarchy.

Each capture source has its own Guide and the channels on each capture card are divided into shorter guides such as news, sport, music, (or all) etc. (very much like the skybox channel list is subdivided).

The database structure for this is trivial and the existing TV guide viewer might be persuaded to display a filtered list without too much trouble.

Not sure of the practicalities of this but might be an interesting thing to try over Christmas - if I get time.

Kev
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,686
Threads: 767
Joined: Nov 2003
#2
2005-12-13, 01:22 AM
I dont want anybody adding tables or data directly to the gbpvr.mdb file. You'll need to use your own external database instead.

Its perferrable that you use ScheduleHelper API for accessing the channels/programmes, but if that doesnt meet your needs then you can consider reading the data directly (with acceptance of the risk that the structure may change in future). You can see examples of the ScheduleHelper API in use in the web admin source code install with GB-PVR.
Kevl
Offline

Member

Posts: 246
Threads: 26
Joined: Aug 2005
#3
2005-12-13, 11:14 AM
Many thanks.

Will do some reading around.


Kev
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,825 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,350 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,460 2015-08-06, 10:43 PM
Last Post: sub
  Custom recording rules mvallevand 58 21,848 2014-12-08, 03:28 AM
Last Post: mvallevand
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,906 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,771 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,096 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,950 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 4,994 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,244 2012-02-11, 05:42 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