Commit graph

3740 commits

Author SHA1 Message Date
croneter
6a66acb44c Use float for resume and runtime instead of int 2018-05-27 10:52:04 +02:00
croneter
7b4a3da023 Version bump 2018-05-26 19:00:19 +02:00
croneter
5c33f3c02a Fix episode widget resume not working (add-on paths)
- Hack alert, really...
- Need to reset the Kodi DB
2018-05-26 18:54:38 +02:00
croneter
ac7b7bb96d Revert "Another attempt to fix episode resume from widgets"
This reverts commit 04044ac896.
2018-05-26 17:28:17 +02:00
croneter
04044ac896 Another attempt to fix episode resume from widgets
- Tried to get as close as possible to emby DB
2018-05-26 17:28:11 +02:00
croneter
f68b167c0d Revert "Attempt to fix resume from widget not working"
This reverts commit a6bc0b9e69.
2018-05-24 19:36:14 +02:00
croneter
a6bc0b9e69 Attempt to fix resume from widget not working 2018-05-24 19:28:50 +02:00
croneter
8fbca537f4 Attach missing filename to plugin call 2018-05-22 20:31:32 +02:00
croneter
d1390c25c7 Revert "Try to fix widget resume for episodes for addon paths"
This reverts commit 95354fe564.
2018-05-20 18:54:31 +02:00
croneter
95354fe564 Try to fix widget resume for episodes for addon paths
- By introducing a second file_id in file and bookmark table
2018-05-20 18:15:09 +02:00
croneter
ca1151bc6d Speed up PKC start-up 2018-05-20 14:28:56 +02:00
croneter
ed213a4b34 Fix ValueError if plex.tv returns Plex Cloud URIs 2018-05-20 14:23:21 +02:00
croneter
f00b5fe59d Revert "Fix ValueError if plex.tv returns Plex Cloud URIs"
This reverts commit a7702573ad.
2018-05-20 14:22:05 +02:00
croneter
fe3293e986 Speed up checking of PMS connection, e.g. on startup 2018-05-20 14:17:49 +02:00
croneter
a7702573ad Fix ValueError if plex.tv returns Plex Cloud URIs 2018-05-20 14:16:50 +02:00
croneter
45e6baa34d Revert "Default to not show image caching notifications"
This reverts commit 5a993a2bf0.
2018-05-20 13:55:23 +02:00
croneter
80acc668ec Improve collection lookup; fix PKC caching wrong url 2018-05-20 13:52:23 +02:00
croneter
75994bff47 Prettify 2018-05-20 12:34:44 +02:00
croneter
7b7ee9fa8d PEP8 2018-05-20 12:28:49 +02:00
croneter
978278db7b Remove obsolete kwarg 2018-05-20 12:26:52 +02:00
croneter
a65981c1de Update translations 2018-05-18 19:54:36 +02:00
croneter
611ca5f138 Dummy modify strings.po 2018-05-18 19:41:15 +02:00
croneter
0a7752e392 Fallback connection if plex.direct does not resolve
- Fixes #472
- Partially fixes #478
2018-05-18 19:31:43 +02:00
Croneter
5a993a2bf0 Default to not show image caching notifications 2018-05-18 16:26:02 +02:00
Croneter
ba2098ac93 Merge branch 'master' of https://github.com/dazedcrazy/PlexKodiConnect into dazedcrazy-master 2018-05-18 16:00:28 +02:00
Croneter
84c2aa7fa0 Reduce CPU strain for artwork caching progress
- Fixes #477
2018-05-18 15:59:26 +02:00
dazedcrazy
f7dfc25058 contextmenu changes 2018-05-17 04:01:40 +01:00
dazedcrazy
e4fef8297e contextmenu changes 2018-05-16 18:33:43 +01:00
croneter
c63adaf2e3 Improve artwork caching counter in PKC settings 2018-05-15 20:46:16 +02:00
croneter
76193329d6 Fix PMS showing up twice
- Fixes #469
2018-05-15 19:39:34 +02:00
croneter
43c31ce419 Fix migration not working correctly for re-connecting PMS
- Fixes #469
2018-05-15 19:33:17 +02:00
Croneter
7ea2fbf417 Version bump 2018-05-14 20:59:32 +02:00
Croneter
0e1902cc91 Don't ask user for DB reset if forced by PKC 2018-05-14 20:51:14 +02:00
Croneter
abdfd00374 Increase logging 2018-05-14 20:43:48 +02:00
Croneter
e129c94053 Ensure movies and tv shows are synced before music 2018-05-14 20:23:39 +02:00
Croneter
6541b16810 Ensure a later migration if user downgraded PKC 2018-05-14 20:00:49 +02:00
Croneter
ce284f668a Fix migration 2018-05-14 19:57:36 +02:00
Croneter
f0195f14aa Use plex.direct url instead of local ip to use correct SSL certificate; thus fix artwork caching
- Fixes #461
- Migration necessary: re-connect to PMS to use plex.direct URI
2018-05-14 19:42:00 +02:00
Croneter
8b1d04af79 Revert "Increase timeout between syncing images"
This reverts commit 0807ce5314.
2018-05-14 17:56:39 +02:00
croneter
6c93934026 Version bump 2018-05-13 16:39:01 +02:00
croneter
8348b3a150 Update translations 2018-05-13 16:34:04 +02:00
croneter
1a261a3b9e Reset artwork sync status in PKC settings on DB reset 2018-05-13 16:15:48 +02:00
croneter
2191f59092 Fix context menu not working for shows in library view 2018-05-13 16:12:50 +02:00
croneter
4a948c1639 Fix Plex Companion playstate status for iOS
- Partially fixes #456
2018-05-13 15:50:26 +02:00
croneter
5241baef28 Show FanartTV lookup progress in PKC settings 2018-05-13 15:22:03 +02:00
croneter
f8560aec4d Optimize startup of additional fanart sync 2018-05-13 14:42:58 +02:00
croneter
9b2291dd47 Reduce logging 2018-05-13 14:22:50 +02:00
croneter
9b47d0970c Fix string 2018-05-13 14:21:32 +02:00
croneter
d16296395f Show caching progress for Plex images in the PKC settings 2018-05-13 14:20:39 +02:00
croneter
f9cc0f249d Tweak PKC settings 2018-05-13 13:34:14 +02:00
croneter
8d76bc53e5 Fix rare library sync errors
- Fixes #462
2018-05-13 12:31:54 +02:00
Croneter
ad9de09027 Merge branch 'hotfixes' into playlists 2018-05-04 19:03:47 +02:00
Croneter
63f7d5615d Finally support for Extras! 2018-05-04 19:03:27 +02:00
Croneter
ce29f5a60e Fix ValueError for third party add-ons calling PKC 2018-05-04 15:11:18 +02:00
Croneter
569cb71ca8 Refactor playlist and playqueue classes 2018-05-03 17:30:29 +02:00
Croneter
5bfe9b7c7f Also do a playlist full sync on library full sync 2018-05-03 17:20:23 +02:00
Croneter
25a9a3c4ce Optimize logging 2018-05-03 17:13:00 +02:00
Croneter
73655d354f Optimize logging 2018-05-03 14:02:00 +02:00
Croneter
2a862b5169 Optimize length for playlist filename (m3u instead of m3u8) 2018-05-03 08:29:14 +02:00
Croneter
6bcddc8382 raise PlaylistError instead of just returning 2018-05-03 08:24:41 +02:00
Croneter
ca1033801d Add setting to (de)activate playlist sync 2018-05-03 08:20:55 +02:00
Croneter
c61fc3241f Ensure that music playlists are not synced if music is deactivated 2018-05-03 08:01:26 +02:00
Croneter
df7bfd2e0c Improve logging 2018-05-03 07:56:32 +02:00
Croneter
f5a457a87d Rename variable 2018-05-03 07:53:28 +02:00
Croneter
a8d02bffdc Merge branch 'master' into playlists 2018-05-03 07:43:45 +02:00
Croneter
b357f43e79 Revert "Use list instead of set"
This reverts commit 5cea57e935.
Fixes #460
Fixes #458
2018-05-02 19:29:04 +02:00
Croneter
0c3db3e2f8 Delete all synced playlists on PKC (database) reset 2018-05-02 19:13:56 +02:00
Croneter
5b4ed1d6a6 Fix music playlists 2018-05-02 18:50:31 +02:00
Croneter
b00ec8989c Optimize logging 2018-05-02 18:22:23 +02:00
Croneter
63c829b042 Fix error message upon playlist deletion 2018-05-02 18:14:33 +02:00
Croneter
81b1d18192 Don't let librarysync crash if Plex playlist deletion doesnt work 2018-05-02 18:05:27 +02:00
Croneter
3016c9747f Fix possible AttributeError 2018-05-02 17:59:06 +02:00
Croneter
c3b649c1b1 Clean up code 2018-05-02 17:55:27 +02:00
Croneter
799f9ba25a Fix Plex playlist duplicating 2018-05-02 17:55:19 +02:00
Croneter
c98a8456ff Introduce playlist locking; override watchdog dispatching 2018-05-02 17:45:31 +02:00
Croneter
2971dd3f7c Extend websocket listening to Plex playlist changes 2018-05-02 17:27:35 +02:00
Croneter
0baa081dc6 Optimize logging 2018-05-02 16:57:27 +02:00
Croneter
5fd6587ff7 Fix deleting Plex playlists 2018-05-02 16:47:03 +02:00
Croneter
2f25453fe2 Plex playlist creation does not update hash; fix Kodi monitoring 2018-05-02 16:46:54 +02:00
Croneter
02e1917072 Increase logging 2018-05-02 16:20:20 +02:00
Croneter
94641b9ed6 Improve logging 2018-05-02 15:59:59 +02:00
Croneter
c4841ed946 Fix logging 2018-05-02 15:56:31 +02:00
Croneter
c36746dbdf Fix use of wrong function 2018-05-02 15:50:26 +02:00
Croneter
b33ed4ccbe Fix putting more items on Plex playlist 2018-05-02 15:44:54 +02:00
Croneter
61b0645314 Rename function 2018-05-02 15:34:21 +02:00
Croneter
e637f36a21 Save Plex playlist details on initialization 2018-05-02 15:17:58 +02:00
Croneter
376338a9b0 Fix initializing of playlists on the Plex side 2018-05-02 09:33:37 +02:00
Croneter
ba0aff0f54 Rename function 2018-05-01 18:08:31 +02:00
Croneter
6c3c9a4f93 Use m3u instead of m3u8 2018-05-01 17:59:51 +02:00
Croneter
9f4dbe6ee5 Increase logging 2018-05-01 17:13:00 +02:00
Croneter
341571e232 Fix saving Plex updatedAt value for new playlists 2018-05-01 17:09:58 +02:00
Croneter
8ee20b1bba Fix sync if Kodi playlist has been deleted 2018-05-01 16:52:12 +02:00
Croneter
20fef65b3d Fix playlist id and naming on playlist creation 2018-05-01 16:48:31 +02:00
Croneter
7ddfc0143d Revert "Remove API method playlist_type()"
This reverts commit 7b64b794f2.
2018-05-01 16:44:40 +02:00
Croneter
7dde71734c Fix updating playlist object from XML 2018-05-01 16:41:10 +02:00
Croneter
1a3a94894b Fix AttributeError for exceptions 2018-05-01 16:37:27 +02:00
Croneter
ff72648570 Fix AttributeError 2018-05-01 16:35:26 +02:00
Croneter
f8682fb8cb Fix AttributeErrors 2018-05-01 16:33:49 +02:00
Croneter
e2c90ac0f4 Fix AttributeErrors for Plex playlist id 2018-05-01 16:31:03 +02:00
Croneter
7b64b794f2 Remove API method playlist_type() 2018-05-01 16:30:04 +02:00
Croneter
6f6fb16352 Hopefully fix download of Plex playlists 2018-05-01 16:27:18 +02:00
Croneter
b448d1c06f Fix setting Kodi playlist path 2018-05-01 16:20:57 +02:00
Croneter
e8aba6b77b Increase logging 2018-05-01 16:18:06 +02:00
Croneter
26c588828e Fix ValueError 2018-05-01 16:12:25 +02:00
Croneter
4e16756829 Fix AttributeErrors 2018-05-01 16:09:35 +02:00
Croneter
1780b3948b Fix KeyError 2018-05-01 16:08:24 +02:00
Croneter
0cedfd7a7d Fix Plex playlist download 2018-05-01 16:04:26 +02:00
Croneter
df2b3810bf Fix FutureWarning for etree xmls 2018-05-01 15:24:58 +02:00
Croneter
1de2390cdd Fix IndexError for setting playlist path 2018-05-01 15:23:39 +02:00
Croneter
892458981d Fix AttributeError for setting playlist path 2018-05-01 15:21:29 +02:00
Croneter
151c679e29 Fix WindowsError for WatchDog trying to monitor playlists 2018-05-01 15:13:42 +02:00
Croneter
5ce97246d1 Fix TypeError for getting a PMS playlist 2018-05-01 14:59:57 +02:00
Croneter
f622eab809 Fix TypeError for PlaylistObject instantiation 2018-05-01 14:56:07 +02:00
Croneter
b50506b891 Fix AttributError due to false import 2018-05-01 14:55:11 +02:00
Croneter
e38f99f088 Playlist sync support, part 2 2018-05-01 14:48:49 +02:00
Croneter
ac8b8e6153 Optimize start of playlist monitor 2018-04-30 15:01:43 +02:00
Croneter
952261fb5a Add some comments 2018-04-30 14:18:14 +02:00
Croneter
e1c7ab5b04 PEP8 2018-04-30 14:16:45 +02:00
Croneter
b7644198c7 Merge branch 'master' into playlists 2018-04-29 15:12:11 +02:00
Croneter
0e421d16e3 Pull latest transifex translations 2018-04-29 14:59:04 +02:00
Croneter
29d9a29cb7 Merge branch 'hotfixes' into playlists 2018-04-29 14:44:32 +02:00
Croneter
0807ce5314 Increase timeout between syncing images 2018-04-29 14:39:36 +02:00
Croneter
f87a631674 Revert "Increase timeout between syncing images"
This reverts commit 62d6c8fe45.
2018-04-29 14:39:08 +02:00
Croneter
559bd5408f Optimize startup of image caching 2018-04-29 14:26:53 +02:00
Croneter
1ca2bdba79 Less logging 2018-04-29 14:16:56 +02:00
Croneter
62d6c8fe45 Increase timeout between syncing images
- Partially fixes #457
2018-04-29 14:14:31 +02:00
Croneter
d3ef80ed22 Cache missing posters and backgrounds/fanart on Kodi startup
- Partially fixes #457
2018-04-29 14:12:39 +02:00
Croneter
51f47452f2 Add toggle to deactivate image caching during playback
- Partially fixes #451 - you can now disable image caching during playback
2018-04-29 14:11:03 +02:00
Croneter
5cea57e935 Use list instead of set 2018-04-29 12:39:29 +02:00
Croneter
0a83d6c084 Playlist sync support, part 1 2018-04-28 09:12:29 +02:00
Croneter
7fb0f32bcf Fix TV show artwork Kodi native library (reset Kodi DB!) 2018-04-26 08:18:51 +02:00
Croneter
54c132d3e3 Fix music database if new music is added in the background 2018-04-26 08:01:27 +02:00
Croneter
8a08d85cce Kodi Leia: Fix playback failing
- Hopefully fixes #455
2018-04-23 19:50:16 +02:00
Croneter
7bc5f3ad16 Fix IndexError for certain Plex channels
- Fixes #454
2018-04-23 07:39:36 +02:00
Croneter
a376dbe2a5 Less logging 2018-04-20 16:52:25 +02:00
Croneter
3bba2199e8 Fix missing episode poster in certain views
- Fixes #453
2018-04-20 15:58:35 +02:00
Croneter
00613e7ef5 Fix episode artwork sometimes not being complete
- Partially fixes #453
2018-04-20 07:41:59 +02:00
Croneter
d4e15d6dfb Prettify 2018-04-19 11:52:36 +02:00
Croneter
165b85c52d Fix TV On Deck direct paths asking to choose between different media 2018-04-19 08:06:51 +02:00
Croneter
32a880cef0 Clean up code for userclient 2018-04-18 08:39:41 +02:00
croneter
f8ed5646c5 Fix PKC playback startup getting caught in infinity loop 2018-04-17 21:01:51 +02:00
croneter
57d95e57f3 Fix PKC not working anymore after using context menu on songs 2018-04-17 20:44:53 +02:00
croneter
d03b68b4e1 Fix deleting music album not working 2018-04-17 20:22:32 +02:00
croneter
678544d236 Rewire library sync, suspend sync during playback
- Fixes #451
2018-04-17 20:18:25 +02:00
croneter
88ef5f9eda Remove obsolete window variable 2018-04-15 18:54:24 +02:00
croneter
42ededd751 Fix docstring 2018-04-15 18:37:27 +02:00
croneter
3fe5cf571c Code cleanup 2018-04-15 18:33:20 +02:00
croneter
83e85a3ea9 Fix playback failing in certain cases 2018-04-15 18:13:48 +02:00
croneter
b4b05b70ec Fix logging string 2018-04-15 16:37:13 +02:00
croneter
5f26692e0f Code cleanup 2018-04-15 16:34:45 +02:00
croneter
ecc8df014c "Fix IndexError when emptying Kodi playqueue" 2018-04-15 13:16:58 +02:00
croneter
8bea313865 Revert "Fix IndexError when emptying Kodi playqueue"
This reverts commit a87b40c612.
2018-04-15 13:15:17 +02:00
Croneter
ba31050aac Less logging 2018-04-12 18:54:12 +02:00
Croneter
0f1e2e7dec Fix deletion of Plex music items
- Fixes #336
2018-04-12 18:52:37 +02:00
Croneter
8f30a466ff Increase speed for getting plex id from kodi id 2018-04-11 08:50:51 +02:00
Croneter
a87b40c612 Fix IndexError when emptying Kodi playqueue 2018-04-10 19:26:15 +02:00
Croneter
1e43f1cc77 Fix playqueue monitoring locking mechanism 2018-04-10 19:23:37 +02:00
Croneter
f6b3dfdf12 Fix Plex trailers screwing up playqueue
- Introduce a flag to check whether PKC itself made changes to the playqueue
2018-04-10 07:56:44 +02:00
Croneter
e6199819c4 Fix TypeError 2018-04-09 08:17:47 +02:00
Croneter
76e721b78a Incorporate PKC player in kodimonitor module 2018-04-09 08:13:54 +02:00
Croneter
74c0b32440 Remove obsolete import 2018-04-09 07:22:28 +02:00
Croneter
d65b8ec0c0 Remove obsolete window properties 2018-04-09 07:21:47 +02:00
Croneter
ec5dff4a8d Clean up code 2018-04-09 07:15:12 +02:00
Croneter
a53bd0f89c Remove obsolete import 2018-04-09 07:09:27 +02:00
croneter
7a4997da7a Direct paths: fix replaying item where playback was started via PMS 2018-04-08 15:38:13 +02:00
croneter
30abe0f2fb Fix some playqueue inconsistencies using Plex Companion
- Also fix movie helper and TV show helper add-ons
2018-04-08 14:34:38 +02:00
croneter
7ae831f7c3 Fix pretty printing of PKC playqueues not working 2018-04-08 12:37:25 +02:00
croneter
244df4184f Less logging 2018-04-07 14:34:27 +02:00
croneter
c1b2d3d54f Prettify music removal 2018-04-07 14:30:17 +02:00
Croneter
460b33d6d6 Update translations 2018-04-06 15:35:49 +02:00
Savage
414c33bde4 Added translation for Hungarian language 2018-04-06 13:45:11 +02:00
Croneter
8f9c485156 Update FR and NL translations 2018-04-05 17:53:20 +02:00
Croneter
4a2b816360 Update all translations 2018-04-05 16:58:34 +02:00
Croneter
dedf90f9be Remove most strings not being used by PKC
- For easier translations
2018-04-05 15:21:00 +02:00
Croneter
b7adbd8653 Remove some legacy settings 2018-04-05 15:20:15 +02:00
Croneter
61065e0cc5 Finally make PKC compatible with Kodi 18 Leia Alpha 1
- Fixes #339
2018-04-05 08:06:48 +02:00
croneter
c12c9c08d8 Simplify code 2018-04-03 17:07:37 +02:00
croneter
14ef7ae247 Fix information screen and Plex option not working
- Fixes #440
2018-04-03 16:53:59 +02:00
croneter
01d1d342aa Activate Kodi background updates to hide "Compressing Database" 2018-04-03 12:43:59 +02:00
croneter
f481bd2980 Do NOT delete playstates before getting new ones from the PMS 2018-04-02 18:32:52 +02:00
croneter
5b58db6cec Fix Plex Companion thinking video is playing again
- Fixes #449
2018-04-02 18:09:00 +02:00
croneter
98a544a764 Don't clean the Kodi file table 2018-04-02 17:19:34 +02:00
croneter
8c5baf80ee Only remember which player has been active if we got a Plex id 2018-04-02 17:09:44 +02:00
croneter
5facbddfc7 Warn if "Play next video automatically" is enabled, cause it breaks PKC playback report 2018-04-02 16:29:56 +02:00
croneter
0a978188b4 New JSON functions to retrieve and set Kodi settings 2018-04-02 16:27:08 +02:00
croneter
35ff51e39f Modify import 2018-04-01 10:45:22 +02:00
croneter
7d38ccf504 Hopefully fix ValueError for datetime.utcnow()
- Should fix #448
2018-04-01 10:18:15 +02:00
croneter
c05b772e90 Make sure that LOCK is released after adding one element
- Partially fixes #446
2018-03-31 20:34:09 +02:00
croneter
dcf2b9b4e4 Play the selected element first, then add the Kodi playqueue to the Plex playqueue
- Fixes #446
2018-03-31 20:32:55 +02:00
croneter
e81bee0101 Fix resetting PKC player state
- Should fix #445
2018-03-31 18:51:03 +02:00
croneter
9a4533d7e0 Ensure that playstate for ended (not stopped) video is recorded correctly 2018-03-31 15:37:05 +02:00
Croneter
3dd10ba29c Don't tell PMS last item is playing if non-Plex item is played 2018-03-29 07:37:20 +02:00
Croneter
cd5b3a3e2b Remove obsolete import 2018-03-29 07:35:54 +02:00
Croneter
f23f6da627 Fix PKC sometimes telling wrong item being played 2018-03-29 07:33:07 +02:00
Croneter
9f82b05c11 Fix rare KeyError for playback including trailers 2018-03-28 08:04:03 +02:00
Croneter
6aa3e612cf Adjust playback cleanup for empty video file 2018-03-27 18:20:36 +02:00
Croneter
fc836bebe6 Use an empty video file to "fail" playback 2018-03-27 18:07:16 +02:00
Croneter
b23c6e2932 Fix resume for On Deck and browse by folder 2018-03-27 08:20:39 +02:00
Croneter
f0393771a9 Fix "Use identical add-on paths for On Deck and browsing folders" 2018-03-27 08:02:31 +02:00
Croneter
d7891d6ec2 New API method to retrieve only filename 2018-03-27 08:01:24 +02:00
Croneter
bfd4415fa1 Use identical add-on paths for On Deck and browsing folders 2018-03-27 07:47:58 +02:00
Croneter
bb15f62648 Fix widget navigating to entire TV show not working 2018-03-22 18:51:11 +01:00
Croneter
79d87c5b01 Change default setting to force reload skin after playback stop to False
- Fixes #434
2018-03-22 17:27:57 +01:00
Croneter
22503657d2 Revert "Revert "Fix for "In Progress" not appearing""
This reverts commit 303adbf02e.
2018-03-22 17:26:11 +01:00
Croneter
baf60c2cc8 Simplify error message
- Fixes #435
2018-03-22 17:25:21 +01:00
Croneter
1a7ac665db Fix library sync crash TypeError
- Fixes #436
2018-03-22 17:03:26 +01:00
Croneter
4e4e1cea6b Fix resume not working for some Kodi interface languages 2018-03-22 16:56:54 +01:00
Croneter
82349bca88 Version bump 2018-03-20 11:56:51 +01:00
Croneter
d8555ee0cc Fix playback resuming potentially too often 2018-03-20 11:48:17 +01:00
Croneter
524466360f Link episode ListItem with Kodi library item
Enables full metadata such as Show and Season info
2018-03-20 11:26:01 +01:00
Croneter
3c1bb34f86 Remove obsolete code 2018-03-20 11:17:15 +01:00
Croneter
19770240aa Grab existing Kodi artwork for episodes 2018-03-20 11:08:09 +01:00
Croneter
4d2b040c08 Fix playback artwork for episodes 2018-03-20 10:37:42 +01:00
Croneter
f25eccb22c Code optimization 2018-03-20 09:16:29 +01:00
Croneter
88cece3066 Less logging 2018-03-20 08:52:01 +01:00
croneter
206c2a319b Tweak code for episode artwork 2018-03-18 19:18:44 +01:00
croneter
303adbf02e Revert "Fix for "In Progress" not appearing"
This reverts commit 600a22d158.
2018-03-18 15:23:54 +01:00
croneter
ea57eb5f93 Save NaN and not 0 to Kodi DB if playcount is zero 2018-03-18 15:08:55 +01:00
croneter
6fcbf29779 Addon paths: include real filename in plugin calls 2018-03-18 14:50:37 +01:00
croneter
7096aa35b2 Addon paths: Don't store show id in path 2018-03-18 13:48:29 +01:00
croneter
bb2f4601f5 Clean Kodi DB more thoroughly after playback start via PMS 2018-03-16 07:52:49 +01:00
croneter
600a22d158 Fix for "In Progress" not appearing
- Partially fixes #428
2018-03-16 07:37:27 +01:00
croneter
1d718c99c6 Always resume playback if playback initiated via context menu 2018-03-15 13:46:56 +01:00
croneter
491aa32586 Don't record last played date if state unwatched 2018-03-15 13:12:33 +01:00
croneter
229b0491b6 Do not play trailers for resumable movies using playback via PMS 2018-03-15 11:30:15 +01:00
croneter
f0c1562ab5 Remove obsolete resumable flag 2018-03-15 11:28:31 +01:00
croneter
8e1b77fcfe Fix correctly recording ended (not stopped!) video 2018-03-15 10:40:15 +01:00
croneter
4e85b65318 Direct paths: correctly clean up after context menu play 2018-03-15 10:25:51 +01:00
croneter
c48ef5012f Fix wrong item being reported using direct paths
- Fixes #428
2018-03-15 08:24:56 +01:00
croneter
bc8546b4ff Fix AttributeError on playback start
- Hopefully fixes #428
2018-03-14 07:41:53 +01:00
croneter
5012ab84c8 Fix videos not being correctly marked as played
- Hopefully fixes #423
2018-03-11 20:10:02 +01:00
croneter
46adc51cf6 Fix old playerstate not being copied/reset correctly 2018-03-11 18:57:00 +01:00
croneter
93e3d42e23 Fix playstates not being copied/reset correctly 2018-03-11 18:54:05 +01:00
croneter
8943083533 Fix tv shows not being correctly deleted
- Fixes #375
2018-03-11 15:23:32 +01:00
croneter
3961c8bc21 Fix episode rating not being correct 2018-03-11 13:02:04 +01:00
croneter
058d417e78 Fix AttributeError 2018-03-11 12:08:59 +01:00
croneter
2144995a29 Optimize code for deleting movies from Kodi DB 2018-03-11 12:08:27 +01:00
croneter
9101f49895 Cleanly remove all file references 2018-03-11 12:00:28 +01:00
croneter
456ef5cb34 Remove obsolete method 2018-03-11 11:48:54 +01:00
croneter
a7939f8b24 Also delete orphaned path entries in Kodi DB 2018-03-11 11:47:04 +01:00
croneter
97dc1c1856 Ensure file id references get deleted 2018-03-10 17:09:21 +01:00
croneter
5882a6ef3b Optimize code 2018-03-10 15:44:08 +01:00
croneter
5a2d3f4238 Optimize code 2018-03-10 15:03:31 +01:00
croneter
f2fea1bcde Optimize Kodi db method add_season 2018-03-10 15:02:06 +01:00
croneter
54a231a67f Remove comments 2018-03-10 14:56:46 +01:00
croneter
e642e30978 New api method grandparent title 2018-03-10 14:56:24 +01:00
croneter
04f94f0828 Use api method for parent id 2018-03-10 14:53:39 +01:00
croneter
44073a3201 Optimize DB path updates for TV shows 2018-03-10 14:51:00 +01:00
croneter
d74c26fd4c Fix disabling of background sync (websockets)
- Partially fixes #425
2018-03-10 12:58:11 +01:00
croneter
344e4337e1 Fix settings not being picked up correctly 2018-03-10 12:45:50 +01:00
croneter
2cd00f21b7 Improve playback startup resiliance
- Fixes #426
2018-03-10 12:24:57 +01:00
croneter
79dba00f27 Fix Kodi 18 log warnings by declaring all settings variables
- Fixes #414
2018-03-07 08:52:05 +01:00
croneter
11db94f84f Hardcode plugin-calls instead of using urlencode 2018-03-07 08:40:18 +01:00
croneter
a8ac23e74a Fix another UnicodeDecodeError for playlists
- Should fix #419
2018-03-07 07:52:13 +01:00
croneter
4332462075 Remove logging 2018-03-07 07:48:14 +01:00
croneter
2fb79b97f8 Fix UnicodeDecodeError for playqueue logging
- Fixes #419
2018-03-06 20:40:30 +01:00
croneter
62e973dbe2 Fixes to add-on paths playback startup 2018-03-06 18:23:56 +01:00
croneter
5af5412009 Version bump 2018-03-04 18:59:18 +01:00
croneter
377f721f1d Fix art and show info not showing for addon paths 2018-03-04 18:32:29 +01:00
croneter
e9abce7d12 Remove obsolete code 2018-03-04 18:02:55 +01:00
croneter
60c122523b Fix episode information not working 2018-03-04 15:29:45 +01:00
croneter
48cc6e3471 Fix music artwork not appearing 2018-03-04 14:22:39 +01:00
croneter
80b810c7e0 Update method description 2018-03-04 14:12:43 +01:00
croneter
cb8a3abdd8 Remove obsolete code 2018-03-04 13:52:44 +01:00
croneter
275283616e Revert "Start id numbering with 0, not 1"
This reverts commit 22ddd28f0b.
2018-03-04 13:39:40 +01:00
croneter
8272a67b5f Artwork overhaul part 2 2018-03-04 13:39:18 +01:00
croneter
b4716ba511 Artwork overhaul part 1 2018-03-03 14:40:12 +01:00
croneter
22ddd28f0b Start id numbering with 0, not 1 2018-03-02 07:48:38 +01:00
croneter
688023c906 Remove obsolete import 2018-03-02 07:36:45 +01:00
croneter
f31046bed1 Greatly speed up switch of PMS 2018-02-28 18:48:39 +01:00
croneter
ae15030bb5 Less logging 2018-02-28 17:42:21 +01:00
croneter
f4681011b9 Big Kodi DB overhaul - ensure video metadata updates/deletes correctly 2018-02-28 17:24:32 +01:00
croneter
f6336feb72 Increase logging 2018-02-28 13:45:53 +01:00
croneter
f0bbcb5086 Start Kodi ids at 0, not 1 2018-02-28 13:45:34 +01:00
croneter
db3be4cf09 Fix IntegrityError 2018-02-28 13:45:08 +01:00
croneter
6c851bd3a6 Merge branch 'hotfixes' of https://github.com/croneter/PlexKodiConnect into hotfixes 2018-02-28 07:02:09 +01:00
croneter
82ed5afb02 Further optimize DB access 2018-02-27 21:14:42 +01:00
croneter
8e2aaa6c09 Make sure obsolete show uniqueids get deleted 2018-02-26 11:22:18 +01:00
croneter
72d222144a Make sure obsolete uniqueid entries get deleted 2018-02-26 11:20:11 +01:00
croneter
b6fc820f81 Optimize DB access for ratings and unique id 2018-02-26 10:58:27 +01:00
croneter
5f7426da1c Less logging 2018-02-26 10:28:48 +01:00
croneter
e21c16f846 Delete playstates from Kodi DB 2018-02-26 09:33:13 +01:00
croneter
725132131c Delete streamdetails from Kodi DB 2018-02-26 09:18:44 +01:00
croneter
769fe8b926 Delete empty movie sets from Kodi DB 2018-02-26 09:06:35 +01:00
croneter
9540e3505c Remove obsolete code 2018-02-25 18:42:53 +01:00
croneter
1a2e8bf6ee Delete tags from Kodi DB 2018-02-25 18:31:45 +01:00
croneter
652f5757cf Delete studios from the Kodi DB 2018-02-25 18:20:44 +01:00
croneter
bad32e90ab Delete genres in Kodi DB 2018-02-25 18:15:17 +01:00
croneter
eedabf5888 Fix TypeErrors because SQL returns tuplex 2018-02-25 18:07:48 +01:00
croneter
1a77427591 Optimize code 2018-02-25 18:06:33 +01:00
croneter
818f370c46 Prettify 2018-02-25 17:51:36 +01:00
croneter
411f691547 Delete people entries from Kodi DB 2018-02-25 17:45:38 +01:00
croneter
b79ed87ea7 Ensure deletion of countries in Kodi DB for movies 2018-02-25 14:15:50 +01:00
croneter
5c944cd092 Fix kodidb_function.py classes 2018-02-25 13:42:20 +01:00
croneter
b42a9e2062 Prettify logging 2018-02-25 13:37:30 +01:00
croneter
ae6fb9ecfa Remove Kodi Helix support 2018-02-25 13:35:09 +01:00
croneter
eb0d1d21bb Revert "Don't list collections/sets also as Kodi tags"
This reverts commit 3f1da3c1ea.
2018-02-25 13:25:31 +01:00
croneter
3f1da3c1ea Don't list collections/sets also as Kodi tags 2018-02-25 13:10:48 +01:00
croneter
ca001a951f Don't repeatedly check plex.tv connection if offline
- Fixes #415
2018-02-25 13:00:46 +01:00
croneter
af0f03e534 Version bump 2018-02-23 17:40:42 +01:00
croneter
919cd6ddfd Fix info screen and actors not working 2018-02-23 17:22:57 +01:00
croneter
bf56160690 Fix trailers 2018-02-23 16:53:06 +01:00
croneter
c059856691 Simplify code 2018-02-23 16:18:10 +01:00
croneter
e6631c3c78 Get rid of Helix code 2018-02-23 16:10:52 +01:00
croneter
6ece9ab5cf Start cast order with 0 like Kodi 2018-02-23 16:10:11 +01:00
croneter
60b90b1f52 Fix Companion displaying and selecting wrong subtitle 2018-02-23 15:24:26 +01:00
croneter
edff54bb7e Don't cache subtitles if direct playing 2018-02-23 14:59:11 +01:00
croneter
11ac4fbe46 Fix playback startup failing 2018-02-23 13:23:49 +01:00
croneter
733e915506 Enable playback of existing Kodi playqueue 2018-02-23 13:18:08 +01:00
croneter
0b2592be5e Improvements to building PKC playlist elements 2018-02-23 13:06:18 +01:00
croneter
861f6213f1 New API method for guid 2018-02-23 12:41:18 +01:00
croneter
4909b4bc14 Remove obsolete imports 2018-02-22 18:20:42 +01:00
croneter
a33b93a6a1 Enable add-on paths for music 2018-02-22 17:38:52 +01:00
croneter
eeeb3efb7e Adjust Kodi bookmarks DB entries to resemble Kodi entries 2018-02-22 08:13:24 +01:00
croneter
b62a7a1a1d Fix add-on paths for tv shows 2018-02-22 08:05:07 +01:00
croneter
be5c1e6b8a Re-introduce dependency add-ons, part 1
We need them in order to keep the Kodi DB straight
2018-02-21 20:24:31 +01:00
croneter
faacbc6108 New method for grandparent ratingKey 2018-02-21 20:23:43 +01:00
croneter
d4b5dc99a1 Revert "Attempt to fix widget playback"
This reverts commit 4be376faac.
2018-02-21 08:47:44 +01:00
croneter
4be376faac Attempt to fix widget playback 2018-02-21 08:47:41 +01:00
croneter
40d670d002 Move check for direct paths and context menu play 2018-02-21 08:03:40 +01:00
croneter
933bd44ad5 Revert "Monitor for DB file path change"
This reverts commit aac22c3369.
2018-02-21 08:01:00 +01:00
croneter
cc37ffd809 Allow playback init for direct paths and context menu 2018-02-21 07:59:19 +01:00
croneter
bba42bb1bb Fail setResolvedUrl on 1st run
- Using add-on paths in the Kodi library, we need to make sure that the subsequent call of xbmc.setresolvedUrl fails or is forwarded once again
2018-02-20 19:43:12 +01:00
croneter
aac22c3369 Monitor for DB file path change 2018-02-20 18:02:34 +01:00
croneter
0173129ffc Correctly set-up paths table 2018-02-20 10:19:11 +01:00
croneter
fe6ccad959 Leave 'movies' in addon path in Kodi DB 2018-02-17 14:06:01 +01:00
croneter
a1eb926dc3 Revert "Attempt to fix Kodi overwriting paths in Kodi DB"
This reverts commit 8cd9deef40.
2018-02-17 13:48:57 +01:00
croneter
8cd9deef40 Attempt to fix Kodi overwriting paths in Kodi DB 2018-02-17 13:42:08 +01:00
croneter
ab1f28bb88 Fix TypeError when DB yet empty 2018-02-16 18:23:55 +01:00
croneter
121e8e0243 Hack for repeatedly starting same video using Addon Paths 2018-02-16 17:25:17 +01:00
croneter
7ce157accd Wipe all resume points before resyncing them 2018-02-15 20:15:53 +01:00
croneter
4df5851bc0 Optimize context menu 2018-02-15 19:47:01 +01:00
croneter
9e2ff58bc7 Inhibit idle shutdown only during initial sync 2018-02-15 17:47:45 +01:00
croneter
9f8c9a1636 Fix KeyError for server discovery
- Fixes #409
2018-02-15 17:44:58 +01:00
croneter
e321559121 Do not inhibit idle shutdown 2018-02-15 17:39:31 +01:00
croneter
74bed60c32 Don't mess with Kodi's screensaver settings 2018-02-15 17:36:28 +01:00
croneter
a2d0f98c9b Fix ignoring Companion updates for the playing item 2018-02-15 17:19:12 +01:00
croneter
7d61f153c3 Increase logging 2018-02-15 16:59:12 +01:00
croneter
fc1d77eff2 Fix ImportError 2018-02-15 16:52:25 +01:00
croneter
c55b687495 Catch PlaylistError in PlayqueueMonitor 2018-02-15 16:45:34 +01:00
croneter
aa756e60bc Ensure that we have unicode paths for database lookup 2018-02-15 08:22:37 +01:00
croneter
9b654f034c Fix Exception text 2018-02-15 08:15:50 +01:00
croneter
55a64d56b1 Add resiliance when adding items to Plex playqueue 2018-02-15 08:09:57 +01:00
croneter
be0eb19794 Revert "Fallback if we didn't get any info on playing element"
This reverts commit 2e7e7fef60.
2018-02-15 07:41:49 +01:00
croneter
2e7e7fef60 Fallback if we didn't get any info on playing element 2018-02-14 21:02:04 +01:00
croneter
66b8559eab Fix using plex instead of user token
- Fixes #407
2018-02-14 20:38:50 +01:00
croneter
feb91127cd Clear transient token, just in case 2018-02-14 20:11:32 +01:00
croneter
952ad796dd Remove obsolete code 2018-02-14 20:10:11 +01:00
croneter
97d777fdee Make sure that empty XML elements get deleted
- Fixes #402
2018-02-14 19:52:53 +01:00
croneter
7421018403 Fix KeyError when browsing On Deck 2018-02-13 07:24:39 +01:00
croneter
3fabb21dac Fix indent of xmls 2018-02-12 21:27:22 +01:00
croneter
754432f5bc Fix Kodi boot loop
- Fixes #402
2018-02-12 21:20:26 +01:00
croneter
af961dbaf4 Fix GB content ratings
- Should fix #401
2018-02-12 20:14:25 +01:00
croneter
1d79190574 Revert "Use api"
This reverts commit e595bd5e79.
2018-02-12 09:22:39 +01:00
croneter
e595bd5e79 Use api 2018-02-12 08:26:32 +01:00
croneter
66a24a39b6 Fix KeyError 2018-02-12 08:18:55 +01:00
croneter
0b5cd46d6c API code optimization 2018-02-12 08:10:39 +01:00
croneter
e02e9bcd1f Rename thread methods 2018-02-11 14:57:39 +01:00
croneter
5068327408 Prettify 2018-02-11 14:42:49 +01:00
croneter
ca11528593 Prettify 2018-02-11 13:24:00 +01:00
croneter
ca8ad96a05 Prettify 2018-02-11 12:59:04 +01:00
croneter
406c2b9f63 Prettify 2018-02-11 12:12:16 +01:00
croneter
055aadc048 Prettify 2018-02-11 12:06:04 +01:00
croneter
b2d37ec9b7 Add notification when searching for PMS 2018-02-10 18:07:10 +01:00
croneter
1151076660 Code refactoring 2018-02-10 17:59:20 +01:00
croneter
4fca4ecf63 Code refactoring 2018-02-09 17:48:25 +01:00
croneter
90a0c4b545 Replace websocket shutdown with close 2018-02-09 15:10:20 +01:00
croneter
96be262f78 Move minimal Kodi DB version to variables.py 2018-02-09 13:57:58 +01:00
croneter
31d42d0b04 Change bookmarks from Videoplayer to DVDPlayer 2018-02-08 16:02:29 +01:00
croneter
8c10c66bdc Mind Alexa transient token 2018-02-08 11:22:26 +01:00
croneter
bbb35856e0 Fix Alexa playback 2018-02-08 11:16:39 +01:00
croneter
e3882acf50 Remove obsolete code 2018-02-08 10:43:38 +01:00
croneter
15e97a63c2 Remove obsolete code 2018-02-08 10:35:10 +01:00
croneter
e393547e13 Compare playqueue items more reliably 2018-02-07 14:57:36 +01:00
croneter
0731ae0179 Enable resume within a playqueue 2018-02-07 14:32:58 +01:00
croneter
5f3aa91a54 Fix logging 2018-02-07 14:28:54 +01:00
croneter
e744ff2b97 Always detect if user resumes playback 2018-02-07 14:09:16 +01:00
croneter
5ca0f7d6af Fix playback cleanup if PKC causes stop 2018-02-07 13:57:07 +01:00
croneter
bdad905df3 Fix playback reporting not starting up correctly
- Should fix #400
2018-02-07 13:32:10 +01:00
croneter
447d233df1 Better logging 2018-02-07 13:09:50 +01:00
croneter
f279efb255 Less logging 2018-02-07 12:48:50 +01:00
croneter
c6ba6b42a8 Fix empty On Deck for tv shows
- Fixes #398
2018-02-06 21:00:32 +01:00
croneter
a9fb2e127e Fix TypeError when navigating
- Fixes #398
2018-02-06 20:26:10 +01:00
croneter
0d5d35c263 Less logging 2018-02-06 20:16:02 +01:00
croneter
d8de492d97 Fix trailers not playing 2018-02-06 20:12:44 +01:00
croneter
a2c2649bc9 Fix TypeError for trailers
You need to resync the Kodi database
2018-02-06 07:43:22 +01:00
croneter
764937e0b5 Fix Companion client resuming playback 2018-02-05 21:00:40 +01:00
croneter
a4f4d0b7a7 Remove obsolete code 2018-02-05 20:49:17 +01:00
croneter
0111b66cd1 Fix some addon paths 2018-02-05 20:44:41 +01:00
croneter
ed4ae181ec Fix weird resume from playback behavior 2018-02-05 20:23:35 +01:00
croneter
b4f8b435fb Fix trailers for widget items with resume point 2018-02-05 19:40:49 +01:00
croneter
66cdd4b176 Fix IntegrityError when adding missing album
- Should fix #395
2018-02-05 18:20:33 +01:00
croneter
6cb69ada3f Rework websocket playstate updates from the PMS
- Should fix #362
2018-02-05 17:48:50 +01:00
croneter
dea8e6d5f5 Use languageCode, not language for temp subtitles
- Fixes #394
2018-02-04 17:42:15 +01:00
croneter
e82d5fec6c Clear playqueue on using context menu 2018-02-04 17:36:18 +01:00
croneter
14635fea4d Ignore first 60s of playback like Plex 2018-02-04 16:58:10 +01:00
croneter
b9c1bbd8d3 Fix Companion playback for Plex Web 2018-02-04 15:36:30 +01:00
croneter
a1d790c741 Signal stop to Companion clients correctly 2018-02-04 12:31:28 +01:00
croneter
820b514740 Fix KeyErrors 2018-02-04 12:22:10 +01:00
croneter
57ec06ae4d Don't empty entire playqueue on Kodi exit 2018-02-04 12:17:05 +01:00
croneter
3174521475 Reintroduce Kodi playlist polling
There is no way around it - Kodi does not tell if the user swaps items in the Kodi playlist, unfortunately
2018-02-04 12:06:39 +01:00
croneter
199939c8b7 Fix skipping back in Kodi playlist 2018-02-03 17:03:36 +01:00
croneter
8d1bd52328 Fix Companion KeyError for music playback 2018-02-03 16:49:58 +01:00
croneter
a6ce6ae8d2 Fix KeyError for Kodi playerids 2018-02-03 16:43:39 +01:00
croneter
fd4422fa65 Fix Kodi queueing several items 2018-02-03 16:40:24 +01:00
croneter
adb43b2bbf Prettify 2018-02-03 16:20:10 +01:00
croneter
68887772df Fix missing containerKey 2018-02-03 16:16:53 +01:00
croneter
a2b4b48ddc Less logging 2018-02-03 15:57:37 +01:00
croneter
698217d374 Fix items being added twice to playqueue 2018-02-03 15:54:00 +01:00
croneter
c6edaf4304 Fix wrong exception type 2018-02-03 15:46:41 +01:00
croneter
bee845ca95 Fix PKC clearing Kodi playlist 2018-02-03 15:12:10 +01:00
croneter
35536fdc2f Remove obsolete playlistitem attribute 2018-02-03 15:04:05 +01:00
croneter
48dc22ee35 Fix PlaylistError 2018-02-03 14:59:43 +01:00
croneter
76bd6e934a Fix PlaylistError 2018-02-03 14:54:54 +01:00
croneter
6075642e9e Fix logging 2018-02-03 14:49:56 +01:00
croneter
c8c453c031 Clear playqueue if there was only 1 item in it 2018-02-03 14:26:58 +01:00
croneter
6cf5a08038 Less logging 2018-02-03 14:09:29 +01:00
croneter
5613d76d95 Less logging 2018-02-03 14:05:18 +01:00
croneter
0d11c6db58 Fix context menu playback 2018-02-03 14:04:17 +01:00
croneter
73f7fc7644 Less logging 2018-02-03 13:54:39 +01:00
croneter
a2193ab01f Prettify 2018-02-03 13:44:16 +01:00
croneter
bd85bb445e Enable context menu playback 2018-02-03 12:45:48 +01:00
croneter
a6a8c18711 Prettify 2018-02-01 13:55:40 +01:00
croneter
187a6131f0 Prettify 2018-02-01 08:19:51 +01:00
croneter
3fe1f184d6 Prettify 2018-02-01 07:56:54 +01:00
croneter
ff09ae6457 Force lowercase protocol for plugin playback 2018-02-01 07:44:12 +01:00
croneter
128582bf96 Fix Kodi player seeking too often 2018-02-01 07:16:09 +01:00
croneter
ef1baa2d1d Revert "Fix Kodi player seeking too often"
This reverts commit c5a3741289.
2018-02-01 07:15:37 +01:00
croneter
c5a3741289 Fix Kodi player seeking too often 2018-02-01 07:15:22 +01:00
croneter
a95e07d32b Enable resume for playback initiated by Companion 2018-01-31 20:54:11 +01:00
croneter
3aa5ee0408 Remove playbackutils.py 2018-01-31 07:47:43 +01:00
croneter
0eb526add4 Enable Kodi playback for an entire PMS xml 2018-01-31 07:42:23 +01:00
croneter
336d50cd3a Fix UnboundLocalError for Direct Paths 2018-01-30 07:51:14 +01:00
croneter
fc9ea2444e Introduce PlaylistError exception 2018-01-30 07:50:44 +01:00
croneter
a6e9869a14 Fix channels playback 2018-01-28 18:06:30 +01:00
croneter
fd2c6115fc Reduce logging 2018-01-28 17:56:33 +01:00
croneter
e661236440 Fix resume playback outside Kodi library 2018-01-28 17:53:51 +01:00
croneter
2d8bd3051a Fix PKC restoring cache directories 2018-01-28 17:36:36 +01:00
croneter
83833d76b3 Fix missing resume points 2018-01-28 17:28:02 +01:00
croneter
dfd5297cd3 Revamp playback start, part 7 2018-01-28 17:21:28 +01:00
croneter
0e3a7a1673 Encode listitem paths 2018-01-28 15:24:41 +01:00
croneter
88f9ec3dfa Merge branch 'hotfixes' of https://github.com/Pavuucek/PlexKodiConnect into Pavuucek-hotfixes 2018-01-28 13:59:48 +01:00
croneter
bc26d53945 Fix Kodi suddenly marking item as played 2018-01-28 13:55:00 +01:00
croneter
8da730ed8d Wait a bit less 2018-01-28 13:31:35 +01:00
croneter
ec0d382206 Fix releasing of default.py 2018-01-28 13:30:50 +01:00
croneter
15f6d7bf18 Let Kodi decide whether an item is resumable 2018-01-28 13:29:27 +01:00
croneter
f32d2cfcfc Revert "Let Kodi decide whether item is resumable"
This reverts commit d1fc9c0bff.
2018-01-28 13:28:29 +01:00
croneter
d1fc9c0bff Let Kodi decide whether item is resumable 2018-01-28 13:28:05 +01:00
croneter
2243bc42aa Fix release of default.py 2018-01-28 13:26:25 +01:00
croneter
05f9f56a4d More logging 2018-01-28 13:24:42 +01:00
croneter
dde330a704 Fix requests verify ssl certificate 2018-01-28 13:23:47 +01:00
croneter
906f61a847 Fix resume playback for extended context menu 2018-01-28 12:52:31 +01:00
croneter
6e6fbadb02 Fix repeated playback of same resumable item 2018-01-26 09:47:58 +01:00
croneter
cfff75926a Revamp playback start, part 6 2018-01-25 17:15:38 +01:00
croneter
510952f9de Avoid error in log file 2018-01-24 07:40:28 +01:00
Michal Kuncl
db0d629302 Restore cache directories after deleting. Fixes #392 2018-01-23 21:39:55 +01:00
croneter
307806e65f Fix playback starting in the background 2018-01-23 20:38:50 +01:00
croneter
e8d9252891 Prettify 2018-01-23 19:13:47 +01:00
croneter
4b0fa90f5e Remove obsolete code 2018-01-23 19:10:18 +01:00
croneter
4d79a17738 Detect resume playback outside of widgets also 2018-01-23 19:07:05 +01:00
croneter
66f6605406 Fix TypeError when logging weird PMS answers 2018-01-23 08:07:19 +01:00
croneter
e6520ad2e8 Fix KeyError on playback start 2018-01-23 07:59:53 +01:00
tomkat83
287b888b6f Revamp playback start, part 5 2018-01-22 11:20:37 +01:00
tomkat83
2791da9f65 Revamp playback start, part 4 2018-01-21 18:31:49 +01:00
croneter
7ecaa376a2 Revamp playback start, part 3 2018-01-21 13:42:22 +01:00
croneter
fb7eafb27a Revamp playback start, part 2 2018-01-10 20:14:05 +01:00
croneter
24f2f60209 Fix TypeError when PMS answer empty 2018-01-09 19:54:54 +01:00
tomkat83
f0a2955b83 Revamp playback start, part 1 2018-01-07 17:50:30 +01:00
tomkat83
671424ecbe Move PKC Kodi master lock hack to PKC startup 2018-01-07 15:44:20 +01:00
tomkat83
36bcd70c9d Do not check plex.tv connection on startup 2018-01-07 15:20:25 +01:00
tomkat83
607fdab326 Force-set some important Kodi settings
- Fixes #389
2018-01-07 15:16:53 +01:00
tomkat83
eb6b1fbe48 Remove obsolete code 2018-01-07 10:56:24 +01:00
tomkat83
e17824609a Greatly simplify handling of PKC playqueues 2018-01-06 15:19:12 +01:00
tomkat83
e0f1225c21 Move plex_playbackProbs to state.py 2018-01-06 12:55:24 +01:00
tomkat83
546e79d925 Move propertiesPlayback from window to state.py 2018-01-03 17:50:01 +01:00
tomkat83
ec4a5d2b7c Prettify 2018-01-02 15:39:48 +01:00
tomkat83
359a8d0221 Revert "Fix Plex ratingKey being stored as int, not str"
This reverts commit 6bfd67a41d.
2018-01-02 15:12:01 +01:00
tomkat83
f4e83f6be5 Better detect if PKC playback init is still ongoing 2018-01-02 15:11:49 +01:00
tomkat83
93b878ad78 Fix playlist item representation (str, not int) 2018-01-02 15:10:23 +01:00
tomkat83
6bfd67a41d Fix Plex ratingKey being stored as int, not str 2018-01-02 14:31:57 +01:00
tomkat83
b84a833e0d Remove unreliable check for playback init 2018-01-02 14:30:54 +01:00
tomkat83
ac3be93894 More Plex Companion fixes 2018-01-02 13:28:25 +01:00
tomkat83
95356d9483 Fix headers 2018-01-02 12:13:41 +01:00
tomkat83
14183cccca Fix Plex Companion headers & URL arguments 2018-01-02 11:48:44 +01:00
tomkat83
3a9f65d908 Remove obsolete code 2018-01-02 10:58:28 +01:00
tomkat83
18a9e77b33 Plex Companion optimizations 2018-01-01 18:36:28 +01:00
tomkat83
2e5249ca4f Don't allow spaces in devicename 2018-01-01 17:15:01 +01:00
tomkat83
6caa759ce1 Fix wrong partIndex 2018-01-01 14:23:08 +01:00
tomkat83
d8e4093696 Use variable.py's machineIdentifier 2018-01-01 13:46:21 +01:00
tomkat83
6c0ab38193 Fix wrong Plex machineIdentifier 2018-01-01 13:40:45 +01:00
tomkat83
5337ae5715 Major Plex Companion overhaul, part 6 2018-01-01 13:28:39 +01:00
tomkat83
cf15799df2 Clear and remove-items from Kodi playqueues once 2017-12-30 12:57:23 +01:00
tomkat83
ba0f22ac1e Prettify 2017-12-28 21:46:48 +01:00
tomkat83
bfefef548e Fix typo 2017-12-28 21:32:12 +01:00
tomkat83
2f90674f51 Major Plex Companion overhaul, part 5 2017-12-28 21:31:05 +01:00
tomkat83
e4ea7692b2 Add json to skip to certain playqueue position 2017-12-28 21:23:50 +01:00
tomkat83
4b5f7868bb Fix typo 2017-12-28 20:47:23 +01:00
tomkat83
f5a6531386 Fix typos 2017-12-28 18:29:51 +01:00
tomkat83
e358e9b3a5 PKC playqueues now log as dicts for pprint 2017-12-28 17:32:58 +01:00
tomkat83
771520cd96 Save transient token earlier to PKC playqueue 2017-12-28 16:56:48 +01:00
tomkat83
11df634c91 Fix TypeError 2017-12-28 15:45:48 +01:00
tomkat83
48c05c415d Merge branch 'patch-1' of https://github.com/Draic/PlexKodiConnect into Draic-patch-1 2017-12-28 15:33:38 +01:00
tomkat83
244a8e308f Disable Kodi msg "Loading media info from files" 2017-12-28 15:30:56 +01:00
tomkat83
6e00838ef0 Prettify 2017-12-28 15:24:36 +01:00
Draic
1ca8a46473
Hi10p should only trigger on h264
changed h265 to h264 as this should be the intended codec.
2017-12-23 16:42:40 +01:00
croneter
02f48dd15f Prettify 2017-12-21 09:43:16 +01:00
croneter
4547ec52af Major Plex Companion overhaul, part 4 2017-12-21 09:28:06 +01:00
tomkat83
47779bbbee Modify logging 2017-12-15 16:22:03 +01:00
tomkat83
72de3b6796 Companion: enable audio and subtitle stream switch 2017-12-15 16:11:19 +01:00
tomkat83
f0a3cd8c55 Avoid RuntimeError on exit 2017-12-15 16:08:20 +01:00
tomkat83
39d7bfd80f Clean up json_rpc 2017-12-15 13:22:12 +01:00
croneter
5f4016e22e Clean-up 2017-12-14 17:39:50 +01:00
croneter
bb0ba08329 Also update volume and mute on PMS updates 2017-12-14 17:19:09 +01:00
croneter
7100802cab Ensure that PKC signals playback stop on shutdown 2017-12-14 15:54:28 +01:00
croneter
502c013af0 Update all Kodi player properties for Companion update 2017-12-14 15:20:41 +01:00
croneter
b520fe2b79 Fix playstate remaining at zero 2017-12-14 10:34:40 +01:00
croneter
8189eb6b4c Companion: fix audio stream and subtitle stream 2017-12-14 10:22:48 +01:00
croneter
0b54e24947 Never have negative playstates 2017-12-14 10:21:30 +01:00
croneter
c0e7c78a11 Major Plex Companion overhaul, part 3 2017-12-14 08:29:38 +01:00
croneter
80c106d57f Fix some IndexErrors and KeyErrors 2017-12-13 20:41:29 +01:00
croneter
9cac51d5c9 Major Plex Companion overhaul, part 2 2017-12-13 20:14:27 +01:00
croneter
cc347d5654 Fix some KeyErrors 2017-12-11 19:24:21 +01:00
tomkat83
b1e2791ca8 Major Plex Companion overhaul, part 1 2017-12-10 19:01:22 +01:00
tomkat83
c3b5054477 Fixes to Companion /poll replies 2017-12-09 17:23:50 +01:00
tomkat83
41abcc8d2c Remove plexbmc plexsettings.py 2017-12-09 16:30:52 +01:00
tomkat83
90c76aa997 Init unique machine identifier earlier 2017-12-09 16:18:46 +01:00
tomkat83
39014fe7f4 Move kodi webserver details to state.py 2017-12-09 15:41:07 +01:00
tomkat83
cdd38c6ef7 Optimize some imports 2017-12-09 14:35:08 +01:00
tomkat83
73c7f866e6 Security fix: Companion shall not send Plex token 2017-12-09 13:54:30 +01:00
tomkat83
843bedbee6 Switch Companion to use json_rpc.py 2017-12-09 13:47:19 +01:00
tomkat83
cceb110354 Always return JSON RPC answer 2017-12-08 20:41:11 +01:00
tomkat83
9380a23867 Fix typo 2017-12-08 20:35:32 +01:00
tomkat83
dfdc6eefd0 Move jsonrpc function 2017-12-08 20:32:10 +01:00
tomkat83
34cd0fadb4 Delete obsolete screensaver function 2017-12-08 20:24:36 +01:00
croneter
f2bc95813a Centralize Kodi json rpc 2017-12-08 19:43:06 +01:00
croneter
f6b666e892 Move companion json rpc commands 2017-12-08 07:53:01 +01:00
croneter
a09b6a4562 Fix SSLError not being recognized as such
ConnectionError is ancestor of SSLError
2017-12-07 18:22:52 +01:00
croneter
18a5bcd7db Fix potentially telling wrong PMS to stop transcode 2017-12-07 18:19:54 +01:00
croneter
e6a5b1c157 Move Kodi playback info to state.py 2017-12-07 17:25:48 +01:00
croneter
65a48ebe7b Attach PMS xml piece to playlist item 2017-12-07 17:25:24 +01:00
croneter
2a6d8757e6 Class must only be initiated and used once
Hence no borg necessary
2017-12-07 17:15:54 +01:00
croneter
208997b167 Remove obsolete method 2017-12-07 17:15:13 +01:00
croneter
dc590d7ed1 Fx docstrings 2017-12-06 18:05:01 +01:00
croneter
a2a925edc0 Add docstrings 2017-12-06 11:40:27 +01:00
croneter
116a2956ac Minor Plex Companion improvements 2017-12-05 11:14:41 +01:00
tomkat83
9052b84011 Fix .strm playback failing for addon paths
- Partially fixes #354
2017-12-04 19:50:12 +01:00
tomkat83
f86582689b Only transcode 10bit video for h265
- Fixes #367
2017-12-04 19:41:59 +01:00
tomkat83
3e9e572e3c Merge branch 'hotfixes' of https://github.com/croneter/PlexKodiConnect into hotfixes 2017-11-05 12:53:05 +01:00
tomkat83
f1c784d458 Support playback of .strm files 2017-11-05 12:51:45 +01:00
croneter
eb66435d2d Russian translation, thanks @UncleStark, @xom2000, @AlexFreit 2017-10-09 22:28:31 +02:00
croneter
a8d4e2b8c1 Fix ValueError for channels 2017-10-09 22:12:30 +02:00
croneter
eaff533489 Fix AttributeError if Plex key is missing 2017-10-06 08:46:05 +02:00
croneter
e3dba1974f Code optimization 2017-10-06 08:42:04 +02:00
croneter
f3c71fadf2 Deal better with missing stream info (e.g. channels) 2017-10-06 08:41:16 +02:00
croneter
38d611aa27 PEP8 2017-10-06 08:09:21 +02:00
croneter
2f073c3a15 Enable channels for Plex home users 2017-10-02 18:18:05 +02:00
croneter
1e8ec2f0d7 Remove obsolete PKC settings show contextmenu 2017-10-02 17:49:57 +02:00
croneter
02a60fac20 Revert "More descriptive downloadable subtitles"
This reverts commit 8af180968b.
2017-10-02 17:41:28 +02:00
croneter
cb285f97e7 Revert "Fix subtitle languages showing up as unknown"
This reverts commit 345a24f896.
2017-10-02 17:36:54 +02:00
croneter
345a24f896 Fix subtitle languages showing up as unknown
- Fixes #342
2017-09-28 14:13:00 +02:00
tomkat83
12cf23a4b5 Revert "Sleep a bit before marking item as fully watched" 2017-09-23 18:52:42 +02:00
tomkat83
2bddec60db Fix items not getting marked as fully watched
- Hopefully fixes #341
2017-09-23 18:49:59 +02:00
tomkat83
aa83776a8b Move MARK_PLAYED_AT to variables.py 2017-09-23 18:40:30 +02:00
dazedcrazy
5cebbcb763 Update itemtypes.py 2017-09-23 14:56:26 +01:00
croneter
741c00ed64 Update translations 2017-09-17 14:07:14 +02:00
croneter
14b8df4f9c Fix Alexa websocket not exiting on Handshake Status 403 2017-09-15 20:01:20 +02:00
croneter
d7c3be5a68 Sleep a bit before marking item as fully watched 2017-09-13 20:21:09 +02:00
croneter
eaff13998b Remove obsolete imports 2017-09-13 20:01:17 +02:00
croneter
a3514ec104 Don't sleep before updating playstate to fully watched 2017-09-13 19:59:16 +02:00
croneter
14fc334422 Fix IndexError e.g. for channels if stream info missing 2017-09-13 15:41:06 +02:00
croneter
02ba51bc15 Merge branch 'hotfixes' of https://github.com/croneter/PlexKodiConnect into hotfixes 2017-09-13 15:32:49 +02:00
croneter
256d2c3f87 Fix KeyError for TV live channels for getGeople 2017-09-13 15:32:44 +02:00
tomkat83
9c17b8503a Reduce number of imports 2017-09-10 15:22:06 +02:00
tomkat83
6ed00a7b11 Reduce number of imports 2017-09-10 15:12:53 +02:00
tomkat83
47675bc60f Greatly speed up displaying context menu 2017-09-10 15:09:32 +02:00
tomkat83
cb39dbd19d Move pickl_window function 2017-09-10 15:06:46 +02:00
croneter
425915beaa Merge branch 'master' into hotfixes 2017-09-08 12:56:44 +02:00
croneter
826712340b Fix library sync crashing trying to display an error
- Fixes #340
2017-09-08 12:54:43 +02:00
croneter
6d4ad61c7b Ignore PMS message related to a bunch of items 2017-09-08 12:36:26 +02:00
croneter
060bc6f1d1 Detect Plex item deletion more reliably 2017-09-08 12:34:13 +02:00
croneter
1f0baf5128 Ignore PMS message related to an entire library 2017-09-08 12:12:29 +02:00
croneter
274ed4b430 Background sync now picks up more PMS changes 2017-09-08 12:06:31 +02:00
croneter
5fcccba105 Compile regex only once 2017-09-06 19:55:27 +02:00
croneter
fc03ebc8d4 Remove obsolete timestamp 2017-09-06 19:30:19 +02:00
croneter
3ada7d1a98 More specific exception handling 2017-09-06 19:26:48 +02:00
croneter
da4be6d7e4 Fix changed Plex metadata not synced repeatedly 2017-09-06 19:24:26 +02:00
croneter
81084ea479 Increase logging for websockets 2017-09-06 14:14:42 +02:00
croneter
b555df1061 Remove obsolete log level code 2017-09-06 13:43:52 +02:00
croneter
b0c62be75f Adjust log levels 2017-09-06 13:39:44 +02:00
croneter
32c43855f7 PKC logging now uses Kodi log levels 2017-09-06 13:31:15 +02:00
croneter
41b4493072 Sleep longer 2017-09-03 13:30:50 +02:00
croneter
d4bb8eed84 Fix resuming interrupted sync 2017-09-03 13:28:40 +02:00
croneter
882c592e45 Fix detecting changes to PKC settings 2017-09-03 13:23:18 +02:00
croneter
1a91149b5f Optimize code 2017-09-03 12:46:41 +02:00
croneter
ff1eb674b3 Revert "Adjust initial states"
This reverts commit e7de0f9218.
2017-09-03 12:44:03 +02:00
croneter
430b10ec1c Increase logging 2017-09-01 12:31:58 +02:00
croneter
e7de0f9218 Adjust initial states 2017-09-01 12:28:29 +02:00
croneter
ee02d5c9f4 Increase logging 2017-09-01 12:19:27 +02:00
croneter
cb459f2fd5 Enable many setting changes without Kodi restart 2017-08-22 08:16:21 +02:00
croneter
261a0aad4c Allow replace path settings changes without reboot 2017-08-22 07:18:19 +02:00