2010-12-28, 19:57
I understand that, I am just wondering if there is a way to get the mythicalLibrarian to transcode with 0.23?
Here is my JobSucessful file.
Here is my JobSucessful file.
PHP Code:
#Run a transcoding program on the file
ffmpeg -i "$MoveDir/$ShowFileName.$originalext" -f avi -vcodec mpeg4 -b 800k -g 300 -bf 2 "$MoveDir/$ShowFileName.mp4"
#Write the new file extension over the old extension for logging
originalext=mp4
#Run logging for the new file extension so mythicalLibrarian can keep track of files it created.
performLoggingForMoveMode #or performLoggingForLinkMode
#remove the mythicalLibrarian symlink
rm "$InputPath"
#make a new symlink
ln -s "$MoveDir/$ShowFileName.originalext" "$InputPath"
#Enable XBMC Communications which were disabled so mythicalLibrarian did not communicate when the command was called before
XBMCUpdate=Enabled
XBMCClean=Enabled
XBMCNotify=Enabled
#Tell mythicalLibrarian to send a message to XBMC and update the library
XBMCAutomate
#Don't exit, just let mythicalLibrarian take back over.