from FRE import * from OboeContext import OboeContext from OboeAlbumScreen import OboeAlbumScreen class OboeArtistScreen(FREListMenu): def listItems(self): context = OboeContext() items = [] for artist in context.locker.artists.values(): items.append(FREListItem(self, artist.name, OboeAlbumScreen.alloc().init(self, artist_id=artist.id))) return items