Commit graph

79 commits

Author SHA1 Message Date
JackDandy
1e161f376d Fix UI by marking resource as unavailable if cannot determine its free space.
Change replace copyFile placeholder code with copy_file override.
Change replace moveFile placeholder code with move_file override.
Change replace tryInt placeholder code with try_int override.
Change refactor disk free space logic.
Change restore min_output logic.
2023-03-14 01:22:09 +00:00
Prinz23
344fb19575 Fix unavailable paths.
Change catch potential exception because of unmounting of path during finding mount point.
Change add disabled message to webapi for freespace
2023-03-13 11:44:25 +00:00
Prinz23
e239b81a18 Change optionally add disk free space in response to three Web API endpoints.
Change increase API version number to 15.
Add actually use mount points to get disk free space.
Add optional "freespace" parameter to endpoints: sg.getrootdirs, sg.addrootdir, sg.deleterootdir
Change update help of affected endpoints.
Fix explicitly save rootdirs after adding or deleting via Web API.
2023-03-12 02:20:08 +00:00
JackDandy
68b8cbcdde Change deprecate processEpisode used by nzbToMedia to advise how to configure API instead. 2023-03-10 01:52:51 +00:00
JackDandy
48d4b505a3 Change re-add deprecated endpoint used by external scripts. 2023-03-09 13:51:48 +00:00
JackDandy
bd610ca2eb Merge branch 'main' into dev 2023-03-08 23:37:48 +00:00
Prinz23
1955313edc Change meta providers to new TVInfoAPI get_show to make sure language is used. 2023-03-08 23:33:58 +00:00
JackDandy
19f0a951e5 Refactor timestamp_near to SGDatetime.timestamp_near. 2023-03-08 17:36:24 +00:00
JackDandy
ae4173e8c0 Change py2 unicode into f-strings or simple strings where appropriate.
Change use specific logger functions for debug, warning, error.
2023-03-08 14:22:40 +00:00
JackDandy
9d8462f4ef Update Tornado Web Server 6.2.0 (a4f08a3) → 6.3.dev1 (7186b86). 2023-03-08 14:12:37 +00:00
JackDandy
9fe62aa486 Change improve perf by using generators with any. 2023-03-06 23:54:52 +00:00
JackDandy
99aa339bbf Add logging around the restart/shutdown event. 2023-03-06 23:52:43 +00:00
JackDandy
c076c495ee Merge branch 'main' into dev 2023-03-06 23:46:21 +00:00
Prinz23
89cd650b35 Fix "Change File Date" not using timestamp of episode if available. 2023-03-06 23:43:46 +00:00
JackDandy
f91e579f37 Merge branch 'main' into dev 2023-03-05 00:27:01 +00:00
Prinz23
3a5f0537c0 Add UHD Bluray. 2023-03-05 00:22:27 +00:00
JackDandy
ec874504de Change rename db variables/functions. 2023-02-24 15:19:46 +00:00
JackDandy
32987134ba Change codebase cleanups.
Cleanup most init warnings.
Cleanup some vars, pythonic instead of js.
Some typos and python var/func names for Scheduler.
Remove legacy handlers deprecated in 2020.
Remove some legacy tagged stuff.
Cleanup ConfigParser and 23.py
Change cleanup vendored scandir.
Remove redundant pkg_resources.py in favour of the vendor folder.
Remove backports.
Remove trakt checker.
Change remove redundant WindowsSelectorEventLoopPolicy from webserveInit.
Cleanup varnames and providers
Various minor tidy ups to remove ide warnings.
2023-02-24 15:17:56 +00:00
Prinz23
8ddffb7882 Change py2 deprecation cleanups.
Remove py2 part from _23.py
Remove more mapped stuff.
Replace filter_iter with native filter.
Replace map_iter with native map.
Remove unidecode from _23 (empty wrapper on py3).
Remove map_list and replace with native list(map( for performance reasons.
Replace filter_list with list(filter.
Replace list_keys with list(.
Replace list_values with list(...values()).
Replace list_items with list(....items()).
Replace ordered_dict with dict.
Fix tvinfo base type docs.
Remove py2 parts from sg_futures.
Remove scandir lib ...  it's a sub module of os in py3.
Remove PY2 stuff.
Ignore unknown ids for characters/persons.
Fix tvdb image parsing.
Ignore unknown id sources on person page.
2023-02-21 01:01:04 +00:00
JackDandy
7f03b8dd02 Merge branch 'main' into dev 2023-02-18 22:45:39 +00:00
JackDandy
63e998dfc2 Fix using recently updated torrent parser for py3 bytes. 2023-02-18 22:41:52 +00:00
JackDandy
8656c087cd Merge branch 'main' into dev 2023-02-18 20:34:12 +00:00
Prinz23
a0099da56b Fix show view edit language.
Fix reload show data if requested language changes.
Fix broken lang in tvdb api.
Change use language in all get_show tvinfo data calls.
Fix TMDB show language fallback check.
Fix add requested_language to tvinfo show cache.
Fix reset loaded statuses of cached show.
Fix TVDb image parsing.
2023-02-18 20:13:46 +00:00
JackDandy
dac9f2cdff Merge branch 'main' into dev 2023-02-15 14:03:29 +00:00
JackDandy
39f0539439 Fix updating with running virtualenv. 2023-02-15 13:37:20 +00:00
JackDandy
2779c60f42 Change remove calls to legacy py2 fix encoding function.
Change various code cleanups, e.g. replace CamelCase with pythonic casing.
2023-02-10 21:40:19 +00:00
Prinz23
ef4e10d917 Fix revert update. 2023-02-10 19:24:56 +00:00
Prinz23
f85d15651c Change re-enable fetching metadata banners and posters. 2023-02-09 14:46:03 +00:00
SickGear
e56303798c Change bump to major version 3.xx to signal that this branch supports Python3+ only.
Initial SickGear for Python 3.
2023-02-09 13:41:15 +00:00