Author Topic: Small tool for developers - TailDCERouter.sh  (Read 762 times)

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Small tool for developers - TailDCERouter.sh
« on: January 15, 2008, 02:13:48 pm »
Hi!

It was available for a long time, but I just realized (when talking to Bulek) that probably nobody knows about it/uses it :) It is usually installed on any LinuxMCE/Pluto system and basically it is just a combo of grep+tail. It is very convenient to use to track which Messages/Events are passing through the DCERouter @core - all this stuff is logged into /var/pluto/DCERouter.log but usually there is a lot of other information and it is harder to follow that log. So..

1) start the TailDCERouter.sh from the console (it is installed to /usr/bin so you don't need to enter full path for it)
2) do whatever you want with LinuxMCE - e.g., start playing a movie
3) watch the messages/events passing through the system (for media playback this will be a sequence of messages like Command MH_Play_Media to MediaPlugin, then Command Play_Media to Xine_Player, and then Event Playback_Started from Xine_Player)

etc.

Hope this info will be useful for you :)
« Last Edit: January 16, 2008, 09:10:08 pm by kir »

darrenmason

  • Addicted
  • *
  • Posts: 529
    • View Profile
Re: Small tool for developers - TailDCERouter.sh
« Reply #1 on: January 15, 2008, 11:55:29 pm »
It is useful, could you please add a wiki page for it - or maybe a section in programmers guide.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4412
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Small tool for developers - TailDCERouter.sh
« Reply #2 on: January 16, 2008, 05:19:25 pm »
Hi!

It was available for a long time, but I just realized (when talking to Bulek) that probably nobody knows about it/uses it :) It is usually install on any LinuxMCE/Pluto system and basically it is just a combo of grep+tail. It is very convenient to use to track which Messages/Events are passing through the DCERouter @core - all this stuff is logged into /var/pluto/DCERouter.log but usually there is a lot of other information and it is harder to follow that log. Soo..

1) start the TailDCERouter.sh from the console (it is installed to /usr/bin so you don't need to enter full path for it)
2) do whatever you want with LinuxMCE - e.g., start playing a movie
3) watch the messages/events passing through the system (for media playback this will be a sequence of messages like Command MH_Play_Media to MediaPlugin, then Command Play_Media to Xine_Player, and then Event Playback_Started from Xine_Player)

etc.

Hope this info will be useful for you :)

Nice ;-)
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk