Commit ddd444ac authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ml: releaseDate is now part of IMedia

parent 4c1f9833
......@@ -124,7 +124,7 @@ fileToMediaItem( MediaPtr media )
if (album != nullptr)
{
media_item_set_meta(mi, MEDIA_ITEM_META_ALBUM, album->title().c_str());
auto year = albumTrack->releaseYear();
auto year = media->releaseDate();
if (year != 0)
{
media_item_set_meta(mi, MEDIA_ITEM_META_YEAR, std::to_string(year).c_str());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment