aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/lukasreschke/id3parser/src/ID3Parser.php
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-11-20 20:14:04 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-11-20 20:14:04 +0100
commite32f9e0354f159164651d4c7fb697ebe02ad7ea9 (patch)
tree6ec1053cf706b82c44438982ead9ae360939fd83 /vendor/lukasreschke/id3parser/src/ID3Parser.php
parent0325efeb350f575f70f18e9f199ad273e5ba1d15 (diff)
downloadvolse-hubzilla-e32f9e0354f159164651d4c7fb697ebe02ad7ea9.tar.gz
volse-hubzilla-e32f9e0354f159164651d4c7fb697ebe02ad7ea9.tar.bz2
volse-hubzilla-e32f9e0354f159164651d4c7fb697ebe02ad7ea9.zip
Add ID3Parser library.
https://github.com/LukasReschke/ID3Parser.git
Diffstat (limited to 'vendor/lukasreschke/id3parser/src/ID3Parser.php')
-rw-r--r--vendor/lukasreschke/id3parser/src/ID3Parser.php22
1 files changed, 22 insertions, 0 deletions
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 @@
+<?php
+/////////////////////////////////////////////////////////////////
+/// getID3() by James Heinrich <info@getid3.org> //
+// 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);
+ }
+}