[RELEASE] Enigma2 plugin (stream Live TV from your Dreambox/Dbox2 via Enigma2 WebGUI)
#1
Thumbs Up 
Hi.
I have written a little plugin that allows to browse bouquets, channels and stream videos from one o more Dreamboxes with the new Enigma 2 Webinterface (7025, 800).
I have tested with a 7025 with Gemini 3.9.
This plugin replaces my old script no more working.
You have to edit default.py in order to change the IP address.

Enigma2.zip
Reply
#2
Hi,

Big thanks for that .. but how does work your plugin, how to install it ?

I have a DM7025 and Gemini 4.0, it would very be great to use your pugin.script.

Thanks

EDIT: Finally, I installed your script in my video plugin directory, edited the deault.py and changed the name and IP adress. Stream is now fully OK !

Is there a way to add channels icons ?

Thanks !!
Reply
#3
Hi

I get an error in xbmc log: that the import liburl was not found?!? I have the newest xbmc from svn... Any idea?

Thanks
Reply
#4
Hi,

The megaupload link seems to be dead. Is there another palce to download this plugin?
Thanks.
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#5
Hi,

With this scrip I have a problem. In fact after few minutes, the screen return to channels list .. I don't know why, perhaps a lan problem .. but with the web interface of the dm7025 image I have no broken screen ..

IS there a way to repair this bug ?

Thans
Reply
#6
Locutus73, I have two problems with your script and my dreambox 8000 runing gemini2 4.0:

- the list of channels show up, but special character with accents are replaced by strange characters
- I can launch non-encrypted channels, but encrypted ones do not load.

Do you have any idea why this is happening ?
Reply
#7
jeepcook Wrote:Hi,

With this scrip I have a problem. In fact after few minutes, the screen return to channels list .. I don't know why, perhaps a lan problem .. but with the web interface of the dm7025 image I have no broken screen ..

IS there a way to repair this bug ?

This bug is not fixable in the script.
The script creates a list of folders/bouquets and videos/channels.
Once you choose a channel, it's up to xbmc to open and play the stream from the dreambox.
As an example, the script works on Win and OSX, but XBMC doesn't open the ts streams correctly. On XBOX it seems to work.
Reply
#8
finas Wrote:Locutus73, I have two problems with your script and my dreambox 8000 runing gemini2 4.0:

- the list of channels show up, but special character with accents are replaced by strange characters
This is related to the HTML encoding of the XML returned by the Dreambox.
The script interrogates the Dreambox web interface and gets in response XML files with bouquets, EPG, channels etc. These files are HTML encoded so accents are escaped, ie à instead of à.
The script should replace each escaped char with the right one.
For now it replaces just few escaped chars, I should implement other common characters used in channel names and descriptions.

finas Wrote:- I can launch non-encrypted channels, but encrypted ones do not load.
This is strange, the Dreambox should decrypt channels when requested by the web interface as it does when you watch them in TV.
On my 7025 I can see all encrypted channels provided by my subscription (NDS channels with regular subscription, decrypted by CCCam).
Can you watch encrypted channels on your PC using the web interface and VLC?
Reply
#9
Nope!

I can watch non-encrypted channels using the web interface and VLC, but encrypted ones do not open. I'm using evocamd 2.17 to decrypt the encrypted channels, and I can watch them on TV.

this is the debug log from VLC from an encrypted channel:

[00000448] access_http access error: error: HTTP/1.0 502 Bad Gateway
[00000448] access_http access error: error: HTTP/1.0 502 Bad Gateway
[00000448] access_mms access error: error: HTTP/1.0 502 Bad Gateway
[00000446] main input error: open of `http://192.168.69.60:8001/1:0:1:32C:24:3...000:0:0:0:' failed: could not create access


and for a non-encrypted one:


libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 101
[00000496] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:448000
No accelerated IMDCT transform found
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
Fontconfig error: Cannot load default config file
QPainter::begin: Paint device returned engine == 0, type: 1
Reply
#10
Question 
Sorry for my English, but I'm can't run this script. I attached screenshot with this mistake. Help me please.
Image
Reply
#11
finas Wrote:Nope!

I can watch non-encrypted channels using the web interface and VLC, but encrypted ones do not open. I'm using evocamd 2.17 to decrypt the encrypted channels, and I can watch them on TV.

this is the debug log from VLC from an encrypted channel:

[00000448] access_http access error: error: HTTP/1.0 502 Bad Gateway
[00000448] access_http access error: error: HTTP/1.0 502 Bad Gateway
[00000448] access_mms access error: error: HTTP/1.0 502 Bad Gateway
[00000446] main input error: open of `http://192.168.69.60:8001/1:0:1:32C:24:3...000:0:0:0:' failed: could not create access


and for a non-encrypted one:


libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 101
[00000496] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:448000
No accelerated IMDCT transform found
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
Fontconfig error: Cannot load default config file
QPainter::begin: Paint device returned engine == 0, type: 1

This is something that has to do with Gemini image. Try to post about this issue on their forum http://www.i-have-a-dreambox.com/
Reply
#12
bnxvs Wrote:Sorry for my English, but I'm can't run this script. I attached screenshot with this mistake. Help me please.
Image

Can you post a higher res image? I really can't read the errror.
Have you edited the script with the ip address of your dreambox?
Reply
#13
Quote:Can you post a higher res image? I really can't read the errror
Sorry. Here is the text of the error message:
Quote:-->Python interpreter initialized<--
-->Python interpreter initialized<--
Traceback (most recent call last):
File "/home/bnx/.xbmc/scripts/Enigma2/default.py", line 104, in ?
params=get_params()
File "/home/bnx/.xbmc/scripts/Enigma2/default.py", line 68, in get_params
paramstring=sys.argv[2]
AttributeError: 'module' object has no attribute 'argv'
P.S. The IP address I have of course changed.
Reply
#14
Hi there.

i saw in the topic title that it would also work with a dbox2

i ve downloaded it and re-adjusted it for my information.

I work with plex, a osxbmc spin off.
But i cant get it to work, do i need to put in a password.

It tries to open the folder but then it stops. nothing happens.

Ive tried to work with a tuxbox connection but htat just changes the channel, but no image. eventually the dbox hangs and i need to restart it.

I hope someone can help, because i really want this to work!!

thanks alot!

HenkJan
Reply
#15
bnxvs Wrote:Sorry. Here is the text of the error message:

P.S. The IP address I have of course changed.



after starting the enigma2/default.py in last stabel t3ch xbmc

here the xbmc.log

Quote:09:05:22 M: 33820672 NOTICE: Traceback (most recent call last):
09:05:22 M: 33800192 NOTICE: File "Q:\scripts\Enigma2\default.py", line 104, in ?
09:05:22 M: 33800192 NOTICE:
09:05:22 M: 33812480 NOTICE: params=get_params()
09:05:22 M: 33812480 NOTICE: File "Q:\scripts\Enigma2\default.py", line 68, in get_params
09:05:22 M: 33812480 NOTICE:
09:05:22 M: 33812480 NOTICE: paramstring=sys.argv[2]
09:05:22 M: 33812480 NOTICE: IndexError
09:05:22 M: 33820672 NOTICE: :
09:05:22 M: 33800192 NOTICE: list index out of range
09:05:22 M: 33800192 NOTICE:
09:05:22 M: 33800192 ERROR: Scriptresult: Error
09:05:22 M: 34324480 NOTICE:
09:05:22 M: 34344960 NOTICE:
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Enigma2 plugin (stream Live TV from your Dreambox/Dbox2 via Enigma2 WebGUI)3