Initial implementation of thetvdb json api.

This commit is contained in:
Damiano Galassi committed 2017-05-24 10:00:04 +02:00
1 parent 206ed00596
commit 964c171e1e
12 files changed
+384 -172

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@
// Get the data outside the main thread
dispatch_async(dispatch_get_global_queue(0, 0), ^{
if (!self.isCancelled) {
self.data = [SBMetadataHelper downloadDataFromURL:self.url withCachePolicy:SBDefaultPolicy];
self.data = [SBMetadataHelper downloadDataFromURL:self.url cachePolicy:SBDefaultPolicy];
self.version = 2;
// We got the data, tell the controller to update the view
dispatch_async(dispatch_get_main_queue(), ^{