More the unknown rating to the last position of the array, so it doesn't replace the actual mpaa unrated value.
This commit is contained in:
1 parent
a41427ef1a
commit
b524eab915
2 files changed
+7
-7
No files matched your search
+1
-1
@@ -103,7 +103,7 @@
|
||||
}
|
||||
|
||||
- (NSUInteger) unknownIndex {
|
||||
return 0;
|
||||
return iTunesCodes.count - 1;
|
||||
}
|
||||
|
||||
- (NSUInteger) ratingIndexForiTunesCode:(NSString *)aiTunesCode {
|
||||
|
||||
+6
-6
@@ -1,10 +1,4 @@
|
||||
[
|
||||
{
|
||||
"country" : "Unknown",
|
||||
"ratings" : [
|
||||
{ "media" : "movie & TV", "prefix" : "mpaa", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Unknown" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"country" : "USA",
|
||||
"ratings" : [
|
||||
@@ -226,5 +220,11 @@
|
||||
{ "media" : "movie & TV", "prefix" : "ru-movie", "itunes-code" : "18+", "itunes-value" : "400", "description" : "18+" },
|
||||
{ "media" : "movie & TV", "prefix" : "ru-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Unrated" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"country" : "Unknown",
|
||||
"ratings" : [
|
||||
{ "media" : "movie & TV", "prefix" : "mpaa", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Unknown" }
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user