2004-12-16, 01:10 PM
hi there.
I´ve written an TV-guide plugin for search by category and time.
Programm:
the programm
As I´m one of those JAVA-Guys & progrmming all this as a real gbpv-plugin would have bee too much work for all those controls, ist a java-program compiled to native win32-code. So just add it as a custom task. configuration is made over parameters. just call tvguide -? for al dokumentation.
the program uses the category-description from the tv-data xml-file. so try it & see if it works for your xml-file.
if you click the record this button, the show is scheduled WITHOUT any conflict-check.
you have to manually check it via gbpvr-recordings-conflicts.
Navigation:
here is my irremote.ini section:
[TvGuide]
OK={enter}
SKIPFWD={pgdn}
SKIPREV={pgup}
VOLDOWN={shift}{tab}
VOLUP={tab}
here is the parameterdescription:
usage:
TvGuide.exe [{option=value}]
option can be
xmlfile: Path and filename to the xml-file with the tvdata
If you specify a correct ODBC_URL you can skip this parameter
and the xml file specified in the database is used.
code: unicode of the xml-file. eg. UTF-8
ODBC_URL: URL for JDBC-connection.
for a ODBC-Connection use jdbc:odbc:ODBC-Connectionname.
eg. jdbc:odbc:GBPVR
---------
how to set up a ODBC-Datasource for GBPVRs Access-file:
start-> run : odbcad32.exe
Add, then choose 'Microsoft Access Driver' and click finish
At Datasourcename type 'GBPVR'
and click 'select' and search for your gbpvr.mdb (usually found in c:\program fi
les\devnz\gbpvr
then click OK.
---------
capturesource: the oid of your capturesource.
You can find it in your gbpvr.mdb file.
qualitylevel: the nubmer of your qualitylevel.
You can find it in your gbpvr.mdb file.
prepad : number of minutes to start recording sooner.
postpad: number of minutes to stop recording later.
recorderclass: to choose which recorderclass to use.
by default recorder.GBPVRrecorderImpl is used for GBPVR.
maybe someone likes to implement another recorder class for other
PVR-Software.
Feel free and just implement recorder.recorder interface.
example:
TvGuide xmlfile=tvdata.xml recorderclass=recorder.GBPVRrecorderImpl code=UTF-8 O
DBC_URL=jdbc:odbc:GBPVR capturesource=1 qualitylevel=1 prepad=4 postpad=4
have fun with a more selective TV-consumption. Yours Alexey
I´ve written an TV-guide plugin for search by category and time.
Programm:
the programm
As I´m one of those JAVA-Guys & progrmming all this as a real gbpv-plugin would have bee too much work for all those controls, ist a java-program compiled to native win32-code. So just add it as a custom task. configuration is made over parameters. just call tvguide -? for al dokumentation.
the program uses the category-description from the tv-data xml-file. so try it & see if it works for your xml-file.
if you click the record this button, the show is scheduled WITHOUT any conflict-check.
you have to manually check it via gbpvr-recordings-conflicts.
Navigation:
here is my irremote.ini section:
[TvGuide]
OK={enter}
SKIPFWD={pgdn}
SKIPREV={pgup}
VOLDOWN={shift}{tab}
VOLUP={tab}
here is the parameterdescription:
usage:
TvGuide.exe [{option=value}]
option can be
xmlfile: Path and filename to the xml-file with the tvdata
If you specify a correct ODBC_URL you can skip this parameter
and the xml file specified in the database is used.
code: unicode of the xml-file. eg. UTF-8
ODBC_URL: URL for JDBC-connection.
for a ODBC-Connection use jdbc:odbc:ODBC-Connectionname.
eg. jdbc:odbc:GBPVR
---------
how to set up a ODBC-Datasource for GBPVRs Access-file:
start-> run : odbcad32.exe
Add, then choose 'Microsoft Access Driver' and click finish
At Datasourcename type 'GBPVR'
and click 'select' and search for your gbpvr.mdb (usually found in c:\program fi
les\devnz\gbpvr
then click OK.
---------
capturesource: the oid of your capturesource.
You can find it in your gbpvr.mdb file.
qualitylevel: the nubmer of your qualitylevel.
You can find it in your gbpvr.mdb file.
prepad : number of minutes to start recording sooner.
postpad: number of minutes to stop recording later.
recorderclass: to choose which recorderclass to use.
by default recorder.GBPVRrecorderImpl is used for GBPVR.
maybe someone likes to implement another recorder class for other
PVR-Software.
Feel free and just implement recorder.recorder interface.
example:
TvGuide xmlfile=tvdata.xml recorderclass=recorder.GBPVRrecorderImpl code=UTF-8 O
DBC_URL=jdbc:odbc:GBPVR capturesource=1 qualitylevel=1 prepad=4 postpad=4
have fun with a more selective TV-consumption. Yours Alexey