Also set itemcount for Radiobrowser landing page
The vTuner API handles it also this way for a minimum folder depth of 1.
This commit is contained in:
parent
3c80bd2500
commit
70d5ff072b
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ def radiobrowser_landing():
|
|||
len(radiobrowser.get_language_directories())))
|
||||
page.add(vtuner.Directory('Most Popular', url_for('radiobrowser_popular', _external=True),
|
||||
len(radiobrowser.get_stations_by_votes())))
|
||||
page.set_count(4)
|
||||
return page.to_string()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue