how to exit full screen music view with a remote

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
teeedubb Offline
Donor
Posts: 2,749
Joined: Mar 2010
Reputation: 63
Location: Down Under
Post: #16
In OE the only directory that is writeable is /storage/

Try copy over all the .xml file in the ubuntu system keymap dir to your oe userdata keymap folder

If that doesnt work in OE run 'irw' and see what keypress is being regstered. Take a look at /storage.xbmc/userdata/Lircmap.xml and see if the button is handled correctly in that file

Then create a keymap.xml with something along the lines of

Code:
<keymap>
<Visualisation>
    <remote>
      <back>FullScreen</back>
      <left>StepBackk</left>
      <right>StepForward</right>
      <up>NextPreset</up>
      <down>PreviousPreset</down>
    </remote>
    <universalremote>
      <obc149>RunScript(script.cu.lrclyrics)</obc149>
    </universalremote>
  </Visualisation>
</keymap>

Before trying that I would
find quote
rcrh Offline
Fan
Posts: 498
Joined: Aug 2004
Reputation: 0
Post: #17
(2013-09-24 23:39)teeedubb Wrote:  In OE the only directory that is writeable is /storage/

Try copy over all the .xml file in the ubuntu system keymap dir to your oe userdata keymap folder

If that doesnt work in OE run 'irw' and see what keypress is being regstered. Take a look at /storage.xbmc/userdata/Lircmap.xml and see if the button is handled correctly in that file

Then create a keymap.xml with something along the lines of

Code:
<keymap>
<Visualisation>
    <remote>
      <back>FullScreen</back>
      <left>StepBackk</left>
      <right>StepForward</right>
      <up>NextPreset</up>
      <down>PreviousPreset</down>
    </remote>
    <universalremote>
      <obc149>RunScript(script.cu.lrclyrics)</obc149>
    </universalremote>
  </Visualisation>
</keymap>

Before trying that I would

1. I did copy the ubuntu keyboard.xml & remote.xml to OE. That didn't work
2. I'll have a look at irw & the lircmap.xml in the morning.

Thanks
find quote
rcrh Offline
Fan
Posts: 498
Joined: Aug 2004
Reputation: 0
Post: #18
teeedubb,

Short answer - I now have it working. Thanks for your help. It's much appreciated.

Long answer, here's what I did.
1. ran irw on OE (see below)
2. reboot to ubunut and ssh'd in to run irw
3. compared irw results:
OE (devname – devinput)
Ubuntu (devname – mceusb)
Key, OS, irw return
exit, OE, ae, KEY_EXIT
exit, ub, 000000037ff07bdc, key_back
previous, OE, ae, KEY_EXIT
previous, ub, 000000037ff07bdc, key_back
OK, OE, 160, KEY_OK
OK, ub, 000000037ff07bdd 00, key_ok
enter, OE, 160, KEY_OK
enter, ub, 000000037ff07bf4, key_enter

4. ftp'd the system lircmap.xml to my laptop
5. edited the ubuntu lircmap.xml to change devname MCEUSB to devinput and remove all other devices.
6. reboot to OE
7. FTP'd the edited lircmap.xml to userdata/lircmap.xml
8. created a REMOTE.xml in userdata/keymap/remote.xml as follows.
<keymap>
<Visualisation>
<remote>
<back>FullScreen</back>
<exit>FullScreen</exit>
</remote>
</Visualisation>
</keymap>
9. reboot and now the exit key takes me into & out of fullscreen music view
10. CELEBRATED!!

I'm still confused as to why Ubuntu & OE irw reported different key presses for "EXIT" & "ENTER" but I'm glad I got it to work.

Thanks again for your help.
find quote
teeedubb Offline
Donor
Posts: 2,749
Joined: Mar 2010
Reputation: 63
Location: Down Under
Post: #19
Nice glad you got it sorted. What version of Ubuntu are you using? There has been changes to the way remotes are handled I. The past few years, I'm guessing that's the cause of the discrepancies.
find quote
BrozzSama Offline
Junior Member
Posts: 5
Joined: Nov 2013
Reputation: 0
Post: #20
(2013-09-25 22:20)rcrh Wrote:  teeedubb,

Short answer - I now have it working. Thanks for your help. It's much appreciated.

Long answer, here's what I did.
1. ran irw on OE (see below)
2. reboot to ubunut and ssh'd in to run irw
3. compared irw results:
OE (devname – devinput)
Ubuntu (devname – mceusb)
Key, OS, irw return
exit, OE, ae, KEY_EXIT
exit, ub, 000000037ff07bdc, key_back
previous, OE, ae, KEY_EXIT
previous, ub, 000000037ff07bdc, key_back
OK, OE, 160, KEY_OK
OK, ub, 000000037ff07bdd 00, key_ok
enter, OE, 160, KEY_OK
enter, ub, 000000037ff07bf4, key_enter

4. ftp'd the system lircmap.xml to my laptop
5. edited the ubuntu lircmap.xml to change devname MCEUSB to devinput and remove all other devices.
6. reboot to OE
7. FTP'd the edited lircmap.xml to userdata/lircmap.xml
8. created a REMOTE.xml in userdata/keymap/remote.xml as follows.
<keymap>
<Visualisation>
<remote>
<back>FullScreen</back>
<exit>FullScreen</exit>
</remote>
</Visualisation>
</keymap>
9. reboot and now the exit key takes me into & out of fullscreen music view
10. CELEBRATED!!

I'm still confused as to why Ubuntu & OE irw reported different key presses for "EXIT" & "ENTER" but I'm glad I got it to work.

Thanks again for your help.

Thank you for the solution i was also having this trouble and i couldn't solve it, probably just because i was mapping back button instead of exit! Thank you so much for the solution, eventually i can enjoy my music without using the android remote! I'm going to map the exit button to fullscreen in fullscreen videos too so i can do other stuff while watching music videos. This should be given as an option into the UI since lots of CEC remotes like mine have just a few buttons that can be mapped for instance mine only has the 4 directional buttons, OK and EXIT.
find quote
Post Reply