2017-03-28 06:19 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004648MPDMetadatapublic2017-02-16 10:22
Reporterchikinn 
Assigned Tocirrus 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionwon't fix 
Product Version0.20 
Target VersionFixed in Version 
Summary0004648: Database won't store track numbers that contain forward slash
DescriptionExpected behavior: MPD database stores track numbers of the format 'XX/XX'

Actual behavior: Such database entries created with older versions of MPD can still be accessed, but editing those entries or adding new entries results in removal of the '/'
Steps To ReproduceIn ncmpcpp 0.7.7, edit the track tag of an mp3 file to include '/' (for example '01/15'). The correct tag will be written to the mp3 file, but an incorrect tag ('1' instead of '01/15') will be stored in the MPD database.
Additional InformationThe disc number tag has the same issue.

I noticed this in version 0.20.4, and another user confirms for 0.20.1:
https://bbs.archlinux.org/viewtopic.php?pid=1690723#p1690723

Another user fails to confirm for 0.19.21:
https://bugs.musicpd.org/view.php?id=4646

... So presumably it's an issue with 0.20.
TagsNo tags attached.
Attached Files
  • txt file icon mpd_version.txt (1,993 bytes) 2017-02-16 08:02 -
    Music Player Daemon 0.20.4
    
    Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
    Copyright 2008-2017 Max Kellermann <max.kellermann@gmail.com>
    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 curl
    
    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
     [gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz
     [pcm]
    
    Filters:
     libsamplerate soxr
    
    Tag plugins:
     id3tag
    
    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
     [iso] iso
    
    Input plugins:
     file alsa archive curl ffmpeg smbclient nfs mms cdio_paranoia
    
    Playlist plugins:
     extm3u m3u pls xspf asx rss soundcloud flac cue embcue
    
    Protocols:
     file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// smb:// nfs:// cdda:// alsa://
    
    Other features:
     avahi epoll icu inotify ipv6 systemd tcp un
    
    txt file icon mpd_version.txt (1,993 bytes) 2017-02-16 08:02 +
  • ? file icon mpd.conf (590 bytes) 2017-02-16 08:02

-Relationships
+Relationships

-Notes

~0010354

cirrus (administrator)

The MPD "track" tag is specified as the track number - which is numeric. The ID3 "track" tag has a different definition, and thus MPD converts the string. This is 100% correct behavior.

~0010355

chikinn (reporter)

Would you consider adding a config option to preserve the 0.19 behavior?

I'd be happy to open this as a feature request.

~0010356

cirrus (administrator)

No. But a client can still read the original tags with the "readcomments" command.
+Notes

-Issue History
Date Modified Username Field Change
2017-02-16 08:02 chikinn New Issue
2017-02-16 08:02 chikinn Status new => assigned
2017-02-16 08:02 chikinn Assigned To => cirrus
2017-02-16 08:02 chikinn File Added: mpd_version.txt
2017-02-16 08:02 chikinn File Added: mpd.conf
2017-02-16 09:27 cirrus Status assigned => closed
2017-02-16 09:27 cirrus Resolution open => won't fix
2017-02-16 09:27 cirrus Note Added: 0010354
2017-02-16 09:56 chikinn Status closed => feedback
2017-02-16 09:56 chikinn Resolution won't fix => reopened
2017-02-16 09:56 chikinn Note Added: 0010355
2017-02-16 10:22 cirrus Status feedback => closed
2017-02-16 10:22 cirrus Resolution reopened => won't fix
2017-02-16 10:22 cirrus Note Added: 0010356
+Issue History