Author Topic: Send to all MD's in house problem  (Read 22542 times)

uplink

  • Administrator
  • Guru
  • *****
  • Posts: 192
  • Linux and LinuxMCE witchdoctor
    • View Profile
Re: Send to all MD's in house problem
« Reply #30 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?

nosebreaker

  • Guru
  • ****
  • Posts: 202
    • View Profile
Re: Send to all MD's in house problem
« Reply #31 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>

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Send to all MD's in house problem
« Reply #32 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...

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Send to all MD's in house problem
« Reply #33 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.
Thanks in advance,

regards,

Bulek.

nosebreaker

  • Guru
  • ****
  • Posts: 202
    • View Profile
Re: Send to all MD's in house problem
« Reply #34 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.

nosebreaker

  • Guru
  • ****
  • Posts: 202
    • View Profile
Re: Send to all MD's in house problem
« Reply #35 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.

krys

  • Addicted
  • *
  • Posts: 583
    • View Profile
Re: Send to all MD's in house problem
« Reply #36 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

nosebreaker

  • Guru
  • ****
  • Posts: 202
    • View Profile
Re: Send to all MD's in house problem
« Reply #37 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.

krys

  • Addicted
  • *
  • Posts: 583
    • View Profile
Re: Send to all MD's in house problem
« Reply #38 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.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Send to all MD's in house problem
« Reply #39 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

nosebreaker

  • Guru
  • ****
  • Posts: 202
    • View Profile
Re: Send to all MD's in house problem
« Reply #40 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.

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Send to all MD's in house problem
« Reply #41 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)

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Send to all MD's in house problem
« Reply #42 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

Dale_K

  • Veteran
  • ***
  • Posts: 149
    • View Profile
Re: Send to all MD's in house problem
« Reply #43 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.

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Send to all MD's in house problem
« Reply #44 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...