Commit Graph

394 Commits

Author SHA1 Message Date
Odd Stråbø 248b49c869
Log when catching generic exceptions 2024-02-07 08:54:53 +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
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
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 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
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
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
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
Odd Stråbø 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
Odd Stråbø 8ba427830e
Merge pull request #628 from mcarlton00/skip-missing
Skip syncing missing episodes
2022-04-23 22:46:17 +02:00
Odd Stråbø 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
Odd Stråbø 5ab9a37804 Remove enum dependency
enum isn't in the Python 2.7 stdlib
2021-10-20 20:38:33 +02:00
Odd Stråbø 04b1fcea48 Verify ssl by default 2021-10-19 23:00:23 +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ø c72318e19d Fully qualify the imports from jellyfin_kodi.entrypoint 2021-10-19 15:35:17 +02:00
Odd Stråbø 7dffe00511 Avoid circular imports of database 2021-10-19 15:08:50 +02:00
Odd Stråbø ea6a9b3989 kodi_version default to 18 or 19 based on python version 2021-10-19 15:06:49 +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ø 390c1d5de8 Fix tests 2021-10-12 18:08:47 +02:00
Odd Stråbø 53c887d354 Use module-relative imports 2021-10-12 18:08:47 +02:00
Odd Stråbø 256c401ef9 Fix flake8 lints 2021-10-12 18:08:47 +02:00
Odd Stråbø b24eba5b70
Undo change to loghandler 2021-10-10 17:35:51 +02:00
Odd Stråbø 1462e07fa5 Apply suggestions from code review 2021-10-10 16:40:58 +02:00