use sum instead of len for video count in main artist and country folders if all videos are shown
This commit is contained in:
parent
304f63907f
commit
4222f04793
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ def showArtist(style, limit, start):
|
|||
if entry['unofficial'] >= "1":
|
||||
addDir("%s (%s)" % (artist, unofficial), unidecode(artist.upper()), 'sortArtists', fanart, unofficial)
|
||||
elif videoselection == "2":
|
||||
addDir("%s (%s/%s)" % (artist, official, unofficial), unidecode(artist.upper()), 'sortArtists', fanart, len(result))
|
||||
addDir("%s (%s/%s)" % (artist, official, unofficial), unidecode(artist.upper()), 'sortArtists', fanart, (official + unofficial))
|
||||
if maximum > end:
|
||||
fanart = 'DefaultFolder.png'
|
||||
addDir(translation(30036), '&style=' + style + '&limit=' + limit + '&start=' + str(nextstart), 'showArtist', fanart)
|
||||
|
|
Loading…
Reference in a new issue