INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Update library from tags not working  (Read 1060 times)

lise

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 946
Update library from tags not working
« on: September 22, 2010, 06:09:07 pm »

I have 2 different libraries open on different computers.
Both libraries point to the same files.
On Computer A I removed the keywords associated with a particular podcast mp3.
I waited until MC said that the file had been updated (update tags is on).
On Computer B, I selected the file in the library and did Update Library from File (tags).
The keywords remain.
I double-checked that the file itself had a new modified date of today, and it did, just in case that is the basis on which libraries get updated from file tags.
I repeated with 6 other files and had the same result.
While it never worked with the keywords field (the field is set to save to tags), it did work with a Rating.

I'm running 15.095 on both computers. I didn't see anyting in the various histories of the updates that has addressed this.

Edit: I just did another test. If I manually select Update tags from library on a file I just modified, then on the other computer select update library from tags it works.  This leads me to believe that when MC says it is "saving tag changes" automatically when a change is made (this is selected in options), it isn't really updating the tag after all. So still a bug,  just a different one. Hopefully someone could reproduce.

Yet another edit: it worked fine with a single file for which I manually updated the tag from library, but when I did this for a batch of 6 files the update library from tags on the other computer still didn't work.  Very odd indeed.
Logged
A wise man once said don't count your years, but make your years count. Or was it beers?

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Update library from tags not working
« Reply #1 on: September 23, 2010, 07:18:28 am »

1. MC does not save file tags with empty values. When a field value is cleared the corresponding file tag is removed. This is by design.

2. MC never removes existing database field values when it reads file tags. It only updates the field values that can be read from the file tags. This too is by design.

Quote
... it did work with a Rating.

I can't reproduce this. When I remove the rating value inside MC the rating tag is removed from the file. When another MC instance reads the changed file it can't see a rating tag and thus the existing rating value is preserved in the library.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

lise

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 946
Re: Update library from tags not working
« Reply #2 on: September 23, 2010, 09:54:39 am »

Thanks Alex.
I didn't realize there was a distinction between a new, a modified and an empty tag value when it came to updating the library from the tags. Thus when I tested with the rating I had modifed the number, I hadn't cleared it all together the way I had cleared the keywords tags for the other files.

Hmm. Given this new information, I'm not sure how to keep two libraries in sync with regards to a segment of files that is shared by both libraries. The only way I can think of is to delete all shared files from one of the libraries and then re-import them into that library. That's going to be tricky.
Logged
A wise man once said don't count your years, but make your years count. Or was it beers?

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Update library from tags not working
« Reply #3 on: September 23, 2010, 10:58:28 am »

I can only think of two workarounds:

1. You could save a tag value like "remove this" whenever you want to clear a value. Though, then you would need to do additional tagging steps after reading the changed tags and it would not work with "Rating" or other fields that cannot store textual values.

2. MPL playlist export/import would update the receiving library correctly.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755
Pages: [1]   Go Up