[ATV2] Not able to stream from Dreambox via tuxbox or any Dreambox/Enigma plugin
#1
Platform: ATV2
Version: Sep 15 2011 nightly

Hi guys,

I've just got myself an Apple TV 2 from my brother who didn't like it, and is unfortunately already on the latest iOS version. Beside the random crashing, I'm having an issue with streaming from my Dreambox.

Like other XBMC installations I have on a Macbook and netbook, I thought it'd be simple to stream from my VU+ Duo (Enigma2) via tuxbox. Unfortunately that isn't the case. By the looks of it, XBMC thinks for some reason it's getting no input from the Dreambox when it tries to connect to a stream. Streaming works great on every other XBMC device and VLC on everything I have, so I'm sure that it's XBMC on the ATV2 that's at fault somewhere.

Code:
16:01:56 T:139038720   DEBUG: RunScriptWithParams - calling plugin Dreambox('plugin://plugin.video.dreambox/','-1','?mode=stream&e2servicename=401+-+Sky+Sports+1&e2servicereference=1%3A0%3A1%3A1076%3A7E5%3A2%3A11A0000%3A0%3A0%3A0%3A%3A401+-+Sky+Sports+1')
16:01:56 T:139038720    INFO: initializing python engine.
16:02:00 T:139038720   DEBUG: waiting for python thread 4 to stop
16:02:00 T:139038720   DEBUG: python thread 4 destructed
16:02:00 T:139038720    INFO: easy_aquire - Created session to http://192.168.1.100
16:02:00 T:139038720   DEBUG: CFileCurl::GetMimeType - http://192.168.1.100:8001/1:0:1:1076:7E5:2:11A0000:0:0:0::401 - Sky Sports 1
                                             -> failed
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers(http://192.168.1.100:8001/1:0:1:1076:7E5:2:11A0000:0:0:0::401 - Sky Sports 1
                                            )
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: flv/aacp/sdp
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
16:02:00 T:139038720  NOTICE: DVDPlayer: Opening: http://192.168.1.100:8001/1:0:1:1076:7E5:2:11A0000:0:0:0::401 - Sky Sports 1
16:02:00 T:139038720 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:02:00 T:168345600   DEBUG: Thread CDVDPlayer start, auto delete: 0
16:02:00 T:168345600  NOTICE: Creating InputStream
16:02:00 T:168345600   DEBUG: CFileCache::Open - opening <1:0:1:1076:7E5:2:11A0000:0:0:0::401 - Sky Sports 1
                                            > using cache
16:02:00 T:168345600   DEBUG: FileCurl::Open(0x2035cc20) http://192.168.1.100:8001/1:0:1:1076:7E5:2:11A0000:0:0:0::401 - Sky Sports 1
16:02:00 T:168345600 WARNING: FillBuffer: curl failed with code 22
16:02:00 T:168345600   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
16:02:00 T:168345600   ERROR: Open - failed to open source <http://192.168.1.100:8001/1:0:1:1076:7E5:2:11A0000:0:0:0::401 - Sky Sports 1
                                            >
16:02:00 T:168345600   ERROR: CDVDPlayer::OpenInputStream - error opening [http://192.168.1.100:8001/1:0:1:1076:7E5:2:11A0000:0:0:0::401 - Sky Sports 1
                                            ]
16:02:00 T:168345600  NOTICE: CDVDPlayer::OnExit()
16:02:00 T:168345600  NOTICE: CDVDPlayer::OnExit() deleting input stream
16:02:00 T:168345600   DEBUG: Thread CDVDPlayer 168345600 terminating
16:02:00 T:139038720   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
16:02:00 T:139038720   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
16:02:00 T:139038720  NOTICE: CDVDPlayer::CloseFile()
16:02:00 T:139038720 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:02:00 T:139038720  NOTICE: DVDPlayer: waiting for threads to exit
16:02:00 T:139038720  NOTICE: DVDPlayer: finished waiting
16:02:00 T:139038720   DEBUG: CGUIAudioManager::Initialize

Incidentally, this is via Tuxbox and the plugin available here: http://www.dream-multimedia-tv.de/board/...adID=14215

I've made some modifications to the code of that particular plugin to allow you to authenticate with the Dreambox. If anyone's interested in that let me know, and I'll upload it here. Smile I'm interested in doing some more work on it in the coming weeks, once I get the streaming working on my own setup.
Reply
#2
running the enigma2 plugin on ios 4.2.1 and never had an issue really, have you tried it on a stable release?

obviously you modified the .py file with the correct i.p?
Reply
#3
stuattravs Wrote:running the enigma2 plugin on ios 4.2.1 and never had an issue really, have you tried it on a stable release?

obviously you modified the .py file with the correct i.p?

Yep, I can confirm the correct IP address is being used. Are you getting the following line in xbmc.log when trying to stream, or is it selecting something different?

Code:
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: flv/aacp/sdp
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
16:02:00 T:139038720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
16:02:00 T:139038720   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
16:02:00 T:139038720  NOTICE: DVDPlayer: Opening: http://192.168.1.100:8001/1:0:1:1076:7E5:2:11A0000:0:0:0::401 - Sky Sports 1

It's determining that the file is a stream (that's because it's a TS stream), but then saying there are no available players to play that stream. It then drops to the default of using the DVD player, which isn't going to work due to it being an incorrect structure.

It'd be interested to see a) how the stream is detected, and b) what player is used on a working system.

I had the same issue on stable (as far as I can recall), but dumped it due to unpredictable behaviour with various scrapers.
Reply
#4
Worked it out. This line is from my ATV2 nightly:

19:15:55 T:132313088 DEBUG: FileCurl::Open(0x1f2ee080) http://192.168.1.100:8001/1:0:1:1134:7D7...0:0:0::301 - Sky Premiere

And this is from my netbook (Dharma)

19:05:34 T:140592801642240 M:948408320 DEBUG: FileCurl::Open(0x2bac340) http://192.168.1.100:8001/1:0:1:1134:7D7...20Premiere

Somewhere along the way FileCurl stopped substituting the whitespace for %20. If anyone (stuarttravs?) tries adding a space or two somewhere in a channel name on a recent ATV2 nightly, they will probably find they have the same problem streaming that channel, I imagine.
Reply

Logout Mark Read Team Forum Stats Members Help
[ATV2] Not able to stream from Dreambox via tuxbox or any Dreambox/Enigma plugin0