One-click Watched button on remote?
#1
Is it possible to avoid opening up the menu for the file, going down to "watched" and pressing it?

I'd like a one-click button on my MCE USB remote that does this. Is this possible?

Also, can tv-shows automatically be set as watched when you've seen the actual file?
Reply
#2
of course. action is togglewatched. a tvshow inherits its watched status from the sum of its episodes.. and yes, those are auto set as watched after you have watched them.
Reply
#3
Oh neat, didn't know about that.

About djon's question regarding the setting watched, I read it a little different. I think the question might be if a file is watched in File Mode, does it switch the watched status of the respective TV Show/Movie in the library. That i'm not sure about.
Reply
#4
Yes, it does.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Sorry to resurrect and old thread, but I am trying to bind this key (ASRock Ion 330 with MCE Usb remote - running stock XBMC Live 9.0.41)

I tried editing
/usr/share/lirc/remotes/mceusb/

and changing RecTV to send the ToogleWatched action:

ToggleWatched 0x00007bb7

I restarted the machine, and used irw from putty to check that this is coming through ok - it is:

000000037ff07bb7 00 ToggleWatched mceusb
000000037ff07bb7 01 ToggleWatched mceusb

...but this is not toggling the watched status of movies.

I am wondering if I must use Keymap.xml instead or in addition but I'm apparently too stupid to work it out. Can anyone set me straight or point me at the right doc for idiots??
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#6
this is becoming my mantra it seems;

Lircmap.xml maps LIRC button names -> XBMC button names. that is maps BUTTONS to BUTTONS.

remote.xml maps XBMC button names to ACTIONS. i repeat, BUTTONS to ACTIONS.

togglewatched is an ACTION, it is NOT a button name.

i would appreciate if this was spelt out in the wiki. once you know this, it is not hard to do. oh and i'm sure the wiki has some docs which is where you should have looked mate.
Reply
#7
Assuming you are on linux

once you have it working in lirc (like you do)

you then need to edit the /userdata/Lircmap.xml to include

<lircmap>
<remote device="mceusb">
<myvideo>ToggleWatched</myvideo>
<XBMC BUTTON>LIRC BUTTON</XBMC BUTTON>
</remote>
</lircmap>

and then finally the /userdata/keymaps/remote.xml

<keymap>
<global> (or <MyVideoLibrary>)
<remote>
<myvideo>ToggleWatched</myvideo>
<XBMC BUTTON>XBMC ACTION</XBMC BUTTON>
</remote>
</global>
</keymap>

http://wiki.xbmc.org/?title=Keymap.xml
Reply
#8
nick888, that is wrong, there is no togglewatched button name in xbmc!
Reply
#9
Honestly I did but it's non obvious...for example, searching for 'remote.xml' doesn't bring anything up....

This page has info about keymap.xml which includes a list of actions....http://wiki.xbmc.org/?title=Keymap.xml ... I will try one of those but if there is remote.xml somewhere I can't see it immediately....

Wife is watch Top Model so I'll have to wait, sigh....
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#10
i know - hence the request that somebody update the wiki. i could do it myself but i'm not good at those kinds of things (leave out way too much i consider obvious myself which isn't obvious at all)
Reply
#11
Ok I have made a /userdate/keymaps/remote.xml (although with 9.0.41 should it just be in /userdata/remote.xml??)

it contains:

Code:
<keymap>
  <global>
    <remote>
      <RecTV>ToggleWatched</RecTV>
    </remote>
  </global>
</keymap>

RecTV is the signal I get reported from irw for the button push in question.

So I believe I have not bound the BUTTON (RecTV as reported by irw) to the ACTION (ToggleWatched)...and in what I *think* is the correct file but can't find a reference for sure.

Given I can't test for a bit ... am I on the right track??
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#12
almost;

in this example i steal the 'play' XBMC button name.

in Lircmap.xml;

<play>RecTV</play>

in the mceusb block.

in remote.xml;

<play>ToggleWatched</play>

under e.g. <VideoLibrary>.

see, Lircmap.xml maps the 'RecTV' LIRC button to the 'play' XBMC button.
remote.xml maps the 'play' XBMC button to the 'ToggleWatched' action.

the reason it works like this is that it allows us to do a general remote keymap. then Lircmap maps different remotes to that keymap. if we only had Lircmap.xml, the keymappings would have to be replicated for all devices. makes sense?
Reply
#13
Yep, makes sense.

I don't seem to have any Lircmap.xml or remote.xml so I have created both in /userdata

Lircmap.xml has:
Code:
<lircmap>
       <remote device="mceusb">
               <Record>RecTV</Record>
       </remote>
</lircmap>


remote.xml has:
Code:
<keymap>
  <global>
    <remote>
      <Record>ToggleWatched</Record>
    </remote>
  </global>
</keymap>

I will try that and fingers crossed....thanks for your help!
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#14
Sorry about that.. should be this:

<lircmap>
<remote device="mceusb">
<myvideo>ToggleWatched</myvideo>
<XBMC BUTTON>LIRC BUTTON</XBMC BUTTON>
</remote>
</lircmap>

and then finally the /userdata/keymaps/remote.xml

<keymap>
<global> (or <MyVideoLibrary>)
<remote>
<myvideo>ToggleWatched</myvideo>
<XBMC BUTTON>XBMC ACTION</XBMC BUTTON>
</remote>
</global>
</keymap>

http://wiki.xbmc.org/?title=Keymap.xml

I will have to test out the
<universalremote>
<obc#>Action</obc>

sometime to maximise the buttons on my remote I guess.
Reply

Logout Mark Read Team Forum Stats Members Help
One-click Watched button on remote?0