SickGear/sickgear
Prinz23 7a6936823e Change improve tmdb_api, trakt_api, and TVInfoShow object.
Add `spoken_languages` to tmdb API and TVInfoShow object.
Add `trailers`, `homepage` to trakt API and TVInfoShow object.
Add trakt episode data if returned from api.
Add trakt API methods.
- get_most_played
- get_most_watched
- get_most_collected
- get_anticipated
- get_recommended
- get_trending
- get_popular
- get_recommended_for_account
- get_new_shows
- get_new_seasons
- get_watchlisted_for_account
- get_similar
- hide_recommended_for_account (to hide/remove recommended shows for account)
- unhide_recommended_for_account
- list_hidden_recommended_for_account

Fix caching tmdb language list over different runtime instances.
Add episode_count and fix ti_show in tmdb_api person object.
Change set additional properties in get_person trakt_api.

Add tmdb API methods and tvinfo_base.
- get_recommended_for_show
- get_similar
---
fix supported language caching
improve print output (source name) of tvinfo_api_tests
fix tvinfo_api_tests data creation
---
Add code so that it runs with all_test

use mock today() and now() dates
add option to only get new urls mock data
try also to make object creation only when needed
fix person parser in tmdb_api
add search_person test in tvinfo_api_tests
restore mocked methods at the end of the tvinfo_api_tests to prevent other tests to fail when called via all_tests
switch gzip with better lzma compression for mock files (default lib in py3)
move mock files in test unit sub folder
---
Fix trakt method `get_recommended`.
Fix browse trakt tests in tvinfo_api_tests.
Change set episode id in trakt api.
---
Add test_browse_endpoints to tvinfo_api_tests.
---
Add enforce_type to sg_helpers.
Change use enforce str for overviews.
Change remove `if PY2` code sections
Add support for  datetime.time in _make_airtime in tv.py
Refactor tvmaze_api show data setter.
Change test to not allow None for seriesname.
Add additional missing showdata with caller load_data().
Add load_data() to TVInfoShow.
Add guestcast, guestcrew to episodes in pytvmaze lib.
---
Change make seriesid of TVInfoShow a alias property of id.

Add tvinfo tests.
Add search tests.
Add show, person tests.
Change add trakt tests.
Change add tmdb search tests.
tvmaze_api exclude rating from mapping.
Allow None for seriesname.
Fix origin_countries in trakt_api search.
Fix show_type in tvmaze_api.
Fix airtime for episodes in tvmaze_api.
---
Change switch to property instead of legacy dict-like use for trakt search results.
Change optimize speed of get() function.
Fix make BaseTVinfoSeasonnotfound and BaseTVinfoAttributenotfound also a subclass of AttributeError and KeyError.
Change mock get() to work with and without default args just like dict get().
Change add language to tmdb_api search results.
Change improve person search by remote id, by getting the complete persons data when there is only 1 result.
Change trakt API search results to tvinfoshow.
Change search results to TVInfoShow objs in tvmaze_api.
Change simplify poster URL generation for search results.
Change search results to TVInfoShow objs.

Change add tvdb genre links to displayShow.

Change workaround for missing data in person data (series set to None).

Fix add show to characters of person if there is no name on IMDb (set to 'unknown name').

Change add config and icons for linkedin, reddit, wikidata, youtube.

Add TVInfoIDs, TVInfoSocialIDs to Trakt.
Add TVInfoIDs to tmdb_api.
Add TVInfoIDs to tvmaze_api.
add TVInfoIDs to imdb_api.

Change make character name '' if None.

Fix for 'unknown name' persons and characters.

Add contentrating.

Change fill in new fields to get_person results.

----

Change set new in/active dates to network.

Change add active_date, inactive_date to TVInfoNetwork class.

Change add default kwargs to tmdb discover method if no kwargs are set.
Change default: English language shows with first air date greater then today.

Change add slug field to returned data from discover.

Change add 'score' mapped to rating to discover returned results.

Fix valid_data for discover method.

Change add result_count to discover.

Change add _sanitise_image_uri to discover method.

Fix convert_person.

Change add missing  _sanitise_image_uri for images in some places.

Fix crew.

Change return type of tvinfo base: discover to list tvinfoshow.

Fix people remote id search.
Change add tmdb person id search.

