# Multiple artists and/or genres

**URL:** <http://support.symfonium.app/t/multiple-artists-and-or-genres/2551>\
**Category:** Support\
**Tags:** handled\
**Created:** [October 7, 2023, 6:33pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551 "2023-10-07T18:33:06Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [October 25, 2023, 2:20pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/21 "2023-10-25T14:20:32Z")

</div>

Nope.  
I ran:

```auto
docker run -d \
--name=lms \
--user 1000:1000 \
-e TZ=Europe/Berlin \
-p 5082:5082 \
-v /mnt/music:/music:ro \
-v /opt/lms:/var/lms \
--restart unless-stopped \
epoupon/lms

```

Then I logged in via admin credentials, entered /music and hit scan:

 ![lms1](http://support.symfonium.app/uploads/default/original/2X/a/a95146b3660775be6756737b0760a5f359b52aaf.png)

Same result as before.

Here are the logs from the container:

```auto
[2023-Oct-25 14:19:40.884] 1 - [error] - 140646178478904 [DB UPDATER] Cannot process entry '': No such file or directory

[2023-Oct-25 14:19:40.886] 1 - [info] - 140646178478904 [DB UPDATER] Scan complete. Changes = 0 (added = 0, removed = 0, updated = 0), Not changed = 0, Scanned = 0 (errors = 1), features fetched = 0, duplicates = 0

[2023-Oct-25 14:19:40.886] 1 - [info] - 140646178478904 [DB] Analyzing database...

[2023-Oct-25 14:19:40.887] 1 - [info] - 140646178478904 [DB] Database Analyze complete

[2023-Oct-25 14:19:40.887] 1 - [info] - 140646178478904 [DB UPDATER] Auto scan disabled!

```

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [October 25, 2023, 4:02pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/22 "2023-10-25T16:02:43Z")

</div>

Ok but in music you can list/read files and perms are correct?  
Can you try to change log-config in lms.conf and set it to “\*”?

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [October 25, 2023, 4:10pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/23 "2023-10-25T16:10:41Z")

</div>

> [@itm](#):
>
> Ok but in music you can list/read files and perms are correct?

![lms3](http://support.symfonium.app/uploads/default/original/2X/3/361e7a58bb1476164310efaffa535be02a849168.png)

Certainly looks like I have read permissions within the container.

> [@itm](#):
>
> Can you try to change log-config in lms.conf and set it to “\*”?

Where’s that file located?  
 ![lms1](http://support.symfonium.app/uploads/default/original/2X/e/e21f2ec5cfbfcf2164813a976abfb9919f235d71.png)  
I don’t see it in the persistent folder.

Edit:  
This is how I connected to the container cli within portainer. However I doubt that it influences the permissions:  
 ![lms2](http://support.symfonium.app/uploads/default/original/2X/6/61e8fd242742261daa893c2e36c47ea163cff576.png)

Edit 2:  
I managed to supply an altered lms.conf file like this:

```auto
docker run -d \
--name=lms \
--user 1000:1000 \
-e TZ=Europe/Berlin \
-p 5082:5082 \
-v /mnt/music:/music:ro \
-v /opt/lms:/var/lms \
--restart unless-stopped \
epoupon/lms /var/lms/lms.conf

```

btw: The container seems to ignore the -e TZ=Europe/Berlin part. Logs are still off by 2 hours for me.

> **lms.conf**
>
> ```auto
> # LMS Sample configuration file
> 
> # Path to the working directory
> # Must have write privileges in order to create and modify this directory
> working-dir = "/var/lms/";
> 
> # ffmpeg location
> ffmpeg-file = "/usr/bin/ffmpeg";
> 
> # Log files, empty means stdout
> log-file = "";
> access-log-file = "";
> # Logger configuration, see log-config in https://webtoolkit.eu/wt/doc/reference/html/overview.html#config_general
> log-config = "*";
> 
> # Listen port/addr of the web server
> listen-port = 5082;
> listen-addr = "0.0.0.0";
> behind-reverse-proxy = false;
> 
> # If enabled, these files have to exist and have correct permissions
> tls-enable = false;
> tls-cert = "/var/lms/cert.pem";
> tls-key = "/var/lms/privkey.pem";
> tls-dh = "/var/lms/dh2048.pem";
> 
> # Path to the resources used by the web interface.
> wt-resources = "/usr/share/Wt/resources";
> docroot = "/usr/share/lms/docroot/;/resources,/css,/images,/js,/favicon.ico";
> approot = "/usr/share/lms/approot";
> # Location for deployment (See README if you want to deploy on a non root path)
> deploy-path = "/";
> 
> # Number of threads to be used to dispatch http requests (0 means auto detect)
> http-server-thread-count = 0;
> 
> # ListenBrainz root API
> listenbrainz-api-base-url = "https://api.listenbrainz.org";
> # How many listens to retrieve when syncing (0 to disable sync)
> listenbrainz-max-sync-listen-count = 1000;
> # How often to resync listens (0 to disable sync)
> listenbrainz-sync-listens-period-hours = 1;
> # How many feedbacks to retrieve when syncing (0 to disables sync)
> listenbrainz-max-sync-feedback-count = 1000;
> # How often to resync feedbacks (0 to disable sync)
> listenbrainz-sync-feedbacks-period-hours = 1;
> 
> # Acousticbrainz root API
> acousticbrainz-api-base-url = "https://acousticbrainz.org";
> 
> # Authentication
> # Available backends: "internal", "PAM", "http-headers"
> authentication-backend = "internal";
> http-headers-login-field = "X-Forwarded-User";
> 
> # Max entries in the login throttler (1 entry per IP address. For IPv6, the whole /64 block is used)
> login-throttler-max-entries = 10000;
> 
> # API
> api-subsonic = true;
> 
> # Use this list to make the reported server version to 1.12.0 depending on the client's name
> # Main usage is to make auto detections for the 'p' (password) parameter work
> api-subsonic-report-old-server-protocol = ("DSub");
> 
> # Turn on this option to allow the demo account creation/use
> demo = false;
> 
> # Max external cover file size in MBytes
> cover-max-file-size = 10;
> 
> # Max cover cache size in MBytes
> cover-max-cache-size = 30;
> 
> # JPEG quality for covers (range is 1-100)
> cover-jpeg-quality = 75;
> 
> # Preferred file names for covers (order is important)
> cover-preferred-file-names = ("cover", "front" );
> 
> # Playqueue max entry count
> playqueue-max-entry-count = 1000;
> 
> # Set to true if you want to hide duplicate tracks
> scanner-skip-duplicate-mbid = false;
> 
> # Scanner read style for metadata, maybe be 'fast', 'average' or 'accurate'
> scanner-parser-read-style = "accurate";
> 
> ```

These are the complete logs from starting the container, logging in, supplying /music as the root and hitting scan.  
[\_lms\_logs.txt](http://support.symfonium.app/uploads/short-url/vgJ2RIMnXDnNcpjwwmRTkxCvgHS.txt) (15,7 KB)

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [October 29, 2023, 6:37pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/24 "2023-10-29T18:37:29Z")

</div>

@itm so is there anything else I can try? Otherwise I’ll bench using lms for now.

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [October 30, 2023, 8:42am UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/25 "2023-10-30T08:42:30Z")

</div>

From the logs, it looks like the root media directory is not set.  
I guess you directly started the scanner without saving changes first?

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [October 30, 2023, 3:33pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/26 "2023-10-30T15:33:47Z")

</div>

That’s hilarious and sad at the same time.

 ![grafik](http://support.symfonium.app/uploads/default/original/2X/b/bd231a45f6cc20b2b7f304b5a5877a227264fa22.png)  
From the layout it looked to me like “Apply” only affects the “Tags” section of “Scan options”, which I did not change and thus I did not think of hitting “Apply” there.

Now it’s merrily scanning away.

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [October 30, 2023, 3:46pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/27 "2023-10-30T15:46:07Z")

</div>

Indeed poor UI, will try to better isolate the scanner

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [October 31, 2023, 6:11am UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/28 "2023-10-31T06:11:12Z")

</div>

![lms](http://support.symfonium.app/uploads/default/original/2X/d/de4f8f455d9c8a0feee47b77228486fb9e515042.png)  
It managed to finish and the 3 errors it found were actually three 5KB tracks where something somewhere at some point went wrong. I was able to replace/fix all of them.

To put it mildly, with my amount of files the UI is laggy.

Or in other words: upon logging in the site freezes/loads for over 2 minutes before displaying random albums.

I’ll test how quick rescans are and also how it performs when used as a source for symfonium. On its own it is sadly not usable with my amount of files.

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [October 31, 2023, 11:06am UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/29 "2023-10-31T11:06:04Z")

</div>

Thanks for testing!  
Does restarting the service actually help?

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [October 31, 2023, 11:07am UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/30 "2023-10-31T11:07:42Z")

</div>

Ho yes I mentioned that to Itm when I tried after scanning the 300 000k songs I had to restart the server for it to work at normal speed.

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [October 31, 2023, 5:21pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/31 "2023-10-31T17:21:13Z")

</div>

> [@itm](#):
>
> Does restarting the service actually help?

It does help. The site now loads after a few seconds. However “normal” use is still pretty much out of reach.  
When searching for an artist and clicking on the result it takes 30+ seconds until the artist is loaded.

Rescan was quicker but still slower than jellyfin (that takes 15ish minutes).  
 ![lms1](http://support.symfonium.app/uploads/default/original/2X/c/c6bf20b5205e434a77481867e5bf845a8bafbb02.png)

And syncing Symfonium took 1,5 hours. Also a bit slower than jellyfin (takes around 1 hour).

So to sum up it’s a viable alternative to jellyfin, however it’s not really usable on its own via the GUI (same goes for jellyfin) and jellyfin is as of yet faster.

Edit:  
Considering that the restart increased the performance I’ll redo the rescan and sync to symfonium to be sure that I give it the best possible shot.

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [November 1, 2023, 9:18am UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/32 "2023-11-01T09:18:25Z")

</div>

Thanks for this feedback. Will try to generate a big fake database locally to try to optimize.  
Will tell you!

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [November 1, 2023, 11:56am UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/33 "2023-11-01T11:56:34Z")

</div>

> [@655321](#):
>
> Considering that the restart increased the performance I’ll redo the rescan and sync to symfonium to be sure that I give it the best possible shot.

That yielded no significant improvement so for now I’ll stick with jellyfin as the source for Symfonium.

> [@itm](#):
>
> Will tell you!

I’d be happy to test future versions. Stresstesting music players/servers has become kind of a hobby of mine ever since iTunes started collapsing when my collection was at ~100k tracks over a decade ago which made me look for alternatives.

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [November 1, 2023, 3:11pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/34 "2023-11-01T15:11:20Z")

</div>

What are your server specs btw?

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [November 1, 2023, 8:26pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/35 "2023-11-01T20:26:09Z")

</div>

The fileserver is running an Intel Xeon E5-2620v4 with 128GB of DDR4 2133 ECC RAM. The music resides on a 8x 8TB Z2 ZFS pool in TrueNAS Core.

The docker host runs an Intel i7 2600 with 16GB DDR3 1333 RAM (I look to replace it with a newer, faster machine with more RAM soon). That PC runs proxmox, which hosts a ubuntu server VM and within that I deployed the docker container. It has a 1GBit/s LAN connection to the file server. While scanning, none of the CPU cores are close to full load so I’m not sure if the compute performance of that PC is a limiting factor but it might be.

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [November 1, 2023, 10:50pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/36 "2023-11-01T22:50:12Z")

</div>

Thanks!  
The scanner is currently mono threaded, no effort has been put on it to make it faster (it is even scanning using the taglib’s “accurate” mode, the slowlest one). Will tackle this later, I already have some ideas.

What worries me now is the responsiveness of the UI. I tested on my old i5 3470 using a fake database of 1.8M songs and all the UI has sub second response times except for:

- searches by name, which are really slow when a lot or matches are found
- artist and album views, which are really slow (about 8s) because of the current similarity engine which does not scale.

Will try to make a version in which you can disable the similarity engine, to make sure there is no other problem.

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [November 3, 2023, 12:14pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/37 "2023-11-03T12:14:55Z")

</div>

@655321 would you mind testing the docker 083652e image?  
Warning: the db schema changed and is not backward compatible with 3.42.1  
Once restarted, go to the media collection settings and disable to similarity engine. Apply and then restart the service.  
Then the UI should always stay reactive in all views/tabs and even when searching.  
If it is not the case, stop the service, run sqlite3 on the db and issue the analyze; command. And test again (I tweaked analyzis limit because value was too small)  
Thanks!

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [November 3, 2023, 6:52pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/38 "2023-11-03T18:52:33Z")

</div>

> [@itm](#):
>
> Apply and then restart the service.

Applying triggered a rescan. So I guess it’ll take a while.

> [@itm](#):
>
> would you mind testing the docker 083652e image?

I deleted the previous container and redeployed via:

```auto
version: '3.3'
services:
    lms:
        container_name: lms
        user: '1000:1000'
        environment:
            - TZ=Europe/Berlin
        ports:
            - '5082:5082'
        volumes:
            - '/mnt/music:/music:ro'
            - '/opt/lms:/var/lms'
        restart: unless-stopped
        image: epoupon/lms:083652e
        command: /var/lms/lms.conf

```

> [@itm](#):
>
> Warning: the db schema changed and is not backward compatible with 3.42.1

It didn’t seem to care, when I started up the new container it still showed me my albums.  
Or should I have deleted the old database manually before redeploying?

---

<div class="post-metadata">

**Author:** ![itm](http://support.symfonium.app/letter_avatar_proxy/v4/letter/i/da6949/32.png) [@itm](http://support.symfonium.app/u/itm)\
**Post date:** [November 3, 2023, 7:42pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/39 "2023-11-03T19:42:22Z")

</div>

Yes applying triggers a rescan, which not needed in this particular case, hence the “then restart the service” to make it stop.

It’s fine to remove the container, since the db is stored within the persistent /opt/lms volume.

The db has been migrated to a new schema (you keep all your data), what I meant is that you won’t be able to run v3.42.1 using this db once the db is migrated, but I guess you don’t care

---

<div class="post-metadata">

**Author:** ![655321](http://support.symfonium.app/user_avatar/support.symfonium.app/655321/32/1975_2.png) [@655321](http://support.symfonium.app/u/655321)\
**Post date:** [November 3, 2023, 8:00pm UTC](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551/40 "2023-11-03T20:00:30Z")

</div>

> [@itm](#):
>
> Yes applying triggers a rescan, which not needed in this particular case, hence the “then restart the service” to make it stop.

I let it finish anyhow (I’ve added a couple hundred songs since the last scan).  
Also now it scanned a lot quicker than last time. Might be because I updated and restarted the VM host.  
 ![grafik](http://support.symfonium.app/uploads/default/original/2X/6/61cd1e16c3e0b2698857d7d29c02906f39b1c03e.png)  
The time is still off by 2 hours btw. so the container still ignores this:

```auto
environment:
            - TZ=Europe/Berlin

```

> [@itm](#):
>
> The db has been migrated to a new schema (you keep all your data), what I meant is that you won’t be able to run v3.42.1 using this db once the db is migrated, but I guess you don’t care

Thanks for clearing that up.

> [@itm](#):
>
> Then the UI should always stay reactive in all views/tabs and even when searching.

Indeed. I mean the covers load in slowly but that’s to be expected as each is usually 1400px+, often 2+MB per image. Otherwise it reacts within a few seconds, which is impressive.

One thing I’ve noticed now after searching a couple of artists is that it doesn’t recognize/use all of my multi value album artists.

Looking at the documentation I see that you only support albumartists albumartistssort as of yet.  
My collection predates these tags and I’ve mainly used `; ` as a separator/delimiter for multi value tags. And lately I’ve also used multiple albumartist tags (which in mp3tag are shown as separated via `\\`). Upon further testing lms correctly uses multiple albumartist tags. Only those with `; ` aren’t recognized.

Do you plan to let the user choose 1 (or more) custom delimiters/separators to be used as well as albumartists & albumartistssort?  
Jellyfin, MusicBee, Mediamonkey and Symfonium (with local files) all correctly recognize my multi value tags.

Edit:  
Another thing I’ve noticed is that lms sometimes gets confused with multiple albums having the same name but different artists.

For example it lists the album “Home” by Delaney & Bonnie  
 ![grafik](http://support.symfonium.app/uploads/default/original/2X/5/5468bc3842e69d1f0af7ebab21cf62a77126c560.jpeg)  
Which has these tags.  
 ![grafik](http://support.symfonium.app/uploads/default/original/2X/d/d2812db36cfef7be06c2d254beef91484ae69d17.png)  
under Butler, John instead of the actual album:  
 ![grafik](http://support.symfonium.app/uploads/default/original/2X/c/c06bd32a7e0015bee9d7bd48d2651c7d5d82b0a5.png)  
It also mixed the album “Flesh & Blood” by Maddy Prior in-between the album of the same name by The John Butler Trio.

I don’t even want to think about what kind of shuffling it’ll do with the album “Live” considering that I have 1634 tracks of different artists that have this exact album title.

[Previous page](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551.md?page=1)

[Next page](http://support.symfonium.app/t/multiple-artists-and-or-genres/2551.md?page=3)
