Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


addition of radio-browser.info?
#11
Big Grin 
Now I feel almost compelled to have a look at the API... [Image: biggrin.png]
Reply
#12
(01-22-2024, 06:43 PM)Nutul Wrote: Now I feel almost compelled to have a look at the API... [Image: biggrin.png]

I'm useless when it comes to coding, but I can link the API of course Big Grin 

https://api.radio-browser.info/
Reply
#13
(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... [Image: biggrin.png]

I'm useless when it comes to coding, but I can link the API of course Big Grin 

https://api.radio-browser.info/

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...
Reply
#14
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. Smile 

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
Reply
#15
(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...

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. Smile 

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

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... ;-)
Reply
#16
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
Reply
#17
(01-23-2024, 09:39 PM)TheOldPresbyope Wrote: Exactly. All you have to do is....
Anyway, I look forward to seeing what you come up with.

You know "it's not gonna be days", right...? Big Grin
Reply
#18
Very, very excited to see some promising, good action in this thread. Smile 

Btw, the web radio count in radio-browser is way higher these days:

[Image: YTbVYe2.png]
Reply
#19
Is there a license for the radio-browser API?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#20
(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

  • Free for ALL!

  • Data license: public domain, software license: GPL, server software: open source

  • Open API for usage in own apps

  • Everyone is free to use the collected data (station names, tags, links to stream, links to homepages, language, country, state) in their works. I give all the rights I have at the accumulated data to the public domain
Regards,
Kent
Reply


Forum Jump: