Author Topic: MediaType  (Read 10762 times)

CentralMedia

  • Guru
  • ****
  • Posts: 161
    • View Profile
MediaType
« on: December 23, 2018, 06:15:56 pm »
Hi

I created a cable Box device for a Huawei box. When I was creating the Device I choose Cable Box, added the IR codes, etc. I then setup the device to connect to a TV, a Hitachi, set the inputs to the appropriate HDMI ports, reload regen.

When I clicked the Device scenario for the room using the orbitor, it does nothing, throws an error in the DCErouter.log, see below
23/18 12:39:56.971             Parameter 253(Queue):  <0x5e1e9b40>
08      12/23/18 12:39:56.974             Parameter 254(Bypass Event):  <0x5e1e9b40>
08      12/23/18 12:39:56.978             Parameter 276(Dont Setup AV):  <0x5e1e9b40>
01      12/23/18 12:39:56.983           TTTT Final Sort! <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT Final Sort End! <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT StartMedia - Main function start <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT StartMedia OutputZone begin. <0x86c12b40>
01      12/23/18 12:39:56.983           debug_stream_end MediaStream::MediaStream c1 1001/0xb340f048 source 113 <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT StartMedia OutputZone end. <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT StartMedia OutputZone - MediaStream - Begin <0x86c12b40>
05      12/23/18 12:39:56.983           MediaStream::GetCurrentMediaFile - no file <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT StartMedia - OutputZone - MediaStream - end. <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT StartMedia pMediaStream Start <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT StartMedia - pMediaStream - LoadStreamAttributes begin <0x86c12b40>
05      12/23/18 12:39:56.983           MediaStream::GetCurrentMediaFile - no file <0x86c12b40>
01      12/23/18 12:39:56.983           TTTT StartMedia - pMediaStream - LoadStreamAttributes end <0x86c12b40>
05      12/23/18 12:39:56.983           MediaStream::GetCurrentMediaFile - no file <0x86c12b40>
05      12/23/18 12:39:56.983           Media_Plugin::CheckForAlternatePipes no destination for EA 4 Bedroom (Master) <0x86c



When I check the Media Scenario, for the Device, it shows up as a Cable Radio, not sure if that the issue. Did a query, and see below.
mysql> select Define, Description,IsExternalTransmission,psc_id,psc_batch from MediaType where PK_MediaType=15;
+---------------+-------------+------------------------+--------+-----------+
| Define        | Description | IsExternalTransmission | psc_id | psc_batch |
+---------------+-------------+------------------------+--------+-----------+
| np_CableRadio | CableRadio  |                      1 |     12 |      3000 |
+---------------+-------------+------------------------+--------+-----------+
1 row in set (0.00 sec)



Shouldn't that show up as a CableBox, instead on CableRadio? Would this contribute to the problems I am having?


Which table or view, has the Device Types listed and could I simple update the value to reflect what a Cable Box should read?

See Attached

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: MediaType
« Reply #1 on: December 25, 2018, 03:23:26 pm »
While I haven't dug in to completely understand the issue I'm going to suggest that np_Cableradio is expecting to be an embedded device.  That is to say Cable Radio is an embedded feature of a cable box.  I'm not sure why the discrepancy between choice and device in LinuxMCE.  Without digging in further that's all I can suggest to look at right now.

Merry Christmas :)

J.

CentralMedia

  • Guru
  • ****
  • Posts: 161
    • View Profile
Re: MediaType
« Reply #2 on: December 26, 2018, 01:15:25 am »
Merry Christmas

Did some testing. What I realized, when I assigned the Cable Box to the room with the raspberry pi md, it will not error out, gives me the appropriate remote. See excerpt from the DCErouter.log. Will play around some more trying different things.


