Skip to content

Commit

Permalink
Update to return message if watched item has already been scrobbled o…
Browse files Browse the repository at this point in the history
…n remote server. (#88)
  • Loading branch information
danstis authored Dec 3, 2017
1 parent 1345dea commit 9e6eae7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
*
-->

## [Unreleased]
## [v1.5.1]

### Changed

* Move config into own package
* Move config into own package.

## Fixed

* ([#87](https://github.com/danstis/Plex-Sync/issues/87)) Update to return message if watched item has already been scrobbled on remote server.

## [v0.5.0]

Expand Down
2 changes: 2 additions & 0 deletions plex/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ func SyncWatchedTv(source, destination Host) error {
continue
}
log.Printf("* Scrobbled on %q", destination.Name)
} else if destEp.ViewCount >= 1 {
log.Println("- Already scrobbled, skipping...")
} else {
log.Println("- Episode not yet watched, skipping...")
}
Expand Down

0 comments on commit 9e6eae7

Please sign in to comment.