Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added initial IMDB indexer. #3603

Merged
merged 90 commits into from
Mar 1, 2022
Merged
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
c8e276e
Added initial IMDB indexer.
p0psicles Jan 12, 2018
b76d78e
Don't add video games and tv short.
p0psicles Jan 12, 2018
6912013
Fixed setting the imdb_id external.
p0psicles Jan 13, 2018
e94dd24
Added images (only poster for now).
p0psicles Jan 13, 2018
81f06ef
Added show status and firstaired using releases route.
p0psicles Jan 14, 2018
e325619
Added better support for poster and poster_thumbs.
p0psicles Jan 14, 2018
dc25c36
Added routes that still need to be added to imdbpie.py
p0psicles Jan 14, 2018
6222031
Fix show_url
duramato Jan 14, 2018
8b4e251
Merge remote-tracking branch 'remotes/origin/develop' into feature/ad…
p0psicles Feb 8, 2018
2223f45
Fix network and images.
p0psicles Feb 8, 2018
80a607b
Added episode rating, overview and airdate.
p0psicles Feb 9, 2018
cad5dea
Fixed bug where adding show without a summary, throwed an error.
p0psicles Feb 9, 2018
d3a4e7d
Added actors.
p0psicles Feb 9, 2018
06a99f4
Added fanart and production_art (as fanart).
p0psicles Feb 10, 2018
730620a
Use the poster initially provided with the show, as the images api, d…
p0psicles Feb 10, 2018
eace45e
Refactor indexers.
p0psicles Feb 10, 2018
4d9986b
Use get_nested_value() function for tmdb.
p0psicles Feb 11, 2018
817e695
tvmaze exceptions got removed.
p0psicles Feb 11, 2018
f3e87f3
Get airs day of week, from last 10 airdates.
p0psicles Feb 11, 2018
20b0d48
Added episode thumbnails with kodi_12plus.
p0psicles Feb 11, 2018
203ffbd
Merge remote-tracking branch 'remotes/origin/develop' into feature/ad…
p0psicles Feb 18, 2018
f1bfbc1
Fix issues with shows missing info.
p0psicles Feb 18, 2018
f956eec
Fix exception for when search doesn't return any results.
p0psicles Feb 19, 2018
65fb5d6
Use templating for the show_url.
p0psicles Feb 19, 2018
1800961
Change the addShows addShows/searchIndexersForShowName function to re…
p0psicles Feb 19, 2018
05d08c6
Fixed searching for The Tick.
p0psicles Feb 19, 2018
8d601eb
Disable the delay on ShowUpdater.
p0psicles Mar 15, 2018
81304ae
Update imdbpie to latest develop.
p0psicles Mar 15, 2018
4521d70
Modify get_last_updated_series parameters.
p0psicles Mar 15, 2018
6d1e970
Start changing show_updater.py to add the ability of adding using per…
p0psicles Mar 15, 2018
9a907b2
Merge remote-tracking branch 'remotes/origin/develop' into feature/ad…
p0psicles Mar 16, 2018
1ccbbea
Added per season calculated intervals for show updates.
p0psicles Mar 16, 2018
1b90fe9
restored the show update delay.
p0psicles Mar 16, 2018
920156f
Changed per season update to show updates for imdb.
p0psicles Mar 16, 2018
4ec0fde
Moved the show search in the exception handling block.
p0psicles Mar 17, 2018
36dfa7b
Merge remote-tracking branch 'origin/develop' into feature/add-imdb-i…
p0psicles Feb 18, 2022
6ed906a
Fix conflicts
p0psicles Feb 18, 2022
e48c213
Fix adding shows using imdb
p0psicles Feb 18, 2022
8a4a62a
And it loads the displayShow
p0psicles Feb 18, 2022
2c57175
Fixed a number of bugs
p0psicles Feb 19, 2022
4a0f630
Fix status tmdb
p0psicles Feb 20, 2022
ea901f3
Fix method call get_last_seasons for tvdb
p0psicles Feb 20, 2022
7858ba5
Fix show_updater
p0psicles Feb 20, 2022
8a6e227
Fix get external lookups for imdb.
p0psicles Feb 20, 2022
ad540a2
Fix getting rating/contentrating from imdb.
p0psicles Feb 21, 2022
2f6123e
Fix show imdb icon for non-imdb shows
p0psicles Feb 21, 2022
34d9b68
Fix regressions on providers with absolute numbering
p0psicles Feb 21, 2022
bdf374e
fixing old merge conflicts
p0psicles Feb 21, 2022
76c644e
Not using this
p0psicles Feb 21, 2022
7992b6d
Fix more indexer merge conflicts
p0psicles Feb 21, 2022
7fc2c80
Fix more merge conflicts
p0psicles Feb 21, 2022
5ff8c06
More merge conflicts
p0psicles Feb 21, 2022
e678649
revert the show_updater scheduler
p0psicles Feb 21, 2022
4025d71
Fix change-indexer
p0psicles Feb 21, 2022
8f6a1ab
Fix season updating for imdb
p0psicles Feb 21, 2022
6d3c8be
comment show_updater
p0psicles Feb 21, 2022
a572ca2
fix kodi metadata actor error
p0psicles Feb 21, 2022
4bd36a0
Fix get origin_country
p0psicles Feb 21, 2022
7f13fe2
Fix change-indexer
p0psicles Feb 22, 2022
57c1271
Lots of fixes:
p0psicles Feb 22, 2022
52a77e5
Fixed bug with actor without role?
p0psicles Feb 22, 2022
667203a
Add search imdb by id.
p0psicles Feb 22, 2022
ee0ba44
fix: Add existing shows
p0psicles Feb 22, 2022
ff23600
Make searching more flexible
p0psicles Feb 22, 2022
bf3ad02
added externals component
p0psicles Feb 22, 2022
8ec6e04
Get the thumb version for poster.
p0psicles Feb 22, 2022
fb6874f
Fix imdb status
p0psicles Feb 23, 2022
1303532
Extended tmdb exception handling.
p0psicles Feb 23, 2022
fd5f013
Fix error with lastaired
p0psicles Feb 23, 2022
76b8246
Adding log for when tt id's are cleaned from indexer_mapping.
p0psicles Feb 23, 2022
b8c133b
Fix get_episode error
p0psicles Feb 23, 2022
baaf043
Clean recommended_db
p0psicles Feb 23, 2022
e14be33
Improve searching
p0psicles Feb 23, 2022
d783c2a
add logs
p0psicles Feb 23, 2022
63b7444
simplify clean imdb tt
p0psicles Feb 23, 2022
77e7632
Fix parsing images tmdb
p0psicles Feb 24, 2022
41a688b
Fix exception handling for show_updater when updating through indexer…
p0psicles Feb 24, 2022
a6a8226
Get posters and banners by aspect_ratio
p0psicles Feb 25, 2022
b8e6fff
New imdb sorting logic
p0psicles Feb 25, 2022
19e3363
Improve the show season updates.
p0psicles Feb 25, 2022
6db36ff
Also applied to the other indexers
p0psicles Feb 25, 2022
aaefba0
Refactored the get_last_updated_seasons method.
p0psicles Feb 26, 2022
f68957b
comment
p0psicles Feb 26, 2022
5c273af
Fix imdb id parse error
p0psicles Feb 28, 2022
1cc83c8
Fix diverse imdb id mapping
p0psicles Feb 28, 2022
e23ebf6
Add login response check
p0psicles Feb 28, 2022
b3d7a8d
Added imdb exception handling
p0psicles Feb 28, 2022
5e8096d
Fix flake warnings
p0psicles Mar 1, 2022
763289e
Refactor and fix flake
p0psicles Mar 1, 2022
983f51b
Fix jest tests
p0psicles Mar 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix parsing images tmdb
  • Loading branch information
p0psicles committed Feb 24, 2022
commit 77e7632eb0876cff8184dfbccee1bfbcde2c0e69
10 changes: 9 additions & 1 deletion medusa/indexers/tmdb/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,15 @@ def _parse_images(self, tmdb_id):

This interface will be improved in future versions.
"""
key_mapping = {'file_path': 'bannerpath', 'vote_count': 'ratingcount', 'vote_average': 'rating', 'id': 'id'}
key_mapping = [
('bannerpath', 'file_path'),
('ratingcount', 'vote_count'),
('rating', 'vote_average'),
('id', 'id'),
('width', 'width'),
('height', 'height'),
('aspect_ratio', 'aspect_ratio'),
]
image_sizes = {'fanart': 'backdrop_sizes', 'poster': 'poster_sizes'}
typecasts = {'rating': float, 'ratingcount': int}

Expand Down