From 3aeb4f5cb42acb961b6c128ec4cbf23f397ae2f8 Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Sun, 16 Dec 2007 14:39:19 +0000 Subject: * MUSIC: remove proxy from playlist building, use proxy only to playing files * EPG: rename VPS to PDC, Programme Delivery Control --- skins/deltab/display.tmpl | 4 ++-- skins/deltab/global.js | 11 ++++------- skins/deltab/mlist.tmpl | 12 ++++++------ skins/deltab/now.tmpl | 4 ++-- skins/deltab/program.tmpl | 4 ++-- skins/deltab/search.tmpl | 4 ++-- skins/deltab/tlist.tmpl | 4 ++-- skins/deltab/widgets/remote.tmpl | 4 ++-- skins/stone/display.tmpl | 4 ++-- skins/stone/global.js | 12 ++++-------- skins/stone/mlist.tmpl | 12 ++++++------ skins/stone/now.tmpl | 4 ++-- skins/stone/program.tmpl | 4 ++-- skins/stone/search.tmpl | 4 ++-- skins/stone/tlist.tmpl | 6 +++--- skins/stone/widgets/remote.tmpl | 4 ++-- skins/stone_flat/display.tmpl | 4 ++-- skins/stone_flat/global.js | 12 ++++-------- skins/stone_flat/mlist.tmpl | 10 +++++----- skins/stone_flat/now.tmpl | 4 ++-- skins/stone_flat/program.tmpl | 4 ++-- skins/stone_flat/search.tmpl | 4 ++-- skins/stone_flat/tlist.tmpl | 4 ++-- skins/xstyle/display.tmpl | 2 +- skins/xstyle/javascript/global.js | 7 ++----- skins/xstyle/mlist.tmpl | 4 ++-- skins/xstyle/tlist.tmpl | 4 ++-- skins/xstyle/widgets/remote.tmpl | 4 ++-- skins/xstyle/widgets/start.tmpl | 4 ---- 29 files changed, 73 insertions(+), 91 deletions(-) diff --git a/skins/deltab/display.tmpl b/skins/deltab/display.tmpl index be62e9f..24c9075 100644 --- a/skins/deltab/display.tmpl +++ b/skins/deltab/display.tmpl @@ -16,7 +16,7 @@ d = data.last.8; video = data.last.9; audio = data.last.10; - vps = data.last.11; + pdc = data.last.11; %?>
@@ -54,7 +54,7 @@ END %?>          -  -  ( ) +  ( )       diff --git a/skins/deltab/global.js b/skins/deltab/global.js index 66046fd..ddc707c 100644 --- a/skins/deltab/global.js +++ b/skins/deltab/global.js @@ -122,15 +122,12 @@ function reverse(form) { } } -function PlayMusic(ids,proxy) { - var url = ""; - if(proxy != "") - url = proxy; - url = url + '?cmd=mplaylist&data=' + ids + '&binary=1'; +function PlayMusic(ids) { + var url = '?cmd=mplaylist&data=' + ids; location.href = url; } -function Play(warnmsg,form,proxy) { +function Play(warnmsg,form) { // test on checked Boxes x = 0; ok = new Array; @@ -143,7 +140,7 @@ function Play(warnmsg,form,proxy) { } } if(x > 0) { - PlayMusic(ok.join('_'),proxy); + PlayMusic(ok.join('_')); } else { alert(warnmsg); } diff --git a/skins/deltab/mlist.tmpl b/skins/deltab/mlist.tmpl index 22a99e3..c2a7686 100644 --- a/skins/deltab/mlist.tmpl +++ b/skins/deltab/mlist.tmpl @@ -53,15 +53,15 @@ - " href="?cmd=mgetfile&data=&__binary=1"> + " href="?cmd=mgetfile&data="> " /> - " href="javascript:PlayMusic('','')"> + " href="javascript:PlayMusic('')"> " /> - " href="javascript:PlayMusic('','')"> + " href="javascript:PlayMusic('')">  () @@ -73,7 +73,7 @@ " href="?cmd=ml&data=album:"> - <?% album %?> + <?% album %?>
 
- ',document.mlist,'')"> + ',document.mlist)"> " />   - ',document.mlist,'')"> + ',document.mlist)">

diff --git a/skins/deltab/now.tmpl b/skins/deltab/now.tmpl index 8dbcc6d..234996b 100644 --- a/skins/deltab/now.tmpl +++ b/skins/deltab/now.tmpl @@ -52,7 +52,7 @@  -  - (:) + (:) @@ -104,7 +104,7 @@ ";END %?> > - + diff --git a/skins/deltab/program.tmpl b/skins/deltab/program.tmpl index 86489fc..711febf 100644 --- a/skins/deltab/program.tmpl +++ b/skins/deltab/program.tmpl @@ -38,7 +38,7 @@  -  - (:) + (:) @@ -78,7 +78,7 @@ ";END %?> - + diff --git a/skins/deltab/search.tmpl b/skins/deltab/search.tmpl index dad6d81..78e5761 100644 --- a/skins/deltab/search.tmpl +++ b/skins/deltab/search.tmpl @@ -43,7 +43,7 @@  -  - (:) + (:) @@ -76,7 +76,7 @@ ";END %?> - + diff --git a/skins/deltab/tlist.tmpl b/skins/deltab/tlist.tmpl index a59aaaf..22443b0 100644 --- a/skins/deltab/tlist.tmpl +++ b/skins/deltab/tlist.tmpl @@ -97,7 +97,7 @@ class=""> - - + "> @@ -158,7 +158,7 @@ duration=zeile.13; description=zeile.14; t = zeile.7.split('~');IF t.size > 1;subtitle = t.pop;ELSE;subtitle="";END;title=t.join('~'); - vps= ( zeile.1 ? zeile.1 mod 8 div 4 : 0 ); + pdc= ( zeile.1 ? zeile.1 mod 8 div 4 : 0 ); day = date.format(zeile.9, "%A, %x", locale) %?> diff --git a/skins/deltab/widgets/remote.tmpl b/skins/deltab/widgets/remote.tmpl index f9e7f8c..2ea9d22 100644 --- a/skins/deltab/widgets/remote.tmpl +++ b/skins/deltab/widgets/remote.tmpl @@ -25,7 +25,7 @@ function remote(key) { function grab() { if(document.remoteform.grabinterval.value > 0) { Now = new Date(); - document.livepicture.src = '?cmd=gdisplay&binary=1&laber=' + Now.getTime(); + document.livepicture.src = '?cmd=gdisplay&random=' + Now.getTime(); } last = Date.UTC(); } @@ -237,7 +237,7 @@ aktiv = window.setInterval("grab()", inter);
- <?% date.now %?> + <?% date.now %?>
diff --git a/skins/stone/display.tmpl b/skins/stone/display.tmpl index 2668d79..7f42d39 100644 --- a/skins/stone/display.tmpl +++ b/skins/stone/display.tmpl @@ -20,7 +20,7 @@ d = data.last.8; video = data.last.9; audio = data.last.10; - vps = data.last.11; + pdc = data.last.11; %?> @@ -101,7 +101,7 @@ END %?>
 -  -    ( ) +    ( )    
diff --git a/skins/stone/global.js b/skins/stone/global.js index fecb217..a843a69 100644 --- a/skins/stone/global.js +++ b/skins/stone/global.js @@ -245,16 +245,12 @@ function selfield(id,checkbox) } } -function PlayMusic(ids,proxy) { - /*popupwindow('?cmd=mplay&data=' + ids,620,670,0);*/ - var url = ""; - if(proxy != "") - url = proxy; - url = url + '?cmd=mplaylist&data=' + ids + '&binary=1'; +function PlayMusic(ids) { + var url = '?cmd=mplaylist&data=' + ids; location.href = url; } -function Play(warnmsg,form,proxy) { +function Play(warnmsg,form) { // test on checked Boxes x = 0; ok = new Array; @@ -267,7 +263,7 @@ function Play(warnmsg,form,proxy) { } } if(x > 0) { - PlayMusic(ok.join('_'),proxy); + PlayMusic(ok.join('_')); } else { alert(warnmsg); } diff --git a/skins/stone/mlist.tmpl b/skins/stone/mlist.tmpl index 18227c7..a2fa6c3 100644 --- a/skins/stone/mlist.tmpl +++ b/skins/stone/mlist.tmpl @@ -60,7 +60,7 @@ - " href="javascript:PlayMusic('','')"> + " href="javascript:PlayMusic('')">  () @@ -71,12 +71,12 @@ - " href="?cmd=mgetfile&data=&__binary=1"> + " href="?cmd=mgetfile&data="> " /> - " href="javascript:PlayMusic('','')"> + " href="javascript:PlayMusic('')"> " /> @@ -132,7 +132,7 @@ " href="?cmd=ml&data=album:"> - <?% album %?> + <?% album %?> @@ -235,10 +235,10 @@
 
- ',document.mlist,'')"> + ',document.mlist)"> " />   - ',document.mlist,'')"> + ',document.mlist)"> diff --git a/skins/stone/now.tmpl b/skins/stone/now.tmpl index f96b6d2..15b8bff 100644 --- a/skins/stone/now.tmpl +++ b/skins/stone/now.tmpl @@ -82,7 +82,7 @@ " style="white-space: nowrap">  -  - (:) + (:)
@@ -126,7 +126,7 @@ ";END %?> - +

diff --git a/skins/stone/program.tmpl b/skins/stone/program.tmpl index d8f7881..f06a6fc 100644 --- a/skins/stone/program.tmpl +++ b/skins/stone/program.tmpl @@ -75,7 +75,7 @@ ">  -  - (:) + (:)
@@ -119,7 +119,7 @@

  -

";END %?> - +
diff --git a/skins/stone/search.tmpl b/skins/stone/search.tmpl index 148f1c9..698b061 100644 --- a/skins/stone/search.tmpl +++ b/skins/stone/search.tmpl @@ -66,7 +66,7 @@ ">  -  - (:) + (:) @@ -91,7 +91,7 @@

: -

";END %?> - +
diff --git a/skins/stone/tlist.tmpl b/skins/stone/tlist.tmpl index 780f516..da220a7 100644 --- a/skins/stone/tlist.tmpl +++ b/skins/stone/tlist.tmpl @@ -21,7 +21,7 @@ min = total div 60 mod 60; hour = total div 3600; %?> - 0 %?>: += 0 %?>:

@@ -136,7 +136,7 @@ "> - - + @@ -177,7 +177,7 @@ duration=zeile.13; description=zeile.14; t = zeile.7.split('~');IF t.size > 1;subtitle = t.pop;ELSE;subtitle="";END;title=t.join('~'); - vps= ( zeile.1 ? zeile.1 mod 8 div 4 : 0 ); + pdc= ( zeile.1 ? zeile.1 mod 8 div 4 : 0 ); day = date.format(zeile.9, "%A, %x", locale) %?>
diff --git a/skins/stone/widgets/remote.tmpl b/skins/stone/widgets/remote.tmpl index 271ba40..ab164fe 100644 --- a/skins/stone/widgets/remote.tmpl +++ b/skins/stone/widgets/remote.tmpl @@ -27,7 +27,7 @@ function remote(key) { function grab() { if(document.remoteform.grabinterval.value > 0) { Now = new Date(); - document.livepicture.src = '?cmd=gdisplay&binary=1&laber=' + Now.getTime(); + document.livepicture.src = '?cmd=gdisplay&random=' + Now.getTime(); } last = Date.UTC(); } @@ -57,7 +57,7 @@ aktiv = window.setInterval("grab()", inter);
- <?% date.now %?> + <?% date.now %?>
diff --git a/skins/stone_flat/display.tmpl b/skins/stone_flat/display.tmpl index 506601b..7d0a0c4 100644 --- a/skins/stone_flat/display.tmpl +++ b/skins/stone_flat/display.tmpl @@ -20,7 +20,7 @@ d = data.last.8; video = data.last.9; audio = data.last.10; - vps = data.last.11; + pdc = data.last.11; %?> @@ -100,7 +100,7 @@ END %?>
 -  -    ( ) +    ( )     diff --git a/skins/stone_flat/global.js b/skins/stone_flat/global.js index ad297e9..cc96429 100644 --- a/skins/stone_flat/global.js +++ b/skins/stone_flat/global.js @@ -250,16 +250,12 @@ function selfield(id,checkbox) } } -function PlayMusic(ids,proxy) { - /*popupwindow('?cmd=mplay&data=' + ids,620,670,0);*/ - var url = ""; - if(proxy != "") - url = proxy; - url = url + '?cmd=mplaylist&data=' + ids + '&binary=1'; +function PlayMusic(ids) { + var url = '?cmd=mplaylist&data=' + ids; location.href = url; } -function Play(warnmsg,form,proxy) { +function Play(warnmsg,form) { // test on checked Boxes x = 0; ok = new Array; @@ -272,7 +268,7 @@ function Play(warnmsg,form,proxy) { } } if(x > 0) { - PlayMusic(ok.join('_'),proxy); + PlayMusic(ok.join('_')); } else { alert(warnmsg); } diff --git a/skins/stone_flat/mlist.tmpl b/skins/stone_flat/mlist.tmpl index 3fc0495..b2cdeff 100644 --- a/skins/stone_flat/mlist.tmpl +++ b/skins/stone_flat/mlist.tmpl @@ -50,12 +50,12 @@  () - " href="?cmd=mgetfile&data=&__binary=1"> + " href="?cmd=mgetfile&data="> " /> - " href="javascript:PlayMusic('','')"> + " href="javascript:PlayMusic('')"> " /> @@ -114,7 +114,7 @@ " href="?cmd=ml&data=album:"> - <?% album %?> + <?% album %?> @@ -201,10 +201,10 @@
 
- ',document.mlist,'')"> + ',document.mlist)"> " />   - ',document.mlist,'')"> + ',document.mlist)"> diff --git a/skins/stone_flat/now.tmpl b/skins/stone_flat/now.tmpl index d6a8a19..a8c27be 100644 --- a/skins/stone_flat/now.tmpl +++ b/skins/stone_flat/now.tmpl @@ -60,7 +60,7 @@ " style="text-align:right"> - (:) + (:)  -  @@ -121,7 +121,7 @@ ";END %?> - + diff --git a/skins/stone_flat/program.tmpl b/skins/stone_flat/program.tmpl index c602efd..a6c26ed 100644 --- a/skins/stone_flat/program.tmpl +++ b/skins/stone_flat/program.tmpl @@ -45,7 +45,7 @@ > "> -  - (:) + (:) @@ -94,7 +94,7 @@ ";END %?> - + diff --git a/skins/stone_flat/search.tmpl b/skins/stone_flat/search.tmpl index a7cb928..6d8685f 100644 --- a/skins/stone_flat/search.tmpl +++ b/skins/stone_flat/search.tmpl @@ -46,7 +46,7 @@ " style="white-space: nowrap; text-align: right;"> - (:) + (:)  -  @@ -71,7 +71,7 @@ ";END %?> - + diff --git a/skins/stone_flat/tlist.tmpl b/skins/stone_flat/tlist.tmpl index 359993f..5201246 100644 --- a/skins/stone_flat/tlist.tmpl +++ b/skins/stone_flat/tlist.tmpl @@ -107,7 +107,7 @@ "> - - + @@ -159,7 +159,7 @@ duration=zeile.13; description=zeile.14; t = zeile.7.split('~');IF t.size > 1;subtitle = t.pop;ELSE;subtitle="";END;title=t.join('~'); - vps= ( zeile.1 ? zeile.1 mod 8 div 4 : 0 ); + pdc= ( zeile.1 ? zeile.1 mod 8 div 4 : 0 ); day = date.format(zeile.9, "%A, %x", locale) %?> diff --git a/skins/xstyle/display.tmpl b/skins/xstyle/display.tmpl index 7299457..fe915a8 100644 --- a/skins/xstyle/display.tmpl +++ b/skins/xstyle/display.tmpl @@ -71,7 +71,7 @@   -  ( ) +  ( ) diff --git a/skins/xstyle/javascript/global.js b/skins/xstyle/javascript/global.js index 73a8f42..9d69317 100644 --- a/skins/xstyle/javascript/global.js +++ b/skins/xstyle/javascript/global.js @@ -113,7 +113,7 @@ function reverse(form) { } } -function Play(warnmsg,form,proxy) { +function Play(warnmsg,form) { // test on checked Boxes ok = new Array; x = 0; @@ -126,10 +126,7 @@ function Play(warnmsg,form,proxy) { } } if(x > 0) { - var url = ""; - if(proxy != 0) - url = proxy; - url = url + '?cmd=mplaylist&data=' + ok.join('_') + '&binary=1'; + var url = '?cmd=mplaylist&data=' + ok.join('_'); location.href = url; } else { alert(warnmsg); diff --git a/skins/xstyle/mlist.tmpl b/skins/xstyle/mlist.tmpl index ae58760..0644052 100644 --- a/skins/xstyle/mlist.tmpl +++ b/skins/xstyle/mlist.tmpl @@ -52,7 +52,7 @@