coderholic / pyradio

Curses based internet radio player
www.coderholic.com/pyradio
MIT License
961 stars 129 forks source link

Support pagination in radio browser. #221

Closed amano-kenji closed 7 months ago

amano-kenji commented 10 months ago

This is hopefully the last improvement suggestion. In the future, I will report rendering bugs.

Because pyradio radio browser doesn't support pagination, I can't browse all available search results.

For example, pyradio could fetch as many lines as those visible lines. When a user tries to go outside the visible page boundary, fetch a new page that is as tall as the visible lines.

Or, fetch as many lines as DEFAULT_LIMIT in radio_browser_config. When a user tries to go beyond the boundary of the fetched items, fetch DEFAULT_LIMT items, and replace the current items with the newly fetched items.

s-n-g commented 10 months ago

Or, fetch as many lines as DEFAULT_LIMIT in radio_browser_config. When a user tries to go beyond the boundary of the fetched items, fetch DEFAULT_LIMT items, and replace the current items with the newly fetched items.

Interesting! I think radiobrowser supports this one...

s-n-g commented 7 months ago

already in devel

amano-kenji commented 7 months ago

:1st_place_medal: