DEV Community

Cover image for Rubio-Radio Currently Playing Song & Full-Text Search
Andy Maleh
Andy Maleh

Posted on

4 2

Rubio-Radio Currently Playing Song & Full-Text Search

Another GitHub Pull Request for Rubio-Radio (open-source Internet radio app built with Ruby) got accepted and merged, which focused on displaying the currently playing song/program, loading all available radio stations (instead of a pre-defined limit), and enhanced full-text-search support including column-specific queries. The changes have been released in rubio-radio gem version 0.0.6. In fact, the enhanced full-text-search support is included in the latest version of Glimmer DSL for LibUI (Ruby Desktop Development GUI Library used to build Rubio-Radio) as part of the refined_table custom control for use in any projects, so software engineers get that feature for free now.

Rubio-Radio Screenshot showing currently playing song.

mac screenshot

Ruby Gem:

gem install rubio-radio
Enter fullscreen mode Exit fullscreen mode

Usage

Run with this command:

rubio
Enter fullscreen mode Exit fullscreen mode

All Radio Browser stations are displayed by default. But, you can customize the count with --count COUNT (note that currently, there are only about 33,000 Radio Browser stations total). Setting the count to -1 will fetch all stations.

Filtering

The filter field does AND-based filtering when you enter multiple words separated by spaces:

jazz smooth

Also, the filter field supports exact term filtering if you enter multiple words surrounded by double-quotes.

"bossa nova"

Last but not least, the filter field supports column-specific queries by including a full column name or the first few letters, followed by colon (:), followed by a single word or double-quoted multiple words for exact term matching against the column:

name:talk language:eng

or just:

n:talk l:eng

advanced filtering mac screenshot

This advanced example matches the word FM against the name column, and language bahasa indonesia against the language column.

n:FM l:"bahasa indonesia"

Finally, you can mix different types of filters:

brasil "bossa jazz" l:brazilian l:portuguese

That's all folks!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more