MediaBrowser / Emby

Emby Server is a personal media server with apps on just about every device.
https://emby.media
GNU General Public License v2.0
4.18k stars 811 forks source link

Directory Watchers need to ignore thumbs.db #87

Closed ebr11 closed 11 years ago

ebr11 commented 11 years ago

Explorer modifies and holds a lock on this file while browsing which both triggers refreshes and prolongs them.

tikuf commented 11 years ago

There are a few sys files in the music folder that need to be added as well AlbumArt_{*}_Small.jpg ,AlbumArtSmall.jpg etc currently media library refresh from wmp triggers full music refresh in mb3. This currently happens when accessing dlna through wmp I know it would be a rare thing to access dlna through wmp but i'm not sure that a full refresh is warranted with system file changes (aside from folder.jpg).

ebr11 commented 11 years ago

Okay, next version will ignore thumbs.db, albumart.jpg and anything ending in small.jpg.

ebr11 commented 11 years ago

Did this change get removed or did I miss something the first time? Log from current dev build:

2013-07-10 15:17:47.3861, Debug, DirectoryWatchers, \MEDIASERVER\Movies\HD\Ice Age 3 - Dawn of the Dinosaurs\Thumbs.db is locked. 2013-07-10 15:17:47.3891, Info, DirectoryWatchers, Timer extended. 2013-07-10 15:17:55.4160, Debug, DirectoryWatchers, \MEDIASERVER\Movies\HD\Ice Age 3 - Dawn of the Dinosaurs\Thumbs.db is locked. 2013-07-10 15:17:55.4190, Info, DirectoryWatchers, Timer extended. 2013-07-10 15:18:03.4464, Debug, DirectoryWatchers, \MEDIASERVER\Movies\HD\Ice Age 3 - Dawn of the Dinosaurs\Thumbs.db is locked. 2013-07-10 15:18:03.4464, Info, DirectoryWatchers, Timer extended.