(2013-01-07, 18:49)MariusTh86 Wrote: It's not a bug, it's a feature. ![Wink Wink](https://forum.kodi.tv/images/smilies/wink.png)
When you 'Fetch Metadata', you're essentially getting ALL metadata new from scratch, if you want to keep your watched state, you should choose 'Update selection' instead through right-clicking on a movie, or through the 'File' menu, which updates your movie information rather then rewriting it.
Even if you've selected "Fetch Missing Metadata"? It would seem to me (perhaps wrongly, you're the dev) that if you're only getting the missing metadata the watched state should persist, assuming that the .nfo wasn't among the missing metadata, of course.
(2013-01-07, 18:52)Glorious1 Wrote: I think "Fetch Missing Metadata" only fetches items that have no local NFO file (in the folder with the media file). So naturally there is no watched tag to copy. However, if you previously scanned the item into xbmc, xbmc may have some watched info in its database. That would be overwritten when you refresh the item in xbmc.
I've not found that to be the case. I have hundreds of movies, none missing NFOs, but many (most) missing one or more backgrounds, banners, logos, clearart, etc. In this case, clicking Fetch Missing Metadata started filling in the image gaps, but also produced the behavior I noted. I let it get through about 30 movies before killing it, all of which had existing NFOs marked as watched that were replaced. The NFOs in question are marked as watched both in the NFO itself and in the XBMC database, and ViMediaManager correctly noted them as such when I let it scan my library. I had just moved to a new machine, so I know ViMediaManager was in sync with the files on my source.