Needs review
Project:
Audio
Version:
5.x-2.x-dev
Component:
audio_getid3
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2007 at 15:18 UTC
Updated:
2 Dec 2008 at 01:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
drewish commentedthe only problem with this is that it only works when there's both v1 and v2. if there's only v2 then you'll load nothing. array_pop($value) might be a better way to go.
Comment #2
drewish commentedi'm going to apply the attached patch to HEAD and DRUPAL-5. i think it's a cleaner way to do it. re-open this if it doesn't work for you.
Comment #3
alaa commentedyes much cleaner, but there is a mistake in your patch, you do
you need to change the second 'id3v1' to 'id3v2' I suppose.
Comment #4
drewish commentedright you are. and i'd even tested that :( committed the attached patch.
Comment #5
yngens commentedthis works great, except that non-English names contain no links. i.e. they are now displayed correctly, but it is not possible to list all the songs with similar names or performers' names.
second problem is that non-English characters do not display on players (see XSPF Web Music Player - Slim or XSPF Web Music Player)
Comment #6
drewish commentedi'm not sure what you mean? can you elaborate? though i wonder if you ran into a bug i've already fixed... you should make sure you're running the latest release. you may need to re-save those nodes.
sorry, can't do anything about the XSPF player.
Comment #7
yngens commentedOn a page of an audio-file there are such several categories under the player as: artist, title, album, genre, etc and it is possible to list all the songs of the same artist, genre or of the common song name.
For instance, if an audio file with the name "forever" has this link for the title:
http://www.domain.us/audio/by/title/forever
but a song with a name "Навсегда" (Cyrillic) for the same category (title) has:
http://www.domain.us/audio/by/title/
Comment #8
alaa commentedthis may be caused by another bug (should have reported it but I was too lazy) the function audio_clean_tag which is used to normalize info like artist name, song title and album name replaces all non latin unicode bytes with underscores.
I had to comment it out in order for audio to work with Arabic letters.
the flash player fails to show unicode char, but that's not a bug in audio module.
Comment #9
yngens commentedalaa, what should i exactly need to do in order to get list songs with Cyrillic tags?
Comment #10
drewish commentedalaa wrote:
yeah, i think that's the cause... i already said as much in #6:
Comment #11
yngens commenteddrewish, re-saving doesn't help. i did re-save several different nodes for several times. UTF8 names read perfectly, but show empty links.
Comment #12
drewish commentedsnegny, can you copy the first two lines from your audio.module file for me? it should look something like:
Comment #13
yngens commentedthey are
i downloaded the module just yesterday
Comment #14
yngens commentedsorry guys, but this has not really be solved for non-English characters. it displays n.E. letter correctly, but links work not correctly. so i am changing status of the thread back to active.
Comment #15
drewish commentedmarked http://drupal.org/node/185657 as a duplicate
Comment #16
drewish commentedmarked http://drupal.org/node/186801 as a duplicate
Comment #17
mediafrenzy commentedI'm using 5.x-1.3 audio module.
So to fix the iTunes mp3 / ID3 question mark issue I'm having, should I be applying this patch ?
http://drupal.org/node/156476#comment-277431
Or will I have to upgrade further to 5.x-2.x-dev??
Comment #18
drewish commentedwhoops, i'd marked a bunch of issues as a duplicate of this... it should have been: http://drupal.org/node/145117
Comment #19
Yura Filimonov commentedSo what's the status on this fix? Does it even work for 5.x-1.4?
Thanks.
I started bugging my hoster because of this =)
Comment #20
drewish commentedhere's what I've got in HEAD that seems to be working pretty well. anyone want to give it a try?