Commit Graph

240 Commits

Author SHA1 Message Date
Michael_on_Github
e2dd6e0631
Fix typo in trakt.html (#241)
Some checks failed
🏗️ Build Plugin / call (push) Has been cancelled
📝 Create/Update Release Draft & Release Bump PR / call (push) Has been cancelled
🔬 Run CodeQL / call (push) Has been cancelled
🧪 Test Plugin / call (push) Has been cancelled
Co-authored-by: Michael Roessler <michael.roessler@unbelievable-machine.com>
2024-11-08 19:14:13 -07:00
Cody Robibero
045955da24
10.10 support (#238) 2024-10-26 12:08:45 -06:00
renovate[bot]
8a90e863f3
Update dependency Microsoft.Extensions.Http to v8 (#187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-26 12:07:55 -06:00
Cody Robibero
c61b674d32
10.9 (#233) 2024-05-11 13:25:18 -06:00
renovate[bot]
0b3f33828c
Update dependency StyleCop.Analyzers to v1.2.0-beta.556 2023-12-21 08:15:43 +00:00
Cody Robibero
3b5a62077e
Clean up (#225) 2023-11-27 06:11:06 -07:00
buthed010203
eaea912ada
Fix duplicate watched entries (#224) 2023-11-26 17:48:34 -07:00
Kade
d25cabd77d
Fix pagination when no items are present (#215) 2023-07-02 11:33:55 -06:00
Cody Robibero
404a102840
Merge pull request #205 from h3llrais3r/history-episode-import 2023-05-29 18:49:08 -06:00
Awot
e1ce6b4239
Update trakt.html (#206) 2023-05-28 06:11:26 -06:00
h3llrais3r
fc7ab88742 Add missing negation 2023-03-04 07:38:18 +01:00
h3llrais3r
336f8af169 Only match on show/season/name if no common id 2023-03-04 07:27:04 +01:00
h3llrais3r
6bd9964779 Revert last 3 commits 2023-03-04 07:06:10 +01:00
h3llrais3r
096a5c94de Only match by id when episode & trakt have ids 2023-03-03 23:14:11 +01:00
h3llrais3r
c1b9779786 Some refactoring 2023-03-03 22:42:13 +01:00
h3llrais3r
470e1e1819 Only match on show/season/name if no provider id's 2023-03-03 22:34:37 +01:00
h3llrais3r
43fd88dbda Fix playcount log statement 2023-03-03 18:23:39 +01:00
h3llrais3r
0c90a46a24 Move code back inside SyncTraktDataForUser 2023-03-03 18:21:59 +01:00
h3llrais3r
ddb189b8ed Simplify IsMatch 2023-03-03 18:18:26 +01:00
h3llrais3r
371bd34caf Fix match by season and number (include show match as well)
This also fixes the play count
2023-03-03 17:11:42 +01:00
h3llrais3r
7995ea6820 Remove unused variable matchedWatchedSeason 2023-03-03 16:15:05 +01:00
h3llrais3r
7b1481d921 Remove fallback logic with watched api 2023-03-03 16:14:11 +01:00
h3llrais3r
e1e77d97c6 Check for season/number in IsMatch for TraktEpisode 2023-03-03 16:07:19 +01:00
h3llrais3r
ea50ff0bdf Change logging for testing purposes
Make distinction between logging for history match and legacy match.
2023-03-02 18:09:02 +01:00
h3llrais3r
3972ae3ad2 Implement requested changes 2023-03-02 17:32:29 +01:00
h3llrais3r
7b692c510e Rename variable 2023-03-01 20:27:29 +01:00
h3llrais3r
b90028ba0b Use history api for importing episodes from trakt
The history api includes more details (i.e. indexer id) which can be used to properly match episodes (i.e. when jellyfin is using other indexer than trakt).
Matching by indexer id is a lot more accurate than matching by season and number.
This is a rework of https://github.com/jellyfin/jellyfin-plugin-trakt/pull/191 where we are now using the history by default for episode sync.
2023-03-01 19:46:36 +01:00
veloute
f3ca422d82
small correction to trakt.html (#202) 2023-02-17 16:59:57 -07:00
addamanth
b32f33a7af
Added config parameter Don't remove items from trakt (#196) 2023-02-10 16:19:57 -07:00
blackwind
8d3c1a5727
Sync LastPlayedDate if not set locally (#201) 2023-02-10 12:40:15 -07:00
Shadowghost
8b68bc3e02
Fix episode last played date syncing (#199) 2023-02-03 05:43:20 -07:00
h3llrais3r
7c013522c8 Replace type check by null check 2022-12-04 18:48:37 +01:00
h3llrais3r
7c6e0027aa Add fallback to match episode when it belongs to another season
When an episode is not matched with the season, let's find it in any season.
This happens when an episode of the next season in tvdb appears in the previous season in tmdb. (F.e. Hunter X Hunter S02E01 tvdb = S01E59 tmdb)
2022-11-28 21:43:51 +01:00
h3llrais3r
560c17bdf4 Fix episode matching for sync from trakt task
- Trakt has switched from tvdb to tmdb as indexer
- Episodes are often not aligned between tvdb and tmdb
- Watched shows api does not contain episodes ids
- History api does contain episode ids
- If no matching is found by season and number (from shows api), fallback to history api to determine a match by episode ids
2022-11-28 19:42:33 +01:00
Shadowghost
4800589209 Switch to new API key 2022-10-20 11:26:03 +02:00
Shadowghost
a861d7240a Apply review suggestions 2022-10-20 11:25:56 +02:00
Shadowghost
51ef1ca84b Fix playback events hammering the trakt.tv API 2022-10-18 08:37:00 +02:00
Cody Robibero
1ed81ff257
Merge pull request #169 from Shadowghost/fixes
Prevent setting local item as unwatched on sync
2022-10-14 06:13:52 -06:00
Samuel Bartík
31dd41ec9e
Add more info to debug logs 2022-10-11 18:11:11 +02:00
Shadowghost
1803f9f708 Prevent setting local item as unwatched on sync 2022-10-03 14:18:24 +02:00
Shadowghost
734b7dd018 Switch to proper GUID handling in the API 2022-07-10 08:41:40 +02:00
Shadowghost
3838427a3b Move resolution boundaries to consts, comment where those values come from 2022-07-08 18:17:17 +02:00
Shadowghost
f98abd1cf6 Apply review suggestions 2022-07-08 17:09:09 +02:00
Shadowghost
8a263fbb70 Fix try-catch scope for library event handling 2022-07-08 16:20:07 +02:00
Shadowghost
7f4505dc87 Reduce database access 2022-07-08 16:20:07 +02:00
Shadowghost
51ad50583e Add 480p fallback for lower resolutions 2022-07-08 16:20:07 +02:00
Shadowghost
9b93cbf5e7 Properly handle 4:3 resolutions 2022-07-08 16:20:07 +02:00
Shadowghost
cacc3b2dd6 Apply review suggestions 2022-07-08 16:20:07 +02:00
Shadowghost
988a146c9b Various fixes and enhancements 2022-07-08 16:20:00 +02:00
Shadowghost
8b85ff6796 Don't abort sync if a user errors out 2022-07-02 01:18:13 +02:00