summaryrefslogtreecommitdiff
path: root/p2pvr/webfe
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/webfe')
-rw-r--r--p2pvr/webfe/.p2config6
-rw-r--r--p2pvr/webfe/datasources/p2pvr.xml4
-rw-r--r--p2pvr/webfe/present/iceTask.xml7
-rw-r--r--p2pvr/webfe/present/iceView.xml10
4 files changed, 27 insertions, 0 deletions
diff --git a/p2pvr/webfe/.p2config b/p2pvr/webfe/.p2config
new file mode 100644
index 0000000..f5ea06f
--- /dev/null
+++ b/p2pvr/webfe/.p2config
@@ -0,0 +1,6 @@
+ice.client.sliceclient = ice/common.ice
+library = libp2pvrice.so
+ice.client.sliceclient = ice/dvbsi.ice
+ice.client.sliceclient = ice/dvb.ice
+ice.client.sliceclient = ice/p2pvr.ice
+
diff --git a/p2pvr/webfe/datasources/p2pvr.xml b/p2pvr/webfe/datasources/p2pvr.xml
new file mode 100644
index 0000000..ce98566
--- /dev/null
+++ b/p2pvr/webfe/datasources/p2pvr.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<p2:icedatasource xmlns:p2="http://project2.randomdan.homeip.net" name="p2pvr">
+ <endpoint>tcp -p 10000 -h randomdan.homeip.net -t 5000</endpoint>
+</p2:icedatasource>
diff --git a/p2pvr/webfe/present/iceTask.xml b/p2pvr/webfe/present/iceTask.xml
new file mode 100644
index 0000000..ca3e582
--- /dev/null
+++ b/p2pvr/webfe/present/iceTask.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<block xmlns:p2="http://project2.randomdan.homeip.net">
+<!--
+ <p2:P2TV-Recordings-DeleteRecording recordingId="1" objectId="Recordings" datasource="p2pvr" />
+ -->
+</block>
+
diff --git a/p2pvr/webfe/present/iceView.xml b/p2pvr/webfe/present/iceView.xml
new file mode 100644
index 0000000..8874d83
--- /dev/null
+++ b/p2pvr/webfe/present/iceView.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<block xmlns:p2="http://project2.randomdan.homeip.net" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <p2:P2PVR-SI-EventsOnNow name="eventsOnNow" objectId="SI" datasource="p2pvr" />
+ <p2:P2PVR-SI-EventsInRange name="eventsInRange" objectId="SI" datasource="p2pvr" from="2014-03-11 18:00:00" to="2014-03-11 19:00:00" />
+ <p2:P2PVR-SI-GetServices name="services" objectId="SI" datasource="p2pvr" />
+ <p2:P2PVR-SI-GetService name="service" objectId="SI" datasource="p2pvr" id="4170" />
+ <p2:view source="eventsInRange" recordname="event" rootname="events" />
+</block>
+
+