getID3 windows helper apps in directory with spaces

The place for "I can't figure out how to..." questions.
Post Reply
paulm
User
Posts: 1
Joined: Thu Nov 29, 2007 10:42 pm

getID3 windows helper apps in directory with spaces

Post by paulm » Thu Nov 29, 2007 10:48 pm

So I managed to get the program working properly in a path with spaces in it on windows. I did this like so:
$helperappsdir = 'full8.3path'.'\\';
define('GETID3_HELPERAPPSDIR', $helperappsdir);
before including getid3.php

this bypasses the realpath section of the phpcode, which destroys the 8.3 filename (at least in php 5.2.1).

Then I had to modify getid3.lib.php on line 627 to remove the double quotes that are there (for some reason causing problems).

Other than those two things, it works well now.

Thought I'd share, in case anyone else is having the same problem.

Post Reply