Add a preference to select the preferred artwork in the queue.

This commit is contained in:
Damiano Galassi committed 2016-11-22 11:27:11 +01:00
1 parent 2dda6bc6e2
commit 8744676fe8
6 files changed
+115 -38

No files matched your search

+5 -4
View File
@@ -256,10 +256,11 @@ static void *SBQueueContex = &SBQueueContex;
SBQueueItem *item = [SBQueueItem itemWithURL:url];
if ([(self.options)[SBQueueMetadata] boolValue]) {
[item addAction:[[SBQueueMetadataAction alloc] initWithMovieLanguage:(self.options)[SBQueueMovieProviderLanguage]
tvShowLanguage:(self.options)[SBQueueTVShowProviderLanguage]
movieProvider:(self.options)[SBQueueMovieProvider]
tvShowProvider:(self.options)[SBQueueTVShowProvider]]];
[item addAction:[[SBQueueMetadataAction alloc] initWithMovieLanguage:self.options[SBQueueMovieProviderLanguage]
tvShowLanguage:self.options[SBQueueTVShowProviderLanguage]
movieProvider:self.options[SBQueueMovieProvider]
tvShowProvider:self.options[SBQueueTVShowProvider]
preferredArtwork:[self.options[SBQueueProviderArtwork] unsignedIntegerValue]]];
}
if ([(self.options)[SBQueueSubtitles] boolValue]) {