Incorrect artist and album artist imported into Ampache

348 views
Skip to first unread message

Avi Alkalay

unread,
Nov 27, 2017, 4:02:19 AM11/27/17
to Ampache
I'm starting with Ampache and already have some local catalogs set up.

I tag my music with MusicBrainz Picard using MusicBrainz information.

I noticed this album (xangai-mutirao_da_vi..>) is imported as artist "Catia de França & Xangai" instead of just "Xangai". Album on MusicBrainz: https://musicbrainz.org/release/939c8d16-9e91-44ce-b6fa-ea1c4fc16204
Cátia de França only appears in track 10 as a composer !!

I also noticed many albums imported with wrong artists.

I appreciate if a developer can download the zip file, inspect the tags and try to reproduce it.

I'm using Ampache cloned from Git yesterday and prepared with Composer following site documentation.

Thank you in advance

Avi Alkalay

unread,
Nov 27, 2017, 4:12:25 AM11/27/17
to Ampache

Makes absolute no sense:



Ernie D

unread,
Nov 27, 2017, 12:46:20 PM11/27/17
to amp...@googlegroups.com
Hello Avi,

What type of music files do you have: mp3, flac?

The default config/ampache.cfg.php switch is: metadata_order =
"getID3,filename" (line 198). getID3 should tell Ampache to look into
the music file tags for metadata.

To access info via Musicbrainz, it needs to be added to the config
switch and the Musicbrainz plugin needs to be activated
(modules->Available Plugins).

As for the file and folder pattern, it is used to get information from
the filepath and filename.

As for SQLlite, I'm not sure it can be used efficiently for large
quantity of data.  I will be looking into the possibility of using
SQLlite in the development of the new Laravel based Ampache.


73 From AA1AD
Ernie D
Federal Way, WA | CN87ug

On 11/27/2017 01:02 AM, Avi Alkalay wrote:
> I'm starting with Ampache and already have some local catalogs set up.
>
> I tag my music with MusicBrainz Picard using MusicBrainz information.
>
> I noticed this album (xangai-mutirao_da_vi..>
> <https://avi.alkalay.net/clipboard/xangai-mutirao_da_vida.zip>) is
> imported as artist "Catia de França & Xangai" instead of just
> "Xangai". Album on
> MusicBrainz: https://musicbrainz.org/release/939c8d16-9e91-44ce-b6fa-ea1c4fc16204
> Cátia de França only appears in track 10 as a composer !!
>
> I also noticed many albums imported with wrong artists.
>
> I appreciate if a developer can download the zip file, inspect the
> tags and try to reproduce it.
>
> I'm using Ampache cloned from Git yesterday and prepared with Composer
> following site documentation.
>
> Thank you in advance
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ampache" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ampache+u...@googlegroups.com
> <mailto:ampache+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ampache/1c8d5aed-c5a8-44cb-8e94-402de0f9033e%40googlegroups.com
> <https://groups.google.com/d/msgid/ampache/1c8d5aed-c5a8-44cb-8e94-402de0f9033e%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Avi Alkalay

unread,
Nov 28, 2017, 2:11:50 AM11/28/17
to Ampache
Hello Ernie, thanks for replying


On Monday, November 27, 2017 at 3:46:20 PM UTC-2, Ernie D wrote:
What type of music files do you have: mp3, flac?

Mostly M4A (AAC, ALAC) and some parts in MP3. No FLAC, no Vorbis, no WMA.
 
The default config/ampache.cfg.php switch is: metadata_order =
"getID3,filename" (line 198). getID3 should tell Ampache to look into
the music file tags for metadata.

Following your tip, I put: metadata_order = "MusicBrainz,getID3,filename"
Can I completely remove "filename"? All my files are correctly tagged.

This doesn't explain why this album (and most other Xangai's albums) got classified as "Cátia de França & Xangai". "Cátia de França" only appears as a composer in a few tracks and never in folders or file names.
Would you please download the zip and try to reproduce it ?

 
To access info via Musicbrainz, it needs to be added to the config
switch and the Musicbrainz plugin needs to be activated
(modules->Available Plugins).

