Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
Recognize shows that are only available in audiodescribed/signed vers…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
willson556 committed Aug 17, 2014
1 parent d2a1824 commit 4763e95
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BBCDownload.m
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,11 @@ - (void)processGetiPlayerOutput:(NSString *)outp
{
[show setReasonForFailure:@"ShowNotFound"];
[self addToLog:output noTag:YES];
}
else if ([output hasPrefix:@"WARNING: No programmes are available for this pid with version(s): default (available versions: audiodescribed,signed)"])
{
[show setReasonForFailure:@"AudioDescribedOnly"];
[self addToLog:output noTag:YES];
}
else if ([output hasPrefix:@"INFO:"] || [output hasPrefix:@"WARNING:"] || [output hasPrefix:@"ERROR:"] ||
[output hasSuffix:@"default"] || [output hasPrefix:[show pid]])
Expand Down
3 changes: 3 additions & 0 deletions ReasonsForFailure.plist
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@ at least one download format to the list.</string>
<key>NoSpecifiedFormatAvailableITV</key>
<string>None of the specified formats were available. Please go to Preferences -&gt;
Other Formats and add at least one download format to the list.</string>
<key>AudioDescribedOnly</key>
<string>This show is only available in audiodescribed and/or signed modes.
Please enable these modes in preferences if you would like to download this show.</string>
</dict>
</plist>

0 comments on commit 4763e95

Please sign in to comment.