User Tools

Site Tools


myth_tv_homebrew_project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
myth_tv_homebrew_project [2007/09/26 22:35] davidmyth_tv_homebrew_project [2009/03/01 15:42] (current) david
Line 444: Line 444:
   * Get LIRCD up and running BEFORE you compile MPlayer as it will autodetect it if you have it up when you compile MPlayer.  (So the remote will work while watching Video, not Recordings)   * Get LIRCD up and running BEFORE you compile MPlayer as it will autodetect it if you have it up when you compile MPlayer.  (So the remote will work while watching Video, not Recordings)
   * EDIT /etc/rc.d/rc.mysql "SKIP NETWORKING TRUE!" is the default in Slackware 10.2 !?!?!?! argh.... 1 hour wasted figuring out why I couldn't connect to the database remotely!?   * EDIT /etc/rc.d/rc.mysql "SKIP NETWORKING TRUE!" is the default in Slackware 10.2 !?!?!?! argh.... 1 hour wasted figuring out why I couldn't connect to the database remotely!?
 +
 +===== Human Readable File Names =====
 +
 +  * Note this is specific to Mythbuntu
 +
 +  - Create a directory under recordings that you can write to:  <code>
 +sudo mkdir /var/lib/mythtv/recordings/links
 +sudo chgroup video /var/lib/mythtv/recordings/links
 +sudo chmod 775 /var/lib/mythtv/recordings/links
 +</code>
 +  - Use the **mythlink.sh** scripts with a couple modifications to make the directories and links to your files whenever you need them.
 +
 +<code>
 +
 +#!/bin/sh
 +
 +# mythlink.sh - Symlinks mythtv files to more readable versions
 +# by Dale Gass modified by Jacob Stoner
 +
 +if [ ! -d /var/lib/mythtv/recordings/links ]; then mkdir /var/lib/mythtv/recordings/links; fi
 +rm -R -f /var/lib/mythtv/recordings/links/*
 +
 +echo "Done RM"
 +mysql -umythtv -pYOURPASSWORDGOESHERE  mythconverg -B --exec "select chanid,starttime,endtime,title,subtitle from recorded;" >/tmp/mythlink.$$
 +perl -w -e '
 +        my $mythpath= "/var/lib/mythtv/recordings";
 +        my $altpath= "/var/lib/mythtv/recordings/links";
 +        if (!-d $altpath) {
 +                mkdir $altpath or die "Failed to make directory: $altpath\n";
 +        }
 +        <>;
 +        while (<>) {
 +                chomp;
 +                my ($chanid,$start,$end,$title,$subtitle) = split /\t/;
 +                $start =~ s/[^0-9]//g;
 +                $end =~ s/[^0-9]//g;
 +                $subtitle = "" if(!defined $subtitle);
 +                my $ofn = "${chanid}_${start}.mpg";
 +                do { print "Skipping $mythpath/$ofn\n"; next } unless -e "$mythpath/$ofn";
 +                $start =~ /^....(........)/;
 +                #my $nfn = "$1_${title}_${subtitle}";
 +                my $nfn = "${title}";
 +                if ($subtitle) {$nfn="${nfn}_${subtitle}"}
 +                $nfn =~ s/ /_/g;
 +                $nfn =~ s/&/+/g;
 +                $nfn =~ s/[^+0-9a-zA-Z_-]+/_/g;
 +                $nfn = "${nfn}.mpg";
 +                print "Creating $nfn\n";
 +                unlink "$altpath/$nfn" if(-e "$altpath/$nfn");
 +                mkdir "$altpath/$title";
 +                symlink "$mythpath/$ofn", "$altpath/$title/$nfn" or print "Failed to create symlink $altpath/$nfn: $!";
 +        }
 +' /tmp/mythlink.$$
 +rm /tmp/mythlink.$$
 +</code>
  
 ====== Support Configurations ====== ====== Support Configurations ======
Line 517: Line 572:
  --with-zlib  --with-zlib
 </code> </code>
 +
  
  
Line 529: Line 585:
 mkdir xine mkdir xine
 cd xine cd xine
 +wget ftp://slackware.mirrors.tds.net/pub/slackware/slackware-11.0/patches/source/xine-lib/*
 +chmod 755 xine-lib.SlackBuild
 +./xine-lib.SlackBuild
 +#### gui ####
 +cd /usr/local/src/
 +mkdir xine_gui
 +cd xine_gui
 wget ftp://slackware.mirrors.tds.net/pub/slackware/slackware-11.0/source/xap/xine-ui/* wget ftp://slackware.mirrors.tds.net/pub/slackware/slackware-11.0/source/xap/xine-ui/*
 chmod 755 xine-ui.SlackBuild chmod 755 xine-ui.SlackBuild
Line 566: Line 629:
   * I love this thing.  It costs $0/month to have HDTV recording to a local drive shared to the LAN.   * I love this thing.  It costs $0/month to have HDTV recording to a local drive shared to the LAN.
   * The quality of over the air ATSC HDTV is just amazing.  I never imagined it would be so clear and at such a high bitrate over a UHF antenna.   * The quality of over the air ATSC HDTV is just amazing.  I never imagined it would be so clear and at such a high bitrate over a UHF antenna.
 +
 +
  
  
Line 576: Line 641:
 Since the listings went away due to the abuse of ZapToIt Labs... I have paid for the subscription to the non-profit listings, forcing an upgrade of mythtv, so I might as well document what I did to get it up and going again. Since the listings went away due to the abuse of ZapToIt Labs... I have paid for the subscription to the non-profit listings, forcing an upgrade of mythtv, so I might as well document what I did to get it up and going again.
  
 +  * BACKUP your database before you do this, i nixed my card, and now it won't find it...ARGH!
   * kill (killall) the running daemon on the backend and I took the front end machine to run level 3 effectively killing that machine too.   * kill (killall) the running daemon on the backend and I took the front end machine to run level 3 effectively killing that machine too.
   * uploaded all the code to **/usr/local/src/mythtv-0.20.2** and untar it there.   * uploaded all the code to **/usr/local/src/mythtv-0.20.2** and untar it there.
Line 584: Line 650:
 <code> <code>
 cd mythtv-0.20.2 cd mythtv-0.20.2
-./configure+./configure --disable-audio-arts --enable-firewire --enable-proc-opt --enable-dvb  --enable-xvmc --disable-joystick-menu 
 +qmake mythtv.pro
 make make
 make install make install
myth_tv_homebrew_project.1190846151.txt.gz · Last modified: 2007/09/26 22:38 (external edit)