YAMJ cmd

YAMJ is a great program for presenting your media when streaming to your TV. I have setup another little batch file to rescan my media libraries after i have added new content so it can scrape the fanart and movie/tv info for the episodes/films. I can run this script remotely as described earlier

I tweaked the standard My_YAMJ.cmd to scan more than 1 library at a time, even if they are stored on different drives – see the syntax below

@Echo OFF
C:
CD \YAMJ
CALL moviejukebox My_Library.xml -o “G:\ServerFolders\Videos”
CALL moviejukebox My_LibraryTV.xml -o “F:\ServerFolders\Recorded TV”
CALL moviejukebox My_LibraryKIDSmovies.xml -o “G:\ServerFolders\kidsmovies”
exit

oops – forgot to include the syntax for .xml files above – i’ve bolded the related lines

<!– Library file generated by Omertron’s GUI Config –>
<!– YAMJ GUI Config v0.51 –>
<!– http://mediaplayersite.com/YAMJ_GUI_Config –>

<libraries>

<library>
<path>F:\ServerFolders\Recorded TV</path>
<playerpath>file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/vail tv/</playerpath>
<exclude name=”sample,tmp/,temp/,RECYCLER/,RECYCLE.BIN/”/>
<description></description>
<prebuf></prebuf>
<scrapeLibrary>true</scrapeLibrary>
</library>

</libraries>

it is a bit fiddly to get the paths correct, but is worth persevering 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *