Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

No artist and album name are shown of correct ID3 tagged mp3 files in media app #963

Closed
rakekniven opened this issue Apr 7, 2013 · 20 comments

Comments

@rakekniven
Copy link

Just did a fresh test install of v5.0.3 and added two well tagged mp3 files.
They are indexed and listed at media.
Title is shown correctly, but no artist and album name. Instead value "unknown" is displayed.

Same mp3s are shown well on my productive owncloud v4.5.8

Music files are tagged with ID3 v2.4

@karlitschek
Copy link
Contributor

There seems to be a difference or incompatibility between different mp3s. Can you try to narrow this down a bit more? Or can you try if it works with standard "getid3"? http://getid3.sourceforge.net/
We use that to extract id3 tags out of mp3s

@rakekniven
Copy link
Author

Did some small testing:

I use the same mp3 files on the same machine.
There is a folder "oc458" which contains a fresh v4.5.8 install. Here id3 values are shown correct.
Next to folder "oc458" I have a folder called "oc5" which contains a fresh v5.0.3 install. Here the problems occurs.

WIll see if I get "getid3" to work later today.

@rakekniven
Copy link
Author

Damn, looks like I am OwnCloud addicted ...

Just tried getid3. Had to turn off "magic_quotes_gpc" in my "php.ini" first then getid3 is working and showing id3 values correctly.
OC v.5.0.3 still shows "unknown". Removed mp3s and added them again. Same result.

EDIT: Used getid3-1.9.5-20130220

@karlitschek
Copy link
Contributor

Strange that it is not working with ownCloud
@icewind1991 Do you have an idea?

@VicDeo
Copy link
Contributor

VicDeo commented Apr 7, 2013

@rakekniven can you PM me link to this file via forum?
https://forum.owncloud.org/memberlist.php?mode=viewprofile&u=61

@VicDeo
Copy link
Contributor

VicDeo commented Apr 7, 2013

4.5.8 prefers id3v1 but it extracts tags as UTF-8 which is wrong for id3v1. While fixing issues with broken scanning in 5.0 I changed scanner to prefer id3v2

it seems that fallbak doesn't work properly, Kid3 shows that the file has id3v1.1 only. I'll look into it.

@rakekniven
Copy link
Author

I was fooled by iTunes. There I converted tag to format v2.3, as the gui states as well after conversion.
Used a tool called tagscanner (win) to verify tag and uups: It shows id3 v1.1 and ape as existing tags.

@VicDeo
Copy link
Contributor

VicDeo commented Apr 7, 2013

@rakekniven it created an empty id3v2 entry.
I've tried the track you sent with master/stable5 and title/artist/title are parsed correctly.

@ghost
Copy link

ghost commented Apr 7, 2013

Hi, I have the same problem here. Kid3 shows that I have both ID3v1.1 and ID3v2.3.0 tags in my files, but no Artist or album name is extracted and displayed. First line in 'Music' shows 'unknown' and all the other lines of my 3000 files are empty. Just the most right column shows the title, which seems to be the file name.
I can play them all, no problem. Just the display is wrong.

@ghost
Copy link

ghost commented Apr 13, 2013

I think I have found what is going wrong with the ID3 tags. I have an installation on a 32 bit system (the raspberry). The getid3 has special handling for determining the file size of the mp3 files, because of the 2GB limit. This goes wrong end ends up with a message like this:
"Unable to determine actual filesize. File is most likely larger than 2GB and is not supported by PHP"
Since I can not imagine that a mp3 is longer than 2GB I made the workaround and disabled that feature in getid3.php and now all works fine. I find all my ID3 tags extracted and displayed.
I dont understand any php (just C) and cannot judge if the problem is general getid3 or OC, but you guys could check that please.

@karlitschek
Copy link
Contributor

@icewind1991 @Raydiation

@VicDeo
Copy link
Contributor

VicDeo commented Apr 15, 2013

owncloud-archive/3rdparty#21 still waiting for reviewers 😉

@PriceChild
Copy link

@VicDeo looks like that was merged prior to 5.0.5 but my system still isn't picking up album/artist...

@VicDeo
Copy link
Contributor

VicDeo commented Apr 21, 2013

@PriceChild what's your server OS?

@PriceChild
Copy link

@VicDeo Debian 7.0 on a raspberrypi. I've tried uploading new music and clicking 'rescan collection'. Neither work.

@VicDeo
Copy link
Contributor

VicDeo commented Apr 22, 2013

@PriceChild 32 or 64 bit?

Btw, pull request above was merged into master, it's not in stable5 branch yet.

@VicDeo
Copy link
Contributor

VicDeo commented Apr 23, 2013

@PriceChild if it's 32bit please try to change 3rdparty/getid3/getid3.php according to the issue referenced above and let me know if it helps.

@ghost
Copy link

ghost commented Apr 23, 2013

yes, these changes are needed on 32 bit raspberry, also for 5.0.5, then it works

@ghost
Copy link

ghost commented Apr 23, 2013

I have downloaded and installed the latest getID3 version 1.9.5-20130220, but same issue. One hast also to apply the same fix.
public $option_max_2gb_check = false;
then it works

@PriceChild
Copy link

@VicDeo That does the job thankyou.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants