summaryrefslogtreecommitdiff
path: root/themes/bin/textfiles
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-15 17:56:22 +0100
committerAlib <aliboba@free.fr>2010-03-15 17:56:22 +0100
commit438912c0c4a4075a5cd74cf9689451c9df4bbe34 (patch)
tree334e03bbba01b002a34d3cbf81ee7e600ec7bff6 /themes/bin/textfiles
parenta8012963c23e7e5eaf487ee9e192ae5c4d4ccff2 (diff)
downloadistreamdev-438912c0c4a4075a5cd74cf9689451c9df4bbe34.tar.gz
istreamdev-438912c0c4a4075a5cd74cf9689451c9df4bbe34.tar.bz2
New Jquery branch. Initial development version for istreamdev 1.0
Diffstat (limited to 'themes/bin/textfiles')
-rw-r--r--themes/bin/textfiles/addTimer.txt1
-rw-r--r--themes/bin/textfiles/browseAudio.txt21
-rw-r--r--themes/bin/textfiles/browseFolder-rec.txt22
-rw-r--r--themes/bin/textfiles/browseFolder-vid.txt20
-rw-r--r--themes/bin/textfiles/delTimer.txt1
-rw-r--r--themes/bin/textfiles/editTimer.txt1
-rw-r--r--themes/bin/textfiles/getChanInfo.txt14
-rw-r--r--themes/bin/textfiles/getFullChanList.txt34
-rw-r--r--themes/bin/textfiles/getGlobals.txt6
-rw-r--r--themes/bin/textfiles/getRecInfo.txt10
-rw-r--r--themes/bin/textfiles/getStreamInfo-1.txt17
-rw-r--r--themes/bin/textfiles/getStreamInfo-2.txt16
-rw-r--r--themes/bin/textfiles/getStreamInfo-3.txt17
-rw-r--r--themes/bin/textfiles/getStreamStatus.txt1
-rw-r--r--themes/bin/textfiles/getTimers.txt38
-rw-r--r--themes/bin/textfiles/getTvCat.txt16
-rw-r--r--themes/bin/textfiles/getTvChan.txt19
-rw-r--r--themes/bin/textfiles/getVidInfo.txt13
-rw-r--r--themes/bin/textfiles/startBroadcast-rec.txt2
-rw-r--r--themes/bin/textfiles/startBroadcast-tv.txt2
-rw-r--r--themes/bin/textfiles/startBroadcast-vid.txt2
-rw-r--r--themes/bin/textfiles/stopBroadcast.txt1
-rw-r--r--themes/bin/textfiles/streamAudio.txt14
23 files changed, 288 insertions, 0 deletions
diff --git a/themes/bin/textfiles/addTimer.txt b/themes/bin/textfiles/addTimer.txt
new file mode 100644
index 0000000..728616e
--- /dev/null
+++ b/themes/bin/textfiles/addTimer.txt
@@ -0,0 +1 @@
+{ "status": "Ok", "message":"Timer created successfully" }
diff --git a/themes/bin/textfiles/browseAudio.txt b/themes/bin/textfiles/browseAudio.txt
new file mode 100644
index 0000000..2f91c4f
--- /dev/null
+++ b/themes/bin/textfiles/browseAudio.txt
@@ -0,0 +1,21 @@
+{
+ "list":
+ [
+ {
+ "type": "folder",
+ "name": "album1",
+ "path": "/mnt/music/album1"
+ },
+ {
+ "type": "folder",
+ "name": "album2",
+ "path": "/mnt/music/album2"
+ },
+ {
+ "type": "audio",
+ "name": "audiofile.mp3",
+ "length": "3.30",
+ "path": "/mnt/music/audiofile.mp3"
+ }
+ ]
+}
diff --git a/themes/bin/textfiles/browseFolder-rec.txt b/themes/bin/textfiles/browseFolder-rec.txt
new file mode 100644
index 0000000..c3d721c
--- /dev/null
+++ b/themes/bin/textfiles/browseFolder-rec.txt
@@ -0,0 +1,22 @@
+{
+ "list":
+ [
+ {
+ "type": "folder",
+ "name": "rec1",
+ "path": "/video/rec1"
+ },
+ {
+ "type": "folder",
+ "name": "rec2",
+ "path": "/video/rec2"
+ },
+ {
+ "type": "rec",
+ "name": "2010/02/25 at 23h21",
+ "path": "/video/rec1/2010-02-25.23.21.3-0.rec"
+ }
+
+ ]
+}
+
diff --git a/themes/bin/textfiles/browseFolder-vid.txt b/themes/bin/textfiles/browseFolder-vid.txt
new file mode 100644
index 0000000..62fecf3
--- /dev/null
+++ b/themes/bin/textfiles/browseFolder-vid.txt
@@ -0,0 +1,20 @@
+{
+ "list":
+ [
+ {
+ "type": "folder",
+ "name": "movie1",
+ "path": "/mnt/videos/movie1"
+ },
+ {
+ "type": "folder",
+ "name": "movie2",
+ "path": "/mnt/videos/movie2"
+ },
+ {
+ "type": "video",
+ "name": "videofile.avi",
+ "path": "/mnt/videos/videofile.avi"
+ }
+ ]
+}
diff --git a/themes/bin/textfiles/delTimer.txt b/themes/bin/textfiles/delTimer.txt
new file mode 100644
index 0000000..9ab3b92
--- /dev/null
+++ b/themes/bin/textfiles/delTimer.txt
@@ -0,0 +1 @@
+{ "status": "ok", "message":"Timer successfully deleted" }
diff --git a/themes/bin/textfiles/editTimer.txt b/themes/bin/textfiles/editTimer.txt
new file mode 100644
index 0000000..bad3855
--- /dev/null
+++ b/themes/bin/textfiles/editTimer.txt
@@ -0,0 +1 @@
+{ "status": "Ok", "message":"Timer edited successfully" }
diff --git a/themes/bin/textfiles/getChanInfo.txt b/themes/bin/textfiles/getChanInfo.txt
new file mode 100644
index 0000000..94f302d
--- /dev/null
+++ b/themes/bin/textfiles/getChanInfo.txt
@@ -0,0 +1,14 @@
+{
+ "program":
+ {
+ "name": "TF1",
+ "number": "1",
+ "now_time": "13h00-13h30",
+ "now_title": "Journal de 13h",
+ "now_desc": "Les informations de 13h... Blahblah..",
+ "next_time": "13h35-13h45",
+ "next_title": "Météo",
+ "next_desc": "Le bulletin météo de la journée."
+ }
+}
+
diff --git a/themes/bin/textfiles/getFullChanList.txt b/themes/bin/textfiles/getFullChanList.txt
new file mode 100644
index 0000000..80e0495
--- /dev/null
+++ b/themes/bin/textfiles/getFullChanList.txt
@@ -0,0 +1,34 @@
+{
+ "category":
+ [
+ {
+ "name": "Nationales&TNT",
+ "channel":
+ [
+ {
+ "name": "TF1",
+ "number": "1"
+ },{
+ "name": "FRANCE 2",
+ "number": "2"
+ },{
+ "name": "FRANCE 3",
+ "number": "3"
+ }
+ ]
+ },
+ {
+ "name": "Divertissement",
+ "channel":
+ [
+ {
+ "name": "Paris Première",
+ "number": "10"
+ },{
+ "name": "RTL Télévision",
+ "number": "11"
+ }
+ ]
+ }
+ ]
+}
diff --git a/themes/bin/textfiles/getGlobals.txt b/themes/bin/textfiles/getGlobals.txt
new file mode 100644
index 0000000..87a9994
--- /dev/null
+++ b/themes/bin/textfiles/getGlobals.txt
@@ -0,0 +1,6 @@
+{
+ "streamdev_server": "http://127.0.0.1:3000",
+ "rec_path": "/video/",
+ "video_path": "/mnt/media/Video/",
+ "audio_path": "/mnt/media/Music/"
+}
diff --git a/themes/bin/textfiles/getRecInfo.txt b/themes/bin/textfiles/getRecInfo.txt
new file mode 100644
index 0000000..6488ea7
--- /dev/null
+++ b/themes/bin/textfiles/getRecInfo.txt
@@ -0,0 +1,10 @@
+{
+ "program":
+ {
+ "name": "Journal de 13h",
+ "channel": "TF1",
+ "recorded": "2010-02-02 at 19h30",
+ "desc": "Les informations de 13h..."
+ }
+}
+
diff --git a/themes/bin/textfiles/getStreamInfo-1.txt b/themes/bin/textfiles/getStreamInfo-1.txt
new file mode 100644
index 0000000..fe89488
--- /dev/null
+++ b/themes/bin/textfiles/getStreamInfo-1.txt
@@ -0,0 +1,17 @@
+{
+ "stream":
+ {
+ "session": "1",
+ "type": "tv",
+ "name": "TF1",
+ "mode": "3G",
+ "now_time": "13h00-13h30",
+ "now_title": "Journal de 13h",
+ "now_desc": "Les informations de 13h...",
+ "next_time": "13h35-13h45",
+ "next_title": "Météo",
+ "next_desc": "Le bulletin météo de la journée.",
+ "thumbwidth" : "80",
+ "thumbheight" : "80"
+ }
+}
diff --git a/themes/bin/textfiles/getStreamInfo-2.txt b/themes/bin/textfiles/getStreamInfo-2.txt
new file mode 100644
index 0000000..f097b7f
--- /dev/null
+++ b/themes/bin/textfiles/getStreamInfo-2.txt
@@ -0,0 +1,16 @@
+{
+ "stream":
+ {
+ "session": "2",
+ "type": "rec",
+ "name": "Journal de 13h",
+ "channel": "TF1",
+ "recorded": "2010-02-02 at 19h30",
+ "desc": "Les informations de 13h...",
+ "mode": "3G",
+ "thumbwidth": "80",
+ "thumbheight": "80"
+ }
+}
+
+
diff --git a/themes/bin/textfiles/getStreamInfo-3.txt b/themes/bin/textfiles/getStreamInfo-3.txt
new file mode 100644
index 0000000..a0f2558
--- /dev/null
+++ b/themes/bin/textfiles/getStreamInfo-3.txt
@@ -0,0 +1,17 @@
+{
+ "stream":
+ {
+ "session": "3",
+ "type": "vid",
+ "name": "Mavideo.avi",
+ "desc": "",
+ "duration": "1:41:55",
+ "format": "avi",
+ "video": "XviD MPEG-4",
+ "audio": "MPEG Layer 3",
+ "resolution": "608x256",
+ "mode": "3G",
+ "thumbwidth": "180",
+ "thumbheight": "100"
+ }
+}
diff --git a/themes/bin/textfiles/getStreamStatus.txt b/themes/bin/textfiles/getStreamStatus.txt
new file mode 100644
index 0000000..d14a003
--- /dev/null
+++ b/themes/bin/textfiles/getStreamStatus.txt
@@ -0,0 +1 @@
+{"status": "ready","message": "3G Broadcast ready", "url": "ram/session1/stream.m3u8"}
diff --git a/themes/bin/textfiles/getTimers.txt b/themes/bin/textfiles/getTimers.txt
new file mode 100644
index 0000000..103d110
--- /dev/null
+++ b/themes/bin/textfiles/getTimers.txt
@@ -0,0 +1,38 @@
+{
+ "timer":
+ [
+ {
+ "id": "1",
+ "name": "Timername",
+ "active": "1",
+ "channumber": "2",
+ "channame": "FRANCE 2",
+ "date": "2010-03-10",
+ "starttime": "2030",
+ "endtime": "2230",
+ "running": "0"
+ },
+ {
+ "id": "2",
+ "name": "Timername2",
+ "active": "0",
+ "channumber": "3",
+ "channame": "FRANCE 3",
+ "date": "2010-05-10",
+ "starttime": "1030",
+ "endtime": "1230",
+ "running": "0"
+ },
+ {
+ "id": "3",
+ "name": "Timername3",
+ "active": "1",
+ "channumber": "4",
+ "channame": "Canal +",
+ "date": "2010-03-13",
+ "starttime": "2030",
+ "endtime": "2230",
+ "running": "1"
+ }
+ ]
+}
diff --git a/themes/bin/textfiles/getTvCat.txt b/themes/bin/textfiles/getTvCat.txt
new file mode 100644
index 0000000..0d95dca
--- /dev/null
+++ b/themes/bin/textfiles/getTvCat.txt
@@ -0,0 +1,16 @@
+{
+ "categories":
+ [
+ {
+ "name": "Nationales&TNT",
+ "channels": "17"
+ },{
+ "name": "Divertissements",
+ "channels": "12"
+ },{
+ "name": "Information",
+ "channels": "6"
+ }
+ ]
+}
+
diff --git a/themes/bin/textfiles/getTvChan.txt b/themes/bin/textfiles/getTvChan.txt
new file mode 100644
index 0000000..03d4840
--- /dev/null
+++ b/themes/bin/textfiles/getTvChan.txt
@@ -0,0 +1,19 @@
+{
+ "channel":
+ [
+ {
+ "name": "TF1",
+ "number": "1",
+ "now_title": "Journal de 13h",
+ },{
+ "name": "FRANCE 2",
+ "number": "2",
+ "now_title": "Tournez manège",
+ },{
+ "name": "FRANCE 3",
+ "number": "3",
+ "now_title": "Journal régional"
+ }
+ ]
+}
+
diff --git a/themes/bin/textfiles/getVidInfo.txt b/themes/bin/textfiles/getVidInfo.txt
new file mode 100644
index 0000000..11a58f7
--- /dev/null
+++ b/themes/bin/textfiles/getVidInfo.txt
@@ -0,0 +1,13 @@
+{
+ "program":
+ {
+ "name": "Mavideo.avi",
+ "desc": "",
+ "duration": "1:41:55",
+ "format": "avi",
+ "video": "XviD MPEG-4",
+ "audio": "MPEG Layer 3",
+ "resolution": "608x256"
+ }
+}
+
diff --git a/themes/bin/textfiles/startBroadcast-rec.txt b/themes/bin/textfiles/startBroadcast-rec.txt
new file mode 100644
index 0000000..e24cc29
--- /dev/null
+++ b/themes/bin/textfiles/startBroadcast-rec.txt
@@ -0,0 +1,2 @@
+{ "session": "2" }
+
diff --git a/themes/bin/textfiles/startBroadcast-tv.txt b/themes/bin/textfiles/startBroadcast-tv.txt
new file mode 100644
index 0000000..b34344a
--- /dev/null
+++ b/themes/bin/textfiles/startBroadcast-tv.txt
@@ -0,0 +1,2 @@
+{ "session": "1" }
+
diff --git a/themes/bin/textfiles/startBroadcast-vid.txt b/themes/bin/textfiles/startBroadcast-vid.txt
new file mode 100644
index 0000000..a1fffae
--- /dev/null
+++ b/themes/bin/textfiles/startBroadcast-vid.txt
@@ -0,0 +1,2 @@
+{ "session": "3" }
+
diff --git a/themes/bin/textfiles/stopBroadcast.txt b/themes/bin/textfiles/stopBroadcast.txt
new file mode 100644
index 0000000..0b99d06
--- /dev/null
+++ b/themes/bin/textfiles/stopBroadcast.txt
@@ -0,0 +1 @@
+{ "status": "ok", "message": "Successfully stopped broadcast" }
diff --git a/themes/bin/textfiles/streamAudio.txt b/themes/bin/textfiles/streamAudio.txt
new file mode 100644
index 0000000..28cca73
--- /dev/null
+++ b/themes/bin/textfiles/streamAudio.txt
@@ -0,0 +1,14 @@
+{
+ playlist:
+ [
+ {
+ "file": "/istreamdev/playlist/track1.mp3"
+ },
+ {
+ "file": "/istreamdev/playlist/track2.mp3"
+ },
+ {
+ "file": "/istreamdev/playlist/track3.mp3"
+ }
+ ]
+}