[mythtv-users] ragetvgrab-0.4.pl - what am I doing wrong?

Nick Rout nick at rout.co.nz
Sun Apr 22 05:26:05 UTC 2007


I run the following:

mythtv at media:~/rage$ perl  ragetvgrab-0.4.pl -d -v -F 
/myth/video/local/movies/battlestar/battlestar.galactica.01x02.Water.avi -l

And all goes well, except that the symlink created in /myth/tv is wrong, 
here is the relevant output:

(V1) SymLink Mode On
(V1) Input filename: 
/myth/video/local/movies/battlestar/battlestar.galactica.01x02.Water.avi
(V1) Folder: /myth/video/local/movies/battlestar/
(V1) Filename: battlestar.galactica.01x02.Water.avi
(V1) Symlink in : 
/myth/video/local/movies/battlestar/battlestar.galactica.01x02.Water.avi, 
/home/mythtv/rage//myth/video/local/movies/battlestar/battlestar.galactica.01x02.Water.avi, 
/myth/tv/battlestar.galactica.01x02.Water.avi

As you can see the link is to 
/home/mythtv/rage//myth/video/local/movies/[etc] - it prepends the 
directory where I ran the command from (/home/mythtv/rage) to the linked 
name, leading to an obvious error.

So am I running it wrong, or is it a bug? Thanks in advance

PS if I run the script from / then I get the expected result.


More information about the mythtv-users mailing list