diff --git a/components/ItemGrid/ItemGrid.brs b/components/ItemGrid/ItemGrid.brs index 5b0befd2..a7a58d8e 100644 --- a/components/ItemGrid/ItemGrid.brs +++ b/components/ItemGrid/ItemGrid.brs @@ -223,7 +223,11 @@ end sub ' Set Music view, sort, and filter options sub setMusicOptions(options) - options.views = [{ "Title": tr("Music"), "Name": "music" }] + options.views = [ + { "Title": tr("Default"), "Name": "music-default" }, + { "Title": tr("Artists"), "Name": "music-artist" }, + { "Title": tr("Albums"), "Name": "music-album" }, + ] options.sort = [ { "Title": tr("TITLE"), "Name": "SortName" }, { "Title": tr("DATE_ADDED"), "Name": "DateCreated" }, diff --git a/components/ListPoster.brs b/components/ListPoster.brs index 170693c3..53d0c370 100644 --- a/components/ListPoster.brs +++ b/components/ListPoster.brs @@ -56,7 +56,18 @@ sub itemContentChanged() as void end if m.staticTitle.text = m.title.text - m.poster.uri = itemData.posterUrl + imageUrl = itemData.posterURL + + if get_user_setting("ui.tvshows.blurunwatched") = "true" + + if itemData.json.lookup("Type") = "Episode" + if not itemData.json.userdata.played + imageUrl = imageUrl + "&blur=15" + end if + end if + end if + + m.poster.uri = imageUrl updateSize() end sub diff --git a/components/ListPoster.xml b/components/ListPoster.xml index a3b3f89d..990f2682 100644 --- a/components/ListPoster.xml +++ b/components/ListPoster.xml @@ -23,5 +23,5 @@