Kodi Community Forum
XBMC Tuxbox Enigma Stream Client (Enigma / Enigma2 Based Dreambox & Dbox2) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: XBMC Tuxbox Enigma Stream Client (Enigma / Enigma2 Based Dreambox & Dbox2) (/showthread.php?tid=23834)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47


- therock - 2010-09-14

hey okay here is the debug log and no enigma2 does not use zapstream

Code:
17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerCoreFactory::GetPlayers([url]http://192.168.1.77:8001/1:0:1:1216:1A:56:300000:0:0:0:[/url])

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: flv/aacp/sdp

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)

17:01:06 T:3056203648 M:909062144   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players

17:01:06 T:3056203648 M:908173312  NOTICE: DVDPlayer: Opening: [url]http://192.168.1.77:8001/1:0:1:1216:1A:56:300000:0:0:0:[/url]

17:01:06 T:3056203648 M:908173312 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

17:01:06 T:2812664688 M:908173312   DEBUG: thread start, auto delete: 0

17:01:06 T:2812664688 M:908173312  NOTICE: Creating InputStream

17:01:06 T:2812664688 M:908046336   DEBUG: CFileCache::Open - opening <1:0:1:1216:1A:56:300000:0:0:0:> using cache

17:01:06 T:2812664688 M:908046336   DEBUG: FileCurl::Open(0x9c4d418) [url]http://192.168.1.77:8001/1:0:1:1216:1A:56:300000:0:0:0:[/url]

17:01:06 T:3056203648 M:908046336   DEBUG: ------ Window Init (DialogBusy.xml) ------

17:01:06 T:3056203648 M:908046336   DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)

17:01:26 T:2857683824 M:907677696   DEBUG: Thread 2857683824 terminating (autodelete)

17:01:26 T:2870942576 M:907677696   DEBUG: Thread 2870942576 terminating (autodelete)

17:01:26 T:2847193968 M:907677696   DEBUG: Thread 2847193968 terminating (autodelete)

17:01:31 T:2812664688 M:        0 WARNING: FillBuffer: curl failed with code 28

17:01:31 T:2812664688 M:907702272   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.

17:01:31 T:2812664688 M:907702272   DEBUG: FileCurl::Close(0x9c4d418) [url]http://192.168.1.77:8001/1:0:1:1216:1A:56:300000:0:0:0:[/url]

17:01:31 T:2812664688 M:907702272   ERROR: Open - failed to open source <http://192.168.1.77:8001/1:0:1:1216:1A:56:300000:0:0:0:>

