2020-03-08, 14:12
@enen92 Firstly, thanks for updating this and keeping it current, it's much appreciated.
Now, I see for the sort_methods you have used
Also, sort by rating only ever gives me a value of 10.0 for every station. That's clearly wrong but my python isn't up to finding where that is coming from. Obviously, it isn't that big a deal I just wasn't sure if you would be aware of it or not.
Now, I see for the sort_methods you have used
%X
which is bitrate I believe, but I don't see any rates listed in the GUI. (Only realized this as I've been working on a branch that reads sample rates and bitrates from music files at scan time and stores them in the music db for later use). In fact, I'm not sure the API returns the bitrate of a station anyway, does it ? From the data I seejson:{'name': 'Vixen 101', 'thumbnail': '', 'rating': 60296, 'genre': 'Oldies', 'mediatype': 'song', 'id': 12219, 'current_track': None, 'stream_url': '', 'description': ''}, {'name': 'News Radio UK', 'thumbnail': 'https://static.radio.net/images/broadcasts/d0/d2/120208/1/c175.png', 'rating': 13110, 'genre': '', 'mediatype': 'song', 'id': 120208, 'current_track': None, 'stream_url': '', 'description': 'News Radio UK brings today’s headlines in 10 minutes, every 10 minutes. Rolling news, sport, weather, travel, business and showbiz 24 hours a day. '}
Also, sort by rating only ever gives me a value of 10.0 for every station. That's clearly wrong but my python isn't up to finding where that is coming from. Obviously, it isn't that big a deal I just wasn't sure if you would be aware of it or not.