TVDatabaseV12.db: iCancelTime and bContentRecording (1 Viewer)

STSC

Portal Pro
December 4, 2004
139
0
Germany
Hi,

does anybody know why MP needs these columns (iCancelTime and bContenRecording) in the table 'recording' of the database TVDatabaseV12.db.
I'm working on my new PVR Scheduler Plugin, but up to now I haven't paid attention to them.
It seems that it doesn't matter if I set ContentRecording to true or false??

Thanks!
 

Frodo

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    51
    The Netherlands
    Home Country
    Netherlands Netherlands
    canceledtime:
    the time the recording was canceled
    or 0 if the recording is not canceled

    bcontentrecording:
    not used at the moment
    frodo
     

    STSC

    Portal Pro
    December 4, 2004
    139
    0
    Germany
    This is exactly what I wanted to know! Thank you very much.

    But can you please do me a favour and change following code in the TVDatabase.cs, method Open():



    Code:
    					// Open database
    					String strPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.
    						GetExecutingAssembly().Location);
    					Log.Write("opening tvdatabase");
    					try
    					{
    						System.IO.Directory.CreateDirectory(strPath + @"\database");
    					}
    					catch(Exception){}
    					//Upgrade();
    					m_db = new SQLiteClient(strPath + @"\database\TVDatabaseV15.db");

    The thing is when I load the assembly from another folder an try to add something to the database it always tries to look up the database in my client folder, where it can't find the database. Actually you only need to add System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) before the database path.

    I think that I might be able to release my Scheduler Plugin in the next couple weeks.

    Thank you!!
     

    Users who are viewing this thread

    Top Bottom