Skip to content

Commit

Permalink
Merge 0b49c01 into e23a162
Browse files Browse the repository at this point in the history
  • Loading branch information
tagdara committed Jan 16, 2020
2 parents e23a162 + 0b49c01 commit d36f452
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions soco/data_structures.py
Expand Up @@ -756,6 +756,26 @@ class DidlAudioItem(DidlItem):
)


class DidlAudioItemLineIn(DidlItem):

"""A line-in audio item."""

# the DIDL Lite class for this object.
item_class = 'object.item.audioItem.linein'
_translation = DidlItem._translation.copy()
_translation.update(
{
'genre': ('upnp', 'genre'),
'description': ('dc', 'description'),
'long_description': ('upnp', 'longDescription'),
'publisher': ('dc', 'publisher'),
'language': ('dc', 'language'),
'relation': ('dc', 'relation'),
'rights': ('dc', 'rights'),
}
)


class DidlMusicTrack(DidlAudioItem):

"""Class that represents a music library track."""
Expand Down

0 comments on commit d36f452

Please sign in to comment.