Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change content_type

  • Loading branch information...
commit eb197d185474d83dedd929f556f7e67026e7815b 1 parent 38aa02b
Cyril authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 resources/lib/qobuz/node/artist.py
View
9 resources/lib/qobuz/node/artist.py
@@ -23,7 +23,7 @@ def __init__(self, parent=None, parameters=None):
self.set_label(self.get_name())
self.is_folder = True
self.slug = ''
- self.content_type = 'albums'
+ self.content_type = 'artists'
self.offset = self.get_parameter('offset') or 0
def hook_post_data(self):
@@ -103,11 +103,10 @@ def makeListItem(self, replaceItems=False):
item.setInfo('music' , infoLabels={
# 'genre': 'reggae', # self.get_genre(),
# 'year': '2000', # self.get_year(),
- 'artist': self.get_artist(),
+ 'artist': self.get_artist(),
# 'album': self.get_title(),
-# 'biography': 'coucou', # self.get_description()
-# 'description': 'coucou',
-# 'comment': 'coucou'
+ 'comment': self.get_description()
+# 'Artist_Description': 'coucou'
})
ctxMenu = contextMenu()
self.attach_context_menu(item, ctxMenu)
Please sign in to comment.
Something went wrong with that request. Please try again.