https://src.bluestatic.org
/
armadillo.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b0462
)
Trim the show name
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 16 Apr 2011 21:17:52 +0000
(17:17 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 16 Apr 2011 21:17:52 +0000
(17:17 -0400)
src/tv_rename.go
patch
|
blob
|
history
diff --git
a/src/tv_rename.go
b/src/tv_rename.go
index a083b66450941100ce46b8c019722cf3d3b0e158..f07fc0494862b3615b735f30758e51ed4a0bd0c8 100644
(file)
--- a/
src/tv_rename.go
+++ b/
src/tv_rename.go
@@
-171,7
+171,7
@@
func parseResponse(response *http.Response) *fullEpisodeInfo {
}
switch parts[0] {
case "Show Name":
- info.episode.showName =
parts[1]
+ info.episode.showName =
strings.TrimSpace(parts[1])
case "Episode Info":
// Split the line, which is of the form: |SxE^Name^AirDate|.
parts = strings.Split(parts[1], "^", 3)