LinuxMCE Forums

General => Users => Topic started by: nosebreaker on February 04, 2009, 12:58:15 am

Title: Send to all MD's in house problem
Post by: nosebreaker on February 04, 2009, 12:58:15 am
I have 3 MD's total, one on the core and 2 diskless MD's.  I can watch and play any video file on any of the MD's, but if I choose the floorplan and then select 2 MD's and try to play to each of them simultaneously, only the one that I started playing the video on works!  I did the following:
- Start watching a avi on MD
- Using an orbiter, go to the floorplan
- Choose "first floor"
- select each MD and then click the video in the list

It keeps playing on the first MD, but it won't play on others.
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 04, 2009, 01:24:47 am
So does mine. It always has for me... don't know why, and never really got an answer to this one. Wish I could fix it! It actually thinks its playing, but there is no audio or video...
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 04, 2009, 01:40:54 am
Wow, that's a big problem then!  Has anyone else gotten this to work (aside from the demo video)?  Please chime in if you have.
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 04, 2009, 01:43:01 am
Yes others have, its something specific to us.
Title: Re: Send to all MD's in house problem
Post by: totallymaxed on February 04, 2009, 02:45:45 am
I have 3 MD's total, one on the core and 2 diskless MD's.  I can watch and play any video file on any of the MD's, but if I choose the floorplan and then select 2 MD's and try to play to each of them simultaneously, only the one that I started playing the video on works!  I did the following:
- Start watching a avi on MD
- Using an orbiter, go to the floorplan
- Choose "first floor"
- select each MD and then click the video in the list

It keeps playing on the first MD, but it won't play on others.

Hmmm... thats interesting. We have that working here but I guess somehow a patch to fix that was never posted by us. I thought we had done so... but I have to say I cant find any reference to that here myself... Ooops :-(

I will have someone look at whether we did a patch and it just did not get uploaded or whether we just never made the patch at all. I have to say I cant say either way right now.

Anyway I will find out and post back in this thread as soon as i figure it out.

All the best (& sorry!)

Andrew
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 04, 2009, 02:54:18 am
Andrew - thanks, does that mean to say that you recognise the issue, and CHT have resolved it, but you just aren't sure how? Or do you not even recognise the issue?
Title: Re: Send to all MD's in house problem
Post by: totallymaxed on February 04, 2009, 03:12:19 am
Andrew - thanks, does that mean to say that you recognise the issue, and CHT have resolved it, but you just aren't sure how? Or do you not even recognise the issue?

Hi Colin,

We (ie CHT) fixed that issue ages back and I had thought we had posted a patch or fix here or on the Wiki... at least that was my 'assumption'... but it appears we didn't (or at least I cant find it if we did!). But we do have that fixed so I will try to find out if we have a patch or set of instructions to fix it and get those up here asap.

All the best

Andrew
Title: Re: Send to all MD's in house problem
Post by: ddamron on February 04, 2009, 03:41:02 am
We had that working at LinuxTAG last year, if I recall......

Dan
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 04, 2009, 03:48:57 am
Cool, thanks guys! Btw, I can't tell but is it supposed to still use videolan to split the stream? Its not installed by default, and I read/heard that this was old info... so I'm assuming that the xine libraries can now do this on their own...
Title: Re: Send to all MD's in house problem
Post by: totallymaxed on February 04, 2009, 04:27:13 am
Cool, thanks guys! Btw, I can't tell but is it supposed to still use videolan to split the stream? Its not installed by default, and I read/heard that this was old info... so I'm assuming that the xine libraries can now do this on their own...

No 0710 uses xine for this.

Andrew
Title: Re: Send to all MD's in house problem
Post by: krys on February 04, 2009, 04:10:00 pm
that is weird, this feature has worked since the first day for me.
Title: Re: Send to all MD's in house problem
Post by: thedaver on February 04, 2009, 04:42:07 pm
difference in install media/patches between DVD and CD install kits?  install diff using "all-in-one" versus standalone Kubuntu first?
Title: Re: Send to all MD's in house problem
Post by: totallymaxed on February 04, 2009, 04:45:34 pm
difference in install media/patches between DVD and CD install kits?  install diff using "all-in-one" versus standalone Kubuntu first?

Hmmm... could be. We have only used the DVD builds and release for 710...so this is possible.

All the best

Andrew
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 04, 2009, 04:45:56 pm
I used the CD's on top of Kubuntu 7.10.  I couldn't use the DVD installer (I vaguely recall it not being able to partition the drive).

Ok, well how does this broadcast work exactly?  Maybe I can figure out how to fix it then on my own.  Googling finds someone that used PulseAudio with xine, is that it?
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 04, 2009, 08:40:35 pm
Nope, haven't used the CDs to install for about a year. Have re-installed using the DVD at least 20+ times since then.. mine is definitely a DVD install. (i386 0710RC2 single layer)
Title: Re: Send to all MD's in house problem
Post by: krys on February 04, 2009, 08:43:00 pm
mine worked with both DVD and CD install, so that rules that out.
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 04, 2009, 09:20:40 pm
Ok, what logs would I look into to help troubleshoot this?  How does xine send the media to other systems simultaneously?  What command is sent to each MD when you do that?
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 04, 2009, 10:07:53 pm
You need to sit tight and wait for Andrew to get back to us.
Title: Re: Send to all MD's in house problem
Post by: Crawtech on February 05, 2009, 03:28:32 am
Hi Guys
I have the same problem but it did work  what I was wandering could it have some thing to do with the output Eg 1 MD is using HDMI and the other is using VGA not sure if I am on the right track or not but i am sure that mine was working fine till I changed it from VGA to HDMI
I am probably  barking up the wrong tree  ???
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 05, 2009, 04:21:28 am
Hi Guys
I have the same problem but it did work  what I was wandering could it have some thing to do with the output Eg 1 MD is using HDMI and the other is using VGA not sure if I am on the right track or not but i am sure that mine was working fine till I changed it from VGA to HDMI
I am probably  barking up the wrong tree  ???


I would be very surprised, after all, xine isn't talking directly to the output, it draws into the video frame buffer (not even directly, through OpenGL I believe). The card/chipset is responsible for reading the image and outputing it to the correct output...
Title: Re: Send to all MD's in house problem
Post by: Crawtech on February 05, 2009, 04:33:04 am
True
and i understand that part but as i said it was working but its not any more and its the only thing i can think of at the moment that i have changed besides the audio is also hdmi as well
I will do some testing when i get home i have 7 MD's i will see if any will work
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 05, 2009, 04:39:23 am
sure it wasn't working under b4 or RC1? If Andrew feels that they submitted a fix ages ago, perhaps it was in one of those releases, but got lost in a subsequent one?
Title: Re: Send to all MD's in house problem
Post by: Crawtech on February 05, 2009, 05:27:13 am
the system I have at home has been running 710 rc2 from day 1
The only other thing i am thinking is my core is i386 and the MD in the Home Theatre Room is running i386 and the rest are running AMD64 ? 
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 06, 2009, 05:04:44 am
I'm running i386 on everything (as far as I know).  Dev's - $20 via paypal if you can get this to work or find that fix!
Title: Re: Send to all MD's in house problem
Post by: tschak909 on February 06, 2009, 06:35:30 am
It's one thing to compensate developers, quite another to insult them by lowballing it. Pay us for our time, not for a feature.

Don't be a dick.

-Thom
Title: Re: Send to all MD's in house problem
Post by: totallymaxed on February 06, 2009, 08:53:50 am
I'm running i386 on everything (as far as I know).  Dev's - $20 via paypal if you can get this to work or find that fix!

I agree with Tschak 100%... although I would put it differently being a 'polite' Brit ;-)

