Skip to content

Commit

Permalink
add lineup URL to startup logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Larson committed Jul 4, 2020
1 parent c3df926 commit fcbed92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ func serve(lineup *lineup) {
router.StaticFS("/manage", box)

log.Infof("telly is live and on the air!")
log.Infof("Broadcasting from http://%s/", viper.GetString("web.listen-address"))
log.Infof("EPG URL: http://%s/epg.xml", viper.GetString("web.listen-address"))
log.Infof("Broadcasting from http://%s/", viper.GetString("web.base-address"))
log.Infof("EPG URL: http://%s/epg.xml", viper.GetString("web.base-address"))
log.Infof("Lineup JSON: http://%s/lineup.json", viper.GetString("web.base-address"))

if err := router.Run(viper.GetString("web.listen-address")); err != nil {
log.WithError(err).Panicln("Error starting up web server")
Expand Down

0 comments on commit fcbed92

Please sign in to comment.