Documentation
¶
Overview ¶
Read the JSON configuration
Handle RSS and Atom feeds ¶
Play some music (mp3)
Text to speech ¶
Get information about the weather ¶
URL handling stuff
Index ¶
- func FetchFeeds(feeds map[string]map[string][]string, outputChan chan<- Feed)
- func GetFeeds() map[string]map[string][]string
- func GetMsg(msg string) string
- func GetPodcasts() map[string]map[string][]string
- func LogError(msg string)
- func LogFatal(msg string)
- func LogInfo(msg string)
- func NumFeeds() int
- func NumPodcasts() int
- func PlayMusic()
- func PlayPodcast(feed Feed)
- func ReadConfig(configFile string) error
- func ReadFeed(feed Feed) int
- func ReadWeather()
- func SetupMixer()
- func Speak(text string)
- type Config
- type Feed
- type Weather
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodcasts ¶
func NumPodcasts ¶
func NumPodcasts() int
func PlayPodcast ¶
func PlayPodcast(feed Feed)
func ReadConfig ¶
func ReadWeather ¶
func ReadWeather()
func SetupMixer ¶
func SetupMixer()
Types ¶
type Config ¶
type Config struct {
Feeds map[string]map[string][]string
FilterVars map[string][]string
MaxAgeOfFeedsInDays int
Messages map[string]string
MusicDirs []string
NumberOfThreads int
NumberOfTracks int
MixerCmd string
MixerOpts []string
OpenWeatherAPIKey string
Podcasts map[string]map[string][]string
Shuffle bool
TtsCmd string
TtsParams string
WeatherLocation string
WeatherUnit string
UserAgent string
}
Click to show internal directories.
Click to hide internal directories.