Jump to content

Some ID3 tags of songs are missing when using DLNA.


escapereality

Recommended Posts

escapereality

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

escapereality

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.hydrogenaud.io/index.php?title=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

Link to comment
Share on other sites

escapereality

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

 

Link to comment
Share on other sites

escapereality

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

Link to comment
Share on other sites

escapereality

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 & Dewey & Louie ft. Donald Duck</dc:creator>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<upnp:genre>Techno</upnp:genre>
<upnp:artist role="Performer">Huey & Dewey & 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 & Dewey & Louie ft. Donald Duck</dc:creator>
<upnp:class>object.item.audioItem.musicTrack</upnp:class>
<upnp:genre>Techno</upnp:genre>
<upnp:artist>Huey & Dewey & 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
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...