Commit Graph

335 Commits

Author SHA1 Message Date
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
jellyfin-bot
34dcd8ffb7
Prepare for release v23 (#200) 2023-02-10 16:20:38 -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
jellyfin-bot
ad6e2ab54a
Bump version to 22 (#189) 2022-12-28 09:23:44 -07:00
Cody Robibero
61db58836f
Merge pull request #191 from h3llrais3r/fix-episode-matching
Fix episode matching for sync from trakt task
2022-12-04 10:53:45 -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
Cody Robibero
3f7a6cca29
Merge pull request #188 from methbkts/patch-1
Update README.md
2022-11-25 07:12:56 -07:00
methbkts
d618e787ce
Update README.md 2022-11-25 14:15:53 +01:00
Cody Robibero
d72153c196
Merge pull request #173 from jellyfin/prepare-21 2022-10-20 08:19:47 -06:00
jellyfin-bot
651d457f9e Bump version to 21 2022-10-20 14:19:05 +00:00
Cody Robibero
9e63261630
Merge pull request #175 from Shadowghost/fixes 2022-10-20 08:18:42 -06: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
Cody Robibero
7af59ab8ed
Merge pull request #171 from sambartik/enhance-debug-logs
Add more info to debug logs
2022-10-14 06:13:32 -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
Cody Robibero
08b43b248e
Merge pull request #159 from jellyfin/prepare-20 2022-09-02 07:11:02 -06:00
Cody Robibero
1ebead5d8d
Update build.yaml 2022-09-02 07:10:09 -06:00
jellyfin-bot
ec9fa03b7e Bump version to 20 2022-07-30 13:34:11 +00:00
Cody Robibero
70a3c3aa41
Merge pull request #154 from Shadowghost/fixes 2022-07-30 07:33:46 -06: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
Cody Robibero
b3650c7f80
Merge pull request #146 from jellyfin/prepare-19 2022-05-28 11:16:19 -06:00
K3rnelPan1c
3371cc0b1a
fix: reset targetAbi to 10.8 2022-05-28 19:03:33 +02:00
jellyfin-bot
72d76d4a4b Bump version to 19 2022-05-25 21:29:35 +00:00
Cody Robibero
b5930f86c4
Merge pull request #139 from jellyfin/dependabot/nuget/StyleCop.Analyzers-1.2.0-beta.435
chore(deps): bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435
2022-05-25 15:18:15 -06:00
dependabot[bot]
97d29a0ade
chore(deps): bump StyleCop.Analyzers
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) from 1.2.0-beta.406 to 1.2.0-beta.435.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases)
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.406...1.2.0-beta.435)

---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 01:40:14 +00:00
Cody Robibero
1c57dc6a07
Merge pull request #144 from Shadowghost/not-found-api-fix
Properly handle 404 API responses
2022-05-15 21:28:49 -04:00
Cody Robibero
fc6a3f3ce4
Merge pull request #145 from h1dden-da3m0n/fix/bump-ci 2022-05-15 20:37:10 -04:00