View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 27 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Sep 13, 2007 8:28 pm 
Offline
Joined: Mon Jul 31, 2006 10:41 pm
Posts: 149
Human wrote:
The feature we're talking about is to copy video files that were burned to DVD or CD media, not a rip of a DVD or VCD. In any case, since it's no longer copying / to /myth/video, it looks like it's working.


OK, such as moving an avi to /myth/video. Got it. Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 8:39 pm 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
I believe that's the expected behavior. All this feature does is copy individual video files from optical media. Movie DVDs or VCDs won't work with this feature. Use whatever import function works legally in your country for that.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 1:38 am 
Offline
Joined: Sat Apr 08, 2006 7:27 am
Posts: 125
Human wrote:
Wow, the script is just this:
Code:
#!/bin/bash
cp -R `cat /proc/mounts |grep iso9660|awk '{print $2}'|tail -1`/* /myth/video/

As you can guess, if the expression evaluates to null, the command becomes
Code:
cp -R /* /myth/video/

Doh!

I don't know who wrote it, but I'll fix that up and add the fix to R5F27's live patcher.


thanks human. to clarify, the live patcher works only at install correct? or is there a way to run after install?

im presuming that it downloads patches from some server to correct any small issues that may develop between the creation of the release and the time the cd installed.. for example this little issue.

also.. is there a reason why the code shouldnt be modified to include usbdisks (like little pen drive type things) or other hot plugable things such as ipod etc ... (maybe that is a whole other plugin though.. .. usb keys should be fine?)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 8:31 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
stevetv wrote:
thanks human. to clarify, the live patcher works only at install correct? or is there a way to run after install?

It runs automatically during an installation or upgrade, but you can run it by hand, too: LivePatch.sh
stevetv wrote:
im presuming that it downloads patches from some server to correct any small issues that may develop between the creation of the release and the time the cd installed.. for example this little issue.

LivePatch.sh checks for a patcher.sh file on the KnoppMyth servers, and if it's different than any patcher.sh already on the disk, it'll download and run the different patcher.sh. Then patcher.sh does whatever is required of it, either patching individual files, doing system configuration changes, downloading alternate files, etc.
stevetv wrote:
also.. is there a reason why the code shouldnt be modified to include usbdisks (like little pen drive type things) or other hot plugable things such as ipod etc ... (maybe that is a whole other plugin though.. .. usb keys should be fine?)

That'd be a fine addition. Care to try it?

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 4:39 pm 
Offline
Joined: Sat Apr 08, 2006 7:27 am
Posts: 125
Human wrote:
That'd be a fine addition. Care to try it?


:D ... my comment sounded like a really dodge demand didn't it ..everyone love people like that...after i wrote that i felt like a bit of idiot. so my bad. yep ill see if i can get the usbkey to work.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 08, 2007 10:43 pm 
Offline
Joined: Sat Apr 22, 2006 9:29 am
Posts: 30
What is the best command to clean all of it up once it has been copied over?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 09, 2007 8:18 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
What specifically do you want to address?

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 09, 2007 5:55 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Human wrote:
I don't know who wrote it, but I'll fix that up and add the fix to R5F27's live patcher.


It was me, Human. I will fix it up in a little while.

Mike

EDIT: Fixed. Here is the corrected version of /usr/local/bin/importfiles.sh:
Code:
#!/bin/bash
DISC=`cat /proc/mounts |grep iso9660|awk '{print $2}'|tail -1`
if [ -n "$DISC" ]
then
    echo "cp -R $DISC/* /myth/video/"
fi

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 10, 2007 7:36 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
This fix has already been applied and is in R5F27's patcher. My version adds OSD status text: ftp://ftp.knoppmyth.net/R5/R5F27/importfiles.sh

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 10, 2007 4:07 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Human wrote:
This fix has already been applied and is in R5F27's patcher. My version adds OSD status text: ftp://ftp.knoppmyth.net/R5/R5F27/importfiles.sh


Nice one. Thanks.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 10, 2007 6:16 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Iceweasel can't find the server at ftp.knoppmyth.net. :(

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 10, 2007 7:26 pm 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
I get a DNS lookup failure on it or just plain knoppmyth.net. That can't be good.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu