Author |
Message |
declanh
|
Posted: Sat Oct 22, 2005 4:39 am |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
I've spent alot of tweak time getting r5a16 working with my hardware...
The question is - over and above the easier install process - what 'must have' features will i miss by not upgrading ?
I have rebuilt the kernel, tweaked lirc, and tinkered with quite a few confgurations to get a16 running - if i do an auto upgrade will it screw things up terribly ?
|
|
Top |
|
 |
Girkers
|
Posted: Sat Oct 22, 2005 4:42 am |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
From the reports that I have read doing an upgrade on a modded system works ok. Best bet is if possible take an image of your HDD before you do anything, that way if you find you don't like it, you can just go back to the image.
_________________ Girkers
|
|
Top |
|
 |
cesman
|
Posted: Sat Oct 22, 2005 3:14 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
You aren't really stating exactly what changes you made, so it is hard to say exactly what you'll miss out on. Read the changelog and make the determination yourself.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
declanh
|
Posted: Sat Oct 22, 2005 5:13 pm |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
Ok,
I could have been clearer...
* Rebuilt kernel to support wintv nova t pci
* upgraded lirc to get it working with the novat remote
* fixed but in the 'pretty' script
* updated to newest version of nuv2disc
* changed device for dvd to get nuv2disc working
* installed replex
* reconfigured apache for authentication
* manually build xmltv channel file
* wrote sql script to add icons for channels
* reconfigured mysql for remote access
* added decss libs for dvd
Thats most of what I can think off offhand... but there is probably one or two other things i have forgotten
is upgrading to a22 likely to regress any of this ?
Looking at the change log mythburn mythstreamtv and vlc all look tempting.
|
|
Top |
|
 |
cesman
|
Posted: Sat Oct 22, 2005 5:21 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
Yes, pretty is broken. KnoppMyth doesn't support the playing encrypted DVDs. I know I always upgrade. Like I stated, it is up to you to decide.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
declanh
|
Posted: Sun Oct 23, 2005 2:10 am |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
cesman wrote: Yes, pretty is broken. KnoppMyth doesn't support the playing encrypted DVDs. I know I always upgrade. Like I stated, it is up to you to decide.
cecil
Not clear what you mean when you said 'i always upgrade'
do this mean you use the upgrade process in the new version - or you upgrade to the new version via a reinstall
I you use the automated upgrade process do you have to reapply all the tweaks manually?
|
|
Top |
|
 |
wififun
|
Posted: Sun Oct 23, 2005 10:24 am |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
declanh, the auto upgrade process will require you to make some of those tweaks. The nova t stuff I have know idea about, but many of your other items may be quick fixes. What I do before every upgrade is to image hda1 like Girkers sugested. Do this to a fille either on your myth partition or a second hard drive.
Code: dd if=/dev/hda1 of=/mnt/hdb1/backups/r5a16.img bs=1024k Then you can upgrade and mount that image to access any custom scripts, or check your old system to reference config files. Code: mount -o loop /mnt/hdb1/backups/r5a16.img /mnt/backup If your upgrade gets hosed, and you decide you just don't want to do the work right now, boot off the CD, drop to a console and restore your old hda1 and reboot. Nothing gained nothing lost. Code: dd if=/mnt/hdb1/backups/r5a16.img of=/dev/hda1 bs=1024k
Hope this help you upgrade a little more securely.
|
|
Top |
|
 |
mad_paddler
|
Posted: Sun Oct 23, 2005 2:20 pm |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
Having just updated mine (i have the same tv card):
* Rebuilt kernel to support wintv nova t pci
The Nova-T works "out of the box" now
* upgraded lirc to get it working with the novat remote
Much easier to get working now: http://mysettopbox.tv/phpBB2/viewtopic. ... 5119#35119
Some of the others are 1 line fixes
I dunno If I did the upgrade wrong, but permissions were also wrong on /myth & /cache after.
|
|
Top |
|
 |
