summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/genmanifest.php37
-rw-r--r--istreamdev.manifest238
-rw-r--r--js/istreamdev.js2
-rw-r--r--staticcache.txt45
4 files changed, 320 insertions, 2 deletions
diff --git a/bin/genmanifest.php b/bin/genmanifest.php
new file mode 100644
index 0000000..26981c4
--- /dev/null
+++ b/bin/genmanifest.php
@@ -0,0 +1,37 @@
+<?php
+
+$filelisting = array();
+$dir_handle = @opendir('../logos');
+if (!$dir_handle)
+ return array();
+$staticcache = "";
+$inF = fopen("../staticcache.txt","r");
+while(!feof($inF)) {
+ $staticcache .= fgets($inF,255);
+ }
+fclose($inF);
+while ($logoname = readdir($dir_handle))
+ {
+ if($logoname == "." || $logoname == ".." || $logoname == 'lost+found')
+ continue;
+ $logoname_array[] = $logoname;
+ if ($logoname_array[0] == NULL)
+ return array();
+ $number = 1;
+ $logolist = "";
+ foreach($logoname_array as $value)
+ {
+ $logolist .= "logos/".$value."\n";
+ }
+ $inF = fopen("../istreamdev.manifest","w");
+ fwrite($inF,"CACHE MANIFEST\n");
+ fwrite($inF,"NETWORK:\n");
+ fwrite($inF,"bin/backend.php\n");
+ fwrite($inF,"ram/\n");
+ fwrite($inF,"playlist/\n");
+ fwrite($inF,"CACHE:\n");
+ fwrite($inF,$staticcache);
+ fwrite($inF,$logolist);
+ fclose($inF);
+}
+?>
diff --git a/istreamdev.manifest b/istreamdev.manifest
index e69de29..d3d2c30 100644
--- a/istreamdev.manifest
+++ b/istreamdev.manifest
@@ -0,0 +1,238 @@
+CACHE MANIFEST
+NETWORK:
+bin/backend.php
+ram/
+playlist/
+CACHE:
+jqtouch/jqtouch.css
+themes/jqt/theme.css
+css/istreamdev.css
+jqtouch/jquery.1.3.2.min.js
+jqtouch/jqtouch.js
+jqtouch/jqtouch.transitions.js
+extensions/jqt.offline.js
+js/istreamdev.js
+js/functions.js
+js/spinningwheel-min.js
+css/spinningwheel.css
+themes/jqt/img/chevron.png
+themes/jqt/img/back_button.png
+themes/jqt/img/back_button_clicked.png
+themes/jqt/img/button_clicked.png
+themes/jqt/img/button.png
+themes/jqt/img/button_clicked.png
+themes/jqt/img/toolbar.png
+themes/jqt/img/on_off.png
+img/loading.gif
+img/audio.png
+img/epg.png
+img/media.png
+img/record.png
+img/timers.png
+img/timeron.png
+img/timeroff.png
+img/timerrec.png
+img/tv.png
+img/video.png
+img/stream.png
+img/stream_clicked.png
+img/istreamdev.png
+img/mask.png
+img/nologoTV.png
+img/nologoREC.png
+img/nologoMEDIA.png
+img/rec.png
+img/rec_clicked.png
+img/sw-alpha.png
+img/sw-button-cancel.png
+img/sw-button-done.png
+img/sw-header.png
+img/sw-slot-border.png
+img/nologoTV-mini.jpg
+logos/PLANETE NO LIMIT.png
+logos/EURONEWS.png
+logos/DIRECT 8.png
+logos/VOYAGE.png
+logos/FILLES TV.png
+logos/MATCH TV.png
+logos/FOX LIFE.png
+logos/DORCEL TV.png
+logos/OL TV.png
+logos/NICKELODEON.png
+logos/LCI.png
+logos/TELE MELODY.png
+logos/EXTREME SPORTS.png
+logos/MTV.png
+logos/M6 MUSIC HITS.png
+logos/VIVOLTA.png
+logos/PLANETE.png
+logos/TELETOON.png
+logos/iCONCERTS.png
+logos/TMC.png
+logos/TCM.png
+logos/TELE MAISON.png
+logos/BRAVA HD.png
+logos/MANGAS.png
+logos/E! ENTERTAINMENT.png
+logos/NRJ12 HD.png
+logos/Live 1.png
+logos/PLANETE JUSTICE.png
+logos/ARTE.png
+logos/TF1.png
+logos/nologoREC.png
+logos/JUNE.png
+logos/France 3.png
+logos/NBA+.png
+logos/AB MOTEURS.png
+logos/HUSTLER TV.png
+logos/BABY TV.png
+logos/AB 1.png
+logos/C CINEMA STAR.png
+logos/PINK TV.png
+logos/BBC WORLD.png
+logos/C CINEMA FRISSON.png
+logos/RTPI.png
+logos/FRANCE 3.png
+logos/CNBC EUROPE.png
+logos/ENCYCLOPEDIA.png
+logos/REAL TIME.png
+logos/POKER CHANNEL.png
+logos/M6.png
+logos/DISNEY MAGIC HD.png
+logos/HD1.png
+logos/MA CHAINE SPORT.png
+logos/MTV 2.png
+logos/MTV PULSE.png
+logos/M6 BOUTIQUE LA CHAINE.png
+logos/CANAL+ CINEMA.png
+logos/readme.txt
+logos/GULLI.png
+logos/NATIONAL GEO HD.png
+logos/BOOMERANG.png
+logos/FOOT+ 1.png
+logos/TELESSONNE.png
+logos/SEASONS.png
+logos/FRANCE 4.png
+logos/MUSIQUE CLASSIQUE.png
+logos/RTL9.png
+logos/PLAYIN' TV.png
+logos/DISNEY MAGIC+1.png
+logos/MTV BASE.png
+logos/CNN.png
+logos/CANAL+ SPORT.png
+logos/MCM.png
+logos/CANAL+ FAMILY.png
+logos/CANAL J.png
+logos/DISNEY CINEMAGIC.png
+logos/MTV IDOL.png
+logos/iCONCERTS HD.png
+logos/ANIMAUX.png
+logos/MELODY ZEN HD.png
+logos/TPS STAR.png
+logos/FOOT+ 2.png
+logos/NT1.png
+logos/M6 MUSIC BLACK.png
+logos/TV BREIZH.png
+logos/BFM TV.png
+logos/TIJI.png
+logos/MCM TOP.png
+logos/TFJ.png
+logos/CUISINE TV.png
+logos/ODYSSEE.png
+logos/PLANETE THALASSA.png
+logos/PLAYHOUSE DISNEY.png
+logos/MTV HD.png
+logos/MYZEN.TV HD.png
+logos/LA CHAINE METEO.png
+logos/VIRGIN 17.png
+logos/SPORT+.png
+logos/SYFY UNIVERSAL.png
+logos/AL JAZEERA ENG.png
+logos/DISNEY CHANNEL.png
+logos/FRANCE 2 HD.png
+logos/I,TELE.png
+logos/MCM POP.png
+logos/PLANETE JUNIORS.png
+logos/CANAL+ HD.png
+logos/nologo.png
+logos/ESCALES.png
+logos/GAME ONE MUSIC HD.png
+logos/MYZEN.TV.png
+logos/FOOT+ 3.png
+logos/TEVA.png
+logos/COMEDIE !.png
+logos/FRANCE 2.png
+logos/TV5MONDE.png
+logos/GAME ONE.png
+logos/DISCOVERY REAL TIME.png
+logos/TELETOON+1.png
+logos/DISNEY CHANNEL+1.png
+logos/PIWI.png
+logos/FOOT+ 7.png
+logos/W9.png
+logos/TF6.png
+logos/CARTOON NETWORK.png
+logos/OM TV.png
+logos/C CINEMA CLASSIC.png
+logos/NRJ 12 HD.png
+logos/M6 HD.png
+logos/DISNEY XD.png
+logos/FRANCE O.png
+logos/FOOT+ 6.png
+logos/C CINEMA FAMIZ.png
+logos/MTV HITS.png
+logos/JETIX.png
+logos/FIT.png
+logos/OLTV.png
+logos/HISTOIRE.png
+logos/nologoMEDIA.png
+logos/XXL.png
+logos/C CINEMA EMOTION.png
+logos/CHASSE ET PECHE.png
+logos/BLOOMBERG.png
+logos/I CONCERTS.png
+logos/FRANCE 24.png
+logos/ZDF.png
+logos/USHUAIA TV.png
+logos/BBC PRIME.png
+logos/SIC.png
+logos/RAI 1.png
+logos/CANAL+ DECALE.png
+logos/M6 MUSIC ROCK.png
+logos/M6 MUSIC CLUB.png
+logos/nologoTV.png
+logos/NATIONAL GEO.png
+logos/TF1 HD.png
+logos/EUROSPORT.png
+logos/MOTORS TV.png
+logos/NRJ 12.png
+logos/SERIE CLUB.png
+logos/FRANCE 5.png
+logos/FUN TV.png
+logos/C CINEMA PREMIER.png
+logos/PARIS PREMIERE.png
+logos/USHUAIA TV HD.png
+logos/CINE FX.png
+logos/CINE POLAR.png
+logos/JIMMY.png
+logos/FOOT+ 5.png
+logos/XXX EXTREME.png
+logos/NICKELODEON JUNIOR.png
+logos/C CINEMA CLUB.png
+logos/ESPN CLASSIC EUROPE.png
+logos/EUREKA!.png
+logos/INFOSPORT.png
+logos/ACTION.png
+logos/CNN Int..png
+logos/LUXE.TV HD.png
+logos/13EME RUE.png
+logos/FASHION TV.png
+logos/KTO.png
+logos/ARTE HD.png
+logos/ESPN CLASSIC.png
+logos/TRACE TV.png
+logos/L'EQUIPE TV.png
+logos/OM'TV.png
+logos/FOOT+ 4.png
+logos/MEZZO.png
+logos/CANAL+.png
diff --git a/js/istreamdev.js b/js/istreamdev.js
index eef6357..10a465c 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -48,8 +48,6 @@ jQT = new $.jQTouch({
// [GENERIC STUFF]
// Global variable
-//window.applicationCache;
-
dataString = "action=getGlobals";
$.getJSON("bin/backend.php",
dataString,
diff --git a/staticcache.txt b/staticcache.txt
new file mode 100644
index 0000000..c152c11
--- /dev/null
+++ b/staticcache.txt
@@ -0,0 +1,45 @@
+jqtouch/jqtouch.css
+themes/jqt/theme.css
+css/istreamdev.css
+jqtouch/jquery.1.3.2.min.js
+jqtouch/jqtouch.js
+jqtouch/jqtouch.transitions.js
+extensions/jqt.offline.js
+js/istreamdev.js
+js/functions.js
+js/spinningwheel-min.js
+css/spinningwheel.css
+themes/jqt/img/chevron.png
+themes/jqt/img/back_button.png
+themes/jqt/img/back_button_clicked.png
+themes/jqt/img/button_clicked.png
+themes/jqt/img/button.png
+themes/jqt/img/button_clicked.png
+themes/jqt/img/toolbar.png
+themes/jqt/img/on_off.png
+img/loading.gif
+img/audio.png
+img/epg.png
+img/media.png
+img/record.png
+img/timers.png
+img/timeron.png
+img/timeroff.png
+img/timerrec.png
+img/tv.png
+img/video.png
+img/stream.png
+img/stream_clicked.png
+img/istreamdev.png
+img/mask.png
+img/nologoTV.png
+img/nologoREC.png
+img/nologoMEDIA.png
+img/rec.png
+img/rec_clicked.png
+img/sw-alpha.png
+img/sw-button-cancel.png
+img/sw-button-done.png
+img/sw-header.png
+img/sw-slot-border.png
+img/nologoTV-mini.jpg