Skip to content

Commit

Permalink
movie duration is in minutes but expects seconds, fix #4
Browse files Browse the repository at this point in the history
use --tags to describe git version
  • Loading branch information
scakemyer committed Jan 24, 2016
1 parent 025c413 commit e8c595f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ GIT = git
DOCKER = docker
DOCKER_IMAGE = pulsar
UPX = upx
GIT_VERSION = $(shell $(GIT) describe --always)
GIT_VERSION = $(shell $(GIT) describe --tags)
VERSION = $(shell cat VERSION)
ZIP_FILE = $(ADDON_NAME)-$(VERSION).zip
CGO_ENABLED = 1
Expand Down
2 changes: 1 addition & 1 deletion tmdb/movie.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (movie *Movie) ToListItem() *xbmc.ListItem {
Plot: movie.Overview,
PlotOutline: movie.Overview,
TagLine: movie.TagLine,
Duration: movie.Runtime,
Duration: movie.Runtime * 60,
Code: movie.IMDBId,
Date: movie.ReleaseDate,
Votes: strconv.Itoa(movie.VoteCount),
Expand Down

0 comments on commit e8c595f

Please sign in to comment.