Commit graph

569 commits

Author SHA1 Message Date
JackDandy
b5e1239d6d Merge branch 'feature/AddRateLimitCacheImage' into dev 2024-11-25 14:27:35 +00:00
Prinz23
1b90c4b0c5 Change add a retry backoff for downloading posters for person search tvmaze 2024-11-25 14:21:17 +00:00
JackDandy
9466d3f288 Merge branch 'feature/AddDbFlagPartialIndex' into dev 2024-11-25 14:17:05 +00:00
Prinz23
009db05cc7 add db_support_partial_index flag to db.py
(required by 3rd party lib diskcache)
2024-11-25 14:00:48 +00:00
JackDandy
525c887d91 Merge branch 'feature/ChangeTwitterToX' into dev 2024-11-25 13:58:53 +00:00
Prinz23
87d88a9a4d Change twitter.com to x.com and Twitter to X (Twitter) branding 2024-11-25 13:58:23 +00:00
JackDandy
c78f5bfd57 Merge branch 'feature/FixCharacterSql' into dev 2024-11-25 13:57:40 +00:00
Prinz23
864ae05d61 change sql var s to save use 2024-11-25 13:35:21 +00:00
JackDandy
35eaf4d0d5 Merge branch 'feature/Change2160pParsing' into dev 2024-11-25 13:33:58 +00:00
JackDandy
cfc178e25a Change update readme 2024-11-25 13:32:45 +00:00
Prinz23
1168a23a66 unify the hachoir imports to from lib. 2024-11-25 13:25:24 +00:00
Prinz23
b0566f7a53 also set image dimensions getter to best quality 2024-11-25 13:25:24 +00:00
Prinz23
c4289ae091 change hachoir metadata extractor to best data extraction quality 2024-11-25 13:25:24 +00:00
Prinz23
695f9c2201 add width check 2024-11-25 13:25:23 +00:00
Prinz23
2494473f68 add to file_quality for video height over 1100 to return 4k web too 2024-11-25 13:25:23 +00:00
Prinz23
5b31a986dd add parsing of 2160p releases without source tag 2024-11-25 13:25:23 +00:00
JackDandy
8b8aa3f376 Merge branch 'feature/UpdateTornado' into dev 2024-11-25 13:16:15 +00:00
JackDandy
c7937d0891 Update Tornado Web Server 6.4.1 (2a0e1d1) → 6.4.2 (27b3252). 2024-11-25 13:15:12 +00:00
JackDandy
891b0d2d0f Merge branch 'feature/FixNoCharacterName' into dev
Some checks failed
Python Unit Tests / windows (windows-latest, 3.10) (push) Has been cancelled
Python Unit Tests / windows (windows-latest, 3.11) (push) Has been cancelled
Python Unit Tests / windows (windows-latest, 3.12) (push) Has been cancelled
Python Unit Tests / windows (windows-latest, 3.8) (push) Has been cancelled
Python Unit Tests / windows (windows-latest, 3.9) (push) Has been cancelled
Python Unit Tests / linux (ubuntu-latest, 3.10) (push) Has been cancelled
Python Unit Tests / linux (ubuntu-latest, 3.11) (push) Has been cancelled
Python Unit Tests / linux (ubuntu-latest, 3.12) (push) Has been cancelled
Python Unit Tests / linux (ubuntu-latest, 3.8) (push) Has been cancelled
Python Unit Tests / linux (ubuntu-latest, 3.9) (push) Has been cancelled
Python Unit Tests / macos (macos-latest, 3.10) (push) Has been cancelled
Python Unit Tests / macos (macos-latest, 3.11) (push) Has been cancelled
Python Unit Tests / macos (macos-latest, 3.12) (push) Has been cancelled
Python Unit Tests / macos (macos-latest, 3.8) (push) Has been cancelled
Python Unit Tests / macos (macos-latest, 3.9) (push) Has been cancelled
2024-10-07 11:24:41 +01:00
Prinz23
1b08ec8c67 if add and update cast that has no character name 2024-10-07 04:14:44 +02:00
JackDandy
29047e44d3 Merge branch 'feature/AddTvdbV4' into dev
Some checks are pending
Python Unit Tests / windows (windows-latest, 3.10) (push) Waiting to run
Python Unit Tests / windows (windows-latest, 3.11) (push) Waiting to run
Python Unit Tests / windows (windows-latest, 3.12) (push) Waiting to run
Python Unit Tests / windows (windows-latest, 3.8) (push) Waiting to run
Python Unit Tests / windows (windows-latest, 3.9) (push) Waiting to run
Python Unit Tests / linux (ubuntu-latest, 3.10) (push) Waiting to run
Python Unit Tests / linux (ubuntu-latest, 3.11) (push) Waiting to run
Python Unit Tests / linux (ubuntu-latest, 3.12) (push) Waiting to run
Python Unit Tests / linux (ubuntu-latest, 3.8) (push) Waiting to run
Python Unit Tests / linux (ubuntu-latest, 3.9) (push) Waiting to run
Python Unit Tests / macos (macos-latest, 3.10) (push) Waiting to run
Python Unit Tests / macos (macos-latest, 3.11) (push) Waiting to run
Python Unit Tests / macos (macos-latest, 3.12) (push) Waiting to run
Python Unit Tests / macos (macos-latest, 3.8) (push) Waiting to run
Python Unit Tests / macos (macos-latest, 3.9) (push) Waiting to run
2024-10-07 01:24:59 +01:00
JackDandy
33c3c9efcd Change highlight main UI changes with TVDBv4. 2024-10-07 01:24:47 +01:00
Prinz23
270fef4fdf fix dedupe characters in tvdb api v4 2024-10-07 01:24:46 +01:00
JackDandy
5a11b23121 Change add role deduplication, and tidy up 2024-10-07 01:24:46 +01:00
Prinz23
b59084d27d Add TVDb person search
fix handle tvdb error on browse tvdb page
adjust for datetime import changes in webserve
remove any references to sickgear in tvdb api libs
replace deprecated old method_whitelist with allowed_methods
2024-10-07 01:24:46 +01:00
JackDandy
da9a6a829c Change couple more consistency improvements.
Change undo one simplification too far. Reasoning, the var is used later on in code, the natural eyeline is to look for the variable defined on the left above, and the declaration was hidden mid line due to walrus. Therefore, this makes it take longer to scan over code and slows down readability, i Bet this will be written about in some blog very soon.
Add ranking to scores on card
Change use new refactored overview cleaner
2024-10-07 01:24:45 +01:00
Prinz23
9f875601e4 Fix for caching.
Simplification.
2024-10-07 01:24:45 +01:00
JackDandy
b4a16b40b0 Change simplify get_cache calls.
Change replace double negative "not no_" with singular positive usage.
Change remove unused mock data.
2024-10-07 01:24:45 +01:00
Prinz23
bc1eff8d3b Change add get_cached_or_new to simplify data caching.
Change improve performance, don't fetch cached data if no cache data is wanted.
2024-10-07 01:24:44 +01:00
JackDandy
4b0f437923 Change refactoring, changes for consistency, code style, and improve readability. 2024-10-07 01:24:44 +01:00
Prinz23
7c32dc12e4 Change support languages in show search.
Add display all id links for persons.
Fix ensure overview in search results are type str.
Change pickle_protocol to 5 which is supported by 3.8+
Change update mock data to pickle protocol 5.
Fix for if mock data files are corrupted.
Change add property has_text to Images.
Change set has_text from includesText data field (currently unused on API).
Fix rebase errors.
Change use Walrus for cache keys and get_data.
2024-10-07 01:24:44 +01:00
JackDandy
b55b29732b Fix py2 deprecation cleanups added exclusively by TvdbV4 code.
Refactor `timestamp_near` to `SGDatetime.timestamp_near`
---
Simplify enforce_type + clean_data to clean_str.
Change simplified all but one enforce_type use case.
---
Add tvdb, trakt slug tvinfo search test cases

