1250 Tag edit can lose external File Monitored edits [#2609]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 1250 Tag edit can lose external File Monitored edits [#2609]

Re: 1250 Tag edit can lose external File Monitored edits ------

by chrisjj » Tue Jun 09, 2009 10:24 am

> I think that there's a single solution for both issues (i.e. a single queue that tracks changes to metadata from within MM and from without).

OK, but I can see that being tricky. Users might not accept rating change being barred/delayed for the duration of a File Monitoring.

Good luck!

Re: 1250 Tag edit can lose external File Monitored edits ------

by rusty » Tue Jun 09, 2009 10:04 am

> Added to http://www.ventismedia.com/mantis/view.php?id=2609

That Mantis issue very much looks like a distinct issue.
It is a unique bug, but I think that there's a single solution for both issues (i.e. a single queue that tracks changes to metadata from within MM and from without).

-Rusty

Re: 1250 Tag edit can lose external File Monitored edits ------

by chrisjj » Tue Jun 09, 2009 3:35 am

> Added to http://www.ventismedia.com/mantis/view.php?id=2609

That Mantis issue very much looks like a distinct issue.

Re: 1250 Tag edit can lose external File Monitored edits ------

by chrisjj » Tue Jun 09, 2009 3:27 am

> I don't think there can be anything done against this,

Won't the suggested "first checking that info is up-to-date from the File Monitor" solve it?

> if two edits of the same file occurs almost simultaneously in two applications, the last edit will 'win'.

That's fine by me. If the user has performed both manually then however fast he switched apps. he expects the last to win.

But that is not the case reported. The case reported does not require almost simultaneous, and the problem is that the edit that wins is the first, not the last.

Re: 1250 Tag edit can lose external File Monitored edits ------

by jiri » Sat Jun 06, 2009 9:28 am

I don't think there can be anything done against this, if two edits of the same file occurs almost simultaneously in two applications, the last edit will 'win'. That's definitely true for Properties dialog, when you confirm (by pressing OK button) all tag changes. I can see the point that changing a single field (like rating) would not modify other fields, but it currently isn't possible, MM always updates the whole tag.

Jiri

Re: 1250 Tag edit can lose external File Monitored edits ------

by rusty » Fri Jun 05, 2009 12:16 pm

Re: 1250 Tag edit can lose external File Monitored edits ------

by chrisjj » Thu Jun 04, 2009 5:24 pm

MM = cat, user data = mouse ?? :)

Re: 1250 Tag edit can lose external File Monitored edits ------

by Eyal » Thu Jun 04, 2009 4:15 pm

That is just playing cat and mouse.
:lol:

1250 Tag edit can lose external File Monitored edits [#2609]

by chrisjj » Thu Jun 04, 2009 1:20 pm

1 In Mp3tag change the album tags of 500 tracks in an MM File Monitored folder.
2 Switch to MM and soon change some rating on those tracks

Expected: #1 changes intact
Observed: Some #1 changes lost

I'd guess this is due to a race hazard - the MM tag edit operation at #2 is sourcing from the library without first checking that info is up-to-date from the File Monitor at #1.

Top