Commit Graph
113 Commits
Author SHA1 Message Date
Damiano Galassi bd45deb0ef Rewrite the iTunes Store importer in Swift. 2017-07-26 09:43:27 +02:00
Damiano Galassi 768c218551 Always load English artwork from TVDB. 2017-07-06 12:28:23 +02:00
Damiano Galassi 97cbef49c6 Don't return nil in loadTVMetadata:: 2017-07-05 17:36:47 +02:00
Damiano Galassi 554d9defa8 OCD 2017-06-30 16:55:15 +02:00
Damiano Galassi 51973beabf Use the English info as a fallback 2017-06-30 16:53:58 +02:00
Damiano Galassi 80155c4e78 Return the first result if we can't match the series name. 2017-06-30 16:03:30 +02:00
Damiano Galassi 44fd52451e Fix single episode search. 2017-06-30 15:54:15 +02:00
Damiano Galassi 84de4b6d65 Expand TheMovieDB importer to make it work with tv shows too. 2017-06-30 15:47:19 +02:00
Damiano Galassi c654526d91 OCD 2017-06-27 19:06:29 +02:00
Damiano Galassi 31f4098af4 Convert the TheMovieDB metadata importer to swift. 2017-06-27 19:00:25 +02:00
Damiano Galassi e37448d773 Use a generic struct to remove some code duplication. 2017-06-27 14:01:35 +02:00
Damiano Galassi 0165cc6f56 Remove the old TVDB importer, and get add the remaining missing features to the new one. 2017-06-27 13:53:10 +02:00
Damiano Galassi 671bd836d0 Refactor some code. 2017-06-27 11:05:18 +02:00
Damiano Galassi 5514dd17e9 Use a case insensitive compare for series names, and add back sorting and iTunes artwork. 2017-06-27 10:29:02 +02:00
Damiano Galassi 9b986a3033 Add some missing features to TheTVDB swift importer. 2017-06-22 20:30:47 +02:00
Damiano Galassi cdd2684d91 Bare bones TVDB service in Swift. 2017-06-22 19:03:34 +02:00
Damiano Galassi b23ba4bda3 Rename SBCachePolicy values make it easier to use them in Swift. 2017-06-20 12:37:28 +02:00
Damiano Galassi 56f22ce312 Search again for images in English if there was no result. 2017-06-10 21:07:02 +02:00
Damiano Galassi 3d285f692f Add some additional log messages to track down a tvdb issue. 2017-05-31 09:38:46 +02:00
Damiano Galassi aa7d9cdfbe Remove null values from results. 2017-05-28 09:25:23 +02:00
Damiano Galassi 951971bdbd Keep the thetvdb language list for up to 30 days. 2017-05-27 19:01:54 +02:00
Damiano Galassi 0d3b0ea3ec Refactor the artworks urls code so we don't have to update three different arrays each time. 2017-05-27 19:01:04 +02:00
Damiano Galassi daa7fc3604 Refactor some code out of SBTheTVDB 2017-05-24 20:28:19 +02:00
Damiano Galassi 8f396fcca2 Merge english metadata manually in SBTheTVDB is needed. 2017-05-24 17:44:17 +02:00
Damiano Galassi afb57a2052 Cache the tvdb token and the languages list. 2017-05-24 11:42:42 +02:00
Damiano Galassi 0c5ea0181b Switched all the tvdb server calls to the json api. 2017-05-24 11:17:16 +02:00
Damiano Galassi 964c171e1e Initial implementation of thetvdb json api. 2017-05-24 10:00:04 +02:00
Damiano Galassi ba9304122b International iTunes Store might contains both localised and not "season" in the episode name. 2017-05-21 15:16:17 +02:00
Damiano Galassi 8bfe2829ef Improve iTunes Store season matching, avoid getting season 10 instead of 1. 2017-04-20 11:58:43 +02:00
Damiano Galassi d27b3456cd don't create a local task variable. 2017-04-20 11:10:55 +02:00
Damiano Galassi 1107d1b0bd Search again without the season number if we got zero results. 2017-03-31 13:52:26 +02:00
Damiano Galassi edefa3350e Use NSURLSession. 2017-03-31 13:05:35 +02:00
Damiano Galassi 6bebe551b0 Switch thetvdb back to http because it seems to have issues. 2017-03-15 11:50:27 +01:00
Janos Kis 92c455d8a4 Add country to lookupUrl 2017-03-14 17:40:33 +00:00
Damiano Galassi d6b340cae7 Use https instead of http. 2017-03-10 08:07:06 +01:00
Damiano Galassi 408e679324 Rename id to iTunesID to avoid ambiguous code highlight in Xcode. 2017-03-10 08:05:40 +01:00
Janos Kis adba28a54f Loosen up show name validation. Validate results in
showOrSeasonIdFromResults:
2017-03-09 21:01:51 +00:00
Janos Kis f5beebf154 Fix #307
Change iTunesStore metadata importer to use the lookup API for fetching
TV episode information, because it is more up to date with recent
releases
2017-03-09 17:40:20 +00:00
Damiano Galassi ff5e97e4b3 Remove http exception for themoviedb.org and thetvdb.org 2016-12-22 10:24:31 +01:00
Damiano Galassi 341796df83 Use the localised languages list in the queue options window. 2016-11-30 09:55:24 +01:00
Damiano Galassi 658a12fc4c Always use extended language tags when possible. 2016-11-26 13:14:14 +01:00
Damiano Galassi 78f4a7f7af Show localized track names in the document window. 2016-11-23 11:40:21 +01:00
Damiano Galassi fbb7392ccc Last batch of localisation work. 2016-10-26 10:50:46 +02:00
Damiano Galassi 5083abe3ed Fixed some deprecated api warnings. 2016-10-13 10:54:17 +02:00
Damiano Galassi fe6e0d7218 Use a view-based NSTableView in SBDocument. 2016-10-11 18:13:07 +02:00
Damiano Galassi 592f918e15 Fix metadata order in the search window. 2016-08-16 11:14:10 +02:00
Damiano Galassi 0ad8998d24 Implements the localised media names. 2016-08-13 13:40:09 +02:00
Damiano Galassi 978b65eb22 Update version to 1.1.1 2016-08-09 09:54:00 +02:00
Damiano Galassi 06f7919a8a Fix another metadata key. 2016-08-09 08:10:25 +02:00
Damiano Galassi d82a44b449 Made some const NSStrings for the metadata result keys. 2016-08-08 10:24:36 +02:00