Show Import Utility: mythnettv

 

 
 
Samples
sudo ionice -c3 mythnettv –nocommflag importlocal The.Office.S05E19.avi The.Office The.Office.S05E19 The.Office.Season.2
 
sudo ionice -c3 mythnettv –nocommflag importmanylocal ./ ".*.avi" "Fifth.Gear"
 
sudo ionice -c3 tsp/mythnettv/mythnettv –nocommflag importlocal "Curb Your Enthusiasm – 3×02 – The Benadryl Brownie.avi" "Curb Your Enthusiasm" "The Benadryl Brownie" "S03E07"
Posted in MythTV | Leave a comment

Mythbuntu 9.04 Clean Install

 

    • Normal install
      • No proprietary drivers
      •  

      • No LIRC
    • If not fonts on boot try this
    •  

    • Configure LIRC
      • sudo dpkg-reconfigure lirc
        • Select Home-brew (16×50 UART compatible serial port)
      • Set serial port
        • sudo apt-get install setserial
          sudo dpkg-reconfigure setserial
          
          
          • Choose manual
        • Modify /var/lib/setserial/autoserial.conf
          • Add (or modify if its there already) (switch to ttyS1 if you're using that instead)
          • /dev/ttyS0 uart none
        • Copy that script to /etc/serial.conf
        • $ sudo cp /var/lib/setserial/autoserial.conf /etc/serial.conf
    • copy mplayer and mythtv lirc scripts in ~/.lirc
    •  

    • copy lirc.conf for remote to /etc/lirc

If video is stuttering turn off OpenGL Sync in Mythtv Setup

Fro fglrx driver add:

  •  
  • Option      "VideoOverlay" "on"
  •  

  • Option      "OpenGLOverlay" "off"
Posted in MythTV | Leave a comment

Mythbuntu Does not render Fonts

 

Update xorg.conf:

Section "Device"
Identifier "Configured Video Device"
Option "DRI" "off"
EndSection

Posted in MythTV | Leave a comment

Hangs during shutdown (CIFS VFS)

To fix it, I just moved the unmounting before the network shutdown in the shutdown list. Here is how:



Change directory to /etc/rc6.d and list it's contents.

Code:
cd /etc/rc6.d
ls -la

You are looking for S#wpa-ifupdown and S#umountnfs.sh. wpa-ifupdown's # is normally 15, umountnfs.sh's # is normally 31. 



So you should see these two amongst your listing: 

Code:
S15wpa-ifupdown
...
S31umountnfs.sh

If these numbers are the same in your case, you can now type:

Code:
sudo mv S31umountnfs.sh S14umountnfs.sh

This moves your samba share unmounting to an "earlier" position in the shutdown list which *should* get rid of the annoying hangs in the shutdown process, it cleared my hangs up.

Posted in MythTV | Leave a comment

Mythbuntu 8.04.1 Clean Install

 

ATI Dropper support for some older cards in the fglrx driver.  8.04 is a LTS release so it should last until April 2011.

 

Install

USER: mythuser

Use ATI/AMD Proprietary driver

TV Out enabled

Auto Login

 

Video Setup

After install enable restricted video driver

Reboot

Edit xorg.conf to:

Section "Device"

Identifier "Configured Video Device"

Driver "fglrx"

Option "VideoOverlay" "on"

Option "TexturedVideo" "off"

Option "OpenGLOverlay" "off"

Option "EnableMonitor" "crt1"

EndSection

 

To see what monitors are detected if video playback isn't going to external display

Run "aticonfig –query-monitor"

 

 

LIRC Setup

 

sudo dpkg-reconfigure setserial

— Set to Manual

Edit /var/lib/setserial/autoserial.conf

Add: /dev/ttyS0 uart none

cp /var/lib/setserial/autoserial.conf /etc/serial.conf

 

”modprobe lirc_serial” should now work. Check dmesg for errors and /dev/l* for /dev/lirc0

 

Setup IR Receiver

 

 

 

  1. Attach serial IR receiver 
  2. run: sudo dpkg-reconfigure lirc 
  3. Choose "Home-brew (16×50 UART compatible serial port)" or whatever your receiver is.

 

 

 

Setup URC-6131 Remote

 

  1. Copy mplayer lirc script into ~/.lirc
  2.  

  3. Copy mythtv lirc script into ~/.lirc
  4.  

  5. copy lircd.conf for remote into /etc/lirc

     

    Shutdown

    Edit /etc/sudoers

    ADD: mythuser ALL=NOPASSWD:/sbin/halt,/sbin/shutdown,/sbin/reboot,/bin/mount,/bin/umount

     

    MPlayer

    ~/.mplayer/config

    # Write your default config options here!

    # run full-screen

    fs=yes

    # zoom image to fill the screen

    zoom=yes

    # disable mplayer's usual verbosity

    really-quiet=yes

    # use XVideo for video output

    vo=xv

    # don't enable joystick

    nojoystick=yes

    # if ac3 audio, send raw stream to my amp, else fall back

    #ac=hwac3,

    # my display is 16:9

    monitoraspect=16:9

     

    Passphrase

    Set keyring passphrase to {blank} when prompted

     

    Troubleshooting

    If video is stuttering turn off OpenGL Sync in Mythtv Setup

    Posted in MythTV | Leave a comment

    LIRC for URC-6131 mplayer

     

    # lircrc.URC-6131/RC-5 (Hauppauge PVR-250)
    # 2004-01-25, Joe Votour
    # Save this file in ~/.mythtv/lircrc, and make a symlink with ~/.lircrc
    # TODO: Test/configure the mplayer buttons
    #       Finish the rest of the remote buttons for MythTV

    # Rev 0.1 – 2005/07/08
    # 1. Changed the Xine exit button to PVR Menu (PVRMENU) from POWER
    # 2. Added in xmame exit functionality – PVR Menu button again

    #
    # mplayer keys (Untested, as I don't use mplayer)
    #
    begin
    prog = mplayer
    button = EXIT
    config = quit
    end

    begin
    prog = mplayer
    button = MUTE
    config = mute
    end

    begin
    prog = mplayer
    button = VOL-
    config = volume -1
    repeat = 1
    end

    begin
    prog = mplayer
    button = VOL+
    config = volume 1
    repeat = 1
    end

    begin
    prog = mplayer
    button = PLAY
    config = pause
    end

    begin
    prog = mplayer
    button = PAUSE
    config = pause
    end

    begin
    prog = mplayer
    button = STOP
    config = quit
    end

    begin
    prog = mplayer
    button = MENU
    config = osd
    end

    begin
    prog = mplayer
    button = FFW
    config = seek 1
    end

    begin
    prog = mplayer
    button = REW
    config = seek -1
    end

    begin
    prog = mplayer
    button = REPLAY
    config = seek -60
    end

    begin
    prog = mplayer
    button = SKIP
    config = seek 60
    end

    begin
    prog = mplayer
    button = PREVCH
    config = seek -60
    end

    begin
    prog = mplayer
    button = NEXTCH
    config = seek 60
    end
    Posted in MythTV | Leave a comment

    lircd.conf for URC-6131

     

    #——————————————————————————
    # contributed by     Claas Langbehn ( [email protected])         01-May-2000
    #——————————————————————————
    #
    # filename: RC-5
    # encoding: shift encoded, RC-5
    # brand:             Philips (and others)
    # model:             all
    # supported devices: all
    #
    #——————————————————————————

    begin remote

    name  PHILIPS_RC-5
    bits           11
    flags RC5|CONST_LENGTH
    eps            20
    aeps            0

    header          0     0
    one           889  889
    zero          889  889
    plead         889
    ptrail          0
    foot            0     0
    repeat          0     0
    pre_data_bits   2
    pre_data       0x02
    post_data_bits  0
    post_data      0x0
    pre             0     0
    post            0     0
    gap          113792
    toggle_bit      2
    frequency    36000
    duty_cycle   50

    begin codes
    0 0x0000000000000140
    1 0x0000000000000141
    2 0x0000000000000142
    3 0x0000000000000143
    4 0x0000000000000144
    5 0x0000000000000145
    6 0x0000000000000146
    7 0x0000000000000147
    8 0x0000000000000148
    9 0x0000000000000149
    GUIDE 0x000000000000014a
    SELECT 0x000000000000014b
    POWER 0x000000000000014c
    Mute 0x000000000000014d
    Move 0x000000000000014e
    VOL+ 0x0000000000000150
    VOL- 0x0000000000000151
    PREVCH 0x0000000000000152
    NEXTCH 0x0000000000000153
    SLOMO 0x0000000000000154
    ANGLE 0x0000000000000155
    MENU 0x000000000000015d
    SUBT 0x000000000000015e
    CH+ 0x0000000000000160
    CH- 0x0000000000000161
    PIP 0x0000000000000162
    Swap 0x0000000000000163
    PAUSE 0x0000000000000169
    PVRMENU 0x000000000000016e
    EXIT 0x0000000000000171
    REW 0x0000000000000172
    REPLAY 0x0000000000000173
    FFW 0x0000000000000174
    PLAY 0x0000000000000175
    STOP 0x0000000000000176
    REC 0x0000000000000177
    SKIP 0x0000000000000178
    Prev 0x000000000000017b
    INFO 0x000000000000017c
    TV/VID 0x000000000000017e
    Audio 0x000000000000017f
    THDN 0x0000000000000268
    THUP 0x0000000000000269
    end codes

    end remote

    begin remote

    name  PHILIPS_RC-5_ALT
    bits           13
    flags RC5|CONST_LENGTH
    eps            20
    aeps            0

    one           889   889
    zero          889   889
    plead         889
    gap          113792
    min_repeat      1
    toggle_bit      2

    frequency    36000
    duty_cycle   50

    begin codes
    LEFT                     0x0000000000000155
    RIGHT                    0x0000000000000156
    end codes

    end remote
    Posted in MythTV | Leave a comment

    LIRC for URC-6131 mythtv

     

    # lircrc.URC-6131/RC-5 (Hauppauge PVR-250)
    # 2004-01-25, Joe Votour
    # Save this file in ~/.mythtv/lircrc, and make a symlink with ~/.lircrc
    # TODO: Test/configure the mplayer buttons
    #       Finish the rest of the remote buttons for MythTV

    # Rev 0.1 – 2005/07/08
    # 1. Changed the Xine exit button to PVR Menu (PVRMENU) from POWER
    # 2. Added in xmame exit functionality – PVR Menu button again

    # Power button/quit
    # begin
    #    prog = mythtv
    #    button = POWER
    #    config = Esc
    # end

    # Change TV card input
    begin
    prog = mythtv
    button = TV/VID
    config = C
    end

    # Toggle Picture-In-Picture
    begin
    prog = mythtv
    button = PIP
    config = V
    end

    # Swap the PiP windows
    begin
    prog = mythtv
    button = Swap
    config = N
    end

    # Number keys
    begin
    prog = mythtv
    button = 1
    config = 1
    end

    begin
    prog = mythtv
    button = 2
    config = 2
    end

    begin
    prog = mythtv
    button = 3
    config = 3
    end

    begin
    prog = mythtv
    button = 4
    config = 4
    end

    begin
    prog = mythtv
    button = 5
    config = 5
    end

    begin
    prog = mythtv
    button = 6
    config = 6
    end

    begin
    prog = mythtv
    button = 7
    config = 7
    end

    begin
    prog = mythtv
    button = 8
    config = 8
    end

    begin
    prog = mythtv
    button = 9
    config = 9
    end

    begin
    prog = mythtv
    button = 0
    config = 0
    end

    # Exit button (returning to menu)
    begin
    prog = mythtv
    button = EXIT
    config = Esc
    end

    # Menu button (TV menu)
    begin
    prog = mythtv
    button = MENU
    config = M
    end

    # Guide button (EPG)
    begin
    prog = mythtv
    button = GUIDE
    config = S
    end

    # Delete (i.e. View recordings screen)
    begin
    prog = mythtv
    button = THDN
    config = D
    end

    # View program info (OSD)
    begin
    prog = mythtv
    button = INFO
    config = I
    end

    # Note the "repeat =" strings in the volume and channel.
    # This means that if you hold down the key, every nth instance will be
    # passed.  This depends on your system, so you may want to increase or
    # decrease this and see what happens.  repeat = 1 is probably too
    # fast.

    # Volume Down
    begin
    prog = mythtv
    button = VOL-
    repeat = 3
    config = F10
    end

    # Volume Up
    begin
    prog = mythtv
    button = VOL+
    repeat = 3
    config = F11
    end

    # Channel Up
    begin
    prog = mythtv
    button = CH+
    repeat = 3
    config = Up
    end

    # Channel Down
    begin
    prog = mythtv
    button = CH-
    repeat = 3
    config = Down
    end

    # Navigational arrows
    begin
    prog = mythtv
    button = LEFT
    repeat = 3
    config = Left
    end

    begin
    prog = mythtv
    button = RIGHT
    repeat = 3
    config = Right
    end

    begin
    prog = mythtv
    button = SELECT
    config = Return
    end

    # Mute
    begin
    prog = mythtv
    button = Mute
    config = |
    end

    # Browse mode
    #begin
    #    prog = mythtv
    #    button = DISPLAY
    #    config = O
    #end

    # Channel history
    begin
    prog = mythtv
    button = Prev
    config = H
    end

    # Rewind
    begin
    prog = mythtv
    button = REW
    config = Left
    end

    # Play
    begin
    prog = mythtv
    button = PLAY
    config = P
    end

    # Fast-forward
    begin
    prog = mythtv
    button = FFW
    config = Right
    end

    # Next chapter (page down for EPG)
    begin
    prog = mythtv
    button = NEXTCH
    config = PgDown
    end

    # Previous chapter (page up for EPG)
    begin
    prog = mythtv
    button = PREVCH
    config = PgUp
    end

    # Record
    begin
    prog = mythtv
    button = REC
    config = R
    end

    # Teletext/Closed Captioning
    # Audio button doubles as CC
    begin
    prog = mythtv
    button = Audio
    config = T
    end

    # Pause
    begin
    prog = mythtv
    button = PAUSE
    config = P
    end

    # Backwards commercial skip
    begin
    prog = mythtv
    button = REPLAY
    config = Q
    end

    # Forward commercial skip
    begin
    prog = mythtv
    button = SKIP
    config = Z
    end
    Posted in MythTV | Leave a comment

    URC-R6 Macros

     

    A – Mythtv

     

    1. TV – Last (programmed to CH+)
    2.  

    3. Pause x 4
    4.  

    5. Audio – 7
    6.  

    7. TV – Input
    8.  

    9. DVR – Up

     

     

    B – Cable TV

     

    1. TV – Last (programmed to CH+)
    2.  

    3. Audio – 5
    4.  

    5. Pause x 4
    6.  

    7. TV – Input
    8.  

    9. Pause
    10.  

    11. TV – Input
    12.  

    13. Pause
    14.  

    15. TV – Input
    16.  

    17. Pause
    18.  

    19. TV – Input
    Posted in MythTV | Leave a comment

    URC-R6 Audio Setup

     

    1. Video 1
    2.  

    3. Video 2
    4.  

    5. Video 3
    6.  

    7. DVD/LD (DVD)
    8.  

    9. TV/SAT (Cable)
    10.  

    11. Aux
    12.  

    13. MD/Tape (MythTV)
    14.  

    15. CD/SACD
    16.  

    17. Tuner
    18.  

    19. Phono
    Posted in MythTV | Leave a comment