Jump to content


Photo

Some ID3 tags of songs are missing when using DLNA.

ID3 DLNA Missing

  • Please log in to reply
10 replies to this topic

#1 escapereality OFFLINE  

escapereality

    Advanced Member

  • Members
  • 34 posts
  • Local time: 02:10 AM
  • LocationUtrecht, the Netherlands

Posted 24 October 2017 - 07:53 AM

Hello,

 

As you can see in the screenshots below, something goes wrong with the ID3 tags when browsing the Emby server using UPnP/DLNA. The song artists are interpreted as album artists, and for the songs some ID3 tags are missing. The tags are correct on the server though.

 

 

34wpRSQh.png

 

gND1dVzh.png

 

q1P1Zlzh.png

 

B03GQJ7h.png

 

mNUCnTbh.png

 

 

Thanks in advance!



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 148765 posts
  • Local time: 08:10 PM

Posted 24 October 2017 - 08:05 AM

Hi, we are filling in upnp:artist with role=AlbumArtist. I'm not really sure what we can do there to change the way windows media player presents it.

 

Not sure what other missing data you're referring to, but we are filling in dc:date which can be used to show a date/year.



#3 escapereality OFFLINE  

escapereality

    Advanced Member

  • Members
  • 34 posts
  • Local time: 02:10 AM
  • LocationUtrecht, the Netherlands

Posted 24 October 2017 - 09:01 AM

Hi, we are filling in upnp:artist with role=AlbumArtist. I'm not really sure what we can do there to change the way windows media player presents it.

 

Not sure what other missing data you're referring to, but we are filling in dc:date which can be used to show a date/year.

I'm not sure if I understand it correctly, but according to this page upnp:albumArtist should be used instead. http://wiki.hydrogen...tle=Tag_Mapping

I also read some things about <upnp:artist role="AlbumArtist">.

But I don't have the experience wit UPnP to tell how it works haha



#4 escapereality OFFLINE  

escapereality

    Advanced Member

  • Members
  • 34 posts
  • Local time: 02:10 AM
  • LocationUtrecht, the Netherlands

Posted 24 October 2017 - 10:11 AM

Did some debugging. I enabled the WMP UPnP server, and copied the same album to WMP as the screenshots above. Here is the result for the exact same file, hope this is useful to you Luke.

Emby:

59ef48ac9e464_emby.png

 

 

WMP:

59ef48dc6c97d_wmp.png

 

 

Windows Media Player UPnP server sends the correct ID3 tags. So if I'm correct, the following goes wrong:
- The dc:creator tag is missing.
- The dc:date is not sent properly. 
- upnp:artist and upnp:artist(2) should be swapped

 



#5 escapereality OFFLINE  

escapereality

    Advanced Member

  • Members
  • 34 posts
  • Local time: 02:10 AM
  • LocationUtrecht, the Netherlands

Posted 25 October 2017 - 06:25 PM

Following this specsheet: http://www.upnp.org/...-v4-Service.pdf
It seems like the dc:creator tag has to be used at least, just like the screenshots in the previous post indicate.



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 148765 posts
  • Local time: 08:10 PM

Posted 25 October 2017 - 09:02 PM

You're saying dc:creator should contain the album artist?



#7 escapereality OFFLINE  

escapereality

    Advanced Member

  • Members
  • 34 posts
  • Local time: 02:10 AM
  • LocationUtrecht, the Netherlands

Posted 26 October 2017 - 04:55 AM

No, the artist of a song.



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 148765 posts
  • Local time: 08:10 PM

Posted 26 October 2017 - 02:42 PM

Could there be multiple dc:creator, or just one?



#9 escapereality OFFLINE  

escapereality

    Advanced Member

  • Members
  • 34 posts
  • Local time: 02:10 AM
  • LocationUtrecht, the Netherlands

Posted 28 October 2017 - 07:32 PM

I see you've pushed some changes regarding this issue to the project. I'll check it out tomorrow! Thanks!

#10 escapereality OFFLINE  

escapereality

    Advanced Member

  • Members
  • 34 posts
  • Local time: 02:10 AM
  • LocationUtrecht, the Netherlands

Posted 29 October 2017 - 06:52 AM

It surely looks better already! But some things are not right yet.

To be more clear, I've made a fake album, which has the following  structure:

 

  • VA - This is an Album
  1. Huey & Dewey & Louie ft. Donald Duck - I am a Song
  2. Awesome Artist - I am Another Song
  3. Mr. Bean - Best Song in the World

For each song I've captured DIDL-lite XML structure, for both WMP and Emby. 

WMP

<dc:title>I am a Song</dc:title>
<dc:creator>Huey &amp; Dewey &amp; Louie ft. Donald Duck</dc:creator>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<upnp:genre>Techno</upnp:genre>
<upnp:artist role="Performer">Huey &amp; Dewey &amp; Louie ft. Donald Duck</upnp:artist>
<upnp:artist role="AlbumArtist">VA</upnp:artist>
<upnp:album>This is an Album</upnp:album>
<upnp:originalTrackNumber>1</upnp:originalTrackNumber>
<dc:date>2017-01-02</dc:date>

Emby

<dc:title>I am a Song</dc:title>
<dc:creator>Huey &amp; Dewey &amp; Louie ft. Donald Duck</dc:creator>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<upnp:genre>Techno</upnp:genre>
<upnp:artist>Huey &amp; Dewey &amp; Louie ft. Donald Duck</upnp:artist>    
<upnp:artist role="AlbumArtist">VA</upnp:artist>
<upnp:album>This is an Album</upnp:album>
<upnp:originalTrackNumber>1</upnp:originalTrackNumber>

-----------------------------------------------------------------

WMP

<dc:title>I am Another Song</dc:title>
<dc:creator>Awesome Artist</dc:creator>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<upnp:genre>Techno</upnp:genre>
<upnp:artist role="Performer">Awesome Artist</upnp:artist>
<upnp:artist role="AlbumArtist">VA</upnp:artist>
<upnp:album>This is an Album</upnp:album>
<upnp:originalTrackNumber>2</upnp:originalTrackNumber>
<dc:date>2017-01-02</dc:date>

Emby

<dc:title>I am Another Song</dc:title>
<dc:creator>Awesome Artist</dc:creator>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<upnp:genre>Techno</upnp:genre>
<upnp:artist>Awesome Artist</upnp:artist>   
<upnp:artist role="AlbumArtist">VA</upnp:artist>
<upnp:album>This is an Album</upnp:album>
<upnp:originalTrackNumber>2</upnp:originalTrackNumber>

-----------------------------------------------------------------

WMP

<dc:title>Best Song in the World</dc:title>
<dc:creator>Mr. Bean</dc:creator>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<upnp:genre>Techno</upnp:genre>
<upnp:artist role="Performer">Mr. Bean</upnp:artist>
<upnp:artist role="AlbumArtist">VA</upnp:artist>
<upnp:album>This is an Album</upnp:album>
<upnp:originalTrackNumber>3</upnp:originalTrackNumber>
<dc:date>2017-01-02</dc:date>

Emby

<dc:title>Best Song in the World</dc:title>
<dc:creator>Mr. Bean</dc:creator>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<upnp:genre>Techno</upnp:genre>
<upnp:artist>Mr. Bean</upnp:artist>    
<upnp:artist role="AlbumArtist">VA</upnp:artist>
<upnp:album>This is an Album</upnp:album>
<upnp:originalTrackNumber>3</upnp:originalTrackNumber>

As you see, there are two consistent differences between them. 

  1. The upnp:artist tag in Emby is missing role="Performer". I suppose that's why the wrong artist is being recognized as the album artist.
  2. The dc:date tag is missing

The addition of dc:creator is already a huge improvement, so thank you for the good work!


Edited by escapereality, 29 October 2017 - 06:54 AM.


#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 148765 posts
  • Local time: 08:10 PM

Posted 29 October 2017 - 02:22 PM

Thanks for the feedback.







Also tagged with one or more of these keywords: ID3, DLNA, Missing

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users