<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/index.php?action=history&amp;feed=atom&amp;title=User%3AEsev%2FArchived_ToDo_Items</id>
	<title>User:Esev/Archived ToDo Items - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/index.php?action=history&amp;feed=atom&amp;title=User%3AEsev%2FArchived_ToDo_Items"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=User:Esev/Archived_ToDo_Items&amp;action=history"/>
	<updated>2026-07-22T03:33:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=User:Esev/Archived_ToDo_Items&amp;diff=26116&amp;oldid=prev</id>
		<title>Esev: New page: == 2010/11/07 == === Investigate power button issues === I&#039;m having issues when pressing the Power button on my Gyration_GYR4101US remote.  If I&#039;m controlling a non-pluto device, and p...</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=User:Esev/Archived_ToDo_Items&amp;diff=26116&amp;oldid=prev"/>
		<updated>2010-11-07T13:34:02Z</updated>

		<summary type="html">&lt;p&gt;New page: == 2010/11/07 == === Investigate power button issues === I&amp;#039;m having issues when pressing the Power button on my &lt;a href=&quot;/index.php/Gyration_GYR4101US&quot; title=&quot;Gyration GYR4101US&quot;&gt;Gyration_GYR4101US&lt;/a&gt; remote.  If I&amp;#039;m controlling a non-pluto device, and p...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 2010/11/07 ==&lt;br /&gt;
=== Investigate power button issues ===&lt;br /&gt;
I&amp;#039;m having issues when pressing the Power button on my [[Gyration_GYR4101US]] remote.  If I&amp;#039;m controlling a non-pluto device, and press power, the device turns off but my receiver and TV are not switched back to the Orbiter OSD.&lt;br /&gt;
&lt;br /&gt;
This isn&amp;#039;t fixed yet.  The fix that is in place won&amp;#039;t work correctly for Live AV audio sources.  They will still turn the TV back on.  Need to read and understand this function.  Right now in &amp;#039;&amp;#039;StreamEnded&amp;#039;&amp;#039; it calls this function with 0 and NULL for the &amp;#039;&amp;#039;Current&amp;#039;&amp;#039; arguments.  I might be able to pass in the MD&amp;#039;s device and use the Prior media type for the current media type and things will work.  Need to test this.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void&lt;br /&gt;
Media_Plugin::HandleOnOffs(&lt;br /&gt;
    int PK_MediaType_Prior,&lt;br /&gt;
    int PK_MediaType_Current,&lt;br /&gt;
    map&amp;lt;int,MediaDevice *&amp;gt; *pmapMediaDevice_Prior,&lt;br /&gt;
    map&amp;lt;int,MediaDevice *&amp;gt; *pmapMediaDevice_Current,&lt;br /&gt;
    MediaStream *pMediaStream,&lt;br /&gt;
    EntertainArea *pEntertainArea)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also should look into how the &amp;#039;HOME&amp;#039; key works on the Orbiter&amp;#039;s remote.  For some reason when the code was removed the &amp;#039;HOME&amp;#039; key didn&amp;#039;t switch back on the Orbiter OSD.  I&amp;#039;m wondering if I make this change will I break something there.  Need to look at the Orbiter&amp;#039;s &amp;#039;&amp;#039;Orbiter::GotActivity( int PK_Button )&amp;#039;&amp;#039; function.  It turns on the screen if it is off.  &amp;#039;&amp;#039;if( !m_bDisplayOn ) CMD_Display_OnOff( &amp;quot;1&amp;quot;,false )&amp;#039;&amp;#039;.  Maybe m_bDisplayOn is getting set for the case when audio is playing with no video.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Might also consider turning off the OSD if only audio is playing and the audio was started via a remote Orbiter.  I think that could be accomplished by not setting the &amp;#039;&amp;#039;pMediaDevice_MD-&amp;gt;m_bDontSendOffIfOSD_ON&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* [http://svn.linuxmce.org/trac.cgi/changeset/23325 Changeset 23325 - Don&amp;#039;t turn the TV on when music stops playing]&lt;br /&gt;
