Mopidy local scan missing artist in album table entry

Hi all
New to Mopidy.
Setting up music library on a RPi. Mostly fine.
Some of my mp3 files were done a long time ago and have an older id3 tag – I think this is causing some problems, as after a local scan, the artist id isn’t put into the album record.

Here’s the id3 tag on an example file – eyeD3 reports it as id3 v2.2:

$ id3info media/Bryan\ Ferry/01\ these\ foolish\ things/01\ A\ Hard\ Rain’s\ A-Gonna\ Fall.mp3
*** Tag information for media/Bryan Ferry/01 these foolish things/01 A Hard Rain’s A-Gonna Fall.mp3
=== TT2 (Title/songname/content description): A Hard Rain’s A-Gonna Fall
=== TCM (Composer): Bob Dylan
=== TRK (Track number/Position in set): 1/13
=== TPA (Part of a set): 1/1
=== TYE (Year): 1973
=== COM (Comments): (iTunPGAP)[eng]: 0
=== TEN (Encoded by): iTunes 8.0
=== COM (Comments): (iTunNORM)[eng]: 00000DA4 00000EA1 00007143 00006BD3 0003DAA1 0003DAA1 00008524 00008364 00035D6D 0003C568
=== COM (Comments): (iTunSMPB)[eng]: 00000000 00000210 000007A4 0000000000D6C44C 00000000 0074D2F1 00000000 00000000 00000000 00000000 00000000 00000000
=== COM (Comments): (iTunes_CDDB_IDs)[eng]: 13+45FE666C45C03B7E01D491EF2E9ACD05+835558
=== UFI (Unique file identifier): http://www.cddb.com/id3/taginfo.html, 53 bytes
=== PIC (Attached picture): ()[JPG, 0]: , 6414 bytes
=== TP1 (Lead performer(s)/Soloist(s)): Bryan Ferry
=== TAL (Album/Movie/Show title): These Foolish Things
=== TSA (): frame
*** mp3 info
MPEG1/layer III
Bitrate: 192KBps
Frequency: 44KHz

and here is the record for the album in the SQLite database:

local:album:md5:1f95377ad6b910200a8397655eafee7e|These Foolish Things||13|1|1973||/local/ec0331a54c3671bff1d37992841a3e55-225x225.jpeg

Doesn’t look like it is picking up the TP1 field.

Any help welcome – I’d prefer not to retag lots of old files!

iris doesn’t find the artist if the artist has only these old id3 tags.
musicbox_webclient does find the artist under the same circumstances.

I think this is a mopidy local scan thing, rather than a client interface thing – however, I’m new to this.
S

Musicbox-webclient takes the data given to it by Mopidy, which can only have come from Mopidy-Local. That is, assuming you not inadvertently using Mopidy-File in one of these cases. I can’t speak to what Iris does. If you grab a debug log we might be able to get a better idea of what’s going on. I’ll also ask for your mopidyctl deps output also.

Thanks for replying. I don’t think that it’s a feature of the clients – this is a mopidy feature. I think that mopidy (or at least Mopidy-Local) needs the albumartist tag to function properly.

I added an

album artist: Bryan Ferry

tag to the .mp3 file (still id3 v2.2), which went into the

TP2 (Band/orchestra/accompaniment) field.

“sudo mopidyctl local scan” then picked up this field and used it to link the artist to the album.

local:album:md5:09f05de7da20ea4d6ad13cebcfc8ca66|These Foolish Things|local:artist:md5:1103c0fb9bd49e9b3861bc47b06870aa|13|1|1973||/local/ec0331a54c3671bff1d37992841a3e55-225x225.jpeg

I would have hoped that if “album artist” wasn’t present, it’d automatically use the “artist” field, but that appears not to be the case.

Here’s mopidyctl deps:

$ sudo mopidyctl deps
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps” as user mopidy
Executable: /usr/bin/mopidy
Platform: Linux-4.19.97±armv6l-with-debian-10.3
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.0.1 from /usr/local/lib/python3.7/dist-packages
requests: 2.21.0 from /usr/lib/python3/dist-packages
Pykka: 2.0.2 from /usr/local/lib/python3.7/dist-packages
tornado: 6.0.3 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy-Iris: 3.44.3 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.1 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
mopidy-raspberry-gpio: 1.0.0 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy: 3.0.1 from /usr/local/lib/python3.7/dist-packages
mopidy-pidi: 1.0.0 from /usr/local/lib/python3.7/dist-packages
netifaces: 0.10.9 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
musicbrainzngs: 0.7.1 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.1 from /usr/local/lib/python3.7/dist-packages
Mopidy-MusicBox-Webclient: 3.0.1 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.1 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy-Spotify: 4.0.1 from /usr/lib/python3/dist-packages
Mopidy-Local: 3.1.1 from /usr/local/lib/python3.7/dist-packages
uritools: 3.0.0 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.1 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python3/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.30.4
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
mad