We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

media Player does not handle '/' in ID3 artist name correctly

asked 2014-06-15 00:39:45 +0300

moosiqpipl gravatar image

updated 2014-07-24 10:09:08 +0300

jiit gravatar image

It seems that the media player app has trouble with artist names containing a '/', e.g.' incite/'. Though the artist name is listed (however omitting / in my example), its corresponding albums don't show up.

Update 16.06.2014 01:24

I tried to verify that '/'-behaviour of the media player app with some AC/DC albums. Interestingly, AC/DC shows up correct in the arists listing and even the corresponding albums are files under that artist. So, I played a bit with the ID3 tags of the initial artists albums changing the name from 'incite/' to e.g. 'incit/e', just to see if the positioning of the '/' has any impact on the behaviour of the media player. In fact it has: changing the name in the ID3 tag to 'incit/e' resulted in the media player artist listing into something like 'incit;e'. See the '/' being replaced by a ';'. Although, the corresponding albums are not either. I even changed the ID3 artist name into 'ac/dc' (note: lower case letters) and 'ab/cd' which resulted in the absolutely same behaviour: '/' becomes ';' and no albums shown. My question at this point is: why is 'AC/DC' being handled correctly and not 'ac/dc or 'ab/cd''?

However, deleting my test files and copying the original files now finally messed up the media player at all - the app now lists one of the incite/ albums under AC/DC which is definitely wrong, and the other incite/ album is still not shown. Is there a way to re-initialise indexing of the imported tracks?

This is really weird. Maybe I should rather listen to Black Sabbath then :-D

edit retag flag offensive close delete

Comments

Same problem with Bomfunk MC's in an .ogg file. Here the ' is the culprit.

Bomfunk MC's appear fine in the artist list, but opening the album menu screen from here shows an empty album list. it is however possible to pull down and show all songs to open the artist's song list where everything is showed correctly.

I suggest this is a bug triggered by special characters in artitst's names, possibly caused by characters not being escaped properly when displayed in the albums menu and causing weird results and maybe potentially security problems if an exploit can be constructed.

vaurien ( 2014-07-06 01:20:18 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2014-07-20 19:47:05 +0300

Tanty gravatar image

updated 2014-07-20 19:48:03 +0300

What you are describing seems like a problem in tracker, the SW indexing the content in the device, not in mediaplayer.

I suggest you check the behavior using directly tracker.

If you are able to use a terminal or use the device in developer mode, you can check tracker's indexed information. First you will need to install the proper tools. From the terminal, with:

$ pkcon install tracker-utils

Once you have it installed, you can call:

$ tracker-info <path_to_file>

You can also force tracker to re-index a file with:

$ tracker-control -f <path_to_file>

This is useful when you experience that a file is not showing proper information. Re-indexing will tell tracker to extract its metadata once again.

Hope this helps, at least, to get further information about the actual problem.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2014-06-15 00:39:45 +0300

Seen: 320 times

Last updated: Jul 20 '14