Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Use XBMC official remote to run subtitle script.
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Use XBMC official remote to run subtitle script.
13th Apr, 2014, 04:36 AM
Post: #1
Sw3ex Offline
Registered
Posts: 2
Joined: Apr 2014
Reputation: 0
Use XBMC official remote to run subtitle script.
Hi, I'm still fairly new to Raspberry Pi and XBMC so I hope somebody here can help me.
I installed the xbmc subtitles add on and to search for subtitles I need to the OSD and select the ( I guess) subtitle button to launch the add on. And while it works I know that this process is way to confusing for my family.
I would like to assign this script to the subtitle button that's in the XBMC official remote app ( for now this simply toggles the subtitles). I'm not sure on how to achieve this or where to change the settings if it is at all possible.
Find all posts by this user
Quote this message in a reply
13th Apr, 2014, 07:27 AM
Post: #2
Davem Offline
Registered
Posts: 31
Joined: Apr 2013
Reputation: 4
RE: Use XBMC official remote to run subtitle script.
(13th Apr, 2014 04:36 AM)Sw3ex Wrote:  Hi, I'm still fairly new to Raspberry Pi and XBMC so I hope somebody here can help me.
I installed the xbmc subtitles add on and to search for subtitles I need to the OSD and select the ( I guess) subtitle button to launch the add on. And while it works I know that this process is way to confusing for my family.
I would like to assign this script to the subtitle button that's in the XBMC official remote app ( for now this simply toggles the subtitles). I'm not sure on how to achieve this or where to change the settings if it is at all possible.
Why not connect it to a button of your remote?

You can change your remotes by editing this file: Keymap.xml in the directory /home/xbian/.xbmc/userdata/keymaps/
(some background in the XBMC wiki

As example with this code, the subtitle plugin opens when pressing the GREEN button on your remote. When you also add the option in the subtitle addon: auto download first sync subtitle. You don't see any selection popup and the subtitle will get automatically downloaded.

Terminal

<keymap>
<global>
<remote>
<red>nextsubtitle</red>
<green>RunScript(script.xbmc.subtitles)</green>
</remote>
</global>
</keymap>

And if you would like to use an app (Android) I suggest Yatse to do this instead of the official XBMC remote.
Find all posts by this user
Quote this message in a reply
13th Apr, 2014, 07:08 PM
Post: #3
Sw3ex Offline
Registered
Posts: 2
Joined: Apr 2014
Reputation: 0
RE: Use XBMC official remote to run subtitle script.
Thanks for your reply! In the meantime I found that for my special case pressing the subtitle button longtime runs the script. I am still interested in this though. What I'm still wondering is how do I know that the green button is called green? Or the name of any other button.
Why do you say Yatse is better? Do you also have a suggestion for iOS?
Find all posts by this user
Quote this message in a reply
15th Apr, 2014, 11:24 AM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Use XBMC official remote to run subtitle script.
@Sw3ex,

when you go to addons, install addons, XBian addon repo, you will find addon called "KEY MAPPER" or similar. it should allow you to directly map buttons to actions without the usual way (editing files).

People are using it and reporting OK. I tried only once - for me too much options. as it will allow you to map I suppose ALL xbmc possible actions. So biggest "problem" will be to go through them all and find the correct action.

Viel Gluck!
Wink

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 10:58 PM Powered By MyBB, © 2002-2025 MyBB Group.