The Devs here do amazing amounts of work that no one really 'sees' or appreciates... I know you understand they are working on the system... but you probably dont realise literally the 1000's of man hours they put into this project... none of which is for payment.

Offer them help and assistance definitely... maybe setup a 'PayPal' fund that can gather small sums from many people. Offer them hardware is another good idea.

All the best

Andrew
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 06, 2009, 12:07:41 pm
agreed! $20 is insulting, it could be no other way under the circumstances. "jump for the cookie"! I understand you were trying to help encourage and provide incentive, at the same time there are many priorities.. it doesn't read well (even though I understand your intent!)
Title: Re: Send to all MD's in house problem
Post by: uplink on February 06, 2009, 03:53:21 pm
Well, I don't know what made it not work for you guys, but it never stopped working for me. Ever. From the first post, I understand that you have two flooplands, one for each floor? I never tested that. Looks like no one did, since you can select MDs from the hidden floorplans as well, through the selected floorplan (or so the reports I get say). If you have a single flooplan, it should work fine:

1. Select the MDs you want the media on -> they get listed in a comma separated list
2. Select the stream you want to play in the selected MDs
3. See it happen

When you do this, there's a "Move Media" message sent out. That one has a list with the selected MDs, and it end up in Xine, which processes it in a "Play Media" command or something. I don't know precisely.
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 06, 2009, 03:58:26 pm
I didn't view it as $20 for 1000hrs of work, I thought it was already fixed so it was $20 for finding the prior fix that was already made.  $20 to find an old email was easy money I thought.

I'll try using only one floorplan called "Overview" and see if that works.  If it does, I'll send uplink the money :)
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 06, 2009, 08:11:52 pm
Well, I don't know what made it not work for you guys, but it never stopped working for me. Ever. From the first post, I understand that you have two flooplands, one for each floor? I never tested that. Looks like no one did, since you can select MDs from the hidden floorplans as well, through the selected floorplan (or so the reports I get say). If you have a single flooplan, it should work fine:

1. Select the MDs you want the media on -> they get listed in a comma separated list
2. Select the stream you want to play in the selected MDs
3. See it happen

When you do this, there's a "Move Media" message sent out. That one has a list with the selected MDs, and it end up in Xine, which processes it in a "Play Media" command or something. I don't know precisely.

