![]() |
addition of radio-browser.info? - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8) +--- Thread: addition of radio-browser.info? (/showthread.php?tid=4926) |
RE: addition of radio-browser.info? - Nutul - 01-22-2024 Now I feel almost compelled to have a look at the API... ![]() RE: addition of radio-browser.info? - Falco - 01-23-2024 (01-22-2024, 06:43 PM)Nutul Wrote: Now I feel almost compelled to have a look at the API... I'm useless when it comes to coding, but I can link the API of course ![]() https://api.radio-browser.info/ RE: addition of radio-browser.info? - Nutul - 01-23-2024 (01-23-2024, 08:27 AM)Falco Wrote:(01-22-2024, 06:43 PM)Nutul Wrote: Now I feel almost compelled to have a look at the API... Ok... I played around with it, and I was able to get the various lists of stations/codecs/countries/states/languages/tags etc. etc. Also some search specifying countrycode and state. I tried immediately the retrieved url_resolved with VLC and it plays always, no problems. It's late here, so I cannot mess around with music ATM, but what I did was also check the returned resolved url with the one I have currently inserted in moOde (and which plays for me, and wasn't searched for in radio-browser.info, BTW) and they are the same. (some of them when pasted in a browser tab ask for download - while in VLC they do play - same for the urls of my working moOde stations I was checking) I didn't use the API extensively, with curl, but I didn't use / specify any header parameters; just the url (?/&) ones. It seems responsive, the results usually came in in less than a second (OK, I am in Europe, and the servers are here, around the corner, but still...) Now... from here, to build a moOde UI for browsing may require some time, and I am not talking about days... I'll try to setup something browser-based for now, then all the communication should eventually be moved in the php layer... RE: addition of radio-browser.info? - TheOldPresbyope - 01-23-2024 Quote:Now... from here, to build a moOde UI for browsing may require some time, and I am not talking about days... Aha, this feels like Mark Twain's story of Tom Sawyer convincing other kids to white wash his aunt's fence instead of him doing it. ![]() I'm thinking an important use case would be not just to discover.play stations but also to save "favorites" as first-class members of moOde's Radio directory. My previous experience with radio-browser.info was it was great for finding a url but I still had to work up a decent icon for a chosen station. Have fun! Regardes, Kent RE: addition of radio-browser.info? - Nutul - 01-23-2024 (01-23-2024, 08:58 PM)TheOldPresbyope Wrote:Quote:Now... from here, to build a moOde UI for browsing may require some time, and I am not talking about days... It could indeed offer to save to favorites - if not to add the station to moOde's list... The icon is not there in the station's data block; just the favicon is (which is sometimes a pretty svg, and sometimes a small .ico - sic) There is also the station's web page, from which you can usually grab their logo... this is what I have been doing for the stations I manually searched for so far... ;-) RE: addition of radio-browser.info? - TheOldPresbyope - 01-23-2024 Exactly. All you have to do is.... I guess you were lucky. The stations I chose rarely had a graphic I could grab and use without doing additional work on it first. Anyway, I look forward to seeing what you come up with. Regards, Kent RE: addition of radio-browser.info? - Nutul - 01-23-2024 (01-23-2024, 09:39 PM)TheOldPresbyope Wrote: Exactly. All you have to do is.... You know "it's not gonna be days", right...? ![]() RE: addition of radio-browser.info? - Raitsa - 01-25-2024 Very, very excited to see some promising, good action in this thread. ![]() Btw, the web radio count in radio-browser is way higher these days: ![]() RE: addition of radio-browser.info? - Tim Curtis - 01-25-2024 Is there a license for the radio-browser API? RE: addition of radio-browser.info? - TheOldPresbyope - 01-25-2024 (01-25-2024, 06:57 PM)Tim Curtis Wrote: Is there a license for the radio-browser API? On the landing page of his website the dev declares
Kent |