aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/lukasreschke/id3parser/src/ID3Parser.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2017-11-21 06:40:48 +1100
committerGitHub <noreply@github.com>2017-11-21 06:40:48 +1100
commit250d758d74fa1e117ed11c884a0c26040e696494 (patch)
tree6ec1053cf706b82c44438982ead9ae360939fd83 /vendor/lukasreschke/id3parser/src/ID3Parser.php
parent0325efeb350f575f70f18e9f199ad273e5ba1d15 (diff)
parente32f9e0354f159164651d4c7fb697ebe02ad7ea9 (diff)
downloadvolse-hubzilla-250d758d74fa1e117ed11c884a0c26040e696494.tar.gz
volse-hubzilla-250d758d74fa1e117ed11c884a0c26040e696494.tar.bz2
volse-hubzilla-250d758d74fa1e117ed11c884a0c26040e696494.zip
Merge pull request #913 from dawnbreak/dev
Add ID3Parser library.
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);
+ }
+}