Skip to content

Commit

Permalink
using episode title instead of show title in overview
Browse files Browse the repository at this point in the history
  • Loading branch information
matsimitsu committed Jan 22, 2011
1 parent 244cd3c commit 5e23aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Episode.m
Expand Up @@ -9,7 +9,7 @@ @implementation Episode

- (id)initWithDictionary:(NSDictionary *)dict {
if (self = [super init]) {
self.title = [dict valueForKeyPath:@"show.title"];
self.title = [dict valueForKeyPath:@"episode.title"];
self.season = (int) [dict valueForKeyPath:@"episode.season"];
self.number = (int) [dict valueForKeyPath:@"episode.number"];
NSLog([dict valueForKeyPath:@"show.banner"]);
Expand Down

0 comments on commit 5e23aa2

Please sign in to comment.