<?xml version="1.0" encoding="UTF-8"?><MediaInfo xmlns="https://mediaarea.net/mediainfo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://mediaarea.net/mediainfo https://mediaarea.net/mediainfo/mediainfo_2_0.xsd" version="2.0"><creatingLibrary version="17.10" url="https://mediaarea.net/MediaInfo">MediaInfoLib</creatingLibrary><media ref="Path/To/my-clip330.mov"><track type="General"><VideoCount>1</VideoCount><AudioCount>1</AudioCount><FileExtension>mov</FileExtension><Format>MPEG-4</Format><CodecID>M4V </CodecID><FileSize>763395705</FileSize><Duration>632.500</Duration><OverallBitRate_Mode>VBR</OverallBitRate_Mode><OverallBitRate>9655598</OverallBitRate><FrameRate>24.000</FrameRate><FrameCount>15180</FrameCount><StreamSize>343786</StreamSize><HeaderSize>168</HeaderSize><DataSize>8</DataSize><FooterSize>763395529</FooterSize><IsStreamable>No</IsStreamable><Title>A Really good title</Title><Movie>A Really good title</Movie><Album>Really good Album</Album><Album_Performer>Good People</Album_Performer><Performer>George amp: Bungle</Performer><Genre>GenreA GenreB</Genre><Recorded_Date>2017-08-16</Recorded_Date><Rating>None</Rating><extra><Title_Sort>Really good Title - 02</Title_Sort></extra></track><track type="Video"><!--Removed as not needed --></track><track type="Audio"><!--Removed as not needed --></track></media></MediaInfo>
I was getting this from the dump
key = Movie
Movie = ARRAY(0x319e7f0)
so changed to
[code]
elsif($key =~ m/Track|Movie/i) {
print 'Movie = ', $file->{track}[0]{$key}[0]
$movie = $file->{track}[0]{$key}[0]
}
[/code]