Commit graph

6 commits

Author SHA1 Message Date
milaq 9e1bb5e17b Append bogus parameter to every target url
To work around the issue that a few AVRs blindly append parameters
with an ampersand.

This also allows us to get rid of the search logic workaround.
Furthermore the vTuner API also hacks around the issue this way.
So this seems like the correct way to handle that even if it looks ugly.
2019-08-12 20:12:12 +02:00
milaq 4a2ecd9821 add support for start and howmany request arguments
seems like some AVRs use these for paging.
also unify request extraction logic on the way.
2019-08-12 20:12:01 +02:00
milaq 4fb591a18b vtuner pages: always calculate element count 2019-08-12 14:59:51 +02:00
milaq 1123f3e55b implement vtuner paging
should(tm) now be compatible with older avrs which do not get the whole listing at once
2019-07-17 15:44:35 +02:00
milaq b79dfebbea obey line character limit and get rid of warnings
for the line width, 80 is ancient. we use 120.
2019-07-10 14:06:09 +02:00
milaq b0c29f0582 major rework of backend features
* use flask for easier url handling and tidyness
 * create radio-browser.info and vtuner api classes
 * add support for more vtuner logic (logos, info messages, search, buttons, etc.)
 * use radio-browser.info index and search
 * prepare for python packaging
2019-07-09 18:44:56 +02:00