diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-15 02:52:15 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-15 03:02:29 -0400 |
commit | 4aa37feccc93b6c4508bd5774436d8ba69920b4a (patch) | |
tree | bbdbae5e2866cf0d93581c0cf00ae148d4f3cfb9 /lib/class/vainfo.class.php | |
parent | 0ccf7d76bbb79e9dac068a65cf55d39fd1d8a043 (diff) | |
download | ampache-4aa37feccc93b6c4508bd5774436d8ba69920b4a.tar.gz ampache-4aa37feccc93b6c4508bd5774436d8ba69920b4a.tar.bz2 ampache-4aa37feccc93b6c4508bd5774436d8ba69920b4a.zip |
Fix disk number parsing for ID3v2
According to the changelog, getID3 1.7.9 standardised on part_of_a_set
as the key for this info (pulled from TPOS or TPA, depending on the
minor version of ID3v2); we were looking for 'pos', which is wrong.
Diffstat (limited to 'lib/class/vainfo.class.php')
-rw-r--r-- | lib/class/vainfo.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/vainfo.class.php b/lib/class/vainfo.class.php index 53ad2578..eba3565b 100644 --- a/lib/class/vainfo.class.php +++ b/lib/class/vainfo.class.php @@ -672,7 +672,7 @@ class vainfo { $array['genre'][] = $this->_clean_tag($genre); } break; - case 'pos': + case 'part_of_a_set': $el = explode('/', $data['0']); $array['disk'] = $el[0]; $array['totaldiscs'] = $el[1]; |