17:01:31 T:2812664688 M:907702272   ERROR: CDVDPlayer::OpenInputStream - error opening [[url]http://192.168.1.77:8001/1:0:1:1216:1A:56:300000:0:0:0:][/url]

17:01:31 T:2812664688 M:907702272  NOTICE: CDVDPlayer::OnExit()

17:01:31 T:2812664688 M:907702272  NOTICE: CDVDPlayer::OnExit() deleting input stream

17:01:31 T:2812664688 M:907702272   DEBUG: Thread 2812664688 terminating

17:01:31 T:3056203648 M:907702272   DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc

17:01:31 T:3056203648 M:907702272   ERROR: Playlist Player: skipping unplayable item: 0, path [[url]http://192.168.1.77:8001/1:0:1:1216:1A:56:300000:0:0:0:][/url]

17:01:31 T:3056203648 M:907702272   DEBUG: Playlist Player: one or more items failed to play... aborting playback

17:01:31 T:3056203648 M:907702272    INFO: Loading skin file: DialogOK.xml

17:01:31 T:3056203648 M:907702272   DEBUG: Load DialogOK.xml: 4.04ms

17:01:31 T:3056203648 M:907702272   DEBUG: ------ Window Init (DialogOK.xml) ------

17:01:31 T:3056203648 M:907702272   DEBUG: Alloc resources: 0.06ms (0.01 ms skin load)

17:01:31 T:3056203648 M:907702272  NOTICE: CDVDPlayer::CloseFile()

17:01:31 T:3056203648 M:907702272 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

17:01:31 T:3056203648 M:907702272  NOTICE: DVDPlayer: waiting for threads to exit

17:01:31 T:3056203648 M:907702272  NOTICE: DVDPlayer: finished waiting

17:01:31 T:3056203648 M:908718080   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)

17:01:31 T:3056203648 M:908718080   DEBUG: Unloading: ImageLib-i486-linux.so

17:01:31 T:3056203648 M:908718080   DEBUG: ------ Window Deinit (DialogBusy.xml) ------

17:02:01 T:3056203648 M:908460032    INFO: CheckIdle - Closing session to [url]http://192.168.1.77[/url] (easy=0xb3e9bc90, multi=0xb41a96f0)



- nobody.loopback - 2010-09-18

looks like the log is missing previously occured events (selecting the channel)


- therock - 2010-09-20

oh so i figured out that the problem is my tuner setup on my enigma2 box so if i choose a channel thats already selected there is no problem

but i will return with more info when i get some of my cables replaced and the tuners


- Goga777 - 2010-10-17

2 questions

- how is it possible to re-order channels into my favourite folders and the folders themselves ? Is it possible to sort them as they sorted in my dreambox 7000 ?

- To switch to next/previous channel I should stop playback of current the channel, after that I can see the channels list, after that I can go down/up and to choice next/previous channel. It's very long and annoying procedure

How to switch between channels without stopping previous one ? (The best case to use the buttons left/right, up/down)


Tuxbox client not working with Dm500HD - xayide - 2010-12-04

I have tried to get tuxbox working with Dm500HD Gp2 5.1. It seems the tuxbox client works if selecting the already viewing channel. But zapping doesnt work.

However. If adding support for URLs of this kind: http://10.0.0.12/web/zap?sRef=1:0:1:106B:2A:46:E080000:0:0:0:

One can zap that way. Would that be possible?


- xayide - 2010-12-05

I made a script that works with Engima2 until support is fixed in XBMC internal.
Here it is....One bug is that you cannot select bouquett at present. So As you see I harcoded it until I figure why it doesnt work...



import os #Used to access host file system
import os.path
import xbmcplugin #Used to interface with XBMC
import xbmcgui #Used for XBMC gui
import urllib #Used for URL handling
import urllib2
import re


ACTION_PARENT_DIR = 9
ACTION_PREVIOUS_MENU = 10

BOUQUETNAMESPATTERN = re.compile('<e2servicename>(.*?)</e2servicename>')
BOUQUETIDSPATTERN = re.compile('<e2servicereference>(.*?)</e2servicereference>')
CHANNELNAMESPATTERN = re.compile('<e2eventservicename>(.*?)</e2eventservicename>')
CHANNELIDSPATTERN = re.compile('<e2eventservicereference>(.*?)</e2eventservicereference>')
EVENTNAMESPATTERN = re.compile('<e2eventtitle>(.*?)</e2eventtitle>')
STREAMURLSPATTERN = re.compile('(http://.*?)\n')

SPACECLEANER = re.compile(' ')
QUOTECLEANER = re.compile('&quot;')

DREAMBOXURL = "http://10.0.0.12"
BOUQUETLISTURL = DREAMBOXURL+"/web/getservices"
CHANNELLISTURL = DREAMBOXURL+"/web/epgnow?bRef="
M3USTREAMURL = DREAMBOXURL+"/web/stream.m3u?ref="
CHANNELSWITCH = DREAMBOXURL+"/web/zap?sRef="

BOUQUETNAMES = []
BOUQUETNAME = ''
BOUQUETIDS = []
BOUQUETID = ''
CHANNELNAMES = []
CHANNELNAME = ''
CHANNELIDS = []
CHANNELID = ''
EVENTNAMES = []
EVENTNAME = ''
BOUQUETSLOADED = 0
CHANNELSLOADED = 0
MENULEVEL = 0


def ShowBouquetList():
global BOUQUETIDS, BOUQUETNAMES, MENULEVEL, BOUQUETSLOADED, CHANNELSLOADED
request = urllib2.Request(BOUQUETLISTURL)
socket = urllib2.urlopen(request)
xml = socket.read()
socket.close()
BOUQUETNAMES = re.findall(BOUQUETNAMESPATTERN,xml)
BOUQUETIDS = re.findall(BOUQUETIDSPATTERN,xml)
i = 0
for BOUQUETNAME in BOUQUETNAMES:
liz=xbmcgui.ListItem(BOUQUETNAME,'')
url = sys.argv[0] + "?boqu=" + BOUQUETIDS[i]
xbmcplugin.addDirectoryItem(int(sys.argv[1]),url,liz,1)
i = i + 1
xbmcplugin.endOfDirectory(int(sys.argv[1]), 1)
return(0)

def ShowChannelList(BOUQUETID):
dialog = xbmcgui.Dialog()
ok = dialog.ok('Status', re.escape(BOUQUETID))
global MENULEVEL, CHANNELIDS, CHANNELNAMES, EVENTNAMES, CHANNELSLOADED
request = urllib2.Request(CHANNELLISTURL+'1:7:1:0:0:0:0:0:0:0:FROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet%20Favoriter%20(TV)')
socket = urllib2.urlopen(request)
xml = socket.read()
socket.close()
CHANNELIDS = re.findall(CHANNELIDSPATTERN, xml)
CHANNELNAMES = re.findall(CHANNELNAMESPATTERN, xml)
EVENTNAMES = re.findall(EVENTNAMESPATTERN, xml)
i = 0
for CHANNELNAME in CHANNELNAMES:
CHANNELNAME = CHANNELNAME + " ("
CHANNELNAME = CHANNELNAME + EVENTNAMES[i]
CHANNELNAME = CHANNELNAME + ")"
liz=xbmcgui.ListItem(CHANNELNAME,'')
url = sys.argv[0] + "?play=" + CHANNELIDS[i]
xbmcplugin.addDirectoryItem(int(sys.argv[1]),url,liz,1)
i = i + 1
xbmcplugin.endOfDirectory(int(sys.argv[1]), 1)
return(0)

def PlayChannel(CHANNELID):
request = urllib2.Request(CHANNELSWITCH+CHANNELID)
socket = urllib2.urlopen(request)
socket.close();
request = urllib2.Request(M3USTREAMURL+CHANNELID)
socket = urllib2.urlopen(request)
m3u = socket.read()
socket.close()
STREAMURLS = re.findall(STREAMURLSPATTERN,m3u)
xbmc.Player().play(STREAMURLS[0])
return (0)

if cmp (sys.argv[2][0:6],"?play=") == 0:
PlayChannel(sys.argv[2][6:])
elif cmp (sys.argv[2][0:6],"?boqu=") == 0:
ShowChannelList(sys.argv[2][6:])
else:
ShowBouquetList()


- malacai - 2010-12-21

Dharma RC2 and 10.0 works great with my dm800 (ORGINAL) gp5.1.
No problem what so ever, even HD channels works like a sharm Tongue
My image does not support zapstream so i cant zap. need to stop and change chanel.
But it works great.

Anyone figured out how to get the EPG to work on enigma 2?
When i had a db7000 (enigma 1) the epg worked like (Canal+ Hits - Transformers) in the Buquets list
Now i only got Canal+ Hits and so on.


/mallorz


[ALL]Tuxbox client maybe little bug. - scalpel - 2010-12-23

Hi.
At first sorry if i post in wrong section. There are some problems with tuxbox client, when you want to watch some specific channel. For my country(Poland) can't watch HD channels from hotbird 13E tp.12265. My friend tell me that, this provider sends PMT table with equal PID(0x20) for all channels and then program can't find correct channel definition. Can you check it out and improve it? If you need some more info or debug log tell me.

Regards


- Zapata - 2011-01-04

I'm still unable to Zap with Dharma 10.0. Streaming stops and XBMC returns to the Boguet ready to play another channel.

This is the error I'm getting in the XBMC log running an E1 DM7000, any clues would be helpful.

Code:
01:51:21 T:3055843200 M:2992701440  NOTICE: CDVDPlayer::CloseFile()
01:51:21 T:3055843200 M:2992701440  NOTICE: DVDPlayer: waiting for threads to exit
01:51:21 T:2843732848 M:2992701440  NOTICE: CDVDPlayer::OnExit()
01:51:21 T:2843732848 M:2992701440  NOTICE: DVDPlayer: closing audio stream
01:51:21 T:2843732848 M:2992701440  NOTICE: Closing audio stream
01:51:21 T:2843732848 M:2992701440  NOTICE: Waiting for audio thread to exit
01:51:21 T:2816473968 M:2992701440  NOTICE: thread end: CDVDPlayerAudio::OnExit()
01:51:21 T:2843732848 M:2992701440  NOTICE: Closing audio device
01:51:21 T:2843732848 M:2992701440  NOTICE: Deleting audio codec
01:51:21 T:2843732848 M:2992701440  NOTICE: DVDPlayer: closing video stream
01:51:21 T:2843732848 M:2992701440  NOTICE: Closing video stream
01:51:21 T:2843732848 M:2992701440  NOTICE: waiting for video thread to exit
01:51:21 T:2805980016 M:2992701440  NOTICE: thread end: video_thread
01:51:21 T:2843732848 M:2992701440  NOTICE: deleting video codec
01:51:21 T:2843732848 M:2992701440  NOTICE: DVDPlayer: closing teletext stream
01:51:21 T:2843732848 M:2992701440  NOTICE: Closing teletext stream
01:51:21 T:2843732848 M:2992701440  NOTICE: waiting for teletext data thread to exit
01:51:21 T:2795490160 M:2992701440   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)
01:51:21 T:2795490160 M:2992701440  NOTICE: thread end: data_thread
01:51:21 T:2843732848 M:2992701440  NOTICE: CDVDPlayer::OnExit() deleting demuxer
01:51:21 T:2843732848 M:2992701440  NOTICE: CDVDPlayer::OnExit() deleting input stream
01:51:21 T:3055843200 M:2999201792  NOTICE: DVDPlayer: finished waiting
01:51:21 T:3055843200 M:2999201792  NOTICE:  (VDPAU) Close
01:51:21 T:3055843200 M:2999201792  NOTICE:  (VDPAU) FiniVDPAUOutput



- masej - 2011-01-04

tuxbox works almost perfect with dharma 10.0 and latest openpli image on my dm500HD. But it would be nice if EPG data was added to the channel list due to the 2-5 sec. zap time.


Using dreambox with tuxbox - linuxmad - 2011-01-17

Hi,
Can someone tell me if using tuxbox it's possible to put a channel icon somewhere to help identify the stream? By default it shows the linux penguin for all the channels.

Thanks


- linuxmad - 2011-01-17

How can I get the channel icons to appear?


- gam3r - 2011-01-29

Why is it under my video source there is no tuxbox option? I want to stream from my dm800 Sad


- gam3r - 2011-01-29

gam3r Wrote:Why is it under my video source there is no tuxbox option? I want to stream from my dm800 Sad


ignore this, ive added my dreambox using tuxbox, and can see all my bouquets but when I try to play on i get playback failed. any idea?


- tajson - 2011-02-01

gam3r Wrote:ignore this, ive added my dreambox using tuxbox, and can see all my bouquets but when I try to play on i get playback failed. any idea?

Which image are you using?
If you use an zapstream enabled image (PLi), you will get a much higher success rate.