davilla / atv-xbmc-launcher

Automatically exported from code.google.com/p/atv-xbmc-launcher
GNU General Public License v3.0
2 stars 3 forks source link

Feature Request to add/run other applications from Launcher #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please add an option to Launcher to allow users to add and run other
applications from the Launcher Menu.

I used the following code to add an entry in the Launcher Menu for
Livestation. Livestation runs as normal but cannot be closed. Close/Exit
should be done by pressing the Menu button on the Apple Remote.

Thanks

<dict>
<key>LaunchAgentFileName?</key> 
<string>org.xbmc.helper.plist</string> 
<key>apppath</key> 
<string>/Users/frontrow/Applications/Livestation.app/Contents/MacOS/Livestation<
/string>

<key>entry-type</key> 
<integer>0</integer> 
<key>helperpath</key> 
<string>/Applications/XBMC.app/Contents/Resources/XBMC/XBMCHelper</string> 
<key>identifier</key> 
<string>Livestation</string> 
<key>is-network-dependent</key> 
<true/> 
<key>is-share-dependent</key> 
<false/> 
<key>is-store-category</key> 
<false/> 
<key>name</key> 
<string>Livestation</string> 
<key>preferred-order</key> 
<real>3</real> 
<key>priority</key> 
<real>1</real> 
</dict> 

Original issue reported on code.google.com by ram...@lycos.com on 19 Feb 2010 at 6:33

GoogleCodeExporter commented 9 years ago
How would you interact with applications started from Launcher if they don't 
support the remote?

Original comment by stephan.diederich@gmail.com on 19 Feb 2010 at 6:49

GoogleCodeExporter commented 9 years ago

Original comment by stephan.diederich@gmail.com on 19 Feb 2010 at 6:49

GoogleCodeExporter commented 9 years ago
Stephan, in this particular case, Livestation is an IP TV. I have it set to my
favorite channel and there's no need to do anything else. I can run but I cannot
close it. I'm currently using NitoTV to run/close it, but NitoTV is slowing 
down my
ATV so I'm looking for a solution.

Please make a routine to emulate pressing the "Close" button using the Remote 
"Menu"
on any application.

Thanks

Original comment by ram...@lycos.com on 21 Feb 2010 at 1:17

GoogleCodeExporter commented 9 years ago
I've done a few modifications to allow launching of generic apps. They're quit 
once a button on the remote is 
pressed. Modifications of Info.plist are still needed, but you can now specify 
a generic controller that launches 
the app like:
                <dict>
                        <key>apppath</key>
                        <string>/Applications/SomeApp.app</string>
                        <key>arguments</key>
                        <array>
                                <string>-myarguments</string>
                        </array>
                        <key>entry-type</key>
                        <integer>0</integer>
                        <key>identifier</key>
                        <string>MyApp</string>
                        <key>is-network-dependent</key>
                        <false/>
                        <key>is-share-dependent</key>
                        <false/>
                        <key>is-store-category</key>
                        <false/>
                        <key>name</key>
                        <string>MyApp</string>
                        <key>pluginmode-controller-name</key>
                        <string>GenericPluginModeController</string>                           
                        <key>preferred-order</key>
                        <real>1</real>
                        <key>priority</key>
                        <real>1</real>
                </dict>

Mind the <key>pluginmode-controller-name</key> and its value 
<string>GenericPluginModeController</string>

HTH,
stephan

Original comment by stephan.diederich@gmail.com on 9 Mar 2010 at 2:51

GoogleCodeExporter commented 9 years ago
ooops, this needs ofc a newer build, Launcher 3.3alpha1 which I've added to the 
downloads list: http://code.google.com/p/atv-xbmc-launcher/downloads/list

Original comment by stephan.diederich@gmail.com on 9 Mar 2010 at 2:53