Commit Graph

452 Commits

Author SHA1 Message Date
Odd Stråbø 57ed8bdedd Remove six: string coercion 2024-06-11 04:46:20 +00:00
Odd Stråbø 0e5c5e4c07 Remove six.moves: reload_module 2024-06-11 03:29:45 +00:00
Odd Stråbø d96a907eab Remove six.moves: collections_abc 2024-06-11 03:29:45 +00:00
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ø 0e80c7cbcc Remove six.moves: range, queue 2024-06-11 02:56:52 +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ø 1910de8639 Remove dead code
Fixes sonarcloud lint
2024-06-10 11:29:17 +00:00
Odd Stråbø 7763762212 Tool black: auto-format Python code 2024-06-10 09:19:47 +00:00
Odd Stråbø 4a1ac6dede Remove unused function compare_version 2024-06-10 04:30:51 +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ø 1899ecb999 Also catch HTTPException in API.check_companion_enabled 2024-05-18 01:54:06 +02:00
Odd Stråbø 704c8829f0 Mark helper.exceptions.HTTPException as deprecated 2024-05-18 01:50:50 +02:00
Odd Stråbø 4c6b69abf6 Check KodiSyncQueue GetPluginSettings endpoint
to determine whether the plugin is enabled or not

Fixes #861
2024-05-17 05:41:36 +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ø bc8cae9850 Gracefully handle missing VideoRangeType in stream tracks 2024-04-09 03:42:58 +02:00
Wild Sands 62089174ce Call correct API endpoint when adding users to session 2024-04-08 17:22:54 +02:00
mcarlton00 309e1086ac Don't reset videoversionstype table 2024-03-29 09:02:14 -04: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 b880f47585
Merge pull request #812 from smcmnz/ws-reconnect
Fix websocket automatic reconnection
2024-03-23 12:31:55 -04:00
Odd Stråbø d1a5c98152
Merge pull request #834 from mcarlton00/omega-migration
Add automatic database migration for Kodi Omega
2024-03-20 02:44:57 +01:00
mcarlton00 8869ace79a
Merge pull request #803 from sy6sy2/fix-tvos
Use xbmcvfs functions to read and write filesystem files
2024-03-09 08:36:02 -05:00
mcarlton00 373d34a56e Add automatic database migration for Kodi Omega 2024-03-07 12:41:56 -05:00
Shane McMaster 3d24ca8af9
adjust capability delay to 5s 2024-03-01 11:31:12 +13:00
Shane McMaster fbaef1b48e
change ws_client to use libraries reconnect param 2024-03-01 11:31:12 +13: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
Odd Stråbø 455b70bd65
Merge pull request #774 from sonofsky2010/fix/syc_tv_library_failed
Fix: Some TV library sync failed, if the TV library was mixed.
2024-02-08 15:00:17 +01:00
Sylvain CECCHETTO dad390c217 Use xbmcvfs functions to read and write filesystem files (fix Jellyfin addon on tvOS) 2024-02-08 07:57:17 +01:00
Odd Stråbø 248b49c869
Log when catching generic exceptions 2024-02-07 08:54:53 +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 68b3e8d75b
Merge branch 'jellyfin:master' into master 2023-12-16 15:17:26 +01:00
Peter Fern 064a02ad3c Fix uncaught exception in Player.report_playback() 2023-11-21 17:17:09 +11:00
Odd Stråbø 8dbf5030bc Fix convert_to_local tests on Windows 2023-10-21 16:53:50 +00:00
GregoireDruant 9d93ae5453
Merge branch 'jellyfin:master' into master 2023-09-23 17:05:04 +02:00
Odd Stråbø 8d5df4cc10 Add tests for helper.utils.convert_to_local 2023-09-22 03:34:41 +00:00
Dis c20e3efc35
fixup 2023-08-30 16:23:35 -04:00
Dis 1c10c5cf02
fix: #381 allow 10s for slow authentication 2023-08-30 16:20:54 -04:00
GrégoireDruant abda9754c8 Chore: added new line at the end of file 2023-08-27 17:08:26 +02: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
sonofsky2010 5b45d5293c Fix: Some TV library sync failed, if the TV library was mixed. 2023-07-09 15:36:33 +08: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