MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2005-02-21, 21:43   #1 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Germany
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts


Default TVDatabaseV12.db: iCancelTime and bContentRecording

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!
__________________

HTPC:
P3-S 1133@1133@1,1V passiv
ASUS TUSL2-M
Skystar 2
Creative Soundblaster
nVidia FX5200
120G Samsung SV1204
Toshiba SD-M1712 (Silent Firmware)
--------------------------------------------
PVR Scheduler with MediaPortal Plugin
http://www.pvr-scheduler.de
STSC is offline   Reply With Quote
Old 2005-02-21, 22:47   #2 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 34
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

You should update your sources. We got TVDatabaseV15.db in the meantime.
mPod is offline   Reply With Quote
Old 2005-02-21, 22:50   #3 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Germany
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Yes I know, but 0.1.0.8 is still V12.
__________________

HTPC:
P3-S 1133@1133@1,1V passiv
ASUS TUSL2-M
Skystar 2
Creative Soundblaster
nVidia FX5200
120G Samsung SV1204
Toshiba SD-M1712 (Silent Firmware)
--------------------------------------------
PVR Scheduler with MediaPortal Plugin
http://www.pvr-scheduler.de
STSC is offline   Reply With Quote
Old 2005-02-22, 07:32   #4 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 37
Posts: 1,516
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

canceledtime:
the time the recording was canceled
or 0 if the recording is not canceled

bcontentrecording:
not used at the moment
frodo
frodo is offline   Reply With Quote
Old 2005-02-23, 19:56   #5 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Germany
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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!!
__________________

HTPC:
P3-S 1133@1133@1,1V passiv
ASUS TUSL2-M
Skystar 2
Creative Soundblaster
nVidia FX5200
120G Samsung SV1204
Toshiba SD-M1712 (Silent Firmware)
--------------------------------------------
PVR Scheduler with MediaPortal Plugin
http://www.pvr-scheduler.de
STSC is offline   Reply With Quote
Reply

Bookmarks

Tags
bcontentrecording, icanceltime, tvdatabasev12db

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 05:25.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden