This forum has been archived. All content is frozen. Please use KDE Discuss instead.

MP3 Tags

Tags: None
(comma "," separated)
yermandu
Registered Member
Posts
9
Karma
0
OS

Re: MP3 Tags

Wed Sep 02, 2009 8:25 pm
I think really strange.

I have two directories where i get my collection.

They are my Local Disc partitioned, one is directory "/home/daniel/Música/"
Its in
Code: Select all
/dev/sda6     ext3     25G   22G  2,2G  91% /home


And another partition is "/pub/music"
Code: Select all
/dev/sda8      jfs   6,1G  5,0G  1,2G  82% /pub


Dont matter what kind of disc i make changes, only new tags or tags updated, amarok dont work.

When i add new tracks amarok recognize, if i rename file, amarok knows, because the filename are show correct.

I use EasyTag to try modify mp3Tags without sucess.
And when i use amarok to modify Tags, the changes are recognize on Kid3 or EasyTag ... 0o
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: MP3 Tags

Thu Sep 03, 2009 10:14 am
I follow your steps and the same happens to me. I don't detect this problem before because I always move music outside my library before do changes with another program.

When I finish with my changes I moved again to the library and Amarok detects changes but, without moving files, Amarok don't detect external changes. But sometimes don't works on first try.

I don't know if could be difficult add a tag verification on playing music because Amarok seems to use db for all data displayed and databases sometimes fails.

I don't know if this helps but I'm using a symlink ~/music linked to /storage/storage/music

Last edited by Ignacio Serantes on Thu Sep 03, 2009 5:11 pm, edited 1 time in total.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
yermandu
Registered Member
Posts
9
Karma
0
OS

Re: MP3 Tags

Thu Sep 03, 2009 4:55 pm
Ignacio can you say how is the $amarok --version do you have?
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: MP3 Tags

Thu Sep 03, 2009 5:12 pm
yermandu wrote:Ignacio can you say how is the $amarok --version do you have?

I'm using current git version.

Qt: 4.5.2
KDE: 4.3.1 (KDE 4.3.1) "release 163"
Amarok: 2.2-GIT


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: MP3 Tags

Fri Sep 04, 2009 5:53 pm
Great!, one of my most hated Amarok bugs is now fixed :D, this little **** ;) corrupt my db so many times until I located the problem.

* Fixed issue where files or folders with the same name but different case sensitivity were not scanned and/or retained. (BR 197384)

http://bugs.kde.org/show_bug.cgi?id=197384

I put here because could be related to this discussion.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: MP3 Tags

Fri Sep 04, 2009 6:08 pm
I've tested the rescan issue by retagging artist and/or title of some tracks in my collection. I thought first, that Amarok really doesn't do a rescan, but it started shortly after.
Renamed tracks seem to be recognized faster, but this could be subjective.
In general: it works.
I really don't know, why it doesn't work in Ignacio's and yermandu's setup.
And they seem to be the only one, who have this problem.
Sorry.

m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: MP3 Tags

Fri Sep 04, 2009 6:27 pm
Well, another possibility is that the bug is external to Amarok and it is related to the file changes detection method.

How Amarok know that files are changed externally?


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: MP3 Tags

Sat Sep 05, 2009 6:03 am
Have you read my former posts in this thread?

m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: MP3 Tags

Sat Sep 05, 2009 7:19 am
Dieter Schroeder wrote:Have you read my former posts in this thread?

m0nk

Do you mean "Amarok 2 rescans, when the timestamp of the folder, containing the tracks with added/edited tags, gets updated.". Yes, I read it, but this don't explain witch method is using Amarok to detect this change. It is reading all folders in db and check timestamps?, there is a system event?, Amarok calls a running daemon?...

I think that I not expressed well :(, I'm sure is clear that english is not my language.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: MP3 Tags

Sat Sep 05, 2009 7:51 am
Amarok uses dbus methods to detect changes in the filesystem. If they are relevant, Amarok rescans.
Btw. Tried 2.2-beta1, which is out now.

m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: MP3 Tags

Sat Sep 05, 2009 9:27 am
Dieter Schroeder wrote:Amarok uses dbus methods to detect changes in the filesystem. If they are relevant, Amarok rescans.
Btw. Tried 2.2-beta1, which is out now.

m0nk

Have you read I'm running git version. I thought that git version is newer than beta1 version. I'm wrong?.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: MP3 Tags

Sat Sep 05, 2009 10:09 am
Correct, GIT is newer (will become beta2).
My fault, sorry.

m0nk


If men could get pregnant, abortion would be a sacrament.
yermandu
Registered Member
Posts
9
Karma
0
OS

Re: MP3 Tags

Sat Sep 05, 2009 11:34 am
Dieter Schroeder wrote:I've tested the rescan issue by retagging artist and/or title of some tracks in my collection. I thought first, that Amarok really doesn't do a rescan, but it started shortly after.
Renamed tracks seem to be recognized faster, but this could be subjective.
In general: it works.
I really don't know, why it doesn't work in Ignacio's and yermandu's setup.
And they seem to be the only one, who have this problem.
Sorry.

m0nk


Well Dieter, you test in your computer and retagging works fines, ...
Could someone also test retagging working? For us leave a question.

Maybe the issue can be in us computer or database and not with amarok.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: MP3 Tags

Sat Sep 05, 2009 1:05 pm
Well, at least for my case, I catch the bug and seems to be a db query cache problem or something similar. I'm using current git, updated and compiled before doing the test.

I'm using EasyTag for changing tags because this program has "Update modification time of parent directory of the file (recommended when using Amarok)" option and Kid3 don't have a similar option.

The test was doing using the next song (all with english characters to avoid encoding bugs):
~/music/mp3/kpop/After School/New School Girl/02 AH.mp3
Artist: After School
Title: AH
Album: New School Girl

I follow the next steps.
1) Run Amarok.
2) Execute EasyTag and select file.
3) Rename Title from "AH" to "AH AH".
4) Save changes.
5) Wait for Amarok detects changes.
6) Amarok scans and...
7) Nothing happens, title is not changed. If I added mp3 to playlist and edit properties Amarok displays old title.

And now the funny thing :)
9) Close Amarok.
10) Run Amarok again.
11) Voila, now title displays "AH AH" :D.

So, conclusion is that db was updated but query result was not. I this problem is related to MySQL query cache or a coded query optimization is beyond my knowledge.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: MP3 Tags

Sat Sep 05, 2009 2:57 pm
Maybe there's a little misunderstanding. The tags in playlists, the album applet etc., anything except the collection browser don't get an update after a rescan.
So if you have the track "AH" from "After School" in your playlist, it will remain "AH" even after the scan until you remove it and add it as "AH AH" from the collection browser.
If that is clear, maybe you can tell me the version of your mysql and libmysqlclient rpms.


m0nk


If men could get pregnant, abortion would be a sacrament.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]