2009-05-11, 22:50
jondr13 Wrote:I know XBMC will play ISO files without the use of an external player right? Does the inner workings of XBMC mount the ISO file to a virtual XBMC drive to play that ISO?No.
plight Wrote:I have been writing batch files for a while now but I am having a bit of a problem. I dont know how to pass the variable that XBMC uses for the ISO name to the batch file.
You don't pass anything to the batch file, the batch files is your externalplayer, XBMC will pass the URL of the media you're playing to the batch file where it'll be %1 if you have no other args defined.
plight Wrote:I dont think it is a matter of creating a different function for every image mounting program out there. All you would really need is a single function in the advancedsettings file to put the path of your mounting program along with any arguments. Then it could automatically mount and then launch the external player that is specified.
Im sure it is not as cut and dry as that as my greatest programming achievement is a pong game in which only one paddle moved.
What you asking is for XBMC to invoke program A (your mounting program) followed by program B (your player) probably followed by program C (your unmounting program). That's very much what batch files are for and something XBMC doesn't need to do.