List both artists and albums as direct children to music
This commit is contained in:
parent
9a69272f62
commit
d8b5ba06dd
|
@ -101,7 +101,7 @@ sub loadInitialItems()
|
||||||
else if m.top.parentItem.collectionType = "tvshows"
|
else if m.top.parentItem.collectionType = "tvshows"
|
||||||
m.loadItemsTask.itemType = "Series"
|
m.loadItemsTask.itemType = "Series"
|
||||||
else if m.top.parentItem.collectionType = "music"
|
else if m.top.parentItem.collectionType = "music"
|
||||||
m.loadItemsTask.itemType = "MusicArtist"
|
m.loadItemsTask.itemType = "MusicArtist,MusicAlbum"
|
||||||
m.loadItemsTask.fallbackType = "MusicAlbum"
|
m.loadItemsTask.fallbackType = "MusicAlbum"
|
||||||
m.loadItemsTask.recursive = false
|
m.loadItemsTask.recursive = false
|
||||||
else if m.top.parentItem.collectionType = "livetv"
|
else if m.top.parentItem.collectionType = "livetv"
|
||||||
|
|
|
@ -49,7 +49,10 @@ function previousClicked() as boolean
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function nextClicked() as boolean
|
function nextClicked() as boolean
|
||||||
m.top.audio.control = "skipcontent"
|
if m.top.audio.contentIsPlaylist
|
||||||
|
m.top.audio.control = "skipcontent"
|
||||||
|
end if
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|
|
@ -332,6 +332,7 @@ function CreateMusicArtistDetailsGroup(musicartist)
|
||||||
group.pageContent = ItemMetaData(musicartist.id)
|
group.pageContent = ItemMetaData(musicartist.id)
|
||||||
group.albumData = MusicSongList(musicartist.id)
|
group.albumData = MusicSongList(musicartist.id)
|
||||||
group.observeField("playSong", m.port)
|
group.observeField("playSong", m.port)
|
||||||
|
group.observeField("playAllSelected", m.port)
|
||||||
else
|
else
|
||||||
' User has albums under artists
|
' User has albums under artists
|
||||||
group = CreateObject("roSGNode", "MusicArtistDetails")
|
group = CreateObject("roSGNode", "MusicArtistDetails")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user