My buddy Bitwize has written a Perl script for me and asked that I share it with the community. Hitcher and fekker beat us to the punch, but their program is Windows-only and seems to have some issues with libraries that don't separate each movie in a separate subdirectory. Here is a Perl script that should be cross-platform (Windows, Linux, Mac) to accomplish the same thing and work regardless of your library's file/directory structure.
aeon_embiggen.pl will now only require a path to your parent video directory and do the following:
- Recursively search for all video file types that XBMC recognizes
- Search for appropriately named ".tbn" files in the same location as any found video files
- Copy the ".tbn" file to a new "-big.png" file.
You can merely run the script to have it prompt you to enter the path of the video library, or pass the file list as an argument.
Script Download and Prerequisites
You must have a Perl interpreter installed to run this script. Ubuntu Linux and Mac OSX should already have one by default, but Windows machines will require an installation. I recommend ActivePerl.
[*]Double-click aeon_enbiggen.pl (or right-click and open with ActivePerl)
[*]The script will prompt you for a file path; if the script is in the video library directory yourself then you can just type a period and press Enter, otherwise you will need to type the full path to the video library
[*]The script will scan and output all of its findings while performing the copies
[*]Open up a command prompt (Start->Run, type cmd, hit enter)
[*]Navigate to the location where you saved the script
[*]Run the following command if the script is in the video library directory:
perl aeon_embiggen.pl .
Run the following command if the script is elsewhere:
Quote:perl aeon_embiggen.pl PATHwhere PATH is the full path to the video library directory
Check to see if the new png files have been created and named correctly.
Ubuntu Linux Guide
*Script now fixed*
- Start the Terminal from Applications->Accessories->Terminal and cd to where you saved the script
- Run the script with the following command:Code:
perl aeon_embiggen.pl PATH
Check to make sure the new thumbnails were created successfully.
Please post any bugs or suggestions.