LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2005, 02:56 PM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
AcidRip , I would like to hack it a little


First off, I would like to say it is a wonderful program(as is). I really like the feature of exporting the queqe as a shell script. Someday , I would hope to write something so good(my current programmings skills are a little weak)

I would like to change the progam in this fashion. I currently rip my dvds to my harddrive with another program, then use AcipRip to encode them to mpeg4. I currently have this line in my .acidriprc
Code:
dvd_device = /home/shane/videos/$DIR/VIDEO_TS
the $DIR is not a varibable, but more of a marker for me. when I start acidrip, I then replace $DIR with the directory(which is also the title) of my dvd. So I only have to make minimal changes before encoding.

the value that I add to "track title"(title of my movie) gets set to %T, which is then used for the expansion of "filename" example /home/shane/movies/%T

if I set my "track title" to "killbill_vol1" I will get this expansion for my "filename"
Code:
/home/shane/movies/killbill_vol1
is there a way to get that same variable to expand in dvd_device like the following
Code:
 dvd_device = /home/shane/samba/videos/%T/VIDEO_TS
so this would expand to
Code:
dvd_device = /home/shane/samba/videos/killbill_vol1/VIDEO_TS
if this could be accomplished, I would only have to set one parameter when encoding a movie, the parameter of "Track Title"

I am not sure how involved of a process this would be, but would appreciate any direction. I have some experience with bash and python, but none with perl.
 
Old 07-28-2005, 03:04 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Isn't acidrip written by acid_kewpie? (Aka, one of the mods here) Perhaps that trick already exists and he knows how to do it. I took a glance at the code, but I haven't worked with perl in a few years, so I'll be honest and admit that I couldn't find anything.
 
Old 07-28-2005, 03:06 PM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Matir
Isn't acidrip written by acid_kewpie?
that why I posted here, Having designed the program, he would know best how to change it :-)

Last edited by shanenin; 07-28-2005 at 03:09 PM.
 
Old 07-28-2005, 03:12 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
It would probably be worth your while emailling him, he may not see this thread.
 
Old 07-28-2005, 03:15 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You know, that makes me think of something... my biggest problem in software dev is that, despite wanting to create programs, I can never come up with good original ideas. *sigh*
 
Old 07-28-2005, 03:45 PM   #6
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
sorry my original question ws kind of a mess. Below is a much cleaner question

I would like to use the %T varibale in dvd_device llike this

below is from .acidriprc
Code:
dvd_device = /home/shane/samba/videos/%T/VIDEO_TS
filename = /home/shane/movies/%T
as is %T does not expand in that situation. Would it be possible to get varaible expnasion in the dvd_device variable?

Last edited by shanenin; 07-28-2005 at 11:23 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Acidrip-Help. mandr Linux - Software 3 06-23-2009 12:17 AM
AcidRip joel112 Linux - Software 3 11-03-2004 05:47 PM
acidrip!! king_nothingzzz Linux - Software 3 09-25-2004 05:27 AM
Acidrip cyrille Linux - Software 7 02-04-2003 02:28 PM
AcidRip kejar31 Linux - Newbie 22 12-20-2002 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration