Closed tomswinkels closed 4 months ago
Your sample file has been deleted before I could look at it. Also, I don't remember adding .gpx support to getID3?
Maybe you can support .gpx?
What would you expect getID3 to do with .gpx ?
GPX is just XML, so you can easily load it directly in PHP with something like
$GPX = new SimpleXMLElement(file_get_contents($filename));
see: https://www.php.net/manual/en/simplexml.examples-basic.php
We use getID3 to get the mime type of files.
Basic GPX format detection added in https://github.com/JamesHeinrich/getID3/commit/a94fb704aee97e9b9d7b461eda6dc022f44805ed
Unable to determine .gpx file
File: https://file.io/WDiq2DyWuaL9