Commit 50a9d075 authored by Ludovic Fauvet's avatar Ludovic Fauvet

medialib: releaseYear is now on the albumtrack itself

parent fdeca5a4
......@@ -115,7 +115,7 @@ fileToMediaItem( MediaPtr file )
if (album != nullptr)
media_item_set_meta(mi, MEDIA_ITEM_META_ALBUM, album->title().c_str());
auto year = album->releaseYear();
auto year = albumTrack->releaseYear();
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