diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-01-29 22:58:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-01-29 22:58:26 (GMT) |
commit | dbf4d4be1b143308d27cb2e2c0aff7c48d9f7c02 (patch) | |
tree | b09ac688fd565111665348ab61ba7f2d89401862 | |
parent | 110bd729cbac1033accc4a40843fa0c47395df28 (diff) |
make use of improved cart listing
-rw-r--r-- | src/rhlibrary/selector_widget.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rhlibrary/selector_widget.go b/src/rhlibrary/selector_widget.go index fb54f21..16bb762 100644 --- a/src/rhlibrary/selector_widget.go +++ b/src/rhlibrary/selector_widget.go @@ -107,7 +107,10 @@ func getShowsSelector(db *rddb.DBChan, p *player.PlayerChan) (gtk.IWidget, error return } for _, show := range shows { - rhdl.Printf("Show: %d, %s, %v\n", show.ID, show.Title, show.Carts) + rhdl.Printf("Show: %d, %s\n", show.ID, show.Title) + for _, cart := range show.Carts { + rhdl.Printf(" [%d]: %s (%s)\n", cart.Number, cart.Title, cart.Duration.String()) + } } }) |