Sign up here and you can log into the forum!

Plugin: Dreambox E2 streaming

UMSP Plugin Depot, the place for sharing plugins & info about them. No requests, just plugins/code.

Re: Plugin: Dreambox E2 streaming   

Postby Toni » Mon Jan 02, 2012 11:16 am

The WDTV doesn't know how to handle the .m3u files. That's the whole reason why I built this plugin, i.e. to provide a uPNP way tell the WDTV to play the same stream you see on the .m3u files.

Yes, I'm also quite fed up with the WDTV player myself. Perhaps I should try to upgrade to the latest firmware. But I also must admit I haven't been that active since I got it working somewhat. My goal was to make it work well enough so that I could watch recordings and pay-TV channels on the other TV upstairs.
Toni
Beta Tester
 
Posts: 55
Joined: Sun Apr 25, 2010 5:59 am

Re: Plugin: Dreambox E2 streaming   

Postby disorganizer » Mon Jan 02, 2012 11:58 am

hopefuly you will continue developing it when something new pops up :-)

just for understanding the code:
what is sent from the proxy to the dream is:
$out = "GET $prmPath HTTP/1.0\r\n";
$out .= "User-Agent: Wget/1.12\r\n";
$out .= "Accept: */*\r\n";
$out .= "Host: $prmHost:$prmPort\r\n";
$out .= "Connection: Keep-Alive\r\n";
$out .= "\r\n";

correct?
and
header('HTTP/1.0 200 OK');
header('Connection: Close');
header('ContentFeatures.DLNA.ORG: DLNA.ORG_OP=00;DLNA.ORG_CI=1');
header('Content-Type: video/mpeg');
header('Server: stream_enigma2');

is sent from proxy to wdtv-player?

i wonder why CI=1 is used (which would mean "transcoded").
the ORG_OP seems ok and needed for me, as it seems to mean "no seek support".


there is an interesting post, btw, in this forum: http://forum.serviio.org/viewtopic.php?f=4&t=1477 explaining some of the dnla options.
disorganizer
Donor
 
Posts: 31
Joined: Thu Dec 29, 2011 10:24 am

Re: Plugin: Dreambox E2 streaming   

Postby mad_ady » Mon Jan 02, 2012 11:58 pm

You are right interpreting the headers. You can test without sending the ContentFeatures header - the WDTV will manage without it.
User avatar
mad_ady
Developer
 
Posts: 3028
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: Dreambox E2 streaming   

Postby disorganizer » Tue Jan 03, 2012 8:30 am

maybe an idea for epg implementation:
do you know that
http://dreambox/web/epgservice?sRef={serviceRev}
= full epg for service {serviceRev}
http://dreambox/web/epgservicenow?sRef={serviceRev}
http://dreambox/web/epgservicenext?sRef={serviceRev}
= epg-now and next for service {serviceRev}

(see http://e2devel.com/apidoc/webif/#epgservicenext )
?

sample result:
<e2eventlist>
<e2event>
<e2eventid>51280</e2eventid>
<e2eventstart>1325610000</e2eventstart>
<e2eventduration>3000</e2eventduration>
<e2eventcurrenttime>1325609158</e2eventcurrenttime>
<e2eventtitle>Verbotene Liebe</e2eventtitle>
<e2eventdescription>Folge 3993</e2eventdescription>
<e2eventdescriptionextended>
Christian will Olli überraschen und die Jagdhütte mieten, um sich dort erneut das Ja-Wort zu geben. Als Christian erfährt, dass ihm jemand die Hütte vor der Nase weggeschnappt hat, glaubt er, die geplante Hochzeit verschieben zu müssen.
</e2eventdescriptionextended>
<e2eventservicereference>1:0:19:2B5C:41B:A401:FFFF0000:0:0:0:</e2eventservicereference>
<e2eventservicename>Das Erste HD</e2eventservicename>
</e2event>
</e2eventlist>



also interesting for this purpose would be:
web/epgnownext?bRef={BouquetRev}
which delivers an eml for the bouquet {BouquetRev} for all services containing now and next epg info per service.


btw:
where is the "description" field for upnp objects shown in wdlx?

'dc:title' => $newMovie['title'],
'desc' => $newMovie['description'],
'size' => $newMovie['filesize'],

i believe that would be the right place for the epg, but i do not find the information on the screen :-(
disorganizer
Donor
 
Posts: 31
Joined: Thu Dec 29, 2011 10:24 am

Re: Plugin: Dreambox E2 streaming   

Postby disorganizer » Wed Jan 04, 2012 5:19 am

Toni wrote:4) Live TV starts within a couple of seconds. For the recordings, the player seeks to the end of the file before starting the playback, maybe it's about this?

i found something interesting in this post:
http://forum.wdlxtv.com/viewtopic.php?p=50469#p50469
so maybe this is the reason why the playback on recording which are still ongoing is stopping.
i will try to set the content length to some huge value tonight (and 0) and check if i find some time.

also i will try to find out how to easily check whether a file is recording at the moment or not (which would be needed for this trick to work around the problem so we do not need to set the huge value for all files).
disorganizer
Donor
 
Posts: 31
Joined: Thu Dec 29, 2011 10:24 am

Re: Plugin: Dreambox E2 streaming   

Postby disorganizer » Wed Jan 04, 2012 11:40 am

above does not help. setting size to 0 or to a huge size will still stop the file.
the player seems to "discover" the real size of the file and stops playback after playing the size it discovered.
too bad :-(

also setting to videobroadcast does not help.
strange.

is there some reference of which parameters we can pass to the player?
disorganizer
Donor
 
Posts: 31
Joined: Thu Dec 29, 2011 10:24 am

Re: Plugin: Dreambox E2 streaming   

Postby Paratwa » Tue Jan 24, 2012 10:11 am

hi

is there any chance to get both actual files - Enigma2 (for my DM8K) and Enigma1 (for my DM7025) now that fileserve is strikly private?

could you please upload both versions again to a hoster that still allows sharing files??

greetings

Paratwa
Paratwa
n00b
 
Posts: 1
Joined: Tue Jan 24, 2012 10:09 am

Re: Plugin: Dreambox E2 streaming   

Postby Manni62 » Sat Feb 11, 2012 6:23 am

Since a few days, the streaming of Dreambox E2 recordings does not work! I get a fault message, that the file format can not be played. The streaming of LiveTV works without problems.
Can annyone help me with this problem?
Manni62
n00b
 
Posts: 10
Joined: Sun Oct 02, 2011 7:34 am

Re: Plugin: Dreambox E2 streaming   

Postby Manni62 » Sat Mar 17, 2012 3:00 pm

"Since a few days, the streaming of Dreambox E2 recordings does not work! I get a fault message, that the file format can not be played. The streaming of LiveTV works without problems.
Can annyone help me with this problem?"

Has anyone an Idea about this Problem???
Manni62
n00b
 
Posts: 10
Joined: Sun Oct 02, 2011 7:34 am

Re: Plugin: Dreambox E2 streaming   

Postby brandylorton » Thu May 03, 2012 5:30 am

Here you have provided very nice information about the plugin of Dreambox E2 streaming. It has helped me a lot and the other guys who required that valuable information about the dreambox.
Dreambox is a best television signal receiver
User avatar
brandylorton
n00b
 
Posts: 2
Joined: Thu May 03, 2012 5:18 am
Location: USA

PreviousNext

Return to UMSP Plugins

Who is online

Users browsing this forum: No registered users and 2 guests