tomkat83
b3b53c4cac
Background sync: wait till PMS says its finished
2017-02-02 09:32:00 +01:00
tomkat83
e96ceaaf19
Fix OperationalError upon database reset
2017-02-01 20:43:31 +01:00
tomkat83
4b5d15fc15
Fix additional artwork not downloading
2017-02-01 20:09:17 +01:00
tomkat83
1cc0f8a6c6
Get missing fanart on Kodi startup
2017-02-01 19:56:06 +01:00
tomkat83
6eb786416d
Add notification upon Plex library deletion
2017-02-01 19:02:32 +01:00
tomkat83
524a36d9eb
Fix deleting items after Plex library removal
2017-02-01 18:55:22 +01:00
tomkat83
38a6c1eae6
Update logging
2017-02-01 16:56:37 +01:00
tomkat83
20223f5428
Increase logging
2017-02-01 12:55:31 +01:00
tomkat83
2055879458
Store Plex library in our database for reference
2017-02-01 12:33:37 +01:00
tomkat83
86434bab34
Delete items of a removed Plex library
2017-02-01 12:16:35 +01:00
tomkat83
16e6fc5ca4
Prepare DB for selective Plex library sync
2017-02-01 10:41:44 +01:00
tomkat83
3871af77e6
Delete duplicate code
2017-02-01 10:22:19 +01:00
tomkat83
bed1e70229
Enable abort on choosing PMS from list
2017-02-01 09:35:39 +01:00
tomkat83
e02cf55503
Fix Errors when trying to open databases
2017-01-29 14:10:20 +01:00
tomkat83
bb808213a4
Fix ImportError
2017-01-29 13:58:55 +01:00
tomkat83
c17ebf0647
Optimize imports for utils.py
2017-01-29 13:52:46 +01:00
tomkat83
289690813a
Early compatibility with Kodi 18 Leia
2017-01-29 13:40:34 +01:00
tomkat83
e1bb74c341
More explicit coding
2017-01-29 13:06:09 +01:00
tomkat83
d9b83065e3
Ignore empty Plex Collections
...
- Fixes #184
2017-01-24 20:55:01 +01:00
tomkat83
307e8e5b61
More explicit coding
2017-01-24 20:18:28 +01:00
tomkat83
74433f7afd
Shutdown artwork thread correctly
2017-01-24 20:12:46 +01:00
tomkat83
1f0a114d35
Fix IndexError and AttributeError
2017-01-24 20:04:53 +01:00
tomkat83
a716f8a2c1
Clean out entrypoint.py
2017-01-24 19:59:38 +01:00
tomkat83
b1f6bd1edf
Refactor service.py
2017-01-24 18:48:13 +01:00
tomkat83
1b74f25dfa
Fix NameError
2017-01-24 18:06:17 +01:00
tomkat83
790f32e64c
Fix AttributeErrors
2017-01-24 18:04:17 +01:00
tomkat83
6a503ad42a
refactor PlexAPI.py
2017-01-24 18:00:35 +01:00
tomkat83
6d547d207c
Fix TypeError
2017-01-24 16:58:25 +01:00
tomkat83
a7e041415e
Fix ImportError
2017-01-24 16:57:12 +01:00
tomkat83
57e9f36d64
Fix ImportError
2017-01-24 16:56:07 +01:00
tomkat83
0a987e86b4
Fix ImportError
2017-01-24 16:54:51 +01:00
tomkat83
579b52905e
Code refactoring
2017-01-24 16:53:50 +01:00
tomkat83
8aba0d998d
Code refactoring: put variables in one place
2017-01-24 16:04:42 +01:00
tomkat83
11be04ddac
Add notification for Companion GDM port fail
2017-01-24 11:53:19 +01:00
tomkat83
5046f856ca
New setting to change Plex Companion update port
...
- Fixes #173
2017-01-24 10:16:32 +01:00
tomkat83
98384fb5e4
Hopefully compatibilty with Plex Cloud
2017-01-21 17:34:51 +01:00
tomkat83
f96faaa880
Revert "Add logging to find Plex Cloud info from plex.tv"
...
This reverts commit 14c36160a4
.
2017-01-21 17:22:23 +01:00
tomkat83
40cbc4c6fd
Revert "More logging to find Plex Cloud info"
...
This reverts commit 9ad3b54d30
.
2017-01-21 17:22:13 +01:00
tomkat83
8d6107b252
Revert "Add logging"
...
This reverts commit 2fc5546dc4
.
2017-01-21 17:21:53 +01:00
tomkat83
51719cfa50
Add some error checking for playlists
2017-01-21 17:20:42 +01:00
tomkat83
48da925324
Check for adding playQueue item via JSON API
2017-01-21 14:47:37 +01:00
tomkat83
81747a668a
Cache missing artwork on PKC startup
2017-01-20 18:41:56 +01:00
tomkat83
6049ec468a
Fixes to artwork
2017-01-20 17:32:28 +01:00
tomkat83
e818e23149
Rewire image cache thread to service.py
2017-01-20 17:21:51 +01:00
tomkat83
3616c25a98
Don't cache actor artwork
...
- It takes too long and takes up too much memory
2017-01-20 16:30:37 +01:00
tomkat83
44b98e5694
Revert "Also cache actor images on manual caching"
...
This reverts commit 5d2f57aec1
.
2017-01-20 16:23:05 +01:00
tomkat83
5d2f57aec1
Also cache actor images on manual caching
2017-01-20 16:17:21 +01:00
tomkat83
225776a145
Prevent OperationalError: database is locked
...
- Fixes #183
2017-01-20 16:00:17 +01:00
tomkat83
33ceb3ee33
Fix to video node refresh
2017-01-20 15:46:34 +01:00
tomkat83
45ccc3ff3f
Only do maintainViews once
2017-01-20 15:32:19 +01:00
tomkat83
2fc5546dc4
Add logging
2017-01-20 15:31:24 +01:00
tomkat83
314ba8c0c1
Do a video node refresh on startup
2017-01-20 14:53:20 +01:00
tomkat83
627c010fb9
Customize number of items fetched from PMS
...
- Fixes #186
- Fixes #182
- Now defaults to 25 instead of 100
2017-01-20 14:41:28 +01:00
tomkat83
8f73d40018
Fix some connection issues
...
- Should fix #181
- Should fix error: (101, 'Network is unreachable')
2017-01-20 14:16:06 +01:00
tomkat83
9ad3b54d30
More logging to find Plex Cloud info
2017-01-20 13:58:52 +01:00
tomkat83
14c36160a4
Add logging to find Plex Cloud info from plex.tv
2017-01-15 18:32:40 +01:00
tomkat83
23383f1e8b
Correctly use window var
2017-01-15 18:21:59 +01:00
tomkat83
8cdf5a8a7b
Use window var instead of settings var
2017-01-15 18:21:21 +01:00
tomkat83
8680410ab2
New setting to force transcode all Plex images
2017-01-15 18:01:27 +01:00
tomkat83
ccaeca0019
Merge remote-tracking branch 'tempo/RAWPictureTranscoding' into develop
2017-01-15 17:34:38 +01:00
tomkat83
908e67e0bf
Revert "Hopefully fix Plex Companion RuntimeError"
...
This reverts commit 14c9d10459
.
2017-01-15 17:26:59 +01:00
tomkat83
0a33fcf3a1
Fix playQueue keyError
2017-01-14 09:59:43 +01:00
tomkat83
377827e159
Fix for Plex Companion showing last item played
2017-01-12 20:21:33 +01:00
tomkat83
aab6a733fe
Fix KeyError for playlists
2017-01-12 20:14:35 +01:00
tomkat83
1fc7277294
Krypton: Fix playState notifications for 1 video
2017-01-12 20:06:53 +01:00
tomkat83
359603ac0f
Fix Plex playQueue ID not being recorded
2017-01-12 20:02:38 +01:00
tomkat83
30bcafea05
Fix TypeError for Plex playQueue init
2017-01-12 19:40:15 +01:00
tomkat83
3fdee81833
Fix ValueError for plex.tv URLs
2017-01-12 19:37:31 +01:00
tomkat83
28c2376ab6
Fix for Plex Companion showing old video
2017-01-11 20:49:00 +01:00
tomkat83
07abf2e17a
Fix IndexError for PKC communicating watch state
...
- Fixes #178
2017-01-11 20:38:11 +01:00
tomkat83
8946598b06
Fix playback startup via PMS
2017-01-10 21:45:15 +01:00
tomkat83
2d67bb1c1d
Fix playback startup via PMS
2017-01-10 21:27:14 +01:00
tomkat83
5c89df9110
Fix Sync crashing due to AttributeError
...
- Fixes #177
2017-01-10 21:14:30 +01:00
tomkat83
2836f707c5
Merge branch 'develop'
2017-01-09 21:29:45 +01:00
tomkat83
03438b1c76
Fix Plex Companion showing last item being played
2017-01-09 21:25:52 +01:00
tomkat83
5c836f7911
Krypton: add ratings and IMDB id for TV shows
2017-01-09 20:47:32 +01:00
tomkat83
6ab2ab4b26
Fix SyntaxError
2017-01-09 20:39:41 +01:00
tomkat83
087a6ff465
Ensure Jarvis compatibility
2017-01-09 20:37:24 +01:00
tomkat83
8acf07c607
Krypton: add ratings and IMDB id for movies
2017-01-09 20:33:52 +01:00
tomkat83
a45af3d253
Always re-fetch playQueues from PMS
2017-01-09 20:00:37 +01:00
tomkat83
4b1c2e9447
Less logging
2017-01-09 19:57:23 +01:00
tomkat83
aac892fed8
Rewire Plex Companion startup
2017-01-09 19:56:57 +01:00
tomkat83
5230f73656
Code optimization
2017-01-08 15:43:30 +01:00
tomkat83
18cdfa192f
Abort if no xml received from PMS
2017-01-08 15:40:47 +01:00
tomkat83
20cf0cece5
Revert "Abort if no xml received from PMS"
...
This reverts commit dd40192a51
.
2017-01-08 15:40:19 +01:00
tomkat83
dd40192a51
Abort if no xml received from PMS
2017-01-08 15:40:05 +01:00
tomkat83
6df9bcd6b7
Remove obsolete function
2017-01-08 15:36:36 +01:00
tomkat83
0dfafbbe3e
Move playbackutils methods to API
2017-01-08 15:03:41 +01:00
tomkat83
1b9ae0c924
Increase logging
2017-01-08 12:56:40 +01:00
tomkat83
1b03486ecf
Fix unnecessary syncs for music
2017-01-08 12:48:57 +01:00
tomkat83
a53203c828
Check xml playQueue
2017-01-08 12:35:58 +01:00
tomkat83
4aab4813a9
Less logging
2017-01-08 12:20:51 +01:00
tomkat83
4a28a8ebc9
Don't support Plex Companion mirror
...
- Should fix #131
2017-01-08 12:07:03 +01:00
tomkat83
ef8d36c072
Fix for Plex Companion not showing up
...
- Should fix #173
2017-01-08 11:46:19 +01:00
tomkat83
8e6d94129b
Fix keyError for url-encoding
2017-01-08 11:38:37 +01:00
tomkat83
234f5042a3
Fix Plex Companion music playQueue startup
2017-01-07 20:35:10 +01:00
tomkat83
0a2f1bc01b
Fix KeyError for librarysync
2017-01-07 20:20:18 +01:00
tomkat83
e90f48cc8e
Rename plex database fields; abstract types
2017-01-07 20:11:48 +01:00
tomkat83
ad80fdfe1d
Rename embydb_functions to plexdb_functions
2017-01-04 20:57:16 +01:00
tomkat83
266ad70605
Rename database to plex.db
2017-01-04 20:09:09 +01:00
tomkat83
ed281ad847
Fix playback init if there are items queued
2017-01-02 19:24:17 +01:00
tomkat83
4086482991
Don't play trailer if we got items queued
2017-01-02 19:16:35 +01:00
tomkat83
06bd8856b5
More fixes to Watch Later
2017-01-02 16:42:07 +01:00
tomkat83
5b9b432ca9
Fixes to Watch later & Plex Companion
2017-01-02 15:41:38 +01:00
tomkat83
cddde19cce
Fix RuntimeErrors
2017-01-02 14:17:28 +01:00
tomkat83
146f063fc9
Playqueues overhaul continued
2017-01-02 14:07:24 +01:00
tomkat83
a9f59868f0
Fix xml logging
2016-12-29 15:42:19 +01:00
tomkat83
253feb9c69
Always post to PMS to get playQueue
2016-12-29 15:41:14 +01:00
tomkat83
ee86f58a3f
Move get Kodi_id from filename to function
2016-12-29 11:22:02 +01:00
tomkat83
eec2c10cb4
Fixes to playQueues for Addon paths
2016-12-28 19:38:43 +01:00
tomkat83
49b5131dbb
Fix resume of playqueue initiated by companion
2016-12-28 15:21:29 +01:00
tomkat83
5b020910d3
Fix Plex Companion offset not working
2016-12-28 14:57:10 +01:00
tomkat83
e24f6b53fc
Fix logging
2016-12-28 14:52:14 +01:00
tomkat83
4208bb9b73
playQueue fixes
2016-12-28 14:48:23 +01:00
tomkat83
14c9d10459
Hopefully fix Plex Companion RuntimeError
...
- RuntimeError: dictionary changed size during iteration
12:42:00 T:8236 ERROR: Traceback (most recent call last):
12:42:00 T:8236 ERROR: File
"C:\Users\Tom\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\plexbmchelper\listener.py",
line 213, in answer_request
12:42:00 T:8236 ERROR: subMgr.notify()
12:42:00 T:8236 ERROR: File
"C:\Users\Tom\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\plexbmchelper\subscribers.py",
line 163, in notify
12:42:00 T:8236 ERROR: self.notifyServer(players)
12:42:00 T:8236 ERROR: File
"C:\Users\Tom\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\plexbmchelper\subscribers.py",
line 178, in notifyServer
12:42:00 T:8236 ERROR: for typus, p in
self.lastplayers.iteritems():
2016-12-28 13:18:50 +01:00
tomkat83
9d2902baa5
Playqueues overhaul continued
2016-12-28 13:14:21 +01:00
tomkat83
0c2d4984ab
Playqueues major haul-over
2016-12-27 17:33:52 +01:00
Memesa
a457d96a60
Plex RAW photos/picture support
...
This feature was requested. I got it implemented by passing the path of
the image, if it is not a normal image file, through the
getTranscodeImagePath function in the PlexAPI class. This requests Plex
to transcode the file before sending it to Kodi. Slight disadvantage is
the maximum resolution of 1920x1080, but I doubt that will impact many
people.
2016-12-20 21:05:01 +01:00
tomkat83
95c87065ed
Optimize companion imports
2016-12-20 16:38:04 +01:00
tomkat83
9d2cf86091
Optimize websocket imports
2016-12-20 16:30:22 +01:00
tomkat83
17fc11d8bb
Optimize websocket client queue
2016-12-20 16:27:22 +01:00
tomkat83
ad8b7c7d90
Merge Master
2016-12-20 16:13:19 +01:00
tomkat83
6b64f3b66c
Fix playstate updates due to PMS websocket change
...
- Fixes #162
2016-12-17 18:38:24 +01:00
tomkat83
8438cc088c
Combine h265 und HEVC into one setting
...
- Fixes #163
2016-12-17 18:01:51 +01:00
tomkat83
08eaf21a17
New setting Always transcode if bitrate is above
...
- Fixes #163
2016-12-17 17:54:46 +01:00
tomkat83
cb32ffae56
Note to read Wiki if using several Plex libs
2016-12-17 16:51:49 +01:00
tomkat83
4c53cfdb5b
Get rid of low powered device option
2016-12-17 16:43:25 +01:00
tomkat83
4925864a61
Don't show a notification when searching for PMS
2016-12-17 14:48:06 +01:00
tomkat83
373d9656ae
Improvements to PMS on/offline messages
2016-12-17 14:46:13 +01:00
tomkat83
43d4f69e5c
Don't repeatedly show PMS offline message
2016-12-17 14:01:00 +01:00
tomkat83
0ff7d81ab3
Less logging
2016-12-17 13:58:00 +01:00
tomkat83
ce3435ac73
Less logging when PMS is offline
2016-12-17 13:21:44 +01:00
tomkat83
bdad097bd0
Less logging when checking connection
2016-12-17 13:09:18 +01:00
tomkat83
c51a2dfbaf
Don't be too insistent when checking PMS connection
2016-12-17 13:08:21 +01:00
tomkat83
202a795175
Be quicker to declare PMS offline
2016-12-17 13:05:10 +01:00
tomkat83
bdddc9ed5d
Increase logging level for time measurements
2016-12-17 12:59:19 +01:00
tomkat83
a14494d96d
Only sign user out if 401 returned
...
- Fixes #156
2016-12-17 12:52:25 +01:00
tomkat83
0ee43e2297
Less logging
2016-12-17 12:09:21 +01:00
tomkat83
f8bb43a547
Catch both ConnectTimeout and ReadTimeout
2016-12-05 19:31:54 +01:00
tomkat83
0b54c4eee3
Fix library AttributeError
2016-12-04 18:25:26 +01:00
tomkat83
013c15378a
Get kodiversion only once
2016-12-04 14:17:51 +01:00
tomkat83
9d60b9bbbe
Log function name for time log
2016-12-04 14:05:12 +01:00
tomkat83
aca7c3ee4e
Revert "Profile sync"
...
This reverts commit c539d436be
.
2016-12-04 12:40:29 +01:00
tomkat83
c539d436be
Profile sync
2016-12-04 12:40:24 +01:00
tomkat83
8689d043a5
Further speed up getting actor ID
...
- Drop the ignore casse
2016-12-04 12:39:31 +01:00
tomkat83
30f9518b82
Try to speed up getting actor id
...
- Explicitly select only 1 entry
2016-12-04 12:29:52 +01:00
tomkat83
f02bb4a873
Index Kodi database actor names to speed up sync
2016-12-04 12:26:25 +01:00
tomkat83
e4de57c753
Speed up kodi database sync
2016-12-04 11:56:37 +01:00
tomkat83
97eb08d3bd
Remove obsolete import
2016-12-04 11:08:00 +01:00
tomkat83
d1da07a8bf
Speed up replacing Plex paths
2016-12-03 15:43:23 +01:00