A FIP Webradio player that also displays the previous/current/next songs
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
player
qt5
ui
.gitignore
LICENSE
README.md
api.go
area.go
main.go
song.go
ticker.go

README.md

gofip

A simple FIP Radio player. Displays the current/previous/next music that are/will be played on the FIP webradio. It will also send a notification when the music changes using the system's default notification system.

gofip

Requirements

You need to have GStreamer on your computer, otherwise the streaming capability won't work.

Build

Here are the go dependencies you need to install in order to build it yourself.

go get "github.com/0xAX/notificator"
go get "github.com/andlabs/ui"
go get "github.com/ziutek/gst"

TODO

  • Parse the startTime and endTime in the JSON response to request the server only when the music actually changes. (Currently requests the server every minute.)

Known issues

  • When the streams stops (due to instable connection for example) it won't sync and it will keep reading the stream. I should add an option to resync the stream.
  • Sometimes the API changes and some fields are absent. There is no error check on that, must fix.
  • The covers don't automatically change.