From 21de0e6d5a942095a3cd64ea66afbc294443e9a9 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sun, 31 Jan 2016 19:58:12 +0000 Subject: [PATCH] radio icon rather than SD/HD for radio programmes. git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2580 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 2 +- webif/html/browse/chunk/progress.jim | 2 +- webif/html/browse/file.jim | 10 +++++++--- webif/html/img/radio.png | Bin 0 -> 748 bytes webif/lib/browse.class | 18 +++++++++++------- 5 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 webif/html/img/radio.png diff --git a/CONTROL/control b/CONTROL/control index 1d07ef6..3d9aac6 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -4,7 +4,7 @@ Section: web Version: 1.2.6-2 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.37-2),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.8),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7) +Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.37-2),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.9),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7) Suggests: Description: An evolving web interface for the Humax. Tags: http://hummy.tv/forum/threads/6484/ diff --git a/webif/html/browse/chunk/progress.jim b/webif/html/browse/chunk/progress.jim index 408f0e6..0f30745 100755 --- a/webif/html/browse/chunk/progress.jim +++ b/webif/html/browse/chunk/progress.jim @@ -4,7 +4,7 @@ package require cgi source /mod/webif/lib/setup require ts.class -heepheader +httpheader set file [cgi_get file] set part [cgi_get part] diff --git a/webif/html/browse/file.jim b/webif/html/browse/file.jim index 590158c..ac4d034 100755 --- a/webif/html/browse/file.jim +++ b/webif/html/browse/file.jim @@ -116,10 +116,14 @@ if {$type eq "ts"} { Definition " - if {[$ts get definition] eq "HD"} { - puts "" + if {[$ts flag Radio]} { + puts "" } else { - puts "" + if {[$ts get definition] eq "HD"} { + puts "" + } else { + puts "" + } } puts " diff --git a/webif/html/img/radio.png b/webif/html/img/radio.png new file mode 100644 index 0000000000000000000000000000000000000000..8648b615bedec4d7f8262fec98d6d19139c02dec GIT binary patch literal 748 zcmVUO$`750(nV9 zK~z}7)z?dijbRuE@ZWK(Np4ZDMNw{PXbL+`aw#c0qFAt?D5YdXvan$xO3cE7nq(|2 z5Ef*iSWx4#U^z)rGr1g>ahqfFjJ{6ieCIpoFmwFt*?jNq|2_ZbdEWP-dNgTpTtqi^ z4#r`_YFP6e?{O9d+`&G~Ycx-e#|iY}N05DkT`@MYQHbU+2V3zth!*ey=P|3;qF_~E7?HZE?OV{uj{H2}l<6U^DlIMFOaWWBniQ_d8{D}it5QjD4I`&pr*AcaG zZq_W`UPl(MN$hhsL!vy1Ii01lI9EilE8&T*8j_?R%Zt8k!6n?piiovb+#nAlURTF^ zZ~%)3h?kT24X)KF@sy&>?ZDcw37DQZqc^(4Of76u;;nT^yfQ`33)q9*IG-}FqQv<` z+*Df!TmM31R8rz(KQJcZVyMtpu4(!h4ykSDquQ emqU;L3BLgxe@lmDTJ^C20000