Commit Graph

347 Commits

Author SHA1 Message Date
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
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
Odd Stråbø 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
Odd Stråbø 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
Odd Stråbø 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
Odd Stråbø 2371dfd1fa
Merge pull request #521 from mcarlton00/websockets-are-awful
Fix playback crashes
2021-05-28 15:19:51 +02:00
Odd Stråbø 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
Odd Stråbø 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
Matt 293dc7a768 Make sure numpy doesn't cause issues 2021-05-11 19:51:34 -04:00
venomousZealot 8870d772a8
Remove unused import 2021-05-05 14:23:26 +02:00
venomousZealot c79980c477
Make sonarcloud happy 2021-05-05 14:08:48 +02:00
venomousZealot 1ae54a3e20
Additional cleanup 2021-05-05 14:05:27 +02:00
venomousZealot 46d16293d2
Replacing ordered dictionaries with lists
Allows multiple subtitles with identical names. Should fix https://github.com/jellyfin/jellyfin-kodi/issues/435
2021-05-05 13:53:30 +02:00
Abby 3804447c48
Merge pull request #328 from mcarlton00/websocket-dependency
Remove websocket library
2021-05-03 02:16:55 +01:00
Abby 7c833767cd
Merge pull request #513 from mcarlton00/followup-sync
Fix subsequent syncs from the addon menu better
2021-05-03 01:55:11 +01:00