diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-26 14:48:28 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-26 14:48:28 +0100 |
commit | 89dbb951e87914fa73a7bad65a5c7d4d9bef0131 (patch) | |
tree | 65bba522052d0559e2aa22d9cfeac8ef81bc9571 | |
parent | 13faaed4ec54b1611dcc1dd7aa796fe3649fdc6a (diff) | |
download | istreamdev-89dbb951e87914fa73a7bad65a5c7d4d9bef0131.tar.gz istreamdev-89dbb951e87914fa73a7bad65a5c7d4d9bef0131.tar.bz2 |
switch id3 priority
-rwxr-xr-x | includes/inc_files.php | 4 |
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']; |