# Tips to prevent rereading entire library on a NAS with 'Library' enabled

**URL:** https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097
**Category:** Support
**Created:** [November 18, 2022, 8:29am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097 "2022-11-18T08:29:38Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![JamFestival](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/c4cdca/32.png) [@JamFestival](https://community.mp3tag.de/u/JamFestival)
#### Post date: [November 18, 2022, 8:29am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/1 "2022-11-18T08:29:38Z")

</div>

Are there any NAS users out there who have managed to get the 'Library' feature to work?  
I have looked through previous posts about this, dated a few years ago, so I have tried:

- Adding Mp3tag.exe as an exception in Windows defender
- Adding my media folder on my NAS and %AppData%\Roaming\Mp3tag as exceptions in my Sophos Home settings.  
On launch, however, the 'reading directory' process is not expedited in any way, taking ~30mins to read ~2Tb. I have checked, and Mp3tag has created and is updating a AppData\Roaming\Mp3tag\data\library\mp3tag.db3 file.

I am using Windows 11, my NAS is a Synology Diskstation connected directly to my PC via CAT6, and Mp3tag is v3.18.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 18, 2022, 8:33am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/2 "2022-11-18T08:33:15Z")

</div>

In your case I would just DISABLE the library:

 ![image](https://community.mp3tag.de/uploads/default/original/2X/0/0b9d861663aeb87639071a01bb463cb7fe37df93.png)

I don't think that in your current environment the library will speed up the loading process significantly.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 18, 2022, 8:38am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/3 "2022-11-18T08:38:39Z")

</div>

> [@LyricsLover](#):
>
> speed up the loading process significantly

But it will also not slow down the process as the library is on the internal drive - which runs at an access speed of up to 6GBps whereas the NAS will be connected with 1 Gbps at the most. Yet, Windows never reaches that speed.

The bottleneck is the LAN connection.

> [@JamFestival](#):
>
> CAT6

describes the cable standard but not the connection speed. You may have to check which speed has been negotiated if you have set the LAN interface to "auto negotiation" or set it manually, to see if the 1Gbps can be set.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 18, 2022, 8:49am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/4 "2022-11-18T08:49:20Z")

</div>

AFAIU the library tries to read the metadata (incl. the cover) from every song in the Mp3tag file list.  
This means, every song has to be loaded from the NAS over the network. This speed is limited by the LAN interface (as @ohrenkino already wrote).

Most LAN interfaces should run at 1 Gbit/s Speed

 ![image](https://community.mp3tag.de/uploads/default/original/2X/6/69bdb659fb02c775a27024711bf20f637400b47b.png)  
This is only possible, if the Ethernet adapter in your device, the used LAN cable, your Switch or Router and your NAS-Ethernet adapter all support this 1 Gbit/s speed.

If I copy many songs from my PC to my Synology NAS, I get a speed (showed by Windows File Explorer) about 110 MB/s at highest value. Most of the time it is lower, because many small files reduce the speed. Bigger files (with several gigabyte size like movies) get the better speed.

---

<div class="post-metadata">

### Author: ![JamFestival](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/c4cdca/32.png) [@JamFestival](https://community.mp3tag.de/u/JamFestival)
#### Post date: [November 18, 2022, 8:49am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/5 "2022-11-18T08:49:42Z")

</div>

My connection is 1Gb, however, I thought the purpose of the Library feature was to catalogue the library, so it only re-reads files modified since the last time Mp3tag was opened.  
For example, at its slowest, File Explorer copies a ~1Gb file from my NAS to my PC in ~10 seconds. How long should it take to check ~90,000 files' properties to see if they have been modified?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 18, 2022, 8:59am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/6 "2022-11-18T08:59:41Z")

</div>

> [@JamFestival](#):
>
> How long should it take to check ~90,000 files' properties to see if they have been modified?

A first indicator would be the modified date.  
If that is younger than the one in the library, the whole tag has to be read.  
So it would be a question of how fast the NAS can deliver the data from the file header.

> [@JamFestival](#):
>
> I thought the purpose of the Library feature was to catalogue the library, so it only re-reads files modified since the last time Mp3tag was opened.

No, the purpose of the library was to enable MP3tag to read larger collections as some of the tag data (esp. pictures) was transferred to the library.  
A welcome side-effect was, that it also sped up reading the data for unchanged files.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 18, 2022, 9:00am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/7 "2022-11-18T09:00:29Z")

</div>

According to this [online calculator](https://techinternets.com/copy_calc) 2 TB data would take approx. 37 minutes to be transferred over a 1 Gbit/s connection:

 ![image](https://community.mp3tag.de/uploads/default/original/2X/b/b069d1bfb283946314d8fe0e2fd5cb582564bfa1.png)

So your initial value:

> [@JamFestival](#):
>
> taking ~30mins to read ~2Tb.

seems to be pretty accurate.

---

<div class="post-metadata">

### Author: ![JamFestival](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/c4cdca/32.png) [@JamFestival](https://community.mp3tag.de/u/JamFestival)
#### Post date: [November 18, 2022, 9:01am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/8 "2022-11-18T09:01:29Z")

</div>

Currently, it's ploughing through the entire library. I have closed, then immediately re-launched Mp3tag.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 18, 2022, 9:02am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/9 "2022-11-18T09:02:54Z")

</div>

Yes, you have to read all the files once to setup the library.  
In many cases the next reading will be quicker, depending on the amount of modified files.

---

<div class="post-metadata">

### Author: ![JamFestival](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/c4cdca/32.png) [@JamFestival](https://community.mp3tag.de/u/JamFestival)
#### Post date: [November 18, 2022, 9:04am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/10 "2022-11-18T09:04:03Z")

</div>

Sorry, I'm not techy when it comes to networks, so I'm not being facetious, but surely transferring files and reading their 'modified' properties are significantly different?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 18, 2022, 9:08am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/11 "2022-11-18T09:08:18Z")

</div>

The first time you read a new or modified song, it has to be read/transferred completely from NAS to get all the included metadata and pictures/covers into the local Mp3tag library.

For the second and further runs, it should only check the modified (or last accessed?) date. You can't be sure that your NAS has not touched/changed your files for example by an indexing task, any audio- or backup-software running on your NAS.

---

<div class="post-metadata">

### Author: ![JamFestival](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/c4cdca/32.png) [@JamFestival](https://community.mp3tag.de/u/JamFestival)
#### Post date: [November 18, 2022, 9:10am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/12 "2022-11-18T09:10:06Z")

</div>

That's plausible, as my NAS _does_ auto-index my music library.  
Thanks, that may well be the cause.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 18, 2022, 11:46am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/13 "2022-11-18T11:46:55Z")

</div>

Just to add:  
If you really want MP3tag to start without reading the NAS, then set the options in  
File\>Options\>Directories  
to e.g. an empty folder.  
You can then navigate to the folder with the files that should be edited and load only those.  
This might reduce the waiting time.  
It won't reduce the time you have to wait to load all the files from the NAS, though.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [December 18, 2022, 11:47am UTC](https://community.mp3tag.de/t/tips-to-prevent-rereading-entire-library-on-a-nas-with-library-enabled/59097/14 "2022-12-18T11:47:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