Change direct tvdb slug search support via new api endpoint

Fix origin_countries in tvdb_api_v4.
---
Add new TV_Maze id to show obj ids in tvdb_api_v4.
Fix a bug parsing social ids for tvshows in tvdb_api_v4.
Change add language support to search API and tvdb_api_v4.
Change add `updated_at` to artwork on tvdb_api_v4.
Change add `finale` type to episodes.

Change add method `get_top_rated` to tvdb_api_v4.
optional params...
- year=... argument to get only top rated of given year, if not it's all time
Change returns result for shows until same day last year.

Add youtube, reddit, fansite, tiktok, linkedin, wikidata to tv.py
Add tiktok to indexer_config.
Add fansite to tvdb_api_v4.
Aadd fansite to TVInfoSocialIDs.
Add source type parsing and add linkein to tvdb_api_v4.
Add linkedin.
Add tiktok parser to tvdb_api_v4.

Change v4 to TVInfoIDs, TVInfoSocialIDs.

Change add new id data.

Add contentrating.

Change fill in new fields to get_person results.
----
Change implement discover endpoint in tvdb_api_v4.

Change filter '0000' year for firstaired field in tvdb_api_v4.

Change use the default_season_type from api for website fallback.

Change remove unneeded _auth_time.

Add backup fetch for episode data.

