Moode Forum
Radio stations - 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: Radio stations (/showthread.php?tid=1692)

Pages: 1 2 3


RE: Radio stations - swizzle - 11-05-2019

When I looked before they were doing something weird with the font so it wasn’t something we could download to make the logo files but we can capture the rendered version at a large enough size (either with zoom or by altering the page with inspector) that it’d be possible (though tedious).


RE: Radio stations - gbh_uk - 11-05-2019

(11-05-2019, 03:24 PM)swizzle Wrote: When I looked before they were doing something weird with the font so it wasn’t something we could download to make the logo files but we can capture the rendered version at a large enough size (either with zoom or by altering the page with inspector) that it’d be possible (though tedious).

Hi swizzle,

I have a copy of the radiorecord record.ttf / record.woff font file and links to the individual station SVG logos.

I'm not sure I should post them here as an attachment. If you think they'd be useful what would be the best way to get them to you?


RE: Radio stations - Tim Curtis - 11-05-2019

Zip up the files and PM a download link to me and @swizzle :-)


RE: Radio stations - TheOldPresbyope - 11-05-2019

So the station logos are encoded as glyphs in the Web Open Font Format (woff).

It was trivial to download the entire font set; somewhat harder to find a way to examine individual glyphs (I ended up using an online tool). 

I tried converting the woff file to an svg file (again, using an online tool). It's possible the result is legitimately an svg font file but I need to brush up on my svg. Maybe a scripting solution could be crafted to extract the svg for a desired glyph, stroke it and some station-name text, and output to jpg. The whole thing does sound tedious. Meh.

Regards,
Kent


RE: Radio stations - Tim Curtis - 11-22-2019

Yes, you could use that column for a "package id". Currently its populated with "s" for the system built-in stations and "u" for any user-added stations. I don't expect the schema of the radio station table to change any time soon but I can't guarantee that. Note that user-added stations must have sequence id's (the id column) >= 500.


RE: Radio stations - Tim Curtis - 12-27-2019

Very cool :-)


RE: Radio stations - TheOldPresbyope - 12-27-2019

I've long since discovered more radio stations than I will ever find time to listen to, but I agree with Tim, this is very cool.

It's always heartening when a user decides there's a need for improvement and steps forward to implement and demonstrate a solution. That's the true spirit of open source!


Regards,
Kent


RE: Radio stations - DRONE7 - 01-04-2020

(01-04-2020, 05:42 AM)duracell80 Wrote: Okie-dokey,

The code is committed to my repo
https://github.com/duracell80/MoodeRadio-Get/tree/master/scripts/make-radio-manager

How do I go about making a pull request?

Here....'pull request'... Smile 
https://github.com/moode-player/moode

'new pull request'


RE: Radio stations - philrandal - 01-05-2020

A few thoughts.

The install.sh doesn't copy all the needed files.

rdo-config.php needs adding in to the main config menu.

Preview doesn't work for me...

Instead of one playlist per folder it would be better to list each station which meets the tag criteria, so you can add one at a time to your own playlist.

And when you change your tag selections to remove one the Radio UI should reflect that and remove the previously generated folder.

Apart from that, a good start.

Phil


RE: Radio stations - TheOldPresbyope - 01-16-2020

@duracell80

Spaces are legal in a Linux filename, as you can see in the .pls files distributed with moOde. Having said that, I find them to be a PITA when working from the command line because I keep forgetting to quote the filename.

There's no such thing as the right way to do this Smile I'd probably write a sed command which strips out punctuation (except what we call "period" in the USA and most others call "full stop", since folks tend to expect a frequency like "100.1", not "100_1") and, if desired, substitute underline for space.

Regards,
Kent