Author |
Message |
cecil
|
Posted: Sat Feb 02, 2008 2:43 am |
|
 |
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
rollit12 wrote: For the next version of Knoppmyth, please add a TERM=vt100; export TERM (or some other sane terminal) to the /etc/init.d/mythtv_backend startup script. Is this the fix to the problem? Is it the appropriate place to do this? Why not in the myth2ipod script itself?
|
|
Top |
|
 |
mihanson
|
Posted: Mon Feb 11, 2008 6:27 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
I'd like to see the following feature/program added to R6:
Have the ability to install KM via a USB flash drive/pen drive/thumb drive. Whatever you want to call it.
I think the addition of feature/program would be beneficial because:
Allows install to a computer without an optical drive. Especially useful for a FE only install.
Feature/program X can be found at(please provide a link):
Although R6 may not be Debian based, this is how the Debian install manual instructs users how to do this:
http://www.us.debian.org/releases/stable/i386/ch04s04.html.en
Program X has the following dependencies and can be found(please provide a link):
See above link.
I realize KM iso is currently a hair under 700MB and this would require a 1 GB drive. With the prices of flash memory falling rapidly, I don't see this as an issue for the end user, although a minimal install image would be a nice addition as well. 
_________________ Mike
My Hardware Profile
|
|
Top |
|
 |
scottwalsh
|
Posted: Thu Feb 14, 2008 1:53 pm |
|
Joined: Sat Sep 09, 2006 4:37 pm
Posts: 3
|
|
Top |
|
 |
rollit12
|
Posted: Tue Feb 19, 2008 12:46 pm |
|
Joined: Wed Mar 14, 2007 10:24 am
Posts: 17
|
cecil wrote: rollit12 wrote: For the next version of Knoppmyth, please add a TERM=vt100; export TERM (or some other sane terminal) to the /etc/init.d/mythtv_backend startup script. Is this the fix to the problem? Is it the appropriate place to do this? Why not in the myth2ipod script itself?
the myth2ipod script is a perl script which in turn calls the nuvexport perl script which handles the encoding and runs programs which do some funky curses manipulation to show the output progress.
Unfortunately I don't know enough about object-oriented perl to figure out how to get it to inherit the right system environment variables so they get properly passed down through nuvexport and then to whatever nuvexport calls.
So this was the best spot I could think of putting it. I supposed you could write a wrapper shell script that goes around myth2ipod and passes the arguments along after setting the environment variable, but I'm kind of leery of parsing and escaping all of the perl-style command line parameters so they pass intact through the shell-style command line argument parser I would use to set the environment variable.
In short, it was the least intrusive (code-wise) place I could think of putting it. 
|
|
Top |
|
 |
jmlott
|
Posted: Thu Feb 21, 2008 11:51 pm |
|
Joined: Wed Apr 18, 2007 9:07 pm
Posts: 3
|
I would really like to see an encode to Xvid/Divx option standard in R6. Basically something that will take very little to set up on the end user side (only setting bitrate, etc) that will completely remove commercials, encode to Xvid/Divx, and dump wherever. I know that is a lot to ask and we have the ability to set it up ourselves, but speaking for us lazy people who just want a fully featured PVR out of the box, I would love to see that.
As a side note... It would also be really nice if there was an easy way to replace the original mpg/nuv's with the smaller Xvid/Divx recordings, complete with DB mappings for titles and such.
Thanks!
|
|
Top |
|
 |
mattshaw
|
Posted: Tue Feb 26, 2008 5:35 am |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
Please add the following kernel module : epcam
It can be found at :
http://republico.estv.ipv.pt/~nmct/epcam/
It will add support for 11 or so older USB webcams (especially creative webcam), which can be found really cheaply these days
_________________ Thanks in advance
Matt Shaw
matt@shagshaw.com
AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Tue Feb 26, 2008 11:37 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
|
Top |
|
 |
cecil
|
Posted: Wed Feb 27, 2008 12:46 am |
|
 |
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
Too Many Secrets wrote: I use this script for DB optimization all the time. I've thought about including this script for some time. The issue I see with doing this automatically is, it stops MySQL. I see issue with stopping MySQL with MythTV running. What we need is a script to ensure MythTV isn't recording or running any jobs. Then the optimization script can be ran. Anyone up to the challenge?
|
|
Top |
|
 |
