tovid-suite / tovid

Suite of tools for DVD authoring
http://tovid.wikia.com/wiki/Tovid_Wiki
GNU General Public License v2.0
7 stars 4 forks source link

Issue with '$' character in filenames #53

Open tovid-suite opened 9 years ago

tovid-suite commented 9 years ago

From j.pei...@gmail.com on May 09, 2008 19:03:13

tovid has an issue while trying to encode files that include the $ character in filenames.

Basically, the eval command leaves double quotes in the command, which preserves the special meaning of $

I am currently running tovid version svn- r2475 Relevant output of tovid.log: MPlayer 1.0rc2-4.3.0 (C) 2000-2007 MPlayer Team CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-56 (Family: 15, Model: 104, Stepping: 1) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. 115 audio & 237 video codecs mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /home/jackson/music/Space Ghost C2C/Space Ghost C2C - 23 - 0.01.avi. File not found: '/home/jackson/music/Space Ghost C2C/Space Ghost C2C - 23 - 0.01.avi' Failed to open /home/jackson/music/Space Ghost C2C/Space Ghost C2C - 23 - 0.01.avi. BENCHMARKs: VC: 0.000s VO: 0.000s A: 0.000s Sys:1166.554s = 1166.554s BENCHMARK%: VC: 0.0000% VO: 0.0000% A: 0.0000% Sys:100.0000% = 100.0000% Exiting... (End of file) [tovid]: Encode stopped, killing all sub processes [tovid]: Keeping temporary files used during encoding in /home/jackson/music/Space Ghost C2C/Episode23.2 [tovid]: tovid encountered an error during encoding: [tovid]: Couldn't create file: "/home/jackson/music/Space Ghost C2C/Episode23.2/video.m2v"

Original issue: http://code.google.com/p/tovid/issues/detail?id=51

tovid-suite commented 9 years ago

From j.pei...@gmail.com on May 09, 2008 18:25:45

Oops, forgot to note, original file was named 'Space Ghost C2c - 23 - $20.01.avi'

tovid-suite commented 9 years ago

From eat31415...@aim.com on July 23, 2008 15:13:30

I've just run into this issue myself.

I am using version svn- r2544 .

In my case, the filename contained "$$".

tovid-suite commented 9 years ago

From wapcaplet88 on December 31, 2009 13:06:24

Confirmed; filenames with $ or $$, when immediately followed by a number, cannot be encoded by tovid. This is yet another bad side-effect of tovid being written in shell script. I can't think of an easy solution, but the workaround is easy--just rename the file. Hopefully some day, when tovid is fully Python-based, problems like this will go away. Leaving open in case someone wants to submit a patch to the shell script.

Status: Accepted
Owner: wapcaplet88
Labels: -Priority-Medium Priority-Low