Now I feel almost compelled to have a look at the API...
![[Image: biggrin.png]](https://moodeaudio.org/forum/images/icons/biggrin.png)
Thank you for your donation!
addition of radio-browser.info?
|
Now I feel almost compelled to have a look at the API...
![]()
01-23-2024, 08:27 AM
(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/
01-23-2024, 08:29 PM
(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...
01-23-2024, 08:58 PM
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
01-23-2024, 09:19 PM
(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... ;-)
01-23-2024, 09:39 PM
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
01-23-2024, 09:51 PM
01-25-2024, 05:32 PM
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: ![]()
01-25-2024, 06:57 PM
Is there a license for the radio-browser API?
01-25-2024, 07:18 PM
(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 |
« Next Oldest | Next Newest »
|