cesman
|
Posted: Sun Oct 23, 2005 2:51 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
It means I upgrade (auto), I don't tweak anything. For me KnoppMyth pretty much works just like an appliance! I run the same version of KnoppMyth that is released.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
wififun
|
Posted: Sun Oct 23, 2005 6:26 pm |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
mythlink.sh is not working here either.
Code: /usr/local/bin/mythlink.sh: line 9: -uroot: command not found Scalar found where operator expected at -e line 60, near "unlink "$altpath" (Might be a runaway multi-line "" string starting on line 55) (Do you need to predeclare unlink?) String found where operator expected at -e line 61, near "#print "" (Might be a runaway multi-line "" string starting on line 60) (Missing semicolon on previous line?) Bareword found where operator expected at -e line 61, near "#print "I" (Missing operator before I?) Unquoted string "to" may clash with future reserved word at -e line 61. Backslash found where operator expected at -e line 61, near "$fname\" (Missing operator before \?) Unquoted string "n" may clash with future reserved word at -e line 61. String found where operator expected at -e line 61, at end of line (Missing semicolon on previous line?) syntax error at -e line 60, near "unlink "$altpath" Can't find string terminator '"' anywhere before EOF at -e line 61. ls: /myth/pretty/*.mpg: No such file or directory
|
|
Top |
|
 |
ryanpatterson
|
Posted: Sun Oct 23, 2005 8:23 pm |
|
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
|
wififun wrote: mythlink.sh is not working here either.
Try substituting the following code for your mythlink.sh:
Code: #!/bin/sh
# mythlink.sh - Symlinks mythtv files to more readable version in /var/lib/mythtv/pretty # by Dale Gass
rm -f /tv/pretty/* echo "Done RM" mysql -uroot mythconverg -B --exec "select chanid,DATE_FORMAT(starttime,'%Y%m%d%H%i%s'),DATE_FORMAT(endtime,'%Y%m%d%H%i%s'),titl$ perl -w -e ' my $mythpath= "/myth/tv"; my $altpath= "/myth/pretty"; 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}_${end}.nuv"; do { print "Skipping $mythpath/$ofn\n"; next } unless -e "$mythpath/$ofn"; $start =~ /^..(..)(..)(..)(....)/; my $nfn = "$1-$2-$3-$4_${title}_${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"); symlink "$mythpath/$ofn", "$altpath/$nfn" or die "Failed to create symlink $altpath/$nfn: $!"; } ' /tmp/mythlink.$$ rm /tmp/mythlink.$$
I edited mythlink.sh.orig to make that it works preddy well for me.
|
|
Top |
|
 |
wififun
|
Posted: Sun Oct 23, 2005 10:02 pm |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
yea, the .orig file is what I ended up using. I wanted the updates from the new version, if I get time, I will work through it. By the way, the one you posted returned: Code: /usr/local/bin/mythlink.sh.orig: line 32: unexpected EOF while looking for matching `"' /usr/local/bin/mythlink.sh.orig: line 36: syntax error: unexpected end of file
|
|
Top |
|
 |
ryanpatterson
|
Posted: Mon Oct 24, 2005 7:53 am |
|
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
|
wififun wrote: yea, the .orig file is what I ended up using. I wanted the updates from the new version, if I get time, I will work through it. By the way, the one you posted returned: Code: /usr/local/bin/mythlink.sh.orig: line 32: unexpected EOF while looking for matching `"' /usr/local/bin/mythlink.sh.orig: line 36: syntax error: unexpected end of file
When you copy and paste be careful to not get any "fake" linefeeds. I think that error is because a line wrapped and it is missing the second `"`.
What is the new mythlink.sh suppost to do better? Sorry but whoever wrote that script did not produce very elegant code. Tons of lines are commented out with no explanation as to why. Is there more functionality that the .orig script doesn't support?
|
|
Top |
|
 |
declanh
|
Posted: Mon Oct 24, 2005 3:05 pm |
|
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
|
wififun wrote: declanh, the auto upgrade process will require you to make some of those tweaks. The nova t stuff I have know idea about, but many of your other items may be quick fixes. What I do before every upgrade is to image hda1 like Girkers sugested. Do this to a fille either on your myth partition or a second hard drive. Code: dd if=/dev/hda1 of=/mnt/hdb1/backups/r5a16.img bs=1024k Then you can upgrade and mount that image to access any custom scripts, or check your old system to reference config files. Code: mount -o loop /mnt/hdb1/backups/r5a16.img /mnt/backup If your upgrade gets hosed, and you decide you just don't want to do the work right now, boot off the CD, drop to a console and restore your old hda1 and reboot. Nothing gained nothing lost. Code: dd if=/mnt/hdb1/backups/r5a16.img of=/dev/hda1 bs=1024k Hope this help you upgrade a little more securely.
Many thanks for the tip Girkers,
Im not at all familar with the dd command - is this taking a disk image a la norton ghost?
Is this perferable to something like mondo
http://www.mondorescue.org/about/about.html
|
|
Top |
|
 |