Commit Graph

127 Commits

Author SHA1 Message Date
Odd Stråbø 76ac99fc61 Remove six.moves: urllib 2024-06-11 03:29:07 +00:00
Odd Stråbø a00a1951cb Remove six: iteritems 2024-06-11 03:14:07 +00:00
Odd Stråbø 6a072cc71b
Merge pull request #879 from oddstr13/pr-flake8-3
Enable flake8 pre-commit
2024-06-11 04:38:30 +02:00
Odd Stråbø 415fa8ce97 Fix flake8 E721 2024-06-10 15:40:09 +00:00
Odd Stråbø be8333a80c Fix editorconfig lints 2024-06-10 14:28:00 +00:00
Odd Stråbø 7763762212 Tool black: auto-format Python code 2024-06-10 09:19:47 +00:00
CeruleanRed 91b35cba12 fix: clear playlist if clear flag is set
- Specifically continue to play the playlist at the insertion index
- Remove what seems to be a left over commented out section
2024-06-05 11:00:18 +02:00
Odd Stråbø 842729b158 Add version gate to strHdrType field
The strHdrType field is new to Kodi 20.
Fixes jellyfin/jellyfin-kodi#852
2024-04-09 18:04:30 +02:00
Odd Stråbø 890d54c821
Merge pull request #731 from GregoireDruant/master
Fix #539 "cast not available"
2024-03-25 00:43:55 +01:00
mcarlton00 eec6f5da26
Merge pull request #804 from fezster/hdr-metadata
Pass HDR library metadata to kodi to display logos
2024-03-23 12:39:07 -04:00
mcarlton00 373d34a56e Add automatic database migration for Kodi Omega 2024-03-07 12:41:56 -05:00
[kwa:m] e45b964f8c Fix for movielist (movie_view) on Kodi 21b3 (with videoversions).
Compatible to Kodi <21b3.
2024-02-26 19:45:37 +01:00
fezster 98a7ace541 Pass HDR library metadata to kodi to display logos
Fix indentation error

Update actions.py

Update api.py
2024-01-08 11:40:17 +00:00
GregoireDruant aa7bc89f2e
Merge branch 'jellyfin:master' into master 2023-08-27 16:32:53 +02:00
Odd Stråbø 78a8f6b9fe
Merge pull request #761 from csaavedra/fix-multicd-albums
music: Fix multidisc indexing
2023-08-19 02:15:21 +02:00
Claudio Saavedra d98d64f28a music: Fix multidisc indexing
Kodi uses internally a right-shift operation to codify in a
single integer disc number and track number. This is taken
into account in this addon but, incorrectly, it is done for
discnumber > 1 only, while Kodi uses it for tracks in all
discs.

Fix this by directly codifying the track and disc number
for all discs.

This patch is based on investigation by user @neightwulf in
github.
2023-08-16 12:24:45 +03:00
GrégoireDruant 628debe984 Revert "Fix: remove override of previously set libraryId and name"
This reverts commit d1fab6cf39.
2023-06-13 18:48:07 +02:00
GrégoireDruant 748683024d Revert "Fix duplicate artist links"
This reverts commit 7f11de708f.
2023-06-13 18:48:00 +02:00
GrégoireDruant 9bfbe7eaa4 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 18:43:49 +02:00
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
Odd Stråbø 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
Odd Stråbø e9e346b5ed Fix indentation 2022-10-29 23:23:07 +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ø 862b2274e1 Fix bug in add_movie query introduced by #581 2021-10-19 16:29:22 +02:00
Odd Stråbø 7dffe00511 Avoid circular imports of database 2021-10-19 15:08:50 +02:00
Odd Stråbø 833f72ff5d Don't store CriticRating in the userrating db field 2021-10-12 18:50:24 +02:00
Odd Stråbø 53c887d354 Use module-relative imports 2021-10-12 18:08:47 +02:00
Brian Pepple f6eeb49bd1 Hoist repeated code outside conditional statement 2021-10-10 16:40:58 +02:00