Reading .IFO files?

by yooakim at 2012-11-13 09:32:42

I’ve been searching for a PowerShell cmdlet that can read the information in an IFO file (off a DVD) and make a sensible object out of that.

it would make Life a lot easier as I am now converting some 500+ DVDs into MPEG files.

So my question is; Has anyone seen any PowerShell tools to read and parse IFO files

Any suggestions?
by MattG at 2012-11-13 12:09:38
I have never seen such a PowerShell script and I would bet a small amount of money that one does not exist. That’s not to say that it can’t be done. PowerShell has all the features necessary to parse any file format. I would argue that nearly any file format can be read and parsed in PowerShell with the following:

1) Get-Content -Encoding Byte
2) Array notation: i.e. $Bytes[3…0]
3) Custom objects (PSObject)

Using the specification I found here you could certainly accomplish the task.
by willsteele at 2012-11-20 22:38:13
I came across the same link Matt located: What exactly is it you are trying to do? Get the names? Dates? Actors? Lengths? If there was something specific you needed help with folks would probably be more able to provide starting scripts from which you could pattern a solution.