Extreme Movie Manager to XLOBBY

title says it all

Extreme Movie Manager to XLOBBY

Postby mkaylor on Tue Aug 05, 2003 11:06 pm

I use Extreme Movie Manager http://www.binaryworks.it/extrememoviemanager/ instead of DVD Profiler. It has a lot more features, it's cheaper and tracks DiVX and XViD movies.

Here's what I did to get my movie list out of Extreme Movie Manager and into XLOBBY.


1. Export your movie list Genre | Movie Title as a char delimeted text file. Don't use comma's because some movies have comma's in the name. Call this file movies.txt

2. Do you have perl installed?? If not, install it.

3. Modify this perl script to the correct directories. Thanks, Shanman!!


my $moviedir = "M:/xlobby/movies/";

open (FL, "movies.txt") or die "Can't find movies.txt: $!";
chdir $moviedir;

while (defined ($movie = <FL>))
{
chomp($movie);
$movie =~ s/\://g; # Can't have colon's in dir/file names
$movie =~ s/\//\ - \ /g; # Can't have "/" in dir/file names
my ($gen,$mov) = split (/\|/,$movie);
#print "Looking at $mov\n";
if (!(-d "$moviedir/$gen/$mov")) {
print "Movie $mov in genre:$gen doesn't exist...creating\n";
mkdir ("$moviedir/$gen"); # Try to create genre dir JIC
mkdir ("$moviedir/$gen/$mov");
open (TST,">$moviedir/$gen/$mov/blank.avi");
close (TST);
}
}


This file creates a genre directory and then the movie directories below it. It then creates a blank 0 Byte AVI file so XLOBBY will make covers.

Thats it. Thanks for a great program!!!

Mike
mkaylor
 
Posts: 13
Joined: Mon Aug 04, 2003 12:46 pm