Feature Request: Add disc number to metadata delivered
Feature Request
Hello, I would like to see disc numbers printed by Rygel. Currently when I get a list out of all of the tracks from multi-disc albums in my clients, they aren't in the right order because "originalTrackNumber" is insufficient information for any multi-disc album.
I've pasted below what I'm receiving from Rygel and what the input file metadata looks like.
Please let me know if more information is desired.
Detailed Comparison
Current Output from Rygel
<item id="2d0ad703222ac6b8a85ee8dbf686dbe6" parentID="1ef2b3260cbeed9f30a43bbb0360a4a8" restricted="0" dlna:dlnaManaged="00000010">
<dc:title>Back on Deck</dc:title>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<dc:date>2022-07-29</dc:date>
<upnp:objectUpdateID>69304</upnp:objectUpdateID>
<upnp:artist>Dance Gavin Dance</upnp:artist>
<res size="27800275" duration="0:03:32.000" nrAudioChannels="2" sampleFrequency="44100" protocolInfo="http-get:*:audio/flac:DLNA.ORG_OP=01">http://192.168.2.10:38877/MediaExport/i/MmQwYWQ3MDMyMjJhYzZiOGE4NWVlOGRiZjY4NmRiZTY%3D/res/primary_http.flac</res>
<res duration="0:03:32.000" sampleFrequency="128" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://192.168.2.10:38877/MediaExport/i/MmQwYWQ3MDMyMjJhYzZiOGE4NWVlOGRiZjY4NmRiZTY%3D/res/MP3.mp3</res>
<res duration="0:03:32.000" bitrate="176400" bitsPerSample="16" nrAudioChannels="2" sampleFrequency="44100" protocolInfo="http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://192.168.2.10:38877/MediaExport/i/MmQwYWQ3MDMyMjJhYzZiOGE4NWVlOGRiZjY4NmRiZTY%3D/res/LPCM.lpcm</res>
<res duration="0:03:32.000" sampleFrequency="256" protocolInfo="http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://192.168.2.10:38877/MediaExport/i/MmQwYWQ3MDMyMjJhYzZiOGE4NWVlOGRiZjY4NmRiZTY%3D/res/AAC_ADTS_320.adts</res>
<upnp:album>Jackpot Juicer</upnp:album>
<upnp:originalTrackNumber>14</upnp:originalTrackNumber>
<upnp:albumArtURI dlna:profileID="JPEG_TN">http://192.168.2.10:38877/MediaExport/i/MmQwYWQ3MDMyMjJhYzZiOGE4NWVlOGRiZjY4NmRiZTY%3D/th/0.jpg</upnp:albumArtURI>
</item>
<item id="a640fa98fd76990295025a378674b2aa" parentID="1ef2b3260cbeed9f30a43bbb0360a4a8" restricted="0" dlna:dlnaManaged="00000010">
<dc:title>Back on Deck (instrumental)</dc:title>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<dc:date>2022-07-29</dc:date>
<upnp:objectUpdateID>68704</upnp:objectUpdateID>
<upnp:artist>Dance Gavin Dance</upnp:artist>
<res size="26799065" duration="0:03:31.000" nrAudioChannels="2" sampleFrequency="44100" protocolInfo="http-get:*:audio/flac:DLNA.ORG_OP=01">http://192.168.2.10:38877/MediaExport/i/YTY0MGZhOThmZDc2OTkwMjk1MDI1YTM3ODY3NGIyYWE%3D/res/primary_http.flac</res>
<res duration="0:03:31.000" sampleFrequency="128" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://192.168.2.10:38877/MediaExport/i/YTY0MGZhOThmZDc2OTkwMjk1MDI1YTM3ODY3NGIyYWE%3D/res/MP3.mp3</res>
<res duration="0:03:31.000" bitrate="176400" bitsPerSample="16" nrAudioChannels="2" sampleFrequency="44100" protocolInfo="http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://192.168.2.10:38877/MediaExport/i/YTY0MGZhOThmZDc2OTkwMjk1MDI1YTM3ODY3NGIyYWE%3D/res/LPCM.lpcm</res>
<res duration="0:03:31.000" sampleFrequency="256" protocolInfo="http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://192.168.2.10:38877/MediaExport/i/YTY0MGZhOThmZDc2OTkwMjk1MDI1YTM3ODY3NGIyYWE%3D/res/AAC_ADTS_320.adts</res>
<upnp:album>Jackpot Juicer</upnp:album>
<upnp:originalTrackNumber>14</upnp:originalTrackNumber>
<upnp:albumArtURI dlna:profileID="JPEG_TN">http://192.168.2.10:38877/MediaExport/i/YTY0MGZhOThmZDc2OTkwMjk1MDI1YTM3ODY3NGIyYWE%3D/th/0.jpg</upnp:albumArtURI>
</item>
Corresponding input
1-14 Dance Gavin Dance - Back on Deck.flac:METADATA block #1
1-14 Dance Gavin Dance - Back on Deck.flac: type: 4 (VORBIS_COMMENT)
1-14 Dance Gavin Dance - Back on Deck.flac: is last: false
1-14 Dance Gavin Dance - Back on Deck.flac: length: 1327
1-14 Dance Gavin Dance - Back on Deck.flac: vendor string: reference libFLAC 1.3.4 20220220
1-14 Dance Gavin Dance - Back on Deck.flac: comments: 40
1-14 Dance Gavin Dance - Back on Deck.flac: comment[0]: MUSICBRAINZ_RELEASETRACKID=7ecbe2a4-9520-4994-8336-976a95da9c99
1-14 Dance Gavin Dance - Back on Deck.flac: comment[1]: TITLE=Back on Deck
1-14 Dance Gavin Dance - Back on Deck.flac: comment[2]: ALBUM=Jackpot Juicer
1-14 Dance Gavin Dance - Back on Deck.flac: comment[3]: MUSICBRAINZ_DISCID=lYIeNO1NNo.hDc4tuIrkDSdked8-
1-14 Dance Gavin Dance - Back on Deck.flac: comment[4]: CATALOG #=500-3
1-14 Dance Gavin Dance - Back on Deck.flac: comment[5]: ENCODER=FLAC 1.3.4
1-14 Dance Gavin Dance - Back on Deck.flac: comment[6]: CATALOGNUMBER=500-3
1-14 Dance Gavin Dance - Back on Deck.flac: comment[7]: ALBUMARTIST=Dance Gavin Dance
1-14 Dance Gavin Dance - Back on Deck.flac: comment[8]: LABEL=Rise Records
1-14 Dance Gavin Dance - Back on Deck.flac: comment[9]: MEDIA=CD
1-14 Dance Gavin Dance - Back on Deck.flac: comment[10]: SCRIPT=Latn
1-14 Dance Gavin Dance - Back on Deck.flac: comment[11]: ACCURATERIPRESULT=AccurateRip: Accurate (confidence 4) [A8BA473E]
1-14 Dance Gavin Dance - Back on Deck.flac: comment[12]: RELEASESTATUS=official
1-14 Dance Gavin Dance - Back on Deck.flac: comment[13]: MUSICBRAINZ_ARTISTID=16456fed-c9f2-4adf-b6ea-97b648c474d2
1-14 Dance Gavin Dance - Back on Deck.flac: comment[14]: DISCNUMBER=1
1-14 Dance Gavin Dance - Back on Deck.flac: comment[15]: MUSICBRAINZ_TRACKID=4064931b-5590-4a4c-916d-619d3ff3ac05
1-14 Dance Gavin Dance - Back on Deck.flac: comment[16]: TOTALDISCS=2
1-14 Dance Gavin Dance - Back on Deck.flac: comment[17]: RELEASETYPE=album
1-14 Dance Gavin Dance - Back on Deck.flac: comment[18]: MUSICBRAINZ_ALBUMARTISTID=16456fed-c9f2-4adf-b6ea-97b648c474d2
1-14 Dance Gavin Dance - Back on Deck.flac: comment[19]: ARTIST=Dance Gavin Dance
1-14 Dance Gavin Dance - Back on Deck.flac: comment[20]: SOURCE=CD (Lossless)
1-14 Dance Gavin Dance - Back on Deck.flac: comment[21]: RELEASECOUNTRY=US
1-14 Dance Gavin Dance - Back on Deck.flac: comment[22]: MUSICBRAINZ_RELEASEGROUPID=3edc7c85-3834-4a08-8ad5-0b794c6cd552
1-14 Dance Gavin Dance - Back on Deck.flac: comment[23]: ORIGINALDATE=2022-07-29
1-14 Dance Gavin Dance - Back on Deck.flac: comment[24]: TRACKNUMBER=14
1-14 Dance Gavin Dance - Back on Deck.flac: comment[25]: ENCODED BY=dBpoweramp Release 17.7
1-14 Dance Gavin Dance - Back on Deck.flac: comment[26]: ARTISTS=Dance Gavin Dance
1-14 Dance Gavin Dance - Back on Deck.flac: comment[27]: ARTISTSORT=Dance Gavin Dance
1-14 Dance Gavin Dance - Back on Deck.flac: comment[28]: TOTALTRACKS=18
1-14 Dance Gavin Dance - Back on Deck.flac: comment[29]: ORIGINALYEAR=2022
1-14 Dance Gavin Dance - Back on Deck.flac: comment[30]: DATE=2022-07-29
1-14 Dance Gavin Dance - Back on Deck.flac: comment[31]: MUSICBRAINZ_ALBUMID=c4e30f05-dc20-4ee1-bfad-0fe1e5c1e7ae
1-14 Dance Gavin Dance - Back on Deck.flac: comment[32]: BARCODE=4050538779028
1-14 Dance Gavin Dance - Back on Deck.flac: comment[33]: ALBUMARTISTSORT=Dance Gavin Dance
1-14 Dance Gavin Dance - Back on Deck.flac: comment[34]: ACCURATERIPDISCID=018-002693a4-020c9431-fb0ec812-14
1-14 Dance Gavin Dance - Back on Deck.flac: comment[35]: ENCODER SETTINGS=-compression-level-5 -verify
1-14 Dance Gavin Dance - Back on Deck.flac: comment[36]: ASIN=B09Y9PYBD3
1-14 Dance Gavin Dance - Back on Deck.flac: comment[37]: ISRC=QMRSZ2103065
1-14 Dance Gavin Dance - Back on Deck.flac: comment[38]: TRACKTOTAL=18
1-14 Dance Gavin Dance - Back on Deck.flac: comment[39]: DISCTOTAL=2
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac:METADATA block #1
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: type: 4 (VORBIS_COMMENT)
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: is last: false
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: length: 1272
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: vendor string: reference libFLAC 1.3.4 20220220
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comments: 38
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[0]: MUSICBRAINZ_RELEASETRACKID=513371ac-23d1-4323-8025-76bd3bd377a1
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[1]: TITLE=Back on Deck (instrumental)
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[2]: ALBUM=Jackpot Juicer
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[3]: CATALOG #=500-3
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[4]: ENCODER=FLAC 1.3.4
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[5]: CATALOGNUMBER=500-3
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[6]: ALBUMARTIST=Dance Gavin Dance
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[7]: ISRC=QMRSZ2103086
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[8]: LABEL=Rise Records
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[9]: MEDIA=CD
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[10]: SCRIPT=Latn
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[11]: ACCURATERIPRESULT=AccurateRip: Accurate (confidence 2) [89D6DA5C]
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[12]: RELEASESTATUS=official
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[13]: MUSICBRAINZ_ARTISTID=16456fed-c9f2-4adf-b6ea-97b648c474d2
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[14]: DISCNUMBER=2
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[15]: MUSICBRAINZ_TRACKID=c5848713-83a3-4ba4-bf33-7b6bc8c5d63a
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[16]: TOTALDISCS=2
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[17]: RELEASETYPE=album
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[18]: MUSICBRAINZ_ALBUMARTISTID=16456fed-c9f2-4adf-b6ea-97b648c474d2
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[19]: ARTIST=Dance Gavin Dance
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[20]: SOURCE=CD (Lossless)
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[21]: RELEASECOUNTRY=US
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[22]: MUSICBRAINZ_RELEASEGROUPID=3edc7c85-3834-4a08-8ad5-0b794c6cd552
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[23]: ORIGINALDATE=2022-07-29
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[24]: TRACKNUMBER=14
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[25]: ENCODED BY=dBpoweramp Release 17.7
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[26]: ARTISTS=Dance Gavin Dance
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[27]: ARTISTSORT=Dance Gavin Dance
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[28]: TOTALTRACKS=18
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[29]: ORIGINALYEAR=2022
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[30]: DATE=2022-07-29
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[31]: MUSICBRAINZ_ALBUMID=c4e30f05-dc20-4ee1-bfad-0fe1e5c1e7ae
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[32]: BARCODE=4050538779028
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[33]: ALBUMARTISTSORT=Dance Gavin Dance
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[34]: ACCURATERIPDISCID=018-00269247-020c7c31-f60ec712-14
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[35]: ENCODER SETTINGS=-compression-level-5 -verify
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[36]: TRACKTOTAL=18
2-14 Dance Gavin Dance - Back on Deck (instrumental).flac: comment[37]: DISCTOTAL=2