Little update. The Tvix plugin author has been seriously hard at work. I have updated my "post" script to work with his latest 1.0 beta 3. I know that my origanization and hosting schema is a bit much for most people, but it works for me, so I include all of it here. It can easily be pared down to accomadate just about any level of organization or media hosting structure. Also, the menu generation routine will create a menu that should work on both the Dune and Tvix
. About all folder generation (menu and hosting), the plugin has some capabilities for sub folder genearation that I have not played around with yet, so a good portion of this script may be obsolete once I figure out how best to leverage that new feature, I don't know
. Also, for the menu there still needs to be a little manual intervention in the form of icons for the various genre folders, etc. Since they only need to be done once, I didn't feel it necessary to automate them, but I do automate creating the genre folders, in case a new genre ever gets added to DVDP, then the folder would get created, and populated, with at leats a default dune_folder.txt file.
The script will be first, followed by the contents of the 4 dune_folder files.
Here are the settings I use (needed) to use all of the functions of the script :
Image Processor tab
Checked Generate folder image
Checked Generate background image
Unchecked Generate background image with folder source for name ** This would require a change to the post script to accomdate, but is possible if really desired.
Checked Convert image to AAI format (Dune Player)
Unchecked Delete original source (JPEG file) ** Only need to leave unchecked if 1. You want to use the menu generation portion or 2. you have a Tvix also
External procesor tab
Select Step : DVD_POST_PROCESS from the pull down menu
Checked External processor enable
Input data:
Checked Write in arguements
Unchecked Write in text file ** May not matter, I haven't played around with it much. But I left it unchecked in my testing.
Select Fields (you can get these, and their order, from the remarks in the header of the script below
One note is that I really like being able to reorder the data elements being sent to the post script. It really makes it alot easier to add/remove data elements
Output data
I left both unchecked -- haven't experimented with these that much yet. Will do later when I get the time to see what they might offer in terms of functionality and flexibility
------------ SCRIPT START ------------
@echo off
rem %1 = Configuration.OutputDirectory
rem %2 = Film.FormatedGenres
rem %3 = Film.Discs[0].Location
rem %4 = Film.Discs[0].Slot
rem %5 = ProcessDvdFolderName
rem %6 = Film.MediaBluRay
rem %7 = Film.MediaDVD
rem %8 = Film.MediaHDDVD
set configdir=%1
set genres=%2
set location=%3
set slot=%4
set title=%5
set isbluray=%6
set isdvd=%7
set ishddvd=%8
Rem Clean up any / in the genres, which would be invalid for a directory name, and get them ready to be parsed
set genres=%genres:/=%
set genres=%genres: =%
set genres=%genres:,= %
set ORIGDIR=%configdir%\%title%
set BASEDIR="%configdir%\.."
echo Processing %title% ...
if %isbluray%=="True" goto BDFOLDERS
if %slot%=="KidsSeries" goto KIDSSERIES
if %slot%=="KidsMovies" goto KIDSMOVIES
if %slot%=="Series" goto SERIES
if %slot%=="Movies" goto MOVIES
if %slot%=="Asian" goto ASIAN
rem something to pick up any that didn't have a type set
goto DEFAULT
:KIDSMOVIES
set DIR=%BASEDIR%\KidsMovies\%title%
goto MAKE_FOLDERS
:KIDSSERIES
set DIR=%BASEDIR%\Kids\%title%
goto MAKE_FOLDERS
:MOVIES
set DIR=%BASEDIR%\Kids\Movies\%title%
goto MAKE_FOLDERS
:SERIES
set DIR=%BASEDIR%\Series\%title%
goto MAKE_FOLDERS
:ASIAN
set DIR=%BASEDIR%\Asian\%title%
goto MAKE_FOLDERS
:DEFAULT
set DIR=%BASEDIR%\Unsorted\%title%
goto MAKE_FOLDERS
:BDFOLDERS
set BD_BASEDIR=%BASEDIR%\Bluray
set BD_PARENT_DIR=%BD_BASEDIR%\%location%
set DIR=%BD_PARENT_DIR%\%title%
set MENU_DIR=%BASEDIR%\Menu
set MENU_ALL_DIR=%MENU_DIR%\All\%title%
set MENU_HARDDRIVE_DIR=%MENU_DIR%\HardDrives\%location%
set MENU_HD_BD_DIR=%MENU_HARDDRIVE_DIR%\%title%
if exist %BD_PARENT_DIR% goto BD_EXISTS
mkdir %BD_PARENT_DIR%
copy %BASEDIR%\.bluray.aai %BD_PARENT_DIR%\.bluray.aai
copy %BASEDIR%\dune_folder_bd_parent.txt %BD_PARENT_DIR%\dune_folder.txt
:BD_EXISTS
if exist %MENU_HARDDRIVE_DIR% goto HD_EXISTS
mkdir %MENU_HARDDRIVE_DIR%
copy %BASEDIR%\dune_folder_menu_base.txt %MENU_HARDDRIVE_DIR%\dune_folder.txt
:HD_EXISTS
mkdir %MENU_ALL_DIR%
copy %ORIGDIR%\*.jpg %MENU_ALL_DIR%\
copy %ORIGDIR%\folder.aai %MENU_ALL_DIR%\.folder.aai
copy %BASEDIR%\dune_folder_menu.txt %MENU_ALL_DIR%\dune_folder.txt
xcopy /E /Q /Y /I %MENU_ALL_DIR% %MENU_HD_BD_DIR%
if %genres%=="" goto NOGENRES
for /f "useback tokens=*" %%a in ('%genres%') do set genres=%%~a
for %%A in (%genres%) do call :MAKE_MENU_GENRES %%A
:NOGENRES
:MAKE_FOLDERS
mkdir %DIR%
copy %BASEDIR%\dune_folder_default.txt %DIR%\dune_folder.txt
copy %ORIGDIR%\TViX.aai %DIR%\.dune.aai
copy %ORIGDIR%\folder.aai %DIR%\.folder.aai
goto END
:MAKE_MENU_GENRES
set GENRE_DIR=%MENU_DIR%\%*
set BD_DIR_BYGENRE=%GENRE_DIR%\%title%
if exist %GENRE_DIR% goto GENRE_EXISTS
mkdir %GENRE_DIR%
copy %BASEDIR%\dune_folder_menu_base.txt %GENRE_DIR%\dune_folder.txt
:GENRE_EXISTS
xcopy /E /Q /Y /I %MENU_ALL_DIR% %BD_DIR_BYGENRE%
goto :EOF
:END
------------- SCRIPT END -------------
Some of these have defautl values in them. I had put the parameters in so that I could tweak/adjust them, but some I haven't gotten around to yet. Naturally alot of these are open to adjustement for personal preference.
dune_folder_bd_parent.txt
icon_path = .bluray.aai
icon_dx = 0
icon_dy = 0
icon_valign = Center
use_icon_view = yes
num_cols = 5
num_rows = 3
icon_top = 15
text_bottom = 0
dune_folder_default.txt
icon_path = .folder.aai
background_path = .dune.aai
background_width = 1920
background_height = 1080
icon_dx = 0
icon_dy = 0
icon_valign = Center
use_icon_view = yes
num_cols = 5
num_rows = 1
icon_top = 0
dune_folder_menu.txt
icon_path = .folder.aai
media_url = TViX.jpg
icon_dx = 0
icon_dy = 0
icon_valign = Center
use_icon_view = yes
dune_folder_menu_base.txt
icon_path = .folder.aai
icon_dx = 0
icon_dy = 0
icon_valign = Center
use_icon_view = yes
num_cols = 5
num_rows = 3
icon_top = 20
icon_bottom = 20
text_bottom = 0
.bluray.aai is an icon I got from the TViX backgrounds/icon thread over at MPC (and of course converted to aai).
I will post some notes about my organization strucutre a little later, but one note first. I use 5 character identifiers in the Disc Location (on the personal information tab of the profile) to keep track of what hard drive I have each disc image on. IE: SAM01, SAM02, WD001, WD002, etc (for Samsung and Western Digital drives), but anything will do. I also use the slot to indicate media type, such as series, foreign (mainly Asian, Japanese, Chinese, Korean and Thai), Kids, etc. I may rework that to do it all with genres, but for now the easiest was to just use "tags" in the slot field.