dvd::rip can't find imagemagick because of conflicting script name

jagerhans <[email protected]> Sun, 22 Nov 2009 15:34:55 +0100
Newsgroups gmane.comp.video.dvdrip.user
Message-ID <[email protected]>
solved: i issued as you suggested the command
$ convert -version
and returned a very puzzling output:
file-5.03
magic file from /etc/magic:/usr/share/misc/magic
--version is not Flash Video. Skipping

which was pretty unexpected.

so i did a 'which convert' and i found out i was executing :

/home/hipsterical/bin/convert

, a bash script for the conversion of video .flv files. i can't recall 
whether it was a script of mine (most likely option since it is into a 
non standard directory in PATH) or if it was dropped in place by some 
utility like the flv video converter for firefox. whatever.

anyway, since the version test method is weak i'd suggest to mod the 
code so that the program convert is looked for in standard locations, 
first /usr/bin, /usr/local/bin and then if it's found elsewhere dvdrip 
checks to see if it's binary, if i had to do that in bash i'd probably
do a crude $  file `which convert`| grep ELF || echo 1 . in what file of 
the source tree the check takes place? thanks a lot for the help