Greg Frost
|
Posted: Wed Feb 27, 2008 5:12 am |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
cecil wrote: Anyone up to the challenge?
Code: mythshutdown --check or Code: mythshutdown --status if you also want to know if it is transcoding/flagging/grabbing etc.
|
|
Top |
|
 |
cecil
|
Posted: Wed Feb 27, 2008 10:55 am |
|
 |
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
So, all we need is for someone to script it up. 
|
|
Top |
|
 |
Too Many Secrets
|
Posted: Wed Feb 27, 2008 11:40 am |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
Be kind, I'm still testing this (part deux). found this on the mail list. would just need to call the optimize_db.sh script, if it works. With that said, mythshutdown doesn't look for recordings in the F27 version. This is changed in SVN.
Anyone running SVN that can try the below? the 1 doesn't run on R27.
This seems to be running ok on my test SVN box.
SVN Version, checks tuners for recording.
Code: #!/bin/bash
mythshutdown -s 1 -v all | grep 'status returned: 0' >/dev/null
if [ $? == 0 ]; then echo runs else echo dont run fi
R27 (doesn't test for turner recording though...) Code: #!/bin/bash
mythshutdown -s -v all | grep 'status returned: 0' >/dev/null
if [ $? == 0 ]; then echo runs else echo dont run fi
|
|
Top |
|
 |
alien
|
Posted: Thu Feb 28, 2008 4:17 am |
|
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location:
Germany
|
mihanson wrote: I'd like to see the following feature/program added to R6: Have the ability to install KM via a USB flash drive/pen drive/thumb drive. Whatever you want to call it.
Not really hard to do. Assuming that the USB Drive is mounted as /media/USBDRIVE, uses device /dev/scx1 and syslinux is installed (apt-get install syslinux):
Code: mkdir /media/iso mount -o loop KnoppMyth.iso /media/iso cp -R /media/iso/* /media/USBDRIVE cd /media/USBDRIVE/boot mv isolinux syslinux cd syslinux cp isolinux.cfg syslinux.cfg syslinux -d boot/syslinux /dev/sdx1
Reboot and if boot from USB is supported/enabled, you should boot into the installer.
Note: I haven't done a full install this way, but I did boot up the knoppmyth installer, so it should work.
Feel free to PM me with any corrections, or simply update the wiki page: http://www.knoppmythwiki.org/index.php? ... StickHowTo
In particular, I would like to know if anyone manages a full install as I haven't tried it yet.
_________________ ASUS AT3N7A-I (Atom 330) TBS 8922 PCI (DVB-S2)
Last edited by alien on Fri Feb 29, 2008 1:40 am, edited 2 times in total.
|
|
Top |
|
 |
mihanson
|
Posted: Thu Feb 28, 2008 12:14 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
alien wrote: Code: syslinux -d boot/syslinux /media/USBDRIVE When using my desktop machine (Debian Lenny 2.6.22) I found that syslinux will not install into a directory ( /media/USBDRIVE). You need to use the block device instead. Code: syslinux -d boot/syslinux /dev/sd?1 where ? is the letter of your flashdrive (a, b, c, etc.)
Thanks for this info alien! I'll give it a shot when I have time.
We should probably move further discussion of this to a new thread.
_________________ Mike
My Hardware Profile
|
|
Top |
|
 |
cecil
|
Posted: Sat Mar 01, 2008 1:31 am |
|
 |
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
mattshaw wrote: Please add the following kernel module : epcam
This module was last produced in '04 and fails to compile with newer kernels. I'd suggest you contact the author and ask her or him to update the module.
|
|
Top |
|
 |
mogator88
|
Posted: Sat Mar 01, 2008 4:38 pm |
|
Joined: Tue Jan 30, 2007 1:27 am
Posts: 299
|
jmlott wrote: I would really like to see an encode to Xvid/Divx option standard in R6. Basically something that will take very little to set up on the end user side (only setting bitrate, etc) that will completely remove commercials, encode to Xvid/Divx, and dump wherever. I know that is a lot to ask and we have the ability to set it up ourselves, but speaking for us lazy people who just want a fully featured PVR out of the box, I would love to see that.
As a side note... It would also be really nice if there was an easy way to replace the original mpg/nuv's with the smaller Xvid/Divx recordings, complete with DB mappings for titles and such.
Thanks!
I second this request. I had looked into this last year, its doable, but didn't have the time to do it and just stuck with using the transcode function. However, some shows are actually _increasing_ in size after transcoding (This all seems to happen on one ATSC HiDef station but there may be another) so this is becoming important to me again.
|
|
Top |
|
 |