From 3e3f0e1e4ccd57b3b32028bf9980f9104ae6f913 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Mar 2010 18:47:27 +0100 Subject: corrected bug when returning back to home --- js/istreamdev.js | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/js/istreamdev.js b/js/istreamdev.js index 1ce37e9..743eee0 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -95,6 +95,12 @@ function addAudiofiles() { $('#home_but').tap(function(event) { event.preventDefault(); $(this).parents('div').find('a').unbind("tap"); + $('#home').bind('pageAnimationEnd', function(event, info){ + if (info.direction == 'in') { + $('#jqt div[rel="browser"]').remove(); + $('#home').unbind('pageAnimationEnd'); + } + }); jQT.goTo('#home','flip'); }); @@ -385,6 +391,7 @@ $('#streamchannel span.recButton a').tap(function(event) { gen_edittimer(id,name,active,channumber,channame,rec_date,starttime,endtime); return false; }); + $('#streamrec span.streamButton a').tap(function(event) { event.preventDefault(); json_start(this); @@ -616,17 +623,6 @@ $('div[rel="browser"] a[class="back"]').tap(function(event) { $(this).parents('div[rel="browser"]').remove(); }); -$('div[rel="browser"] #home_but').tap(function(event) { - event.preventDefault(); - $(this).parents('div[rel="browser"]').find('ul[rel="filelist"] li[class="arrow"] a').unbind("tap"); - $('#home').bind('pageAnimationEnd', function(event, info){ - $('#jqt div[rel="browser"]').remove(); - $('#home').unbind('pageAnimationEnd'); - }); -}); - - - //Generate browser div according to type function gen_browser(path,browser,name,foldertype) { browser_template = '
'; -- cgit v1.2.3 From 6f5594694980ca500e5b9fc88fe2bae04b97df47 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Mar 2010 18:51:17 +0100 Subject: default max encoding to 3 . --- config_default.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config_default.php b/config_default.php index b421482..31badb0 100755 --- a/config_default.php +++ b/config_default.php @@ -24,12 +24,12 @@ $quality=array ( 'edge' => '128k 64k 1 240x160', '3g' => '350k 64k 1 408x272', 'wifi' => '512k 128k 2 480x320'); - $maxencodingprocesses=10; // Max simultaneous encoding processes + $maxencodingprocesses=3; // Max simultaneous encoding processes // Misc $ffmpegpath = '/usr/bin/ffmpeg'; //path to ffmpeg binary $segmenterpath = '/usr/bin/segmenter'; //path to segmenter binary // Version - $isdversion = "0.3.7"; + $isdversion = "1.0-alpha1"; ?> -- cgit v1.2.3 From a4350dcc888871c33003a334beaf3cf00f5e62b7 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Mar 2010 18:59:42 +0100 Subject: removed logos in git --- logos/FRANCE 2.png | Bin 3490 -> 0 bytes logos/FRANCE 3.png | Bin 3382 -> 0 bytes logos/PUT.YOUR.CHANNELS.LOGOS.PNG.HERE | 0 logos/TF1.png | Bin 1809 -> 0 bytes 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 logos/FRANCE 2.png delete mode 100644 logos/FRANCE 3.png create mode 100644 logos/PUT.YOUR.CHANNELS.LOGOS.PNG.HERE delete mode 100644 logos/TF1.png diff --git a/logos/FRANCE 2.png b/logos/FRANCE 2.png deleted file mode 100644 index c77d725..0000000 Binary files a/logos/FRANCE 2.png and /dev/null differ diff --git a/logos/FRANCE 3.png b/logos/FRANCE 3.png deleted file mode 100644 index 8f20d16..0000000 Binary files a/logos/FRANCE 3.png and /dev/null differ diff --git a/logos/PUT.YOUR.CHANNELS.LOGOS.PNG.HERE b/logos/PUT.YOUR.CHANNELS.LOGOS.PNG.HERE new file mode 100644 index 0000000..e69de29 diff --git a/logos/TF1.png b/logos/TF1.png deleted file mode 100644 index 56b1a74..0000000 Binary files a/logos/TF1.png and /dev/null differ -- cgit v1.2.3 From 949ce316278f4a557ca3e442ea31db66b77722b4 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Mar 2010 19:05:28 +0100 Subject: fixed default segmenter install path --- logos/PUT.YOUR.CHANNELS.LOGOS.PNG.HERE | 0 segmenter/Makefile | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 logos/PUT.YOUR.CHANNELS.LOGOS.PNG.HERE diff --git a/logos/PUT.YOUR.CHANNELS.LOGOS.PNG.HERE b/logos/PUT.YOUR.CHANNELS.LOGOS.PNG.HERE deleted file mode 100644 index e69de29..0000000 diff --git a/segmenter/Makefile b/segmenter/Makefile index c9ec717..0c9abd2 100644 --- a/segmenter/Makefile +++ b/segmenter/Makefile @@ -5,7 +5,7 @@ clean: rm segmenter install: segmenter - cp segmenter /usr/local/bin/ + cp segmenter /usr/bin/ uninstall: - rm /usr/local/bin/segmenter + rm /usr/bin/segmenter -- cgit v1.2.3 From 80bdf785d7909f4c11ba98f35417f3b8cb44f317 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Mar 2010 19:11:03 +0100 Subject: added auth --- bin/auth.php | 36 ++++++++++++++++++++++++++++++++++++ bin/backend.php | 1 + 2 files changed, 37 insertions(+) create mode 100644 bin/auth.php diff --git a/bin/auth.php b/bin/auth.php new file mode 100644 index 0000000..1545b7c --- /dev/null +++ b/bin/auth.php @@ -0,0 +1,36 @@ + diff --git a/bin/backend.php b/bin/backend.php index f312ed0..706dd91 100755 --- a/bin/backend.php +++ b/bin/backend.php @@ -6,6 +6,7 @@ if (file_exists('../config.php')) include ('../config.php'); else include ('../config_default.php'); +include ('./auth.php'); include ('../getid3/getid3.php'); include ('./utils.php'); include ('./files.php'); -- cgit v1.2.3 From c88db086ecb9d2b77d1ce77a2d29a90862651cf8 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Mar 2010 19:13:09 +0100 Subject: removed auth temporarely --- bin/backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/backend.php b/bin/backend.php index 706dd91..a27fac0 100755 --- a/bin/backend.php +++ b/bin/backend.php @@ -6,7 +6,7 @@ if (file_exists('../config.php')) include ('../config.php'); else include ('../config_default.php'); -include ('./auth.php'); +//include ('./auth.php'); include ('../getid3/getid3.php'); include ('./utils.php'); include ('./files.php'); -- cgit v1.2.3 From c32c1785108597b3bb500ea7f85d2c63cef00359 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Mar 2010 19:29:29 +0100 Subject: added auth --- bin/auth.php | 6 +- bin/backend.php | 2 +- index.html | 258 ------------------------------------------------------ index.php | 265 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 269 insertions(+), 262 deletions(-) delete mode 100644 index.html create mode 100644 index.php diff --git a/bin/auth.php b/bin/auth.php index 1545b7c..7e6eace 100644 --- a/bin/auth.php +++ b/bin/auth.php @@ -4,9 +4,9 @@ global $user, $pass; session_start(); -if (isset($_COOKIE['istream'])) +if (isset($_COOKIE['istreamdev'])) { - if(sha1($pass) == $_COOKIE['istream'] ) { + if(sha1($pass) == $_COOKIE['istreamdev'] ) { setcookie ("istream", sha1($pass), time()+60*60*24*30); $authorized = true; } else { @@ -19,7 +19,7 @@ if (isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) { if (($user == $_SERVER['PHP_AUTH_USER']) && ($pass == ($_SERVER['PHP_AUTH_PW'])) ) { - setcookie ("istream", sha1($pass), time()+60*60*24*30); + setcookie ("istreamdev", sha1($pass), time()+60*60*24*30); $authorized = true; } } diff --git a/bin/backend.php b/bin/backend.php index a27fac0..706dd91 100755 --- a/bin/backend.php +++ b/bin/backend.php @@ -6,7 +6,7 @@ if (file_exists('../config.php')) include ('../config.php'); else include ('../config_default.php'); -//include ('./auth.php'); +include ('./auth.php'); include ('../getid3/getid3.php'); include ('./utils.php'); include ('./files.php'); diff --git a/index.html b/index.html deleted file mode 100644 index 79cdea8..0000000 --- a/index.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - iStreamdev - - - - -
-
-
- - -
-
-

HOME

-
-
    -
  • SESSIONS
  • -
  • Checking running session
  • -
-
- - - -
-
- Home -

CATEGORIES

-
-
    -
-
- -
-
- Back - Home -

CHANNELS

-
-
    -
-
- - - -
-
- Back - Home -

Channel

-
-
-
    -
  • - -
  • -
  • - -
  • -
-
-
- Edge 3G WifiRec. -

-
-
- - - - -
-
- -
-
- Back - Home -

Recordings

-
-
-
    -
  • - - - -
  • -
-

- Edge 3G Wifi -

-
-
- - -
-
-
-
- Back - Home -

Video

-
-
-
    -
  • - - - -
  • -
-

- Edge 3G Wifi -

-
-
- - -
-
- -
-
- Back - Home -

-
-
-
    - Status - -
-
    -
-
- Stop stream -

-
-
- - - - - -
-
- - - - -
-
- Home -

TIMERS

-
- -
    -
- -
- -
-
- Back - Home -

-
-
-
    -
  • Active
  • -
-
    -
  • Name
  • -
  • Recording name is missing
  • -
  • -
-
    -
  • - Channel -
  • -
  • - -
  • -
- - - - - - - -
-
- - -
-
- Home -

EPG

-
- -
- -
-
- Back - Home -

WHAT'S ON

-
-
-
    -
  • Select a Channel
  • -
  • -
  • -
-
- -
- -
- - \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..f5d0dee --- /dev/null +++ b/index.php @@ -0,0 +1,265 @@ + + + + + + iStreamdev + + + + +
+
+
+ + +
+
+

HOME

+
+
    +
  • SESSIONS
  • +
  • Checking running session
  • +
+
+ + + +
+
+ Home +

CATEGORIES

+
+
    +
+
+ +
+
+ Back + Home +

CHANNELS

+
+
    +
+
+ + + +
+
+ Back + Home +

Channel

+
+
+
    +
  • + +
  • +
  • + +
  • +
+
+
+ Edge 3G WifiRec. +

+
+
+ + + + +
+
+ +
+
+ Back + Home +

Recordings

+
+
+
    +
  • + + + +
  • +
+

+ Edge 3G Wifi +

+
+
+ + +
+
+
+
+ Back + Home +

Video

+
+
+
    +
  • + + + +
  • +
+

+ Edge 3G Wifi +

+
+
+ + +
+
+ +
+
+ Back + Home +

+
+
+
    + Status + +
+
    +
+
+ Stop stream +

+
+
+ + + + + +
+
+ + + + +
+
+ Home +

TIMERS

+
+ +
    +
+ +
+ +
+
+ Back + Home +

+
+
+
    +
  • Active
  • +
+
    +
  • Name
  • +
  • Recording name is missing
  • +
  • +
+
    +
  • + Channel +
  • +
  • + +
  • +
+ + + + + + + +
+
+ + +
+
+ Home +

EPG

+
+ +
+ +
+
+ Back + Home +

WHAT'S ON

+
+
+
    +
  • Select a Channel
  • +
  • +
  • +
+
+ +
+ +
+ + \ No newline at end of file -- cgit v1.2.3