TTTT Final Sort! <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT Final Sort End! <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT StartMedia - Main function start <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT StartMedia OutputZone begin. <0x8c41db40>
01      12/25/18 19:59:34.007           debug_stream_end MediaStream::MediaStream c1 1001/0xb3006650 source 116 <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT StartMedia OutputZone end. <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT StartMedia OutputZone - MediaStream - Begin <0x8c41db40>
05      12/25/18 19:59:34.007           MediaStream::GetCurrentMediaFile - no file <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT StartMedia - OutputZone - MediaStream - end. <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT StartMedia pMediaStream Start <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT StartMedia - pMediaStream - LoadStreamAttributes begin <0x8c41db40>
05      12/25/18 19:59:34.007           MediaStream::GetCurrentMediaFile - no file <0x8c41db40>
01      12/25/18 19:59:34.007           TTTT StartMedia - pMediaStream - LoadStreamAttributes end <0x8c41db40>
05      12/25/18 19:59:34.007           MediaStream::GetCurrentMediaFile - no file <0x8c41db40>
05      12/25/18 19:59:34.007           Media_Plugin::CheckForAlternatePipes no destination for EA 3 Living Room/Family Room <0x8c41db40>
05      12/25/18 19:59:34.007           MediaStream::GetCurrentMediaFile - no file <0x8c41db40>
05      12/25/18 19:59:34.008           MediaStream::GetCurrentMediaFile - no file <0x8c41db40>
05      12/25/18 19:59:34.008           MediaStream::GetCurrentMediaFile - no file <0x8c41db40>
05      12/25/18 19:59:34.008           MediaStream::GetCurrentMediaFile - no file <0x8c41db40>
07      12/25/18 19:59:34.008           Event #21 has no handlers <0xa6c52b40>
07      12/25/18 19:59:34.008           Received Message from 10 (Media Plug-in / Closet/Storage Space) to -1001 (unknown / ), type 2 id 21 Even                        t:Listening to Media, retry none, parameters: <0xa6c52b40>
07      12/25/18 19:59:34.008             Parameter 27(PK_Room): 7 <0xa6c52b40>
05      12/25/18 19:59:34.008           MediaStream::GetCurrentMediaFile - no file <0x8c41db40>
08      12/25/18 19:59:34.008           Received Message from 10 (Media Plug-in / Closet/Storage Space) to 116 (Digicel EC6106V6 LV / Living Roo                        m/Family Room), type 1 id 192 Command:On, retry none, parameters: <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 97(PK_Pipe): 1 <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 98(PK_Device_Pipes):  <0xa6c52b40>
08      12/25/18 19:59:34.008           Received Message from 10 (Media Plug-in / Closet/Storage Space) to 101 (Generic HDMI-CEC TV / Living Roo                        m/Family Room), type 1 id 192 Command:On, retry none, parameters: <0xb6130b40>
08      12/25/18 19:59:34.008             Parameter 97(PK_Pipe): 1 <0xb6130b40>
08      12/25/18 19:59:34.008             Parameter 98(PK_Device_Pipes):  <0xb6130b40>
08      12/25/18 19:59:34.008           Received Message from 10 (Media Plug-in / Closet/Storage Space) to 101 (Generic HDMI-CEC TV / Living Roo                        m/Family Room), type 1 id 91 Command:Input Select, retry none, parameters: <0xb6130b40>
08      12/25/18 19:59:34.008             Parameter 71(PK_Command_Input(HDMI 4)): 985 <0xb6130b40>
08      12/25/18 19:59:34.008           Received Message from 10 (Media Plug-in / Closet/Storage Space) to 35 (Windows XP PC/tablet (Horiz) / Ki                        tchen), type 1 id 242 Command:Set Now Playing, retry none, parameters: <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 3(PK_DesignObj): 77,5418,0,252,0,0 <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 5(Value To Assign): Digicel EC6106V6 LV(CableRadio) <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 9(Text):  <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 29(PK_MediaType): 15 <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 41(StreamID): 1001 <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 48(Value): 0 <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 50(Name):  <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 103(List PK Device): 116,101,101,,0,0,0 <0xa6c52b40>
08      12/25/18 19:59:34.008             Parameter 120(Retransmit): 0 <0xa6c52b40>
08      12/25/18 19:59:34.009           Received Message from 10 (Media Plug-in / Closet/Storage Space) to 73 (OnScreen Orbiter / Living Room/Fa                        mily Room), type 1 id 242 Command:Set Now Playing, retry none, parameters: <0xa6c52b40>
08      12/25/18 19:59:34.009             Parameter 3(PK_DesignObj): 77,5418,0,252,0,0 <0xa6c52b40>
08      12/25/18 19:59:34.009             Parameter 5(Value To Assign): Digicel EC6106V6 LV(CableRadio) <0xa6c52b4

CentralMedia

  • Guru
  • ****
  • Posts: 161
    • View Profile
Re: MediaType
« Reply #3 on: January 27, 2019, 02:33:02 pm »
I checking at the execute scenarios and I noticed a different between the room that has an MD and the one that just has a TV and cable box.

the execute scenario for the room with the MD has a scenario command, command DCERouter Execute Command #28 PK_CommandGroup (int) 188

the similar execute scenario for the room that this thread is about, has no commands

Pics attached