AzuraCast / AzuraCast

A self-hosted web radio management suite, including turnkey installer tools for the full radio software stack and a modern, easy-to-use web app to manage your stations.
https://www.azuracast.com/
GNU Affero General Public License v3.0
3.07k stars 568 forks source link

Display Album Name as well as or instead of Artist in Now Playing #818

Closed benserwa closed 5 years ago

benserwa commented 6 years ago

I'm using AzuraCast to make a video game music station. While I'd like to credit the artist, it's also very important that the name of the game be displayed. Right now all the game titles are in the metadata as Album Name. I'd like to display that along with or if necessary instead of the artist in Now Playing as well as in the metadata that is streamed to the client when running the playlist.

http://retrochipradio.com

BusterNeece commented 6 years ago

@benserwa AzuraCast's public player is meant to be an example of a "starter" player that you can build your own on top of. If you need more complex features, it's highly recommended to build your own static HTML page and set up the player exactly how you want it to function.

In this case, the AzuraCast API already returns the album along with other metadata on what's now playing. In your case, the API URL is http://retrochipradio.com/api/nowplaying/retro_chip_radio

Scraticus commented 5 years ago

We can also expand this in the configuration of the azura liq so it is exported on those formats that support it

set("encoder.encoder.export",["artist","title","album","genre","year","track","comment","woar","on_air","source"])

This gives an extended selection on output, and also reminds the encoder to include it if it's there.

you can add information in WOAR or Comments, and if you parse it in your player, it'll display it.

BusterNeece commented 5 years ago

In this case, AzuraCast's own internal API processing adds back in not only any missing metadata from Icecast/SHOUTcast, but any custom metadata set inside the AzuraCast app. The API is already fully capable of displaying album, etc. information, it just doesn't in the default public player, as this is intended as a lightweight placeholder, with any more complex radio situations likely benefiting from a custom solution.