Posts: 221
Joined: Oct 2004
Reputation:
1
djon
Senior Member
Posts: 221
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?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
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.
Posts: 699
Joined: Sep 2004
Reputation:
0
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.
Posts: 3,581
Joined: Sep 2009
Reputation:
110
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*.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
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.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
nick888, that is wrong, there is no togglewatched button name in xbmc!
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
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)
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
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?