You are not logged in.
I'm having an odd problem with mpd not displaying any of my mp3 files when browsing by metadata. I can only see my FLAC files.
Browsing by database shows me everything, and everything plays just fine.
Anyone else ever see this?
Last edited by apastuszak (2016-09-06 13:15:33)
Offline
I further experimented by adding some ogg files, and they worked fine. So it appears it may have something to do with Vorbis Comments vs ID3 tags.
Offline
I attempted to ask this question in the mpd forums and didn't get anywhere. I am trying to find out if mpd was compiled with id3 tag support. Anyone know how I can check this?
Offline
You most likely didn't get any help, because you provide ZERO information.
ok, first of all: are you using mpd from the repositories?
And please show your mpd config and the output of mpd --version.
Also show the output of mutagen-inspect FILE from one of the mp3 files.
Last edited by Rasi (2016-09-04 07:24:25)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Using MPD from the repositories.
mpd --version
Music Player Daemon 0.19.19
Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008-2014 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Database plugins:
simple proxy upnp
Storage plugins:
local smbclient nfs
Neighbor plugins:
smbclient upnp
Decoders plugins:
[mad] mp3 mp2
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[opus] opus ogg oga
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[faad] aac
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
[pcm]
Output plugins:
shout null fifo pipe alsa ao oss pulse jack httpd recorder
Encoder plugins:
null vorbis opus lame wave flac
Archive plugins:
[bz2] bz2
Input plugins:
file alsa archive curl ffmpeg smbclient nfs mms cdio_paranoia
Playlist plugins:
extm3u m3u pls xspf asx rss soundcloud cue embcue
Protocols:
file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// smb:// nfs:// cdda:// alsa://
Working on the mutagen. I'm pretty sure mpd in the repository is compiled without ID3 support.
Offline
And using the beet info plugin I get this:
/home/andy/Desktop/01 Heartland.mp3
acoustid_id: eadcfbb6-d460-4f31-9da7-3abe1f622da3
album: Celtic Thunder
albumartist: Celtic Thunder
albumstatus: official
albumtype: album
art: True
artist: Celtic Thunder
artist_sort: Celtic Thunder
asin: B00152IAIQ
bitdepth: 0
bitrate: 189154
catalognum: CMCD002
channels: 2
country: US
date: 2008-03-18
day: 18
format: MP3
genres:
label: Decca Records
length: 242.12
mb_albumartistid: 9f176bd8-c032-4c39-aac8-fc663072a77e
mb_albumid: 347b559d-8f02-473d-b49c-d98e26a2b7a5
mb_artistid: 9f176bd8-c032-4c39-aac8-fc663072a77e
mb_releasegroupid: 0109ad0a-a312-3d7d-876a-b1baa16b945f
mb_trackid: 28e4b188-9745-4a3a-b24f-72bd52a472e2
media: CD
month: 3
original_date: 2008-01-01
original_year: 2008
samplerate: 44100
script: Latn
title: Heartland
track: 1
tracktotal: 15
year: 2008
Beets uses mutagen. If there is a better tool that beets to produce ID3 out for an MP3 file. then let me know.
Offline
And mutagen-inspect
-- /home/andy/Desktop/01 Heartland.mp3
- MPEG 1 layer 3, 189154 bps (VBR, LAME 3.97.0), 44100 Hz, 2 chn, 242.12 seconds (audio/mp3)
APIC=cover front, (image/jpeg, 68089 bytes)
TALB=Celtic Thunder
TDOR=2008
TDRC=2008-03-18
TIT2=Heartland
TMED=CD
TPE1=Celtic Thunder
TPE2=Celtic Thunder
TPUB=Decca Records
TRCK=1/15
TSO2=Celtic Thunder
TSOP=Celtic Thunder
TXXX=ASIN=B00152IAIQ
TXXX=Acoustid Id=eadcfbb6-d460-4f31-9da7-3abe1f622da3
TXXX=Artists=Celtic Thunder
TXXX=BARCODE=602517665620
TXXX=CATALOGNUMBER=CMCD002
TXXX=MusicBrainz Album Artist Id=9f176bd8-c032-4c39-aac8-fc663072a77e
TXXX=MusicBrainz Album Id=347b559d-8f02-473d-b49c-d98e26a2b7a5
TXXX=MusicBrainz Album Release Country=US
TXXX=MusicBrainz Album Status=official
TXXX=MusicBrainz Album Type=album
TXXX=MusicBrainz Artist Id=9f176bd8-c032-4c39-aac8-fc663072a77e
TXXX=MusicBrainz Release Group Id=0109ad0a-a312-3d7d-876a-b1baa16b945f
TXXX=MusicBrainz Release Track Id=6f9cbf1d-3c4e-3fa9-bb59-520db320ad3e
TXXX=SCRIPT=Latn
TXXX=originalyear=2008
UFID=http://musicbrainz.org='28e4b188-9745-4a3a-b24f-72bd52a472e2'
Offline
You can check the build files yourself here: https://git.archlinux.org/svntogit/pack … ckages/mpd
ID3 support isn't explicitly enabled in the PKGBUILD, but libid3tag is listed as a dependency. If you build it in a clean chroot, the configure script detects and enables id3tag.
[...]
checking for ID3TAG... yes
configure: auto-detected id3tag
[...]
g++ [...] -o src/mpd src/Main.o libmpd.a [...] -lid3tag [...]
You haven't specified which front-end you're using for mpd. Have you tried others?
Last edited by WorMzy (2016-09-04 14:50:22)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I have tried:
mpc
gmpc
qmpd
cantata
ario
sonata
The files show up in the database. I just can't see them in the metadata browser.
Offline
You can check the build files yourself here: https://git.archlinux.org/svntogit/pack … ckages/mpd
ID3 support isn't explicitly enabled in the PKGBUILD, but libid3tag is listed as a dependency. If you build it in a clean chroot, the configure script detects and enables id3tag.
[...] checking for ID3TAG... yes configure: auto-detected id3tag [...] g++ [...] -o src/mpd src/Main.o libmpd.a [...] -lid3tag [...]
You haven't specified which front-end you're using for mpd. Have you tried others?
So,should I file a bug to enable ID3 tag support in mpd?
Offline
I just discovered that mopidy has ID3 tag support set up properly. So, I have a pretty good workaround using that. And it seems to do bit-perfect audio also.
Offline
Learn how to use the edit button; there is no need to keep bumping the thread.
Offline
WorMzy wrote:You can check the build files yourself here: https://git.archlinux.org/svntogit/pack … ckages/mpd
ID3 support isn't explicitly enabled in the PKGBUILD, but libid3tag is listed as a dependency. If you build it in a clean chroot, the configure script detects and enables id3tag.
[...] checking for ID3TAG... yes configure: auto-detected id3tag [...] g++ [...] -o src/mpd src/Main.o libmpd.a [...] -lid3tag [...]
You haven't specified which front-end you're using for mpd. Have you tried others?
So,should I file a bug to enable ID3 tag support in mpd?
No, I was saying that it is enabled, just not explicitly.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
ldd /usr/bin/mpd | grep id3
to see if your mpd has id3tag support
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
[andy@new-host-2 ~]$ ldd /usr/bin/mpd | grep id3
libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x00007fe189626000)
I assume this means I have ID3 tag support compiled in.
EDIT: If anyone else is running mpd from extra, can they tell me if they see their MP3s under the metadata section of GMPC?
Last edited by apastuszak (2016-09-05 04:57:09)
Offline
I do.
Please post your .mpdconf (or /etc/mpd.conf if you're running mpd as a system daemon).
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Here is my ~/.config/mpd/mpd.conf
music_directory "nfs://ubuntu-server/mnt/storage/music"
playlist_directory "~/.config/mpd/playlists"
db_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"
gapless_mp3_playback "yes"
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
#PC Speakers and headphone jack
#
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:1,0" # optional
mixer_type "hardware" # optional
## mixer_device "default" # optional
## mixer_control "PCM" # optional
## mixer_index "0" # optional
}
#USB Modi Audio Output
#
#audio_output {
# type "alsa"
# name "alsa audio"
# device "hw:3,0"
# mixer_type "none"
# server "remote_server" # optional
# sink "remote_server_sink" # optional
#}
#
replaygain "auto"
EDIT: Do you have a mix of MP3s and FLAC, or are you all MP3?
Last edited by apastuszak (2016-09-05 22:06:04)
Offline
My collection is predominantly MP3, but I have a few hundred FLACs too.
The only thing that jumps out at me there is that your music directory is on nfs. Could you check whether a local music directory has the same problem?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I just came to the same conclusion. I am going to test that in about a half hour.
EDIT: Copied a subset of music local and it did show the MP3s in my metadata. I am copying that same subset up to my server now to confirm it's the mpd storage plugin and not some corrupt file, since I only used a subset of my music.
EDIT: The developer has confirmed this issue is fixed in 0.20 GIT HEAD. So, we just need to wait for 0.20 to get released.
Marking as solved.
Last edited by apastuszak (2016-09-06 13:15:06)
Offline
I've got the same problem with Arch on a RPi and my music on a samba share. I wonder if it's worth trying sshfs instead.
@apastuszak Is there an upstream bug report for this? If not, how did you know the developer has fixed this? I'd like to make sure the fix is going to fix samba too.
Offline
I've got the same problem with Arch on a RPi and my music on a samba share. I wonder if it's worth trying sshfs instead.
@apastuszak Is there an upstream bug report for this? If not, how did you know the developer has fixed this? I'd like to make sure the fix is going to fix samba too.
The developer responded to a post I made on the mpd forums.
Offline