Author |
Message |
jsidlosky
|
Posted: Tue Sep 20, 2005 10:59 pm |
|
Joined: Tue Sep 20, 2005 12:55 am
Posts: 28
|
I searched around for documentation on the lircrc file in .myth, I probably didn't look hard enough because I didn't find anything.
But the general idea I see is that its limited to per-program resolution.
When in Live TV mode, channel up on your remote sends the Up Arrow key, which is correct. However, when you are in the program guide, I want channel up on my remote to send Page Up so that it jumps by pages in the program guide, I will use the actual remote controller Up Arrow to send the Up Arrow key to mythtv.
Is there a way to do context sensitive key mappings inside myth? If not, its something that should be added, I feel its very important for a WAF. I would actually consider developing this ability into MythTV myself if I can't find a solution thats already done.
|
|
Top |
|
 |
Xsecrets
|
Posted: Tue Sep 20, 2005 11:02 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
Take a look at the configuration portion of mythweb. it allows you to set the same keys to do different things in different parts of mythtv. It's not absolute, but there are a good many options you can set. As for lirc it only sends keypresses to a particular program like you said.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
jsidlosky
|
Posted: Tue Sep 20, 2005 11:32 pm |
|
Joined: Tue Sep 20, 2005 12:55 am
Posts: 28
|
I took your advice, and just set it up to do exactly what I wanted.
I remapped Audio Channel + and - to nothing (don't need those)
Mapped Channel Up to +, and Channel Down to - in TV Playback
Mapped Page Up to + and Page Down to - in TV Frontened (e.g. EPG)
Told my remote to send + and - for channel up and down.
Whala... Now up means up, down means down, and channel +/- means change channel in live TV and means PageUp/PageDown in the EPG.
I still think there is a big hole here in MythTV that needs to be addressed. The remote control needs different mappings for all the various regions within myth itself. It also needs some dynamic mapping abilities.
The other big annoyance I have can't be solved through trickery in the key bindings...
When you pause live TV, you should be able to hit PLAY to resume playing, not have to hit Pause again. I think my wife is going to give me grief over that one.
Instead the "Play" button saves the current position or something, I don't even understand what that means and why I would want it.
Thanks though for your advice, it worked for this problem. You answer more questions than anyone else on this board it seems, please keep up the good work  .
|
|
Top |
|
 |
khrusher
|
Posted: Wed Sep 21, 2005 7:07 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
hmm, I have pause and play both mapped to 'P' in mythweb. I have both remote buttons (pause and play) mapped to 'P' So both buttons are identical I can pause with the pause and unpause with the play or pause button. guess I can pause with the play button, but thats not really used.
The Save current postion feature is like a bookmark. if you have a saves postion and exit the playback. next time you re-start the playback it will start at the bookmark. My select key (space/enter) is my bookmark key. I use it all the time.
In the mythtv settings (not mythweb) there are some config options for hte bookmarking feature....'clear bookmark on restart', 'toggle bookmark on/off on keypress vs. simply updating bookmark on key press.
I the 'Watch Recording' screen in mythtv a heart icon indicates an existing bookmark.
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
Xsecrets
|
Posted: Wed Sep 21, 2005 7:39 am |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
Quote: I still think there is a big hole here in MythTV that needs to be addressed. The remote control needs different mappings for all the various regions within myth itself. It also needs some dynamic mapping abilities.
not really sure what you are getting at here. all lirc does is map keys to remote keypresses. I suppose that mythtv could basically advertise itself as several programs to lirc, but I would imagine that would be con ciderable work if it's even possible. I haven't heard of any one program that serves itself up as multiple programs to lirc.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
jsidlosky
|
Posted: Wed Sep 21, 2005 3:26 pm |
|
Joined: Tue Sep 20, 2005 12:55 am
Posts: 28
|
Yes, but the different parts of myth are already different applications if I understand correctly.
E.g. the program guide is: mythepg
The live TV part is: mythtv
etc. etc. etc.
Why can't LIRC send a different keypress to mythepg vs mythtv.
I tried it, it doesn't work.
|
|
Top |
|
 |
Xsecrets
|
Posted: Wed Sep 21, 2005 6:15 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
I suppose it could be written that way, but it's not. This would be a question that needs to be posed on the mythtv mailing list, but I wouldn't expect too much.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
khrusher
|
Posted: Wed Sep 21, 2005 7:09 pm |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
I guess I'm still lost as to what control you are missing?
I have a remote with four arrow keys for navigation and separate keys for vol adn channel changing. I have all of the myth funcitons mapped (in my opinion) reasonablly well.
are there particular functions that are not mappable, do you have sufficent keys on your remote.
As we had discussed, all of the features are listed in the mythweb keymapping page. With some planning and a list of my remote's keys I have created a good map. What functions/mappings are you missing.
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
jsidlosky
|
Posted: Wed Sep 21, 2005 9:29 pm |
|
Joined: Tue Sep 20, 2005 12:55 am
Posts: 28
|
Ok... after putting more thought into it, and taking into consideration the key mapping abilities using MythWeb... I can't think of any case now for my argument of needing richer remote mapping abilities except ONE.
I want the guide key on my remote to go to the Jump Point Guide when anywhere except in TV Playback.
In TV Playback I want the Guide that shows the TV in the corner, e.g. on the keyboard press 'S'.
In my case:
LIRC sends F5 when I press Guide
Myth Key Jump Point F5 = Main Guide (EPG)
"TV Playback - Guide" = S
but my remote is sending F5, not S... I need my remote to send S when watching Live TV, and send F5 for everything else.
I can't think of a way to do that... Hrm. With the current setup I have to have a Live TV gude and a regular EPG guide button on my remote, which I don't, and don't want to do that.
If you can solve that problem then I admit defeat  .
P.S. Don't send 'P' when you hit play, send 'Ctrl-P' , that is the true "Play" command, now when you are fast forwarding or rewinding, and you hit PLAY on your remote, it will actually play, and not PAUSE like it is doing now for you. Also, you can hit the play button now to see the current position you are in your show, rather than having it PAUSE then hitting it again to resume... Neat eh.
|
|
Top |
|
 |
jsidlosky
|
Posted: Wed Sep 21, 2005 9:40 pm |
|
Joined: Tue Sep 20, 2005 12:55 am
Posts: 28
|
I eat my words a bit, you can't send Ctrl-P from LIRCRC, it just doesn't work. nor does Ctrl+P. That just sends regular 'P'...
The only way I can do it is if I remap PLAY to a different key than Ctrl-P.. So I mapped it to space, and have my remote send Space now, and that did it.
Now Play is PLAY and Pause is PAUSE, end of story 
|
|
Top |
|
 |
khrusher
|
Posted: Thu Sep 22, 2005 8:16 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
I wont use sticky ff and Rew so, pause=paly works for me
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
jsidlosky
|
Posted: Thu Sep 22, 2005 11:57 pm |
|
Joined: Tue Sep 20, 2005 12:55 am
Posts: 28
|
The reason why I need dynamic remote key-mapping assignment through LIRC (or greatly enhanced mapping in myth itself) is because I can't TOGGLE the live-tv GUIDE.
I hit the (default) "S" key to bring up the guide.. Pressing "S" again does nothing.. I have to hit ESC.
On my remote, I press "Guide", it comes up, I have to change buttons to "Back/Exit" to get out...
Also, I want the OK button (sends Space bar to TV Frontend), to send the 'M' key not 'Space' in the Live-TV guide so that it simplychanges to that channel instead of asking recording options. If I want to record, I'll hit record thank you  .
OKAY.. Is the convincing enough that there are problems? ... Or do I need to find more examples...
Now the next thing is, what am I going to do about it... Maybe I'll start developing.
|
|
Top |
|
 |
khrusher
|
Posted: Fri Sep 23, 2005 8:16 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
Quote: Also, I want the OK button (sends Space bar to TV Frontend), to send the 'M' key not 'Space' in the Live-TV guide so that it simplychanges to that channel instead of asking recording options.
There is a setting that will allow this functionally, i think its in Code: setting -> tv -> guide Im not at my box now, but something like 'select changes channels' I have it set, because I had the same option about having the Record menu popping up. The option in the menu toggles the follow database parameter (I have the option set for host mythtv but not for mythfe1): Code: Output from SQL command select * from settings where value = 'SelectChangesChannel' ..
value data hostname SelectChangesChannel 0 mythfe1 SelectChangesChannel 1 mythtv
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |