Skip to content

Commit

Permalink
3.1.7 - minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
香風智乃 authored and 香風智乃 committed Apr 17, 2019
1 parent 163eac6 commit c650fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Hachidori.m
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ - (int)scrobble {
}
if (self.detectedscrobble.AniID.length > 0 && [self hasUserInfoCurrentService]) {
NSLog(@"Found %@", self.detectedscrobble.AniID);
[MSAnalytics trackEvent:@"Found ID." withProperties:@{@"detectedTitle" : self.detectedscrobble.DetectedTitle, @"group" : self.detectedscrobble.DetectedGroup, @"season" : @(self.detectedscrobble.DetectedSeason).stringValue, @"source":self.detectedscrobble.DetectedSource, @"titleid" : self.detectedscrobble.AniID, @"service" : [Hachidori currentServiceName]}];
[MSAnalytics trackEvent:@"Found ID." withProperties:@{@"detectedTitle" : self.detectedscrobble.DetectedTitle ? self.detectedscrobble.DetectedTitle : @"Title Unknown", @"group" : self.detectedscrobble.DetectedGroup ? self.detectedscrobble.DetectedGroup : @"UNKNOWN", @"season" : @(self.detectedscrobble.DetectedSeason).stringValue, @"source":self.detectedscrobble.DetectedSource, @"titleid" : self.detectedscrobble.AniID, @"service" : [Hachidori currentServiceName]}];
// Nil out Failed Title and Episode
//self.detectedscrobble.FailedTitle = nil;
//self.detectedscrobble.FailedEpisode = nil;
Expand Down Expand Up @@ -479,7 +479,7 @@ - (int)scrobble {
if (online) {
// Not Successful
NSLog(@"Error: Couldn't find title %@. Please add an Anime Exception rule.", self.detectedscrobble.DetectedTitle);
[MSAnalytics trackEvent:@"Can't find title." withProperties:@{@"detectedTitle" : self.detectedscrobble.DetectedTitle ? self.detectedscrobble.DetectedTitle : @"(Title Unknown", @"group" : self.detectedscrobble.DetectedGroup ? self.detectedscrobble.DetectedGroup : @"(Group Unknown)", @"season" : @(self.detectedscrobble.DetectedSeason).stringValue, @"source":self.detectedscrobble.DetectedSource ? self.detectedscrobble.DetectedSource : @"Unknown Source", @"service" : [Hachidori currentServiceName]}];
[MSAnalytics trackEvent:@"Can't find title." withProperties:@{@"detectedTitle" : self.detectedscrobble.DetectedTitle ? self.detectedscrobble.DetectedTitle : @"(Title Unknown)", @"group" : self.detectedscrobble.DetectedGroup ? self.detectedscrobble.DetectedGroup : @"(Group Unknown)", @"season" : @(self.detectedscrobble.DetectedSeason).stringValue, @"source":self.detectedscrobble.DetectedSource ? self.detectedscrobble.DetectedSource : @"Unknown Source", @"service" : [Hachidori currentServiceName]}];
// Used for Exception Adding
self.detectedscrobble.FailedTitle = self.detectedscrobble.DetectedTitle;
self.detectedscrobble.FailedEpisode = self.detectedscrobble.DetectedEpisode;
Expand Down

0 comments on commit c650fe5

Please sign in to comment.