Commit graph

454 commits

Author SHA1 Message Date
GrégoireDruant
eb6891871d Fix duplicate artist links
INSERT OR REPLACE does not work when null values are provided as part of the unique index
2023-06-13 18:43:37 +02:00
GrégoireDruant
d1fab6cf39 Fix: remove override of previously set libraryId and name
Which caused new videos not to be added to library on automatic update
2023-06-13 14:31:46 +02:00
GrégoireDruant
7f11de708f Fix duplicate artist links
INSERT OR REPLACE does not work when null values are provided as part of the unique index
2023-06-13 13:52:31 +02:00
GrégoireDruant
4f448e772f Merge branch 'fix/cast-not-availaible-addon-mode-ugly-hack' 2023-05-13 18:02:01 +02:00
GrégoireDruant
a8f2935790 Fix add-on mode.
Hacky, to be tested
2023-05-07 20:18:20 +02:00
GrégoireDruant
a7e2060c5c Fix idParentPath addon mode 2023-05-07 16:44:36 +02:00
GrégoireDruant
e8188cacb1 WIP add-on mode
Context menus are working again
Still no cast information
Issue with idParentPath to fix
tvshow path to check
2023-05-07 16:31:14 +02:00
GrégoireDruant
dd66f50299 Merge branch 'fix/cast-not-available-mediaType-scrapper-parentTrail' 2023-05-07 13:32:54 +02:00
GrégoireDruant
435ad78132 Set idParentPath even in add-on mode
Does not seem to harm anything even if it does not fix the infos
2023-05-07 13:02:54 +02:00
GrégoireDruant
e28a041287 Set full path in episode 2023-05-07 12:51:38 +02:00
GrégoireDruant
ff95157315 Set parent pathId only when in native mode
Also do not set content and scrapper from path not being top paths
2023-05-07 12:28:18 +02:00
GrégoireDruant
5b14abb53f Set pathId to the episode 2023-05-07 10:31:47 +02:00
GrégoireDruant
da6a725b4d Remove TODO tags 2023-05-07 01:51:21 +02:00
GrégoireDruant
7031a3e98f Merge branch 'fix/cast-not-available-parentId-method' into fix/cast-not-available-mediaType-scrapper-parentTrail 2023-05-07 01:42:26 +02:00
GrégoireDruant
8de0a022b6 Feat: Set mediaType and scrapper to all paths for movies and tvshows 2023-05-06 10:21:32 +02:00
GrégoireDruant
1a3f312057 WIP: parent path id 2023-05-06 09:53:34 +02:00
GrégoireDruant
0473c1eb77 Revert "Feat: added idParentPath to tvshows"
This reverts commit 63d40810e85850642ad0b48e196b9a07cd379b7d.
2023-05-06 09:53:21 +02:00
GrégoireDruant
5b0fecf50c WIP: other path update approach
Use jellyfin db to determine parent path id
2023-05-06 09:53:12 +02:00
GrégoireDruant
fcda2ec043 Feat: added idParentPath to tvshows 2023-05-06 09:53:01 +02:00
GrégoireDruant
437df77246 WIP 2023-05-06 09:52:53 +02:00
mcarlton00
7c394793e7
Merge pull request #708 from kovaacs/fix-grammar
fix grammar
2023-02-16 21:41:54 -05:00
Marcell Kovács
0ec3741ef8
fix grammar 2023-02-07 18:03:35 +01:00
Marcell Kovács
3797ee228a
fix if statement
('Season') is just a string in parentheses, not a tuple
2023-02-07 17:52:28 +01:00
8134dd0368 Fix syncing of musicvideos with production year YYYYmmdd
Be more lenient towards garbage metadata
Jellyfin some times puts the full YYYYmmdd in the year field.
2022-12-30 03:16:57 +01:00
Ben Turley
bc256401e9
Fix syncing when obj['Premiere'] is an int 2022-11-19 22:12:15 -07:00
Kian-Meng Ang
1f48b62a93 Fix typos
Found via `codespell -S resources`
2022-11-14 09:14:06 +08:00
mcarlton00
3e7f1ffcca
Merge pull request #687 from oddstr13/pr-movie-premiere-1
Properly apply Movie premiered date
2022-10-29 17:49:41 -04:00
Odd Stråbø
e9e346b5ed Fix indentation 2022-10-29 23:23:07 +02:00
mcarlton00
4b948be28f
Merge pull request #684 from oddstr13/pr-fix-514-1
Add back verify_kodi_defaults from #426
2022-10-29 15:08:02 -04:00
Odd Stråbø
a2c4b97c45 Apply PR suggestions 2022-10-29 17:09:03 +02:00
Odd Stråbø
c1f79000c7 Fix syncing when Premiere date is empty 2022-10-29 16:49:16 +02:00
Odd Stråbø
d67affc459 Set premiere date 2022-10-29 15:59:27 +02:00
Odd Stråbø
26d30b7952 Tweak logging 2022-10-29 12:05:57 +02:00
Odd Stråbø
745d7fdcf7 Add back verify_kodi_defaults from #426
Revert changes done in 144f71e71f
2022-10-27 22:35:34 +02:00
Odd Stråbø
7b2051f883 Result is already unpacked 2022-10-18 18:58:30 +02:00
Odd Stråbø
16db25e876 Companion: check list of installed plugins
instead of only poking the ServerDate plugin endpoint
2022-10-18 17:45:51 +02:00
fe784620d8
Merge pull request #629 from mcarlton00/disable-remote-control
Add option to disable remote control
2022-10-05 22:41:00 +02:00
Matt
7f109d4d71 Include a payload when disallowing remote control 2022-07-19 18:51:30 -04:00
8ba427830e
Merge pull request #628 from mcarlton00/skip-missing
Skip syncing missing episodes
2022-04-23 22:46:17 +02:00
753aa2ce47
Merge pull request #630 from mcarlton00/open-from-settings
Fix opening the addon menu from the settings page
2022-04-23 22:20:26 +02:00
Matt
572cfad5fd Check path instead of name for missing episodes 2022-04-09 22:04:17 -04:00
Edi Turn
3c5e2d0a7e Add an option to transcode HEVC RExt 2022-04-04 20:52:45 +08:00
Matt
5da87c3f5c Fix opening the addon menu from the settings page 2022-04-03 10:04:57 -04:00
Matt
1fcc0d97e3 Add setting to disable remote control 2022-04-02 21:23:11 -04:00
Matt
1dcc2245a2 Skip syncing missing episodes 2022-04-02 20:21:09 -04:00
Matt
eae01cfec9 Move retry to class, more accurately target schema replace 2021-11-15 19:20:38 -05:00
Matt
2427f566fa Attempt to reestablished websocket communication if the connection fails 2021-11-14 13:37:23 -05:00
mcarlton00
bcec403fd3
Merge pull request #590 from oddstr13/fix-unverified-request-1
Verify ssl by default
2021-10-30 20:43:55 -04:00
5ab9a37804 Remove enum dependency
enum isn't in the Python 2.7 stdlib
2021-10-20 20:38:33 +02:00
04b1fcea48 Verify ssl by default 2021-10-19 23:00:23 +02:00
862b2274e1 Fix bug in add_movie query introduced by #581 2021-10-19 16:29:22 +02:00
c72318e19d Fully qualify the imports from jellyfin_kodi.entrypoint 2021-10-19 15:35:17 +02:00
7dffe00511 Avoid circular imports of database 2021-10-19 15:08:50 +02:00
ea6a9b3989 kodi_version default to 18 or 19 based on python version 2021-10-19 15:06:49 +02:00
833f72ff5d Don't store CriticRating in the userrating db field 2021-10-12 18:50:24 +02:00
390c1d5de8 Fix tests 2021-10-12 18:08:47 +02:00
53c887d354 Use module-relative imports 2021-10-12 18:08:47 +02:00
256c401ef9 Fix flake8 lints 2021-10-12 18:08:47 +02:00
b24eba5b70
Undo change to loghandler 2021-10-10 17:35:51 +02:00
1462e07fa5 Apply suggestions from code review 2021-10-10 16:40:58 +02:00
Brian Pepple
f6eeb49bd1 Hoist repeated code outside conditional statement 2021-10-10 16:40:58 +02:00
Brian Pepple
9d64ca41cb Merge extend into list declaration 2021-10-10 16:40:58 +02:00
Brian Pepple
785d0d4844 Simplify logical expression using De Morgan idents 2021-10-10 16:40:58 +02:00
Brian Pepple
bfc18e7d4b Merge dictionary assignment with declaration 2021-10-10 16:40:58 +02:00
Brian Pepple
52525d4725 Inline variable that is immediately returned 2021-10-10 16:40:58 +02:00
Brian Pepple
cbaa41d242 Simplify conditional into return statement 2021-10-10 16:40:58 +02:00
Brian Pepple
0345106427 Replace unused for index with underscore 2021-10-10 16:40:58 +02:00
Brian Pepple
29f9956b61 Replace if statement with if expression 2021-10-10 16:40:58 +02:00
Brian Pepple
f5c0016914 Remove redundant conditional 2021-10-10 16:40:58 +02:00
Brian Pepple
dd77969a79 Hoist repeated code outside conditional statement 2021-10-10 16:40:58 +02:00
Brian Pepple
5b1e4c7eab Simplify conditional into switch-like form 2021-10-10 16:40:58 +02:00
Brian Pepple
5e188e63dd Merge nested if condition 2021-10-10 16:40:58 +02:00
Brian Pepple
e7e6fbdd31 Move assignment closer to its usage 2021-10-10 16:40:58 +02:00
Brian Pepple
b110f1cf13 Simplify boolean 2021-10-10 16:40:52 +02:00
ba164d1358
Merge pull request #576 from mcarlton00/context-browse
Allow browsing to a show from the info menu
2021-10-10 14:48:01 +02:00
mcarlton00
133e408eb1
Merge pull request #574 from mcarlton00/cast-resume
Resume media when possible during casting
2021-10-06 19:06:23 -04:00
mcarlton00
0b3888aa32
Update jellyfin_kodi/entrypoint/default.py
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
2021-10-06 19:05:27 -04:00
Matt
942ed0c407 Cleaner comparison for resume variable 2021-10-06 19:04:45 -04:00
Matt
85410639df Allow browsing to a show from the info menu 2021-10-03 00:45:18 -04:00
Matt
5e7901be27 Migrate to new translatePath library 2021-10-02 13:26:37 -04:00
Matt
4b40c75c91 Resume media when possible during casting 2021-10-01 17:34:18 -04:00
03d13e3f77 Fix direct play when direct stream isn't allowed. 2021-09-29 22:05:42 +02:00
mcarlton00
0fb103852a
Merge pull request #563 from jessbo/fix-557
Fixes #557 - Add missing "PlaySessionId"
2021-09-04 21:08:03 -04:00
jessbo
9b2d499a9c jellyfin_kodi/{jellyfin/api,player}.py: Add missing "PlaySessionId" argument to close_transcode().
Without this argument, server always returns 400.
2021-08-29 15:45:40 -04:00
jessbo
ea97b42a52 Add transcode dialog skip option: "Media default" 2021-08-13 10:47:19 -04:00
fe8bbba7b6
Merge pull request #547 from mcarlton00/external-subs
Fix external sub conflict
2021-07-18 11:20:22 +02:00
Matt
6c9d6e8593 Fix external sub conflict 2021-07-08 19:19:18 -04:00
Matt
d5a9a52a7d Add option to transcode vp9 and av1 2021-07-04 11:45:44 -04:00
mcarlton00
0bf51ad9ae
Merge pull request #529 from mcarlton00/baseurl-transcoding
Remove double slash when transcoding with a baseurl
2021-05-30 17:49:32 -04:00
2371dfd1fa
Merge pull request #521 from mcarlton00/websockets-are-awful
Fix playback crashes
2021-05-28 15:19:51 +02:00
65c7a5c59c
Merge pull request #528 from mcarlton00/database-version
Store a version parameter in the database for migrations
2021-05-28 15:15:07 +02:00
51c14b3fb9
Merge pull request #525 from mcarlton00/status-code-error
Don't fail if status_code doesn't exist on startup
2021-05-28 15:12:12 +02:00
venomousZealot
e907e35773
Fix impossibility of choosing the first subtitle
The usual combination of a zero-based index and a lazy if...

Also, there is no reason to use the default subtitles after asking users which subtitles they want.
2021-05-17 16:39:46 +02:00
Matt
53aa27444b Arguments with a linter 2021-05-16 21:48:37 -04:00
Matt
a4e024634f Make linter ignore these imports 2021-05-16 21:43:35 -04:00
Matt
dd81d1a3d7 Remove double slash when transcoding with a baseurl 2021-05-16 21:26:30 -04:00
Matt
1effd2fa6e Remove new line at end of file 2021-05-16 19:04:11 -04:00
Matt
24167b5c29 Store a version parameter in the database for migrations 2021-05-16 18:45:34 -04:00
Matt
6deaddee6d Don't fail if status_code doesn't exist on startup 2021-05-16 11:01:30 -04:00
Matt
405a0038a3 Stop throwing errors during playback reporting 2021-05-11 19:55:08 -04:00