Uplink, its definitely not to do with the floorplan, I only have one and it still does this. At least a handful of others are reporting the exact same behaviour. I believe it is the same behaviour without any floorplan.
Title: Re: Send to all MD's in house problem
Post by: uplink on February 06, 2009, 08:39:17 pm
Strange then. Can you look at the DCERouter's log and see if the Move Media and associated messages show up properly?
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 07, 2009, 12:54:22 am
I tried deleting all floorplans, and creating one called Overview, and placing the MD's on that.  No dice.

Funny thing I noticed, when I use my tablet to tell it to send to multiple MD's, it sometimes thinks it is controlling the wrong MD, for example after I will say sent to kitchen, and it will say "living room" in the bottom right, yet it will then control the kitchen MD.

Here's a snippit of me trying to send to 2 MD's from the Tablet.

Code: [Select]
08 02/06/09 18:39:36.088   Parameter 159(PK_Screen): 140 <0x772a6b90>
05 02/06/09 18:39:36.088 BoundRemote::UpdateOrbiter(): Updating object:  on device 20 with size of 0 <0x912dab90>
08 02/06/09 18:39:36.089 Received Message from 10 (Media Plug-in / Living Room/Family Room) to 20 (OnScreen Orbiter / Living Room/Family Room), type 1 id 242 Command:Set Now Playing, retry none, parameters: <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 3(PK_DesignObj): 70,4964,47,140,224,230 <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 5(Value To Assign): testmovie.avi <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 9(Text):  <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 29(PK_MediaType): 5 <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 41(StreamID): 1018 <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 48(Value): 0 <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 50(Name): pluto-xine-playback-window.pluto-xine-playback-window <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 103(List PK Device): 22,22,15,,1,1,0 <0xa8cf9b90>
08 02/06/09 18:39:36.089   Parameter 120(Retransmit): 0 <0xa8cf9b90>
08 02/06/09 18:39:36.091 Received Message from 20 (OnScreen Orbiter / Living Room/Family Room) to 24 (Photo Screen Saver / Living Room/Family Room), type 1 id 193 Command:Off, retry none, parameters: <0x772a6b90>
08 02/06/09 18:39:36.091   Parameter 97(PK_Pipe): 0 <0x772a6b90>
08 02/06/09 18:39:36.110 Received Message from 40 (Windows XP PC/tablet (Horiz) / Living Room/Family Room) to 10 (Media Plug-in / Living Room/Family Room), type 1 id 74 Command:Bind to Media Remote, retry none, parameters: <0x67a87b90>
08 02/06/09 18:39:36.110   Parameter 2(PK_Device):  <0x67a87b90>
08 02/06/09 18:39:36.110   Parameter 3(PK_DesignObj): 2355 <0x67a87b90>
08 02/06/09 18:39:36.110   Parameter 8(On/Off): 1 <0x67a87b90>
08 02/06/09 18:39:36.110   Parameter 25(PK_Text):  <0x67a87b90>
08 02/06/09 18:39:36.110   Parameter 39(Options):  <0x67a87b90>
08 02/06/09 18:39:36.110   Parameter 45(PK_EntertainArea): 1 <0x67a87b90>
08 02/06/09 18:39:36.110   Parameter 63(PK_Text_Synopsis):  <0x67a87b90>
08 02/06/09 18:39:36.110   Parameter 159(PK_Screen): 70 <0x67a87b90>
05 02/06/09 18:39:36.111 BoundRemote::UpdateOrbiter(): Updating object: 2355 on device 40 with size of 0 <0x912dab90>
08 02/06/09 18:39:36.114 Received Message from 40 (Windows XP PC/tablet (Horiz) / Living Room/Family Room) to 40 (Windows XP PC/tablet (Horiz) / Living Room/Family Room), type 1 id 14 Command:Refresh, retry none, parameters: <0x68288b90>
08 02/06/09 18:39:36.114   Parameter 15(DataGrid ID):  <0x68288b90>
08 02/06/09 18:39:36.157 Received Message from 40 (Windows XP PC/tablet (Horiz) / Living Room/Family Room) to 6 (Datagrid Plug-in / Living Room/Family Room), type 1 id 35 Command:Populate Datagrid, retry none, parameters: <0x67a87b90>
08 02/06/09 18:39:36.157   Parameter 4(PK_Variable): 0 <0x67a87b90>
08 02/06/09 18:39:36.157   Parameter 5(Value To Assign):  <0x67a87b90>
08 02/06/09 18:39:36.157   Parameter 10(ID): 58 <0x67a87b90>
08 02/06/09 18:39:36.157   Parameter 15(DataGrid ID): plist_40 <0x67a87b90>
08 02/06/09 18:39:36.157   Parameter 38(PK_DataGrid): 18 <0x67a87b90>
08 02/06/09 18:39:36.157   Parameter 39(Options): 32,40,3278.0.0,,1 <0x67a87b90>
08 02/06/09 18:39:36.157   Parameter 40(IsSuccessful): 1 <0x67a87b90>
08 02/06/09 18:39:36.157   Parameter 44(PK_DeviceTemplate): 0 <0x67a87b90>
08 02/06/09 18:39:36.158   Parameter 60(Width): 1 <0x67a87b90>
08 02/06/09 18:39:36.158   Parameter 61(Height): 10 <0x67a87b90>
08 02/06/09 18:39:36.212 Received Message from 40 (Windows XP PC/tablet (Horiz) / Living Room/Family Room) to 6 (Datagrid Plug-in / Living Room/Family Room), type 1 id 34 Command:Request Datagrid Contents, retry none, parameters: <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 10(ID): 59 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 15(DataGrid ID): plist_40 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 32(Row): 0 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 33(Column): 0 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 34(Row count): 10 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 35(Column count): 1 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 36(Keep Row Header): 0 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 37(Keep Column Header): 0 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 49(Add Up-Down Arrows): 1 <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 73(Seek):  <0x67a87b90>
08 02/06/09 18:39:36.212   Parameter 74(Offset): 0 <0x67a87b90>
07 02/06/09 18:39:36.464 Event #58 has no handlers <0x6b28eb90>
07 02/06/09 18:39:36.464 Received Message from 22 (Xine Player / Living Room/Family Room) to -1001 (unknown / ), type 2 id 58 Event:Playback Started, retry none, parameters: <0x6b28eb90>
07 02/06/09 18:39:36.464   Parameter 4(MRL): /home/public/data/videos/9650SE-4LP_DISK (sdb1)-CORE [41]/tests/firstdir/testmovie.avi <0x6b28eb90>
07 02/06/09 18:39:36.465   Parameter 9(Stream ID): 1018 <0x6b28eb90>
07 02/06/09 18:39:36.465   Parameter 16(SectionDescription):  <0x6b28eb90>
07 02/06/09 18:39:36.465   Parameter 47(Audio):  <0x6b28eb90>
07 02/06/09 18:39:36.465   Parameter 48(Video):  <0x6b28eb90>
07 02/06/09 18:39:36.473 Event #58 has no handlers <0x6b28eb90>
07 02/06/09 18:39:36.473 Received Message from 22 (Xine Player / Living Room/Family Room) to -1001 (unknown / ), type 2 id 58 Event:Playback Started, retry none, parameters: <0x6b28eb90>
07 02/06/09 18:39:36.473   Parameter 4(MRL): /home/public/data/videos/9650SE-4LP_DISK (sdb1)-CORE [41]/tests/firstdir/testmovie.avi <0x6b28eb90>
07 02/06/09 18:39:36.473   Parameter 9(Stream ID): 1018 <0x6b28eb90>
07 02/06/09 18:39:36.473   Parameter 16(SectionDescription):  <0x6b28eb90>
07 02/06/09 18:39:36.473   Parameter 47(Audio): pcm <0x6b28eb90>
07 02/06/09 18:39:36.473   Parameter 48(Video): 4:3 <0x6b28eb90>
07 02/06/09 18:39:36.477 Event #58 has no handlers <0x6b28eb90>
07 02/06/09 18:39:36.478 Received Message from 22 (Xine Player / Living Room/Family Room) to -1001 (unknown / ), type 2 id 58 Event:Playback Started, retry none, parameters: <0x6b28eb90>
07 02/06/09 18:39:36.478   Parameter 4(MRL): /home/public/data/videos/9650SE-4LP_DISK (sdb1)-CORE [41]/tests/firstdir/testmovie.avi <0x6b28eb90>
07 02/06/09 18:39:36.478   Parameter 9(Stream ID): 1018 <0x6b28eb90>
07 02/06/09 18:39:36.478   Parameter 16(SectionDescription):  <0x6b28eb90>
07 02/06/09 18:39:36.478   Parameter 47(Audio): pcm <0x6b28eb90>
07 02/06/09 18:39:36.478   Parameter 48(Video): 4:3 <0x6b28eb90>
08 02/06/09 18:39:36.545 Received Message from 66 (OnScreen Orbiter / Kitchen) to 70 (Photo Screen Saver / Kitchen), type 1 id 193 Command:Off, retry none, parameters: <0xa4cf1b90>
08 02/06/09 18:39:36.546   Parameter 97(PK_Pipe): 0 <0xa4cf1b90>
08 02/06/09 18:39:37.477 Received Message from 22 (Xine Player / Living Room/Family Room) to 69 (Xine Player / Kitchen), type 1 id 37 Command:Play Media, retry none, parameters: <0x6b28eb90>
08 02/06/09 18:39:37.478   Parameter 29(PK_MediaType): 5 <0x6b28eb90>
08 02/06/09 18:39:37.478   Parameter 41(StreamID): 1018 <0x6b28eb90>
08 02/06/09 18:39:37.478   Parameter 42(MediaPosition):  CHAPTER:0 POS:17809 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:5408992 <0x6b28eb90>
08 02/06/09 18:39:37.478   Parameter 59(MediaURL): slave://192.168.80.1:20001 <0x6b28eb90>
08 02/06/09 18:39:37.481 Received Message from 69 (Xine Player / Kitchen) to 70 (Photo Screen Saver / Kitchen), type 1 id 193 Command:Off, retry none, parameters: <0x7329eb90>
08 02/06/09 18:39:37.481   Parameter 97(PK_Pipe): 0 <0x7329eb90>
07 02/06/09 18:39:37.958 Event #58 has no handlers <0x7329eb90>
07 02/06/09 18:39:37.958 Received Message from 69 (Xine Player / Kitchen) to -1001 (unknown / ), type 2 id 58 Event:Playback Started, retry none, parameters: <0x7329eb90>
07 02/06/09 18:39:37.958   Parameter 4(MRL): slave://192.168.80.1:20001 <0x7329eb90>
07 02/06/09 18:39:37.958   Parameter 9(Stream ID): 1018 <0x7329eb90>
07 02/06/09 18:39:37.959   Parameter 16(SectionDescription):  <0x7329eb90>
07 02/06/09 18:39:37.959   Parameter 47(Audio):  <0x7329eb90>
07 02/06/09 18:39:37.959   Parameter 48(Video):  <0x7329eb90>
07 02/06/09 18:39:37.959 Event #58 has no handlers <0x7329eb90>
07 02/06/09 18:39:37.959 Received Message from 69 (Xine Player / Kitchen) to -1001 (unknown / ), type 2 id 58 Event:Playback Started, retry none, parameters: <0x7329eb90>
07 02/06/09 18:39:37.959   Parameter 4(MRL): slave://192.168.80.1:20001 <0x7329eb90>
07 02/06/09 18:39:37.959   Parameter 9(Stream ID): 1018 <0x7329eb90>
07 02/06/09 18:39:37.959   Parameter 16(SectionDescription):  <0x7329eb90>
07 02/06/09 18:39:37.959   Parameter 47(Audio):  <0x7329eb90>
07 02/06/09 18:39:37.959   Parameter 48(Video):  <0x7329eb90>
07 02/06/09 18:39:37.969 Event #58 has no handlers <0x7329eb90>
07 02/06/09 18:39:37.969 Received Message from 69 (Xine Player / Kitchen) to -1001 (unknown / ), type 2 id 58 Event:Playback Started, retry none, parameters: <0x7329eb90>
07 02/06/09 18:39:37.969   Parameter 4(MRL): slave://192.168.80.1:20001 <0x7329eb90>
07 02/06/09 18:39:37.969   Parameter 9(Stream ID): 1018 <0x7329eb90>
07 02/06/09 18:39:37.969   Parameter 16(SectionDescription):  <0x7329eb90>
07 02/06/09 18:39:37.969   Parameter 47(Audio): pcm <0x7329eb90>
07 02/06/09 18:39:37.969   Parameter 48(Video):  <0x7329eb90>
05 02/06/09 18:39:39.013 Socket::ReceiveData 0x86b1000 failed, bytes left 0 start: 2870000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 167 Incoming_Conn Socket 167 192.168.80.3EVENT 69 T=5 Event #69 <0x7329eb90>
05 02/06/09 18:39:39.013 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 167 192.168.80.3EVENT 69 T=5 Event #69 <0x7329eb90>
05 02/06/09 18:39:39.013 TCPIP: Closing connection to 69 (Router Dev #0) 0x86b1000 m_Socket: -1 <0x7329eb90>
05 02/06/09 18:39:39.013 Router::RemoveAndDeleteSocket 0x86b1000 69 <0x7329eb90>
05 02/06/09 18:39:39.013 Socket::ReceiveData 0x86b1198 failed, bytes left 0 start: 2870000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 168 Incoming_Conn Socket 168 192.168.80.3EVENT 69 T=5 Event #69 <0x72a9db90>
05 02/06/09 18:39:39.013 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 168 192.168.80.3EVENT 69 T=5 Event #69 <0x72a9db90>
05 02/06/09 18:39:39.013 TCPIP: Closing connection to 69 (Router Dev #0) 0x86b1198 m_Socket: -1 <0x72a9db90>
05 02/06/09 18:39:39.013 Router::RemoveAndDeleteSocket 0x86b1198 69 <0x72a9db90>
07 02/06/09 18:39:41.221 Event #75 has no handlers <0x82abdb90>
07 02/06/09 18:39:41.221 Received Message from 17 (Asterisk / Living Room/Family Room) to -1001 (unknown / ), type 2 id 75 Event:Extensions Status, retry none, parameters: <0x82abdb90>
07 02/06/09 18:39:41.221   Parameter 13(Text): SIP/202:Registered <0x82abdb90>
05 02/06/09 18:39:49.600 Router::RemoveAndDeleteSocket 0x8697df8 69 <0x802b8b90>
07 02/06/09 18:39:49.741 Event #12 has no handlers <0x72a9db90>
07 02/06/09 18:39:49.741 Received Message from 69 (Xine Player / Kitchen) to -1001 (unknown / ), type 2 id 12 Event:Playback Completed, retry none, parameters: <0x72a9db90>
07 02/06/09 18:39:49.741   Parameter 4(MRL):  <0x72a9db90>
07 02/06/09 18:39:49.741   Parameter 9(Stream ID): 0 <0x72a9db90>
07 02/06/09 18:39:49.741   Parameter 37(With Errors): 0 <0x72a9db90>
07 02/06/09 18:40:12.357 Event #65 has no handlers <0x7229cb90>
07 02/06/09 18:40:12.357 Received Message from 1 (CORE / Living Room/Family Room) to -1001 (unknown / ), type 2 id 65 Event:Device Detected, retry none, parameters: <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 5(Mac Address):  <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 13(Text): 9650SE-4LP_DISK [sda1] <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 28(IP Address):  <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 49(PK_DeviceTemplate): 1790 <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 51(VendorModelID):  <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 52(PK_CommMethod): 8 <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 53(PK_PnpProtocol):  <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 54(PNP Serial Number): 887C25877C25715C <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 55(DeviceData): 267|887C25877C25715C|277|101G <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 56(Category):  <0x7229cb90>
07 02/06/09 18:40:12.357   Parameter 59(Signature):  <0x7229cb90>
05 02/06/09 18:40:12.380 Socket::ReceiveData 0x8697df8 failed, bytes left 0 start: 2870000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 169 Incoming_Conn Socket 169 127.0.0.1 <0x7229cb90>
05 02/06/09 18:40:12.381 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 169 127.0.0.1 <0x7229cb90>
05 02/06/09 18:40:12.381 TCPIP: Closing connection to -1003 (Router Dev #0) 0x8697df8 m_Socket: -1 <0x7229cb90>
05 02/06/09 18:40:12.381 Router::RemoveAndDeleteSocket 0x8697df8 -1003 <0x7229cb90>
08 02/06/09 18:40:24.950 Received Message from 66 (OnScreen Orbiter / Kitchen) to 9 (Orbiter Plug-in / Living Room/Family Room), type 1 id 830 Command:Set Active Remote, retry none, parameters: <0x6c290b90>
08 02/06/09 18:40:24.950   Parameter 2(PK_Device): 39 <0x6c290b90>
08 02/06/09 18:40:24.950   Parameter 197(Fire Event): 0 <0x6c290b90>
08 02/06/09 18:40:24.950   Parameter 198(PK_Orbiter): 66 <0x6c290b90>
08 02/06/09 18:40:27.365 Received Message from 66 (OnScreen Orbiter / Kitchen) to 10 (Media Plug-in / Living Room/Family Room), type 1 id 74 Command:Bind to Media Remote, retry none, parameters: <0xa4cf1b90>
08 02/06/09 18:40:27.365   Parameter 2(PK_Device):  <0xa4cf1b90>
08 02/06/09 18:40:27.365   Parameter 3(PK_DesignObj):  <0xa4cf1b90>
08 02/06/09 18:40:27.365   Parameter 8(On/Off): 0 <0xa4cf1b90>
08 02/06/09 18:40:27.365   Parameter 25(PK_Text):  <0xa4cf1b90>
08 02/06/09 18:40:27.365   Parameter 39(Options):  <0xa4cf1b90>
08 02/06/09 18:40:27.365   Parameter 45(PK_EntertainArea): 2 <0xa4cf1b90>
08 02/06/09 18:40:27.365   Parameter 63(PK_Text_Synopsis):  <0xa4cf1b90>
08 02/06/09 18:40:27.365   Parameter 159(PK_Screen):  <0xa4cf1b90>
07 02/06/09 18:41:39.157 Event #75 has no handlers <0x82abdb90>
07 02/06/09 18:41:39.157 Received Message from 17 (Asterisk / Living Room/Family Room) to -1001 (unknown / ), type 2 id 75 Event:Extensions Status, retry none, parameters: <0x82abdb90>
07 02/06/09 18:41:39.157   Parameter 13(Text): SIP/200:Registered <0x82abdb90>
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 07, 2009, 01:52:41 am
I have noticed on occasion that the room being controlled suddenly changes without me asking it to. It is following a specific action, and I have a feeling that it might, indeed, be trying to split the stream to multiple EAs... will check when I get a chance. Although I usually just override it and switch back immediately so I'm not sure if I would also experience the same issue of it controlling a different EA than the display indicates...
Title: Re: Send to all MD's in house problem
Post by: bulek on February 07, 2009, 09:44:49 am
I have noticed on occasion that the room being controlled suddenly changes without me asking it to. It is following a specific action, and I have a feeling that it might, indeed, be trying to split the stream to multiple EAs... will check when I get a chance. Although I usually just override it and switch back immediately so I'm not sure if I would also experience the same issue of it controlling a different EA than the display indicates...
Hi,

please try to look and post DCERouter log when this happen. There is another problem, that could also be related - some users spotted that when you want to turn off MD, sometimes main hybrid is switched off instead of just MD. Maybe this is related to this problem. Convenient way would be to remember time when this happened and some certain command that caused it and then dig into DCERouter logs...

This way we can solve things...

Regards,

Bulek.
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 09, 2009, 03:42:48 pm
Sure, I can duplicate that problem now when I try to send media to multiple MD's with my tablet orbiter.  What in particular do you need?  just the DCErouter log?  I'll do it tonight when I get home.
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 11, 2009, 04:13:10 am
Something I noticed, I can send audio to other media directors and that works fine, however video does not.  The audio is not in sync though.
Title: Re: Send to all MD's in house problem
Post by: krys on February 11, 2009, 04:47:43 am
The audio not syncing is a known feature(bug) there is nothing built in to the system to keep the different MD's sync'd
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 11, 2009, 09:15:18 pm
Hey, playing a DVD works fine!  I couldn't duplicate the problem where it changed rooms on the tablet again, but I noticed that I can stream a DVD to multiple MD's just fine (it's in sync too).

I can't play an AVI file though it seems.
Title: Re: Send to all MD's in house problem
Post by: krys on February 11, 2009, 09:46:04 pm
its not impossible for the DVD to be sync'd especially when just using 2, but from my experience its mainly luck. And once you have 4-5 MD's all using different hardware its rare at best.
Title: Re: Send to all MD's in house problem
Post by: tschak909 on February 11, 2009, 09:53:37 pm
We do not employ anything for sync at all. We merely tell the player devices a starting timecode for position. This is not corrected as time goes on. You are more likely to get closer in sync IF you have more than one item in the playlist, and trigger them, because there is an initial latency for initializing the player stream handle.

-Thom
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 11, 2009, 10:25:23 pm
I do notice that when I have 4 going they are all a little out of sync, the MD's are all the same though (Jetway JNC62K).  That's fine, they are close enough, it's good to know that using a playlist will probably help too.

Any idea from my log post why it doesn't broadcast AVI files?  I find it strange that DVD's and MP3's work fine, but avi does not.
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 11, 2009, 10:33:19 pm
We do not employ anything for sync at all. We merely tell the player devices a starting timecode for position. This is not corrected as time goes on. You are more likely to get closer in sync IF you have more than one item in the playlist, and trigger them, because there is an initial latency for initializing the player stream handle.

-Thom


Thom - would it not be better to use some kind of broadcast or multicast mode to provide the sync? I get the impression that this is how it used to be when videolan was used instead. I notice that xine itself has a "network" (-n) and broadcast mode, so I assume that the underlying xine libraries support this.

Is it possible, in the future, that each MD could have 2 DCE devices, one that is a xine broadcaster, and one the actual xine player (I guess based on the current xine wrapper code). Then the media plugin would send DCE commands to the broadcaster device with the media stream handle, it would grab that source and begin "broadcasting". Then media pluging would send another DCE command to the xine player device, telling it to connect to the stream being broadcast from the broadcaster device (in this case, it would be local on the same MD).

Then, if subsequent streams were needed, either bifurcating to another MD, or even simply moving the stream, the media plugin would just send another DCE command to the xine player device on the remote MD, telling it to connect to the broadcast stream of the broadcast device on the first MD. This would ensure that (music and video) media was always in sync no matter how many MDs were playing it (especially if a multicast stream, but that's obviously a feature for later!) Even move media could be implemented this way, after all, in most cases who cares which MD is actually transmitting the steam and which is playing it (bandwidth not withstanding!). And this way it would always pick up the steam exactly where it left off, without that little "jump" and without having to use the time code system.

Obviously, the time code system would still be needed for bookmarks, and follow-me, etc... Just a hypothetical thought, wondering whether you thought this might be a more elegant way of achieving the goal, and perhaps even more in keeping with the DCE philosophy? (helps with my understanding of how all this stuff hangs together)
Title: Re: Send to all MD's in house problem
Post by: tschak909 on February 11, 2009, 10:38:51 pm
Well, whatever we can come up with, cool. But I think the only way you can understand this better is to just dig in at this point.

-Thom
Title: Re: Send to all MD's in house problem
Post by: Dale_K on February 12, 2009, 12:12:46 am
I do notice that when I have 4 going they are all a little out of sync, the MD's are all the same though (Jetway JNC62K).  That's fine, they are close enough, it's good to know that using a playlist will probably help too.

Any idea from my log post why it doesn't broadcast AVI files?  I find it strange that DVD's and MP3's work fine, but avi does not.

Something I noticed when working on looping video playlists is that avi, mp4, etc. are a separate media type from DVD's.  Video files are referred to as StoredVideo in the code whereas .dvd files are coded as DVD.  i.e. Pluto_StoredVideo_Constant vs. Pluto_DVD_Constant. 

My video (either files or .dvd's) both stream to multiple MD's fine, but I do notice that the .dvd files are much closer to being sync'd than the avi files.  DVD files usually have less than a second difference in the sync and are quite often perfectly sync'd but avi/mpeg files are commonly a few seconds off.  I have no idea why this is, but I think they are handled differently in the code per StoredVideo vs. DVD. (Possibly in the timecode stuff)

None of this actually provides a solution to your problem but maybe bringing it up will jog someone's memory or give you a different direction to approach it from.
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 12, 2009, 12:31:57 am
hmm yes, DVDs do seem to work on mine.. first time I've seen it work correctly, so there must be something in it...
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 13, 2009, 05:40:30 am
The other MD's all think they are playing the video, and I've noticed that sometimes when I try to bounce the video back to another MD or send it again, sometimes it will "work" in that only 1 MD is still showing video at a time, but it is now in a tiny window.  I wonder if the command it is sending to the Nth MD is somehow different than the first one.  Or sometimes the screen goes black as if it is going to play, then shows the background picture but it is frozen.  Or if I was sending videos back and forth it shows the last frame of the prior video frozen.

Have there perhaps been updates to 0710 (I thought that was the purpose of disabling ubuntu's update service)?  It hasn't updated anything that I am aware of.
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 21, 2009, 03:36:08 am
Totallymaxed - did you ever get an answer on whether the bug fix for this was propagated?

Col.
Title: Re: Send to all MD's in house problem
Post by: totallymaxed on February 21, 2009, 09:55:53 am
Totallymaxed - did you ever get an answer on whether the bug fix for this was propagated?

Col.

Hi Colin,

My mistake... I was confusing another fix, where tracks do not start playing at the beginning when playing a playlist, with this problem. That fix has been committed to the svn and will be part of 810.

As far as Uplink & I can tell (uplink works for Dianemo) multi-room playback of ripped DVD's using the media floorplan is working fine. The only thing that I can think of is that trying this with avi files might be the problem (I have not tested that hypothesis though).

All the best

Andrew
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 21, 2009, 11:06:09 am
Totallymaxed - did you ever get an answer on whether the bug fix for this was propagated?

Col.

Hi Colin,

My mistake... I was confusing another fix, where tracks do not start playing at the beginning when playing a playlist, with this problem. That fix has been committed to the svn and will be part of 810.

As far as Uplink & I can tell (uplink works for Dianemo) multi-room playback of ripped DVD's using the media floorplan is working fine. The only thing that I can think of is that trying this with avi files might be the problem (I have not tested that hypothesis though).

All the best

Andrew
Haven't tried ripped DVDs, but as mentioned in this thread, normal DVDs are working fine for each of us that have this issue. It is media files that is the problem... not sure if it is limited just to avi files....
Title: Re: Send to all MD's in house problem
Post by: totallymaxed on February 21, 2009, 11:16:16 am
Totallymaxed - did you ever get an answer on whether the bug fix for this was propagated?

Col.

Hi Colin,

My mistake... I was confusing another fix, where tracks do not start playing at the beginning when playing a playlist, with this problem. That fix has been committed to the svn and will be part of 810.

As far as Uplink & I can tell (uplink works for Dianemo) multi-room playback of ripped DVD's using the media floorplan is working fine. The only thing that I can think of is that trying this with avi files might be the problem (I have not tested that hypothesis though).

All the best

Andrew
Haven't tried ripped DVDs, but as mentioned in this thread, normal DVDs are working fine for each of us that have this issue. It is media files that is the problem... not sure if it is limited just to avi files....

Right... just re-read the earlier parts of the thread. Looks like its just media files then...

Andrew
Title: Re: Send to all MD's in house problem
Post by: tschak909 on February 21, 2009, 11:20:22 am
So strange. I've never had these problems...like...ever....

And we didn't have them at Linuxtag either, we were bouncing streams all over the place, much to the jaw dropping amazement of the passing attendees. ;-)

-Thom
Title: Re: Send to all MD's in house problem
Post by: totallymaxed on February 21, 2009, 11:33:54 am
So strange. I've never had these problems...like...ever....

And we didn't have them at Linuxtag either, we were bouncing streams all over the place, much to the jaw dropping amazement of the passing attendees. ;-)

-Thom


We dont see it either Thom... but we only do it with audio files and ripped DVD's... and it works fine with those.

Andrew
Title: Re: Send to all MD's in house problem
Post by: colinjones on February 21, 2009, 01:16:29 pm
No, I realise this, otherwise it would have been mentioned more often.... that being said, if you read back through this thread, and several others you will see that numerous people are seeing exactly the same issue... works perfectly with DVDs (dunno about rips at this point) but never works at all with media files.... don't know what the common factor is, but it is definitely completely repeatable and experienced in the same way by multiple people.... ie not a one off...?
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on February 23, 2009, 01:17:31 am
Can someone with a working system post their dcerouter log when they send avi files to multiple MD's please?
Title: Re: Send to all MD's in house problem
Post by: donpaul on March 17, 2009, 11:14:37 pm
I just checked viewing .avi on multiple MD, and I get the same result. Only the original MD shows video/audio, the others just show a blank screen with the mouse pointer (bummer). It works fine with DVD and DVDrip.
Title: Re: Send to all MD's in house problem
Post by: Kaelix on August 21, 2009, 12:22:31 am
I just checked viewing .avi on multiple MD, and I get the same result. Only the original MD shows video/audio, the others just show a blank screen with the mouse pointer (bummer). It works fine with DVD and DVDrip.

I have the exact same problem mentioned above. DVD's either ripped or in the drive of core broadcast to all MD's fine. AVI files only play in the original MD with the rest showing a blank screen with mouse pointer in lower left corner. Interestingly enough I have an .mkv file which plays audio/video on the original MD, and audio is broadcast fine to the rest of the MDs, but no video. I'm running alpha 2.26. Has this been fixed and maybe I missed the solution? Thanks
Title: Re: Send to all MD's in house problem
Post by: nosebreaker on January 21, 2010, 06:28:13 pm
Has anyone found a fix for this?  If not, is there anyone that has this working that can post their log please?