* [http://forum.linuxmce.org/index.php?topic=10895.0 OSD Orbiter does not display after stopping non-pluto media device]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Volume control of non-pluto devices ===&lt;br /&gt;
See this forum [http://forum.linuxmce.org/index.php?topic=10789.0 post] and ticket [http://svn.linuxmce.org/trac.cgi/ticket/746 #746].  It doesn&amp;#039;t seem to matter if the end device has pipes or not.  The volume messages are always sent to the device, not the audio/video pipes of the remote MD.&lt;br /&gt;
&lt;br /&gt;
==== #LinuxMCE-devel on 20101102 ====&lt;br /&gt;
 &amp;lt;TSCHAKeee2&amp;gt; esev: be very careful re volume pipes                   &lt;br /&gt;
 &amp;lt;TSCHAKeee2&amp;gt; esev: volume commands should only go to the app server _IF_ an audio device isn&amp;#039;t in the pipes.&lt;br /&gt;
 &amp;lt;esev&amp;gt; TSCHAKeee2: what if the audio device in the pipes is in a different room?                                                                     &lt;br /&gt;
 &amp;lt;TSCHAKeee2&amp;gt; you need to follow those pipes                          &lt;br /&gt;
 &amp;lt;TSCHAKeee2&amp;gt; if there is no audio pipe setup for an EA, then the App Server should be used&lt;br /&gt;
&lt;br /&gt;
==== See also ====&lt;br /&gt;
* Regarding Entertainment areas&lt;br /&gt;
** [[Control_a_TV_or_cable/satellite_box#Programmer.27s_guide|Programmers guide for Media_Plugin]]&lt;br /&gt;
** [[Rooms#Multiple_Entertainment_Areas_in_One_Room|Entertainment Areas]]&lt;br /&gt;
** [[Media_Scenarios]]&lt;br /&gt;
** [[Generic_PC]]&lt;br /&gt;
* Source code&lt;br /&gt;
** DCERouter.cpp line 2076 - DCERouter handles the device pipes?  I would have figured those would be handled by the media plugin.&lt;br /&gt;
** MediaPlugin.cpp line 2169 - This is where the vol up/down commands wind up&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
08	11/02/10 23:23:31.944		Received Message from 21 (OnScreen Orbiter / Home Theater) to 59 (BDP-S350 / Home Theater), type 1 id 89 Command:Vol Up, retry none, parameters: &amp;lt;0xa88fdb90&amp;gt;&lt;br /&gt;
08	11/02/10 23:23:31.944		  Parameter 41(StreamID): 1004 &amp;lt;0xa88fdb90&amp;gt;&lt;br /&gt;
10	11/02/10 23:23:31.944		AddMessageToQueue(ProcessQueue) adding message from 21 to 59 type 1 id 89 to queue size was: 0 &amp;lt;0xa88fdb90&amp;gt;&lt;br /&gt;
10	11/02/10 23:23:31.944		AddMessageToQueue(ProcessQueue) sent broadcast &amp;lt;0xa88fdb90&amp;gt;&lt;br /&gt;
10	11/02/10 23:23:31.944		ProcessQueue woke up with size: 1 &amp;lt;0xb662fb90&amp;gt;&lt;br /&gt;
10	11/02/10 23:23:31.944		ProcessQueue sending message from 21 to 59 type 1 id 89 to queue now size: 0 &amp;lt;0xb662fb90&amp;gt;&lt;br /&gt;
10	11/02/10 23:23:31.944		ProcessQueue Calling realsendmessage from queue &amp;lt;0xb662fb90&amp;gt;&lt;br /&gt;
08	11/02/10 23:23:31.944		Forwarding 89 Command:Vol Up up pipe to 139 (TX-SR602) &amp;lt;0xb662fb90&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Esev</name></author>
	</entry>
</feed>