myth_tv_homebrew_project
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| myth_tv_homebrew_project [2007/09/26 20:23] – david | myth_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. | * Get LIRCD up and running BEFORE you compile MPlayer as it will autodetect it if you have it up when you compile MPlayer. | ||
| * EDIT / | * EDIT / | ||
| + | |||
| + | ===== Human Readable File Names ===== | ||
| + | |||
| + | * Note this is specific to Mythbuntu | ||
| + | |||
| + | - Create a directory under recordings that you can write to: < | ||
| + | sudo mkdir / | ||
| + | sudo chgroup video / | ||
| + | sudo chmod 775 / | ||
| + | </ | ||
| + | - Use the **mythlink.sh** scripts with a couple modifications to make the directories and links to your files whenever you need them. | ||
| + | |||
| + | < | ||
| + | |||
| + | #!/bin/sh | ||
| + | |||
| + | # mythlink.sh - Symlinks mythtv files to more readable versions | ||
| + | # by Dale Gass modified by Jacob Stoner | ||
| + | |||
| + | if [ ! -d / | ||
| + | rm -R -f / | ||
| + | |||
| + | echo "Done RM" | ||
| + | mysql -umythtv -pYOURPASSWORDGOESHERE | ||
| + | perl -w -e ' | ||
| + | my $mythpath= "/ | ||
| + | my $altpath= "/ | ||
| + | if (!-d $altpath) { | ||
| + | mkdir $altpath or die " | ||
| + | } | ||
| + | <>; | ||
| + | while (<>) { | ||
| + | chomp; | ||
| + | my ($chanid, | ||
| + | $start =~ s/ | ||
| + | $end =~ s/ | ||
| + | $subtitle = "" | ||
| + | my $ofn = " | ||
| + | do { print " | ||
| + | $start =~ / | ||
| + | #my $nfn = " | ||
| + | my $nfn = " | ||
| + | if ($subtitle) {$nfn=" | ||
| + | $nfn =~ s/ /_/g; | ||
| + | $nfn =~ s/&/ | ||
| + | $nfn =~ s/ | ||
| + | $nfn = " | ||
| + | print " | ||
| + | unlink " | ||
| + | mkdir " | ||
| + | symlink " | ||
| + | } | ||
| + | ' / | ||
| + | rm / | ||
| + | </ | ||
| ====== Support Configurations ====== | ====== Support Configurations ====== | ||
| Line 498: | Line 553: | ||
| (the deflate option is important as most sites save bandwidth using deflate, as well as mod_proxy and some other ones that isnt included by default) | (the deflate option is important as most sites save bandwidth using deflate, as well as mod_proxy and some other ones that isnt included by default) | ||
| + | |||
| ===== Compiling PHP 5 ===== | ===== Compiling PHP 5 ===== | ||
| Line 515: | Line 571: | ||
| --with-xml \ | --with-xml \ | ||
| --with-zlib | --with-zlib | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Compiling Xine ===== | ||
| + | |||
| + | So we can use the remote, we need to compile our own xine so it seems that LIRC is running. | ||
| + | |||
| + | Just grab the source off a slackware page and build the package like they do: | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | mkdir xine | ||
| + | cd xine | ||
| + | wget ftp:// | ||
| + | chmod 755 xine-lib.SlackBuild | ||
| + | ./ | ||
| + | #### gui #### | ||
| + | cd / | ||
| + | mkdir xine_gui | ||
| + | cd xine_gui | ||
| + | wget ftp:// | ||
| + | chmod 755 xine-ui.SlackBuild | ||
| + | ./ | ||
| + | installpkg / | ||
| </ | </ | ||
| Line 548: | Line 629: | ||
| * I love this thing. | * I love this thing. | ||
| * The quality of over the air ATSC HDTV is just amazing. | * The quality of over the air ATSC HDTV is just amazing. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 555: | 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 **/ | * uploaded all the code to **/ | ||
| - | Backend: | + | **Backend:** |
| < | < | ||
| cd mythtv-0.20.2 | cd mythtv-0.20.2 | ||
| - | ./configure | + | ./ |
| + | qmake mythtv.pro | ||
| make | make | ||
| + | make install | ||
| + | mythtv-setup | ||
| + | mythfilldatabase | ||
| + | # plugins | ||
| + | ./configure --enable-all --disable-festival | ||
| + | qmake mythplugins.pro | ||
| + | make install | ||
| + | #themes | ||
| + | ./configure | ||
| make install | make install | ||
| </ | </ | ||
| - | Frontend: | + | **Frontend:** |
| < | < | ||
| cd mythtv-0.20.2 | cd mythtv-0.20.2 | ||
| - | ./ | + | ./configure |
| make | make | ||
| + | make install | ||
| + | # plugins | ||
| + | ./configure --enable-all --disable-festival | ||
| + | qmake mythplugins.pro | ||
| + | make install | ||
| + | #themes | ||
| + | ./configure | ||
| + | make install | ||
| </ | </ | ||
myth_tv_homebrew_project.1190838224.txt.gz · Last modified: (external edit)
