summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-26 14:48:28 +0100
committerTheTroll <trolldev@gmail.com>2010-02-26 14:48:28 +0100
commit89dbb951e87914fa73a7bad65a5c7d4d9bef0131 (patch)
tree65bba522052d0559e2aa22d9cfeac8ef81bc9571
parent13faaed4ec54b1611dcc1dd7aa796fe3649fdc6a (diff)
downloadistreamdev-89dbb951e87914fa73a7bad65a5c7d4d9bef0131.tar.gz
istreamdev-89dbb951e87914fa73a7bad65a5c7d4d9bef0131.tar.bz2
switch id3 priority
-rwxr-xr-xincludes/inc_files.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/inc_files.php b/includes/inc_files.php
index 3e9e90f..c2d2f14 100755
--- a/includes/inc_files.php
+++ b/includes/inc_files.php
@@ -68,10 +68,10 @@ function mediagetmusicinfo($file ="")
$getid3 = new getID3;
$fileinfo = $getid3->analyze($file);
- $name = $fileinfo['tags']['id3v1']['title'][0];
+ $name = $fileinfo['tags']['id3v2']['title'][0];
if ($name == "")
{
- $name = $fileinfo['tags']['id3v2']['title'][0];
+ $name = $fileinfo['tags']['id3v1']['title'][0];
if ($name == "")
{
$name = $fileinfo['filename'];