View Single Post
  #23 (permalink)  
Old 10-05-2007, 12:28 PM
mersh mersh is offline
Senior Member
 
Join Date: May 2007
Posts: 396
Send a message via ICQ to mersh
Default Spaces in video name causing problems

I'm seeing a strange behavior in the upgrade:

I uploaded two different videos, one flv and one wmv, and both failed.

The debug.txt showed that in both cases, when the program uploaded videos with spaces in their names, it replaced the spaces with dashes, which I think is a great idea since Linux seems to hate spaces in file names. But when it goes to convert the video, it references by the original file name with the spaces, not the new name with the dashes, causing a "file not found" failure:

Case 1:
Original file on my hard drive: 15dec2006-per2 interview.flv
File as uploaded to the vshare "video" folder: 15dec2006-per2-interview.flv (note that the dash between "2" and "interview" was not in the original file)
File in the "debug.txt":
2007-10-04 19:11:34 File: /home/whahocke/public_html/video/15dec2006-per2 interview.flv
2007-10-04 19:11:34 ERROR: file not found.

Case 2:
Original file on my hard drive: Spurs Xmas1.wmv
File as uploaded to the vshare "video" folder: Spurs-Xmas1.wmv (note dash added between "Spurs" and "Xmas")
File in the "debug.txt":
2007-10-05 5:18:44 File: /home/whahocke/public_html/video/Spurs Xmas1.wmv
2007-10-05 5:18:44 ERROR: file not found.

I'm going to rename the files without dashes, and report back, but thought that you should see this.

By the way some AWESOME AWESOME improvements in the last update, especially in the way things are worded in the templates and all over the program. You should really give yourself a pat on the back, admin, because you are doing a great job on this script. It BLOWS AWAY any cheap or expensive bullshit script I've seen anywhere else.
__________________
http://RetroFlick.com
Reply With Quote