From e32f9e0354f159164651d4c7fb697ebe02ad7ea9 Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Mon, 20 Nov 2017 20:14:04 +0100 Subject: Add ID3Parser library. https://github.com/LukasReschke/ID3Parser.git --- vendor/lukasreschke/id3parser/src/ID3Parser.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 vendor/lukasreschke/id3parser/src/ID3Parser.php (limited to 'vendor/lukasreschke/id3parser/src/ID3Parser.php') diff --git a/vendor/lukasreschke/id3parser/src/ID3Parser.php b/vendor/lukasreschke/id3parser/src/ID3Parser.php new file mode 100644 index 000000000..f87a8b7dc --- /dev/null +++ b/vendor/lukasreschke/id3parser/src/ID3Parser.php @@ -0,0 +1,22 @@ + // +// available at http://getid3.sourceforge.net // +// or http://www.getid3.org // +// also https://github.com/JamesHeinrich/getID3 // +///////////////////////////////////////////////////////////////// + +namespace ID3Parser; + +use ID3Parser\getID3\getID3; + +class ID3Parser { + /** + * @param string $fileName + * @return array + */ + public function analyze($fileName) { + $getID3 = new getID3(); + return $getID3->analyze($fileName); + } +} -- cgit v1.2.3