Change add multiple space remove to clean_data.
Change move _get_tvdb_id to central function.
Change fix minor warnings, code tidy + DRY.
Change remove the show-edit option `Use DVD titles and numbers` until ready with multi TVInfo source.
Add try_date and use to attempt conversion of unspecified date format types birthdate, deathdate, aired.
Change tweaks, remove one warn, order imports.
Change tidy up of other warnings, mismatched types, typos, a strange arg issue with deepcopy, and PEP8.
Bug fix, bad key in get_item for TVInfoSocialIDs.
Fix ambiguities of `show` used in sg versus external uses.
Fix add data sanitisation of image field.
Change make set_episode code more readable.
Change fix final two warnings in api v4.
Fix an API can return falsy as firstaired which crashes adding a show via load_from_tv_info() (The Andrew Marr Show@tvdbv4).

Add cast, crew type mappings

Only take Main Actors, Hosts, Interviewers, Presenters

Change increase viewagble history menu items from 13 to 15.
2024-10-07 01:24:43 +01:00
Prinz23
79f0c829a7 Add TVDb v4.
Add person search and get_person.
Add id search.
Add show characters.
Add episodes.
Add basic show info.
Add TVDB_API_CONFIG to tvdb_api_v4 and assign it in indexer_config.
Add auth to tvdb_api_v4.
For sorting networks use '0000-00-00' instead of activeDate if not set.
Add language support.
Add new get_languages TVInfo Interface method that returns a list of dicts by the indexer supported languages and the sg_lang map code [{'id': 'lang code', 'name': 'english name', 'nativeName': 'native name', 'sg_lang': 'sg lang code'}].
Add all returned languages to webserve method.
Use new interface parameter language for get_show.
Add episode overview
Add fallback to 'id' field which is str now for search tvdb_id.
Add missing alias parsing.
Filter out episode characters.
Add IMDb and TMDB id search.
Add IMDb search to person search.
Add missing data to person and character objects.
Add include error description if an error is raised in tvdb_api_v4.
Add error handling for creating episode thumbs and nfo's, and on show level.
Add absolute numbering.
Add ids to person data.
new mock data
2024-10-07 01:24:43 +01:00
JackDandy
9410f3f219 Merge branch 'main' into dev 2024-10-07 01:12:04 +01:00
JackDandy
5b830af8b9 Merge branch 'hotfix/3.32.10' 2024-10-07 01:11:45 +01:00
Prinz23
363cb49348 fix IndentationError(s) 2024-10-07 01:09:34 +01:00
JackDandy
c05ccd3b51 Merge branch 'main' into dev 2024-10-07 01:01:05 +01:00
JackDandy
f91ceb5e4b Merge branch 'hotfix/3.32.9' 2024-10-07 01:00:15 +01:00
JackDandy
f343765302 Fix indendation. 2024-10-07 00:59:57 +01:00
JackDandy
eef5ddb171 Merge branch 'main' into dev 2024-10-07 00:35:28 +01:00
JackDandy
c0e8505eca Merge branch 'hotfix/3.32.8' 2024-10-07 00:33:40 +01:00
JackDandy
d2f7bb6104 Fix Fanart.tv and CF data fetch.
Fix TVC images.
Change center the default card background and hide hover text decoration.
Change correct typos
2024-10-07 00:32:58 +01:00
Prinz23
f2f39568dd Change min required Python version to 3.9
Change add support for  Python 3.9.20, 3.10.15, 3.11.10, 3.12.7
Update zoneinfo to 2024b.
Change improve config.ini save failure messages.
Change add '-f' to copy_file command for 'posix' systems.
Change add '.avif' extensions as valid image type (used by tvc cards)
Change hide lazy load animation when loading fails (unsupported image format)
2024-10-07 00:28:05 +01:00
JackDandy
176abcdd4d Merge branch 'main' into dev 2024-08-13 12:29:15 +01:00
JackDandy
fcf5ccf236 Merge branch 'hotfix/3.32.7' 2024-08-13 12:28:31 +01:00
Prinz23
69eea899ef Change add CONFIG_LOADED var to prevent saving config.ini before it's fully loaded
Change providers to save config.ini if needed at the end of init stage 1
2024-08-13 12:28:06 +01:00
JackDandy
e67f74a262 Change password manager friendly login form. 2024-08-13 12:23:10 +01:00
JackDandy
76871e8628 Merge branch 'main' into dev 2024-08-12 18:11:02 +01:00
JackDandy
66c715115c Merge branch 'hotfix/3.32.6' 2024-08-12 18:09:59 +01:00
Prinz23
2dcf1854eb Fix saving config.ini after restart and startup
make save_config fallback to single threaded save use
2024-08-12 18:09:12 +01:00