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:
milaq 2019-08-22 20:42:55 +02:00
parent 3c80bd2500
commit 70d5ff072b

View file

@ -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()