Skip to content

Commit

Permalink
Merge cdbc097 into df0d534
Browse files Browse the repository at this point in the history
  • Loading branch information
dublok committed Apr 3, 2016
2 parents df0d534 + cdbc097 commit 0e1f4b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mopidy/mpd/translator.py
Expand Up @@ -58,6 +58,9 @@ def track_to_mpd_format(track, position=None, stream_title=None):

if track.date:
result.append(('Date', track.date))
else:
if track.album is not None and track.album.date:
result.append(('Date', track.album.date))

if track.album is not None and track.album.num_tracks is not None:
result.append(('Track', '%d/%d' % (
Expand Down

0 comments on commit 0e1f4b9

Please sign in to comment.