cecobask / imdb-trakt-sync

Automatic sync from IMDb to Trakt (watchlist, lists, ratings and history) using GitHub actions.
MIT License
91 stars 216 forks source link

feat: provide auth method options #49

Closed cecobask closed 2 months ago

cecobask commented 2 months ago

The authentication method for IMDb can be specified via the IMDB_AUTH configuration field. The value must be one of the following and the dependent fields must also be set:

Relates to #48

I will provide one additional IMDb authentication method over the next few days. Its name will be none and it will allow users to sync public IMDb lists to Trakt.

codecov-commenter commented 2 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 39.08046% with 53 lines in your changes missing coverage. Please review.

Project coverage is 44.16%. Comparing base (f69e371) to head (b548ed5).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #49 +/- ## ========================================== - Coverage 44.88% 44.16% -0.72% ========================================== Files 14 14 Lines 1466 1508 +42 ========================================== + Hits 658 666 +8 - Misses 792 821 +29 - Partials 16 21 +5 ``` | [Files](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/49?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov) | Coverage Δ | | |---|---|---| | [cmd/sync/sync.go](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/49?src=pr&el=tree&filepath=cmd%2Fsync%2Fsync.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov#diff-Y21kL3N5bmMvc3luYy5nbw==) | `0.00% <0.00%> (ø)` | | | [internal/syncer/syncer.go](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/49?src=pr&el=tree&filepath=internal%2Fsyncer%2Fsyncer.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov#diff-aW50ZXJuYWwvc3luY2VyL3N5bmNlci5nbw==) | `0.00% <0.00%> (ø)` | | | [pkg/client/imdb.go](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/49?src=pr&el=tree&filepath=pkg%2Fclient%2Fimdb.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov#diff-cGtnL2NsaWVudC9pbWRiLmdv) | `0.00% <0.00%> (ø)` | | | [internal/config/config.go](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/49?src=pr&el=tree&filepath=internal%2Fconfig%2Fconfig.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov#diff-aW50ZXJuYWwvY29uZmlnL2NvbmZpZy5nbw==) | `68.07% <53.12%> (-12.15%)` | :arrow_down: |