Author Topic: Media Scenarios, problems with rs232 commands to receiver  (Read 2402 times)

Eypone

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Media Scenarios, problems with rs232 commands to receiver
« on: April 18, 2010, 08:05:35 pm »
Hey I having some issues with rs232 commands and Media Scenarios.

Audio Media Scenario:
What im trying to achiv, power on my receiver, setup receiver to stereo, sho file list.
What happens:
Power on my receiver and MH Play Media, but now Stereo

Tv Media Scenario:
What im trying to achiv, power on my receiver, setup receiver to Neural THX, MH Play Media.
What happens:
Power on my receiver and MH Play Media, but now Neural THX

All my rs232 commands ar working, i have tried to send them to the receiver thrug the linuxmce admin page.

What i think happens is the receiver is getting the Stereo or Neural THX command to fast after power comman to the resiver.

Is ther away to insert a break like 2 second befor sending the Stereo or Neural THX command ?
exsample: Power on receiver, whait to seconds, Stereo , Show file list.

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: Media Scenarios, problems with rs232 commands to receiver
« Reply #1 on: April 19, 2010, 07:54:51 am »
I am assuming you are using ruby as its an rs232 receiver.
put a loop into the code after power on or before changing inputs.
Otherwise check if there is a wait/timer command in ruby.

gadget

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Media Scenarios, problems with rs232 commands to receiver
« Reply #2 on: April 19, 2010, 04:55:38 pm »
Please keep in mind gentlemen, that there ARE delay values that you can set for:

* after power on
* after changing inputs

These can be found at the very top of the screen when you are entering ruby codes.

-Thom

Eypone

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: Media Scenarios, problems with rs232 commands to receiver
« Reply #3 on: April 20, 2010, 11:34:37 am »
sorry for being a noob.
The * after power on * after changing inputs , where shuld I edit them ?

In this file 20_MarantzReceiver.sh or in Edit ruby codes.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Media Scenarios, problems with rs232 commands to receiver
« Reply #4 on: April 20, 2010, 06:28:59 pm »
Edit Ruby Codes