[email protected] schrieb am 03.04.05 20:21:21:
>
> Tanja Striepling wrote:
>
> >[email protected] schrieb am 02.04.05 19:35:00:
> >
> >
> >>Jim Duda wrote:
> >>
> >>
> >>
> >>>Vihtori,
> >>>
> >>>You're almost there. You indeed need to load /etc/freevo/lircrc. You need
> >>>to map
> >>>The keys which your remote provides, to those which freevo wants. For
> >>>example, I
> >>>Have ...
> >>>
> >>>Essential commands:
> >>>#LEFT, RIGHT, UP, DOWN, SELECT, ENTER, EXIT, DISPLAY
> >>>#Reccomended commands:
> >>>#REC, REW, PLAY, FFWD, PAUSE, STOP, CH+, CH-
> >>>#format of file is:
> >>>
> >>>begin
> >>> prog = freevo
> >>> button = select
> >>> config = SELECT
> >>>end
> >>>
> >>>begin
> >>> prog = freevo
> >>> button = up
> >>> config = UP
> >>>end
> >>>
> >>>I have one entry for each of the "essential commands" shown at the top.
> >>>
> >>>You can use the "irw" program to see exactly what commands you remote is
> >>>providing.
> >>>
> >>>The next thing you can do is to tailor some of the commands in your
> >>>local_conf.py.
> >>>For example, I have in my local_conf.py:
> >>>
> >>>EVENTS['video']['REW'] = Event(SEEK, arg=-600)
> >>>EVENTS['video']['FFWD'] = Event(SEEK, arg=+600)
> >>>EVENTS['video']['LEFT'] = Event(SEEK, arg=-60)
> >>>EVENTS['video']['RIGHT'] = Event(SEEK, arg=+60)
> >>>EVENTS['video']['DOWN'] = Event(SEEK, arg=-10)
> >>>EVENTS['video']['UP'] = Event(SEEK, arg=+10)
> >>>
> >>>Good Luck. I hope this makes sense to you.
> >>>
> >>>Jim
> >>>
> >>>
> >>>"Vihtori Sammalisto" <[EMAIL PROTECTED]> wrote in message
> >>>news:<[EMAIL PROTECTED]>...
> >>>
> >>>
> >>>
> >>>
> >>>>Hi
> >>>>I have difficultys to get lirc working properly with freevo. I can do
> >>>>menu navig and select items there etc. But how can I get all mplayer
> >>>>commands in remotely. I want to complete control for mplayer too.
> >>>>
> >>>>My english is sooo poorr,
> >>>>so here is an example what im looking for:
> >>>>There is keyboard command "r" and "t". In mplayer these buttons adjust
> >>>>subtitles position. What i need and where if i want to same effect with
> >>>>remotecontrol? Is it possible to do it in /etc/freevo/lircrc?
> >>>>
> >>>>This wont work in /etc/freevo/lircrc:
> >>>>begin
> >>>> prog = mplayer
> >>>> button = 1
> >>>> config = sub_pos -1
> >>>>end
> >>>>
> >>>>begin
> >>>> prog = mplayer
> >>>> button = 2
> >>>> config = sub_pos +1
> >>>>end
> >>>>
> >>>>
> >>>>Thanks in advance!
> >>>>
> >>>>
> >>>>
> >>>>-------------------------------------------------------
> >>>>SF email is sponsored by - The IT Product Guide
> >>>>Read honest & candid reviews on hundreds of IT Products from real users.
> >>>>Discover which products truly live up to the hype. Start reading now.
> >>>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> >>>>
> >>>>
> >>>>
> >>>>
> >>>-------------------------------------------------------
> >>>SF email is sponsored by - The IT Product Guide
> >>>Read honest & candid reviews on hundreds of IT Products from real users.
> >>>Discover which products truly live up to the hype. Start reading now.
> >>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> >>>_______________________________________________
> >>>Freevo-users mailing list
> >>>[email protected]
> >>>https://lists.sourceforge.net/lists/listinfo/freevo-users
> >>>
> >>>
> >>>
> >>>
> >>>
> >>Thank you for your reply. I already have /etc/freevo/lircrc file , but i
> >>dont know how to get all commands working...
> >>
> >>Here is lirc.conf http://freevo.ath.cx/~htpc/lirc.conf , I'd to make
> >>this manually using "mode2", cause "irrecord" isnt working properly.
> >>
> >>Here is lircrc http://freevo.ath.cx/~htpc/lircrc.txt , all existing
> >>"begin........end" are working just fine . There is at end of file all
> >>mplayer keyboard commands from /etc/mplayer/input.conf, and i want to
> >>use those commands in some way with my remotecontrol.
> >>
> >>I have tryed these lines in /etc/freevo/lircrc file without success:
> >>
> >>begin
> >> prog = mplayer
> >> button = 1
> >> config = sub_pos -1
> >>end
> >>
> >>begin
> >> prog = mplayer
> >> button = 2
> >> config = sub_pos +1
> >>end
> >>
> >>I have created lircrc.mplayer file where i put those commands like
> >>above. And used "-lircconf /path/to/lircrc.conf" option with mplayer,
> >>this wasnt working either...
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>SF email is sponsored by - The IT Product Guide
> >>Read honest & candid reviews on hundreds of IT Products from real users.
> >>Discover which products truly live up to the hype. Start reading now.
> >>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> >>_______________________________________________
> >>Freevo-users mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/freevo-users
> >>
> >>
> >
> >Hi
> >
> >Did I understand you right?
> >Your lirc is working and the "normal" commands (ENTER, SELECT, PLAY, REW,
> >etc. ) are working as they should?
> >So what you are looking for is a way to reach the additional mplayer
> >commands from inside freevo?
> >
> >Did you try this in local_conf.py:
> >#
> ># You can add more keybindings by adding them to the correct hash.
> ># e.g. If you want to send 'contrast -100' to mplayer by pressing the '1'
> >key,
> ># just add the following line:
> >#
> ># EVENTS['video']['1'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='contrast -100')
> >
> >I never did that by myself, but it seems to be what you are looking for.
> >
> >Good look
> >Tanja
> >
> >
> >__________________________________________________________
> >Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
> >weltweit telefonieren! http://freephone.web.de/?mc=021201
> >
> >
> >
> >-------------------------------------------------------
> >SF email is sponsored by - The IT Product Guide
> >Read honest & candid reviews on hundreds of IT Products from real users.
> >Discover which products truly live up to the hype. Start reading now.
> >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> >_______________________________________________
> >Freevo-users mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/freevo-users
> >
> >
> >
> Yes, that is what i'm looking for, but EVENTS['video']['u'] =
> Event(VIDEO_SEND_MPLAYER_CMD, arg='contrast -100') won't work, not even
> f keyboard...dunno why. That should activate button 'u' when watching...
> example movie.avi, am i right?
>
> And even if i'll get it working, i don't know still how it should be
> done to remotecontrol...
>
> -- vs
>
>
Hi again,
My guess would be that this should map the 'u'-button of your remote to
the mplayer command 'contrast -100'. But I have no clue which button 'u' is.
In /etc/freevo/lircrc there are sections like this:
begin
prog = freevo
button = FFORWARD
config = FFWD
end
where button is the name of the button as lirc sees them and config the
function
freevo maps to that, right?
So I would guess instead of 'u', you should use either button or config.
Another thing, it was mentioned several times on this list, that mplayer and
keyboards
are a special case, because mplayer always graps the keyboard input, when it
opens a
window. For this reason mplayer is not controlled via the freevo keybinding
when one
uses a keyboard, but via its own keybindings.
With a remote that is a different game, here every input first goes to freevo,
and then eventually to mplayer.
Good luck
Tanja
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users