Changeset 451 for trunk/SapphireMetaData.m
- Timestamp:
- 01/10/08 11:10:56 (4 years ago)
- Files:
-
- 1 modified
-
trunk/SapphireMetaData.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SapphireMetaData.m
r446 r451 1865 1865 } 1866 1866 1867 - (int)secondEpisodeNumber 1868 { 1869 [self constructCombinedData]; 1870 return [[combinedInfo objectForKey:META_EPISODE_2_NUMBER_KEY] intValue]; 1871 } 1872 1867 1873 - (int)seasonNumber 1868 1874 { … … 2045 2051 int ep = [self episodeNumber]; 2046 2052 if(season != 0 && ep != 0) 2047 [ret setObject:[NSString stringWithFormat:@"%@ - %d / %d",[self showName], season, ep] forKey:META_EPISODE_AND_SEASON_KEY]; 2053 { 2054 int secondEp = [self secondEpisodeNumber]; 2055 if(secondEp != nil) 2056 [ret setObject:[NSString stringWithFormat:@"%@ - %d / %d-%d",[self showName], season, ep, secondEp] forKey:META_EPISODE_AND_SEASON_KEY]; 2057 else 2058 [ret setObject:[NSString stringWithFormat:@"%@ - %d / %d",[self showName], season, ep] forKey:META_EPISODE_AND_SEASON_KEY]; 2059 } 2048 2060 return ret; 2049 2061 }