Change fix people endpoint fieldname changes.

Change add biography to person object.

Change move 401 expired token handling into TvdbAuth class.

Change get new token if old token is expired.

Change add raise error if episodes fallback fails to load data.
Change add break if no valid_data to absolute and alternative numberings.
Change add filter only networks.
Change add new required parameter meta=translations to get translated (includes the original language) show overviews.
Change add check if show is set for person compare.
Fix person update properties with no show set.
Change add person image.

Change add alternative episode orders.
Change add alt_ep_numbering to TVINFO_Show.
Change add old interface for dvd order.

Change add trakt slug tvinfo search test cases.

Change add mock for old tvdb get new token.

Change old lib to newer tvinfo data.

Fix person id (not available on old api).

Change more places to new TVInfoAPI interface.
2023-05-03 00:43:59 +01:00
..
clients Refactor timestamp_near to SGDatetime.timestamp_near. 2023-03-08 17:36:24 +00:00
databases Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
indexers Change improve tmdb_api, trakt_api, and TVInfoShow object. 2023-05-03 00:43:59 +01:00
metadata Change improve tmdb_api, trakt_api, and TVInfoShow object. 2023-05-03 00:43:59 +01:00
name_parser Change improve tmdb_api, trakt_api, and TVInfoShow object. 2023-05-03 00:43:59 +01:00
notifiers Add to config/media-process/File Handling, "Rename TBA" and "Rename any". 2023-05-02 22:47:52 +01:00
providers Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
__init__.py Add to config/media-process/File Handling, "Rename TBA" and "Rename any". 2023-05-02 22:47:52 +01:00
_legacy_classes.py Change bump to major version 3.xx to signal that this branch supports Python3+ only. 2023-02-09 13:41:15 +00:00
anime.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
auto_media_process.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
browser.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
classes.py Change improve perf by using generators with any. 2023-03-06 23:54:52 +00:00
common.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
config.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
db.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
event_queue.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
failed_history.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
failedProcessor.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
generic_queue.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
gh_api.py Change codebase cleanups. 2023-02-24 15:17:56 +00:00
helpers.py Change improve tmdb_api, trakt_api, and TVInfoShow object. 2023-05-03 00:43:59 +01:00
history.py Change codebase cleanups. 2023-02-24 15:17:56 +00:00
image_cache.py Refactor timestamp_near to SGDatetime.timestamp_near. 2023-03-08 17:36:24 +00:00
indexermapper.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
logger.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
name_cache.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
naming.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
network_timezones.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
nzbget.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
nzbSplitter.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
people_queue.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
piper.py Merge branch 'main' into dev 2023-04-12 10:20:48 +01:00
postProcessor.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
processTV.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
properFinder.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
py_requirement.data Change minimum required Python to version 3.8 2023-04-27 12:52:02 +01:00
rssfeeds.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
sab.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
scene_exceptions.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
scene_numbering.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
scheduler.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
search.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
search_backlog.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
search_propers.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
search_queue.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
search_recent.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
sgdatetime.py Refactor timestamp_near to SGDatetime.timestamp_near. 2023-03-08 17:36:24 +00:00
show_name_helpers.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
show_queue.py Add language support. 2023-05-03 00:41:08 +01:00
show_updater.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
subtitles.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
trakt_helpers.py Change py2 deprecation cleanups. 2023-02-21 01:01:04 +00:00
tv.py Change improve tmdb_api, trakt_api, and TVInfoShow object. 2023-05-03 00:43:59 +01:00
tv_base.py Change py2 unicode into f-strings or simple strings where appropriate. 2023-03-08 14:22:40 +00:00
tvcache.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
ui.py Change codebase cleanups. 2023-02-24 15:17:56 +00:00
version_checker.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
watchedstate.py Change add jobs to centralise scheduler activities. 2023-04-27 12:47:00 +01:00
watchedstate_queue.py Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
webapi.py Change improve tmdb_api, trakt_api, and TVInfoShow object. 2023-05-03 00:43:59 +01:00
webserve.py Change improve tmdb_api, trakt_api, and TVInfoShow object. 2023-05-03 00:43:59 +01:00
webserveInit.py Change deprecate processEpisode used by nzbToMedia to advise how to configure API instead. 2023-03-10 01:52:51 +00:00