1 |
|
---|
2 |
%main::stmt = ( |
---|
3 |
'addatq.1' => "SELECT count(*) FROM foltia_tvrecord WHERE tid = ?", |
---|
4 |
'addatq.2' => "SELECT count(*) FROM foltia_tvrecord WHERE tid = ? AND stationid = ?", |
---|
5 |
'addatq.3' => "SELECT count(*) FROM foltia_tvrecord WHERE tid = ? AND stationid = '0'", |
---|
6 |
'addatq.addcue.1' => "SELECT * FROM foltia_tvrecord WHERE tid = ?", |
---|
7 |
'addatq.addcue.2' => "SELECT * FROM foltia_tvrecord WHERE tid = ? AND stationid = ?", |
---|
8 |
'addatq.addcue.3' => "SELECT * from foltia_subtitle WHERE tid = ? AND startdatetime > ? AND startdatetime < ?", |
---|
9 |
'addatq.addcue.4' => "SELECT stationid , stationrecch FROM foltia_station where stationid = ?", |
---|
10 |
'addatq.addcue.5' => "SELECT * from foltia_subtitle WHERE tid = ? AND stationid = ? AND startdatetime > ? AND startdatetime < ?", |
---|
11 |
'addatq.addcue.6' => "SELECT stationid , stationrecch FROM foltia_station where stationid = ?", |
---|
12 |
|
---|
13 |
'addpidatq.1' => "SELECT count(*) FROM foltia_subtitle WHERE pid = ?", |
---|
14 |
'addpidatq.2' => "SELECT bitrate,digital FROM foltia_tvrecord , foltia_subtitle WHERE foltia_tvrecord.tid = foltia_subtitle.tid AND pid = ?", |
---|
15 |
'addpidatq.3' => "SELECT stationrecch, digitalch, digitalstationband ,foltia_station.stationid FROM foltia_station,foltia_subtitle WHERE foltia_subtitle.pid = ? AND foltia_subtitle.stationid = foltia_station.stationid", |
---|
16 |
'addpidatq.4' => "SELECT * FROM foltia_subtitle WHERE pid = ?", |
---|
17 |
|
---|
18 |
'changestbch.1' => "SELECT foltia_station.tunertype, foltia_station.tunerch, foltia_station.stationrecch, foltia_station.stationid FROM foltia_subtitle, foltia_station WHERE foltia_subtitle.stationid = foltia_station.stationid AND foltia_subtitle.pid = ?", |
---|
19 |
|
---|
20 |
'envpolicyupdate.1' => "SELECT userclass,name,passwd1 FROM foltia_envpolicy", |
---|
21 |
|
---|
22 |
'foltialib.getstationid.1' => "SELECT count(*) FROM foltia_station WHERE stationname = ?", |
---|
23 |
'foltialib.getstationid.2' => "SELECT stationid,stationname FROM foltia_station WHERE stationname = ?", |
---|
24 |
'foltialib.getstationid.3' => "SELECT max(stationid) FROM foltia_station", |
---|
25 |
'foltialib.getstationid.4' => "INSERT INTO foltia_station (stationid, stationname, stationrecch) VALUES (?, ?, ?)", |
---|
26 |
'foltialib.getpidbympegfilename.1' => "SELECT pid FROM foltia_subtitle WHERE m2pfilename = ? LIMIT 1", |
---|
27 |
'foltialib.changefilestatus.1' => "UPDATE foltia_subtitle SET filestatus = ?, lastupdate = now() WHERE pid = ?", |
---|
28 |
'foltialib.getfilestatus.1' => "SELECT filestatus FROM foltia_subtitle WHERE pid = ?", |
---|
29 |
|
---|
30 |
'getxml2db.1' => "SELECT count(*) FROM foltia_program WHERE tid = ?", |
---|
31 |
'getxml2db.2' => "INSERT into foltia_program VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", |
---|
32 |
'getxml2db.3' => "SELECT title FROM foltia_program WHERE tid = ?", |
---|
33 |
'getxml2db.4' => "UPDATE foltia_program SET title = ? where tid = ?", |
---|
34 |
'getxml2db.5' => "SELECT count(*) FROM foltia_subtitle WHERE tid = ? AND pid = ?", |
---|
35 |
'getxml2db.6' => "UPDATE foltia_subtitle SET stationid = ?, countno = ?, subtitle = ?, startdatetime = ?, enddatetime = ?, startoffset = ?, lengthmin = ? WHERE tid = ? AND pid = ?", |
---|
36 |
'getxml2db.7' => "UPDATE foltia_subtitle SET stationid = ?, countno = ?, subtitle = ?, startdatetime = ?, enddatetime = ?, startoffset = ?, lengthmin = ? WHERE tid = ? AND pid = ?", |
---|
37 |
'getxml2db.8' => "INSERT into foltia_subtitle (pid, tid, stationid, countno, subtitle, startdatetime, enddatetime, startoffset, lengthmin) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)", |
---|
38 |
'getxml2db.9' => "INSERT into foltia_subtitle (pid, tid, stationid, countno, subtitle, startdatetime, enddatetime, startoffset, lengthmin) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)", |
---|
39 |
|
---|
40 |
'ipodtranscode.1' => "SELECT foltia_subtitle.pid,foltia_subtitle.tid,foltia_subtitle.m2pfilename,filestatus,foltia_program.aspect,foltia_subtitle.countno FROM foltia_subtitle, foltia_program, foltia_m2pfiles WHERE filestatus >= ? AND filestatus < ? AND foltia_program.tid = foltia_subtitle.TID AND foltia_program.PSP = 1 AND foltia_m2pfiles.m2pfilename = foltia_subtitle.m2pfilename ORDER BY enddatetime ASC LIMIT 1", |
---|
41 |
'ipodtranscode.2' => "SELECT title, countno, subtitle FROM foltia_program, foltia_subtitle WHERE foltia_program.tid = foltia_subtitle.tid AND foltia_subtitle.pid = ?", |
---|
42 |
'ipodtranscode.updatemp4file.1' => "UPDATE foltia_subtitle SET PSPfilename = ? WHERE pid = ?", |
---|
43 |
'ipodtranscode.updatemp4file.2' => "INSERT INTO foltia_mp4files VALUES (?, ?)", |
---|
44 |
|
---|
45 |
'ipodtranscode.counttranscodefiles.1' => "SELECT count(*) FROM foltia_subtitle, foltia_program, foltia_m2pfiles WHERE filestatus >= ? AND filestatus < ? AND foltia_program.tid = foltia_subtitle.TID AND foltia_program.PSP = 1 AND foltia_m2pfiles.m2pfilename = foltia_subtitle.m2pfilename", |
---|
46 |
|
---|
47 |
'mklocalizeddir.1' => "SELECT title FROM foltia_program where tid = ?", |
---|
48 |
|
---|
49 |
'recwrap.1' => "UPDATE foltia_subtitle SET m2pfilename = ? WHERE pid = ?", |
---|
50 |
'recwrap.2' => "INSERT into foltia_m2pfiles VALUES (?)", |
---|
51 |
'recwrap.3' => "SELECT psp,aspect,title FROM foltia_program WHERE tid = ?", |
---|
52 |
'recwrap.4' => "SELECT subtitle FROM foltia_subtitle WHERE tid = ? AND countno = ?", |
---|
53 |
'recwrap.5' => "UPDATE foltia_subtitle SET PSPfilename = ? WHERE pid = ?", |
---|
54 |
'recwrap.6' => "INSERT into foltia_mp4files VALUES (?, ?)", |
---|
55 |
'recwrap.7' => "SELECT foltia_subtitle.tid,foltia_subtitle.countno,foltia_subtitle.subtitle,foltia_subtitle.startdatetime ,foltia_subtitle.enddatetime ,foltia_subtitle.lengthmin ,foltia_tvrecord.bitrate , foltia_subtitle.startoffset , foltia_subtitle.pid ,foltia_tvrecord.digital FROM foltia_subtitle ,foltia_tvrecord WHERE foltia_tvrecord.tid = foltia_subtitle.tid AND foltia_tvrecord.tid = ? AND foltia_subtitle.startdatetime = ? AND foltia_tvrecord.digital = 1", |
---|
56 |
|
---|
57 |
'schedulecheck.1' => "SELECT count(*) FROM foltia_tvrecord", |
---|
58 |
'schedulecheck.2' => "SELECT tid ,stationid FROM foltia_tvrecord", |
---|
59 |
|
---|
60 |
'singletranscode.1' => "SELECT pid FROM foltia_subtitle WHERE m2pfilename = ?", |
---|
61 |
'singletranscode.2' => "SELECT count(*) FROM foltia_subtitle WHERE tid = ? AND countno = ?", |
---|
62 |
'singletranscode.3' => "SELECT count(*) FROM foltia_subtitle WHERE tid = ?", |
---|
63 |
'singletranscode.4' => "SELECT psp,aspect,title FROM foltia_program WHERE tid = ?", |
---|
64 |
'singletranscode.5' => "SELECT subtitle FROM foltia_subtitle WHERE tid = ? AND countno = ?", |
---|
65 |
'singletranscode.6' => "UPDATE foltia_subtitle SET PSPfilename = ? WHERE pid = ?", |
---|
66 |
'singletranscode.7' => "INSERT into foltia_mp4files values (?, ?)", |
---|
67 |
|
---|
68 |
'updatem2pfiletable.1' => "DELETE FROM foltia_m2pfiles", |
---|
69 |
'updatem2pfiletable.2' => "INSERT into foltia_m2pfiles values (?)", |
---|
70 |
'updatem2pfiletable.3' => "DELETE FROM foltia_mp4files", |
---|
71 |
'updatem2pfiletable.4' => "INSERT into foltia_mp4files values (?, ?)", |
---|
72 |
|
---|
73 |
'xmltv2foltia.chkerase.1' => "DELETE FROM foltia_epg WHERE startdatetime > ? AND ontvchannel = ?", |
---|
74 |
'xmltv2foltia.registdb.1' => "SELECT max(epgid) FROM foltia_epg", |
---|
75 |
'xmltv2foltia.registdb.2' => "INSERT INTO foltia_epg VALUES (?, ?, ?, ?, ?, ?, ?, ?)", |
---|
76 |
|
---|
77 |
); |
---|
78 |
|
---|
79 |
1; |
---|