Skip to content

Commit

Permalink
Prevent scrobble of trailers from Trailers plugin (introduced with ch…
Browse files Browse the repository at this point in the history
…anges for DVDs).
  • Loading branch information
damienhaynes committed Nov 28, 2013
1 parent 1ef4846 commit cd55cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TraktPlugin/TraktHandlers/MovingPictures.cs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public bool Scrobble(String filename)
IsDVDPlaying = false;

// check if filename is DVD/Bluray format
if (VideoUtility.GetVideoFormat(filename) != VideoFormat.File)
if (VideoUtility.GetVideoFormat(filename) == VideoFormat.DVD || VideoUtility.GetVideoFormat(filename) == VideoFormat.Bluray)
{
// use the player skin properties to determine movie playing
// note: movingpictures sets this 2secs after playback
Expand Down

0 comments on commit cd55cec

Please sign in to comment.