#19 Provide disc number

open
nobody
None
5
2015-02-11
2010-03-26
Dirk
No

I'm writing a client for UPnP media servers and would like to get the disc metadata for the music files.

So just as you provide the upnp:originalTrackNumber would it be possible to provide lets's say upnp:originalDiscNumber (the TPOS id3 field in id3v2). Otherwise the tracks can't be sorted properly in the ui.

Thanks.

Discussion

  • Justin Maggard

    Justin Maggard - 2010-03-30

    Hmm, I don't see a standard way to expose the disc number in the UPnP/A-V spec. With minidlna, if you specify upnp:originalTrackNumber in the SortCriteria, it will sort by disc first, then track.

     
  • cqcallaw

    cqcallaw - 2015-02-11

    I know I'm incredibly late to the party on this one, but why not represent the disc as a container object? In this case, a multi-disc album would be represented with the following hierarchy:

    Album:
    -Album Disc 1:
    --Album Disc 1 Track 1
    --Album Disc 1 Track 2
    --...
    -Album Disc 2:
    --Album Disc 2 Track 1
    --Album Disc 2 Track 2
    --...
    -Album Disc n:
    --Album Disc n Track 1
    --Album Disc n Track 2

    Seems like object.container.storageVolume would be an appropriate UPnP class for the Disc containers.

     
    Last edit: cqcallaw 2015-02-11

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks