gofip

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2015 License: MIT Imports: 12 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL