Piwigo / piwigo-videojs

Videojs port for piwigo. Play your videos on your web gallery!
http://piwigo.org/ext/extension_view.php?eid=610
GNU General Public License v3.0
67 stars 46 forks source link

XML library is missing to use mediainfo #208

Closed Rneil-ca closed 1 year ago

Rneil-ca commented 1 year ago

Recently upgraded Piwigo from version 12 to 13, lost all my videos in the database when doing this upgrade. Now if I try and sync a director I get the following Warning no matter what I select and it does not see any videos.:

XML library is missing to use mediainfo

I am currently running Piwigo 13.7.0 and I am running the the latest Piwigo-videojs from Git. Also running latest MediaInfo: MediaInfoLib - v21.09

Not sure what to do to fix this, but I have a large database and dont want to mess it all up.

Ryan

xbgmsharp commented 1 year ago

From the code, it seem you are missing the php-xml library. the code use the function SimpleXMLElement to parse the XML file. https://github.com/Piwigo/piwigo-videojs/blob/7c4a2186b773a57f7904298ea479cf55e3266691/include/function_dependencies.php#L35

Rneil-ca commented 1 year ago

Thank you, that fixed it, can't believe I missed that.

Really appreciate your help.

Ryan