个人工具

UbuntuHelp:Link to Streamzap remote and VLC

来自Ubuntu中文

跳转至: 导航, 搜索

Describe link to Streamzap remote and VLC here. Very very rough page.. In order to make use of this page..

  • Have Mythbuntu installed, configured.
  • Using VLC as your primary/a media player.
  • lirc working properly with a Streamzap remote in mythtv (see mythbuntu-control-center..)

~/.vlc/vlcrc find and replace: #control= with control=lirc ~/.lirc/vlc replace existing file contents with this:

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = DOWN
    config = key-nav-down
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = PLAY
    config = key-play
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = PAUSE
    config = key-play-pause
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = OK
    config = key-nav-activate
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = MUTE
    config = key-vol-mute
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = VOL_DOWN
    config = key-vol-down
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = STOP
    config = key-quit
    repeat = 0
    delay = 0
end
# Stop does not 'stop' video because it will show the interface.
# Although stop is adequite to exit vlc. By my definition exit should also do the same.
begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = Exit
    config = key-quit
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = UP
    config = key-nav-up
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = VOL_UP
    config = key-vol-up
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = CH_DOWN
    config = key-prev
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = RIGHT
    config = key-nav-right
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = CH_UP
    config = key-next
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = LEFT
    config = key-nav-left
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = |<<
    config = key-jump-long
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = >>|
    config = key-jump+long
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = <<
    config = key-jump-short
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = >>
    config = key-jump+short
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = Blue
    config = key-fullscreen
    repeat = 0
    delay = 0
end

begin
    remote = Streamzap_PC_Remote
    prog = vlc
    button = Yellow
    config = key-disc-menu
    repeat = 0
    delay = 0
end
  • Issue a reboot and test.