diff --git a/var/mongoose/cgi-bin/channel.jim b/var/mongoose/cgi-bin/channel.jim index 88a26a3..91b4467 100755 --- a/var/mongoose/cgi-bin/channel.jim +++ b/var/mongoose/cgi-bin/channel.jim @@ -71,6 +71,7 @@ foreach tw [$db query { "ITV3" { set mux "COM4/SDN" } "Dave" { set mux "COM5/ARQ A" } "Film4" { set mux "COM6/ARQ B" } + "BBC News HD" { set mux "COM7/ARQ C" } "Movies4Men" { set mux "Local" } } } diff --git a/var/mongoose/lib/bin/resetnew b/var/mongoose/lib/bin/resetnew index 651e5f0..90ecbbf 100755 --- a/var/mongoose/lib/bin/resetnew +++ b/var/mongoose/lib/bin/resetnew @@ -4,7 +4,7 @@ source /mod/webif/lib/setup require system.class ts.class proc scan {dir} { - puts "Fixing $dir..." + puts "Resetting unwatched count on $dir..." file stat "$dir/" st if {$st(dev) != $::rootdev} { return } diff --git a/var/mongoose/lib/settings.class b/var/mongoose/lib/settings.class index 6e13d8c..76962bb 100644 --- a/var/mongoose/lib/settings.class +++ b/var/mongoose/lib/settings.class @@ -35,7 +35,7 @@ class settings { settings method hostname {{name ""}} { if {$name == ""} { # Get - if {[catch {set fd [open "/var/lib/humaxtv/mod/hostname" r]}]} { + if {[catch {set fd [open "/var/lib/humaxtv/hostname" r]}]} { set name "humax" } else { set name [string trim [read $fd]] @@ -45,10 +45,10 @@ settings method hostname {{name ""}} { } else { # Set if [string is alnum -strict $name] { - set fd [open "/var/lib/humaxtv/mod/hostname" w] + set fd [open "/var/lib/humaxtv/hostname" w] puts $fd $name close $fd - exec hostname -F /var/lib/humaxtv/mod/hostname + exec hostname -F /var/lib/humaxtv/hostname } } }