forked from hummypkg/webif
fix rsvp table and allow scheduling
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@331 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
3f02bf8365
commit
b7310e9765
@ -71,7 +71,7 @@ if {$type == 1} {
|
||||
#puts $args
|
||||
|
||||
set msg ""
|
||||
if {![file exists /mod/.schedule.testing]} { set msg "Disabled during testing" }
|
||||
#if {![file exists /mod/.schedule.testing]} { set msg "Disabled during testing" }
|
||||
if {$msg ne "" || [catch {[rsv new $args] insert} msg]} {
|
||||
puts "Error encountered while scheduling the recording: <i>$msg</i>"
|
||||
} else {
|
||||
|
@ -17,6 +17,9 @@ if {![file exists /var/lib/humaxtv/rsvp.db]} {
|
||||
$tdb close
|
||||
}
|
||||
$rsvdb query {attach database '/var/lib/humaxtv/rsvp.db' as pending}
|
||||
# This is required to upgrade old tables and will be removed in a future
|
||||
# version.
|
||||
catch { $rsvdb query {alter table pending add column action int} }
|
||||
|
||||
class rsv {
|
||||
ulslot -1
|
||||
|
Loading…
Reference in New Issue
Block a user