Posts: 532
Joined: Sep 2010
Reputation:
8
I don't think this will really be the right section to ask this but it is definitely related. I primarily use my XBMC machine to watch TV. The goal for me when I moved away from my comcast DVR to the XBMC machine was to make a more flexible DVR with a better interface which I feel I have successfully done thus far without any custom automation or scripts. I have recently bought a TV Slide Pro remote with the RF dongle. This remote has a live TV button on it which I would like it to launch the Live TV window and tune to the last played channel which XBMC can do on start (I disabled this start up option). Does anyone know how I can map this action, if possible, in the Keyboard.xml file?
Posts: 3,438
Joined: Aug 2012
Reputation:
91
It is related, but I don't know the answer. I'm not even sure whether its possible to launch the live-tv window. maybe better in the general pvr-support forum? I can move the thread if you like.
Posts: 1,378
Joined: Oct 2004
Reputation:
37
I think you can at least go to live TV section or EPG view etc, but I dont think there is an action to "play the last channel". Despite it being a XBMC startup option I dont think it's an assignable keybind or action in keyboard.xml
if you google, you can find some info on customising remote commands for PVR functions, but as I say, not sure you will be able to "play last channel".
You should definitely make the feature suggestion in the PVR development section as it sounds pretty good
Posts: 1,378
Joined: Oct 2004
Reputation:
37
Cool I'll give some of those a go... Out of interest what is the <TV> section for and how come you have VolumeUp bound on red key there (also, no volume down anywhere)? I assume like most, your actual volume +/- on the remote control your receiver, so what's with controlling the XBMC volume up (and never down)?
Posts: 3,544
Joined: Mar 2010
Reputation:
119
Ah the red key is from when I was using jsonrpc to start livetv, the button wasnt used by xbmc so I mapped the button to volume up to keep xbmc's volume at max, becuase I control volume via the tv/receiver.
Posts: 3,544
Joined: Mar 2010
Reputation:
119
Xbmc has a optionfor live TV to start playback of last channel in startup, not sure if that works on resume too. What operating system are you using? You could restart xbmc in resume or launch one of the above commands on resume.
Posts: 187
Joined: Dec 2011
Reputation:
1
bam80
Senior Member
Posts: 187
That option doesn't work on resume.
I'm using OpenELEC.
Restart is too slow.
Do you mean jsonrpc commands? Well, if there is no other options, I'll give it a try.
Thank you
Posts: 532
Joined: Sep 2010
Reputation:
8
yup the option start playback of livetv on the last channel only works when you're starting up XBMC as a whole. If you're resuming/ turning your TV on you could get your HTPC interfaced with the TV via serial or ethernet interface and have eventghost detect the TV's state. Eventghost will control the starting and killing of the XBMC process via the TV's state and the last channel will be played as long as the option is enabled. I haven't tried to do this but its the best option I have thought of
Posts: 187
Joined: Dec 2011
Reputation:
1
bam80
Senior Member
Posts: 187
It could be considered if XBMC restart process doesn't involve relatively long bunch loading of Tvheadend channels, EPG and such.
Sending json request seems better option for my case - there is a script which run on resume, I could use it.
Thanks