As for the file and folder pattern, it is used to get information from
the filepath and filename.

Done. Let's test it. 

 
As for SQLlite, I'm not sure it can be used efficiently for large
quantity of data.  I will be looking into the possibility of using
SQLlite in the development of the new Laravel based Ampache.

I have a fairly large collection (~100K music files) and my Kodi's music SQLite database file is 64MB. Kodi's music database contains similar information to Ampache.

I have worked myself with much bigger SQLite databases (850MB) without problems. I also ran this specific database on MySQL and tested complex queries on both. SQLite was much faster.

Thank you

Ernie D

unread,
Nov 28, 2017, 2:27:27 AM11/28/17
to amp...@googlegroups.com
It's downloaded, but it is getting late.  I'll take a look at it tomorrow.


73 From AA1AD
Ernie D
Federal Way, WA | CN87ug

> --
> You received this message because you are subscribed to the Google
> Groups "Ampache" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ampache+u...@googlegroups.com
> <mailto:ampache+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ampache/fedb2c27-1a67-490c-b509-648127e269ef%40googlegroups.com
> <https://groups.google.com/d/msgid/ampache/fedb2c27-1a67-490c-b509-648127e269ef%40googlegroups.com?utm_medium=email&utm_source=footer>.

wagn...@comcast.net

unread,
Nov 29, 2017, 5:37:02 PM11/29/17
to Ampache
Did adding Musicbrainz work for you?



Screenshot at 2017-11-29 14-28-06.png

Ernie D

unread,
Nov 29, 2017, 5:49:57 PM11/29/17
to amp...@googlegroups.com
You wrote:

"Can I completely remove "filename"? All my files are correctly tagged."

I think you can.  I just tried it and it seemed to work.

Ernie D

unread,
Nov 29, 2017, 6:43:04 PM11/29/17
to amp...@googlegroups.com
I did some research and you are correct: sqlite can handle up to 40
terabytes of data.  But has several disadvantages. see
https://sqlite.org/whentouse.html.


73 From AA1AD
Ernie D
Federal Way, WA | CN87ug

On 11/27/2017 11:11 PM, Avi Alkalay wrote:
> --
> You received this message because you are subscribed to the Google
> Groups "Ampache" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ampache+u...@googlegroups.com
> <mailto:ampache+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ampache/fedb2c27-1a67-490c-b509-648127e269ef%40googlegroups.com
> <https://groups.google.com/d/msgid/ampache/fedb2c27-1a67-490c-b509-648127e269ef%40googlegroups.com?utm_medium=email&utm_source=footer>.

Avi Alkalay

unread,
Dec 2, 2017, 5:14:33 AM12/2/17
to Ampache
Sure, all databases have limitations for specific scenarios.
But I think SQLite will work great for Ampache.

Avi Alkalay

unread,
Dec 2, 2017, 5:25:52 AM12/2/17
to Ampache
I don't know. How pages should be affected ?

Many albums were imported incorrectly like this. Only one album under the real artist and all other albums under incorrect "Artist1 & Artist2".
If you imported them correctly, It doesn't seem to be poorly tagged music files. My music files are all correctly tagged by MusicBrainz.

I can give you access to my Ampache and even to my server if you want to debug it.

Ernie D

unread,
Dec 5, 2017, 7:27:31 PM12/5/17
to amp...@googlegroups.com
Just an FYI: On the medadata in the downloaded files (xangai-mutirao
<https://avi.alkalay.net/clipboard/xangai-mutirao_da_vida.zip>), I could
not import the files when they were on a Subsonic server.  I had to run
the files through Easytag to remove "illegal characters".  After
cleaning them up with Easytag, I had no problem creating a Subsonic Catalog.


73 From AA1AD
Ernie D
Federal Way, WA | CN87ug

> --
> You received this message because you are subscribed to the Google
> Groups "Ampache" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ampache+u...@googlegroups.com
> <mailto:ampache+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ampache/08892ded-53f9-4b27-bfe1-22ebd704479f%40googlegroups.com
> <https://groups.google.com/d/msgid/ampache/08892ded-53f9-4b27-bfe1-22ebd704479f%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages