Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Plugins Page: 1 2  Previous   Next
HDI Dune plugin
Author Message
DVD Profiler Unlimited RegistrantSparkss
Registered: May 27, 2009
Posts: 50
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
You are using it and don't know what we are talking about ?

Are you using the latest TviX plugin ? For making dune icons/backgrounds ? or just Tvix ones ?
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,461
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting Sparkss:
Quote:
You are using it and don't know what we are talking about ?

Are you using the latest TviX plugin ? For making dune icons/backgrounds ? or just Tvix ones ?

@Sparkss, I think he was saying he wants to use it, but maybe is not familiar with the process you are using. Edwink is great person to have on your team, with good ideas and good feedback ... cut him a whole buncha slack. 
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Unlimited RegistrantSparkss
Registered: May 27, 2009
Posts: 50
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I apologize if my post came off harsh. That was not my intent at all. In fact my quesitons were really geared towards benig able to figure out where he is "in the process" and where he wants to get to, that way I could better assist him in getting there .

My first line was more a quip (definitely was not meant as a jab). The following line of questions was a first stab at collecting information to be able to proceed from there. I sometimes come across as abrupt, call it my techy background and coding mindset (just the facts, sort of). Sorry for that  .

So, let me try this again :

So that I can better figure out what advice to offer, I just need to know a few things

1. Do you own a Dune (Prime, Base, Center, etc) ?
2. Do you own a TviX (6500a/7000a) ?
3. Are you trying to create icons and/or backgrounds for either one ?
4. What have you tried so far ? What worked as you wanted it to ? and what didn't (and why) ?

There is alot more ground that can be covered, but for now we can go from there .
DVD Profiler Unlimited RegistrantSparkss
Registered: May 27, 2009
Posts: 50
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Just for clarification, This "after" script is for organzing the output of the awesome TViX plugin (that has been updated to now be a TViX and Dune pluging). My script will leverage the capabilities of that plugin to organize the icon/media folders and prepare them for hosting and streaming to a Dune player. The TViX and Dune are media streamers for those of us who like to keep our originals safely stored and to watch our videos like a jukebox, selecting which ones from a menu and starting playback w/o ever leaving our seats . You do not need my after script, you can use the plugin natively and just add your own dune_folder.txt file (no such need for using the icon browsing on a TViX).

That aside, here is the promised, and seriously late, update, to use genres for categorizing DVDs. It is a small change, so I am only going to post the additions

Change this block (only added 2 "Set" lines and changed 3 "if" lines, but to frame the changes better I included the whole block):

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


To look like this :

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%\.."
set family=%genres:*Family=True&rem.%
set television=%genres:*Television=True&rem.%

echo Processing %title% ...
if %isbluray%=="True" goto BDFOLDERS
if %family%==True if %television%==True goto KIDSSERIES
if %family%==True if not %television%==True goto KIDSMOVIES
if %television%==True goto SERIES
if %slot%=="Movies" goto MOVIES
if %slot%=="Asian" goto ASIAN


You can add any genres you want by adding another variable and set line followed up with another catgetegory block. For example, if you wanted to add a separate folder for Documentaries, you would add this up in teh set sections

set documentary=%genres:*Documentary=True&rem.%

then follow it up with a check for it in the if statement block :

if %documentary%==True goto DOCUMENTARIES

and add a new category block for organizing, or use an existing one if you want (match the name with the goto in the "if" line.

:DOCUMENTARIES
set DIR=%BASEDIR%\Documentaries\%title%
goto MAKE_FOLDERS


If you put the "if" statement above the if that checks for Bluray, then all Documentaries will go into the folder you specify, if you put it below, then the BDs will go into the Bluray folder and the rest will go into the one you specify.

Hope that is clear enough, if not just post a request and tell me the sorting behavior and folder you want and I will post the code changed needed.


P.S. Sorry I am late in posting this, it took me a bit longer than anticipated to figure out how to pull the needed data from the genres. I keep whining about wanting to do this in PERL, or even VBS, but it is interesting to learn about the capabilities of DOS/Batch.
 Last edited: by Sparkss
DVD Profiler Unlimited RegistrantSparkss
Registered: May 27, 2009
Posts: 50
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
ok, because I just can't leave well enough alone, here is another, more complete, update. I added the parsing of foreign discs (by setting my language then comparing the first audio track to see if they match or not). I also added the Foreign genre to the DB Menu using the same logic. For general movies (non-BD, non-kids/family and non-foreign) I grouped any w/ a genre into this category, and everything else goes into unsorted. Feel free to edit to your preference.


@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
rem %9 = Film.AudioTracks[0].Content
set configdir=%1
set genres=%2
set location=%3
set slot=%4
set title=%5
set isbluray=%6
set isdvd=%7
set ishddvd=%8
set audio=%9
rem Clean up any / in the genres, which would be invalid for a directory name, strip the surrounding quotes and get them ready to be parsed
set genres=%genres:/=%
set genres=%genres: =%
set genres=%genres:,= %
for /f "useback tokens=*" %%a in ('%genres%') do set genres=%%~a
set ORIGDIR=%configdir%\%title%
set BASEDIR="%configdir%\.."
set MYLANG="English"
set family=%genres:*Family=True&rem.%
set television=%genres:*Television=True&rem.%
set foreign=False
if %MYLANG% neq %audio% set foreign=True
rem If there is no lanuage track set, it will report None, which will always not match. If None then assume that it is not a foreign movie
if %MYLANG%=="None" set foreign=False


echo Processing %title% ...
if %isbluray%=="True" goto BDFOLDERS
if "%family%"=="True" if "%television%"=="True" goto KIDSSERIES
if "%family%"=="True" if "%television%" neq "True" goto KIDSMOVIES
if "%television%"=="True" goto SERIES
if %foreign%==True goto FOREIGN
if "%genres%" neq "" goto MOVIES

rem something to pick up any that didn't have a genre 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

:FOREIGN
set DIR=%BASEDIR%\Foreign\%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%
rem Add a genre for foreign films
if %foreign%==True set genres=%genres% Foreign

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 %%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
 Last edited: by Sparkss
DVD Profiler Unlimited RegistrantJimBruce
Registered: November 7, 2007
Posts: 7
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Hello Gents...

I've read through your posts, and to be frank, I believe that you are talking about the ability to visualize sleeves and more by using the Dune player...

Well that's exactly what I'm looking to do, especially as I already have DVD Profiler and as such this will avoid the duplication of another tool to get the Dune player doing what I would like it too...

However I'm a basic... sorry, real basic user, and have no clue about scripts etc, and hence although your posts seem really full of usefull information, they may as well have been written in double Dutch. None of it means anything to me...

What I would like would be some simple explanation on how to make your scripts work, what files need to be modified if any... Or have any of you been really clever and created a little package that I can just download and everything will work... OK, so maybe a bit hopeful, but if you don't ask...

Thanks for any suggestions

Jim
DVD Profiler Unlimited RegistrantSparkss
Registered: May 27, 2009
Posts: 50
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
First get the latest version of this awesome plugin from the authors site (the latest supports DVDP 3.6).

Then you really don't need my scripts for anything, not for the most basic use of the plugin. It is used for creating cover art/icons for what is referred to in media player world as Icon Browsing. The TViX and Dune support a native file based icon mode (non- xml/html/flash, like a few of the NMTs use). To get a good idea of icon browsing head over to MPC Club and check out the media player artwork forum.

To use the plugin just create the icons for your selected Discs and then copy those files to the drive you use to hold the media that the player will be playing. Then copy an appropriate dune_foler.txt into each directory. Much more about that can be found in the HDI/Dune forum on MPC (as well as some more generic info in the artwork forum previously mentioned). There is also a "how-to" on the dune firmware site for the dune_folder.txt. I would recommend becoming familiar with it. Any questions about the .txt file are more appriate over on MPC. Post any questions about it and I (and many others) will answer them over there . I will be happy to answer any questions about the plugin here, or on the plugin home forum (where the author frequents mostly).

Then we can work on sussing out the automation to copy the right file into each of your media dirs based on the content, but first you really need to understand what you want to go where, before we try to setup any automation/scripts.
    Invelos Forums->DVD Profiler: Plugins Page: 1 2  Previous   Next