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
c45250e74f
Disable Plex trailers by default
2017-01-02 19:07:42 +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
tomkat83
4073679d3f
Log cProfile even if not debuging
2016-12-03 14:56:25 +01:00
tomkat83
5b27dcca4e
Less loging
2016-12-03 14:44:27 +01:00
tomkat83
21da5707a0
Revert "Try sqlite3 in-memory fullsync, might be faster"
...
This reverts commit 0046f34729
.
2016-12-03 13:56:53 +01:00
tomkat83
0046f34729
Try sqlite3 in-memory fullsync, might be faster
2016-12-03 13:56:46 +01:00
tomkat83
666ea9bc31
Sync new PMS items first
2016-12-03 13:07:41 +01:00
tomkat83
b0cde71fe3
If aborting fullsync, reset Kodi screensaver
2016-12-03 12:04:13 +01:00
tomkat83
db02a001a8
Playlist major upgrade part 1
2016-12-03 11:50:05 +01:00
tomkat83
8ed9275a26
Catch websocket handshake errors correctly
...
- Fixes #97
2016-11-17 13:29:53 +01:00
tomkat83
073dea6745
Fix for not getting tv show additional fanart
2016-11-17 12:21:31 +01:00
tomkat83
0538a250a3
Fix for fanart url containing spaces
2016-11-17 12:21:15 +01:00
tomkat83
8d11fa2a90
Move KODILANGUAGE
2016-11-16 14:27:11 +01:00
tomkat83
c779491499
Revert "Sleep 5s after declaring connection dead"
...
This reverts commit d65d9f0aba
.
2016-11-12 17:50:45 +01:00
tomkat83
d65d9f0aba
Sleep 5s after declaring connection dead
2016-11-12 17:47:58 +01:00
tomkat83
1339ac2bc9
More debug logging for websockets
2016-11-12 17:45:37 +01:00
tomkat83
3b22cb41a0
Fix for Krypton premiered synch for new items
...
- Fixes #142
2016-11-12 17:22:45 +01:00
tomkat83
1f7d785afc
Fix transcoding for several parts
2016-11-08 21:00:13 +01:00
tomkat83
332640cf48
Revert "Don't double-update playstate of a playing item"
...
This reverts commit 7e2a11ea28
.
2016-11-08 20:55:02 +01:00
tomkat83
c7dd0db400
Fixes to force transcoding
2016-11-08 20:51:34 +01:00
tomkat83
df67b92768
New contextmenu: Force transcode video
2016-11-06 15:37:22 +01:00
tomkat83
2f1b104b41
Fix playlist being cleared when it shouldn't
2016-11-06 14:45:37 +01:00
tomkat83
e87db5c672
Fix part numbers
2016-11-06 14:10:09 +01:00
tomkat83
7036e893d3
Always initiate an empty playlist
2016-11-06 13:46:33 +01:00
tomkat83
462724275d
Fixes to how context menu playback is started
2016-11-06 13:46:16 +01:00
tomkat83
de184c8e03
Fix initiating from context menu not starting
2016-11-06 12:27:49 +01:00
tomkat83
20e6236fef
Explicitly say that we're using plex trailers
2016-11-06 12:21:11 +01:00
tomkat83
bcc46e4ea1
New contextmenu: force playback from PMS
...
- Visible if using direct paths
- You will be able to correctly play videos with several parts, media
streams or versions
- Fixes #78
2016-11-06 12:15:41 +01:00
tomkat83
00299b58b2
Revert "Also append ext. subtitles if transcoding"
...
This reverts commit b8ae679092
.
2016-11-05 17:28:03 +01:00
tomkat83
9e270356df
Code optimization
2016-11-05 16:38:56 +01:00
tomkat83
b8ae679092
Also append ext. subtitles if transcoding
2016-11-05 16:35:43 +01:00
tomkat83
1a18c810d0
Close Plex companion connection on exceptions
...
- Fixes #137
2016-11-05 16:28:59 +01:00
tomkat83
02e8e3bf5c
Fix not updating new user settings
2016-10-31 19:42:52 +01:00
tomkat83
e21c04e580
Fix smb credentials password not being url-encoded
2016-10-29 16:47:48 +02:00
tomkat83
46b5cc2209
New setting: Display message if PMS goes offline
...
- Fixes #92 , finally
2016-10-29 16:29:32 +02:00
tomkat83
7e58fae9a2
Code optimization
2016-10-29 15:23:48 +02:00
tomkat83
50860573fa
Fix Plex trailers not being synced
...
- Fixes #129
2016-10-26 21:34:58 +02:00
tomkat83
0bb4a26c33
Fix for missing Plex item bitDepth
...
- Fixes #130
2016-10-26 21:14:58 +02:00
tomkat83
3d209c3a6e
Deactivate some contextmenu options yet missing
2016-10-26 21:11:19 +02:00
tomkat83
30adb5bd27
Optimize code
2016-10-26 21:06:16 +02:00
tomkat83
14d279aa4c
Fix episode filename & path not being updated
2016-10-26 21:04:46 +02:00
tomkat83
c35ba0edef
Fix TV show paths not updating
2016-10-26 20:53:20 +02:00
tomkat83
a96a20d37d
Merge commit '2c6f7512997c0a4cd918ae5295187b30cac87018' into develop
2016-10-26 20:40:26 +02:00
tomkat83
7b0ec13297
Fix really ugly bug
...
- artwork queue was initiated and stuck in endless loop
2016-10-26 20:33:13 +02:00
Piotr Smolinski
2c6f751299
Propagated the pathid/fileid change
...
I moved the pathid/fileid resolution outside of create/update section
that it is shared by both flows. Then I added the idFile change to the
UPDATE statement and replaced emby_db.updateReference with
emby_db.createReference. The latter one is UPSERT type update, therefore
also safe here.
2016-10-24 23:37:29 +02:00
tomkat83
9869131464
Don't show delet context menu if now allowed by PMS
2016-10-23 19:38:21 +02:00
tomkat83
f595455776
Fill in some missing subsetting flags
2016-10-23 17:27:22 +02:00
tomkat83
6ef35fdf83
Rearrange settings
2016-10-23 17:22:39 +02:00
tomkat83
20f1c33fc6
Fix wrong settings string
2016-10-23 17:17:43 +02:00
tomkat83
a0b8a9fa93
Monitor Kodi setting changes more closely
2016-10-23 17:10:34 +02:00
tomkat83
2557260002
Remove deleted PMS items immediately
2016-10-23 16:55:28 +02:00
tomkat83
18e6135afd
Process background sync every 5 seconds
2016-10-23 16:48:59 +02:00
tomkat83
0b2ccde834
Message if PMS item could not be deleted
2016-10-23 16:37:26 +02:00
tomkat83
45a9f8081b
Less logging
2016-10-23 16:15:57 +02:00
tomkat83
e2776261c3
Initial Kodi context menu commit
2016-10-22 17:15:10 +02:00
tomkat83
5ac807760b
Fix movie year for Krypton (reset your Kodi DB!)
...
- Fixes #79
2016-10-18 20:47:45 +02:00
tomkat83
d71f6e8887
Remove obsolete lock
2016-10-18 20:32:16 +02:00
tomkat83
ec7d4efc80
Remove obsolete import
2016-10-18 20:01:41 +02:00
tomkat83
1bae637830
Adjust download threads to 1 for low powered devices
2016-10-18 19:49:11 +02:00
tomkat83
23384c5d9e
Fix art not caching efficiently
2016-10-17 23:15:05 +02:00
tomkat83
a2e2d2f5f8
Revert "Log art caching"
...
This reverts commit 2b363b7a30
.
2016-10-17 22:55:32 +02:00
tomkat83
2b363b7a30
Log art caching
2016-10-17 22:50:36 +02:00
tomkat83
1a4660571b
Only start downloading art AFTER sync completed
...
- Will speed up sync
2016-10-17 22:48:01 +02:00
tomkat83
cd65a93989
Fix Kodi crashing on low powered devices
...
- Fixes #126
2016-10-17 22:34:15 +02:00
tomkat83
e001be5840
Move and increase setting sleep btw art downloads
2016-10-17 21:54:01 +02:00
tomkat83
4274942d49
Revert "Don't set-up clips/trailers like other videos"
...
This reverts commit e4d736a670
.
2016-10-16 16:44:41 +02:00
tomkat83
c747e915b1
Fix TypeError if no extras available
...
- Fixes #123
2016-10-13 11:27:31 +02:00
tomkat83
5437f1a355
Ommit Plex DVR status messages
...
- Hopefully fixes #110
2016-10-11 18:52:59 +02:00
tomkat83
c02a95cc59
Streamline code
2016-10-11 18:37:47 +02:00
tomkat83
4b0583b1c9
Prevent IndexError on unknown PMS ids
2016-10-11 18:35:11 +02:00
tomkat83
d069fc7c48
Fix IndexError on deleting items
2016-10-11 18:28:07 +02:00
tomkat83
0b7e6ec0a3
Compile regex only once
2016-09-25 19:21:12 +02:00
tomkat83
219cdd9fba
Revert "Download one item at a time"
2016-09-25 19:18:27 +02:00
tomkat83
a7820a9cf6
Try to prevent OperationalError: database is locked
2016-09-25 18:59:34 +02:00
tomkat83
086d5c8901
Fix "Opening Stream..." dialog not closing
...
- Fixes #113
- See http://forum.kodi.tv/showthread.php?tid=155641
2016-09-25 18:46:10 +02:00
tomkat83
fe99fd1ec8
Remove obsolete import
2016-09-25 18:34:03 +02:00
tomkat83
c437821e3c
Fix TypeError for manually entering PMS address
...
- Fixes #114
2016-09-25 17:35:40 +02:00
tomkat83
e4d736a670
Don't set-up clips/trailers like other videos
...
- Should fix PKC trying to tell the PMS where we are playing that item
2016-09-21 20:17:33 +02:00
tomkat83
b5b3b8380f
Music sync: Fix ProgrammingError
2016-09-21 19:52:11 +02:00
tomkat83
b23bdfe65f
Fix capitalization
2016-09-17 20:48:37 +02:00
tomkat83
7e2a11ea28
Don't double-update playstate of a playing item
2016-09-17 20:36:53 +02:00
tomkat83
2ca4ad7b6c
Fix capitalization
2016-09-17 20:30:28 +02:00
tomkat83
9c74fd4a98
Fix backgroundsync KeyError
2016-09-17 19:12:32 +02:00
tomkat83
a4ed5c47ab
Reorder settings
2016-09-17 16:11:00 +02:00
tomkat83
ca3a06affc
New setting: sleep between art downloads
2016-09-17 15:39:20 +02:00
tomkat83
1ff7970e88
Remove imageCacheLimit and cap on thread-number
2016-09-17 15:20:43 +02:00
tomkat83
25a6d82022
Prevent infinite loops after requesting something
2016-09-17 15:17:01 +02:00
tomkat83
77d1df553c
More logging
2016-09-17 14:49:57 +02:00
tomkat83
703f2fb37d
Fix setting to cache all textures to Kodi
2016-09-17 14:48:40 +02:00
tomkat83
ca6bb4e8ca
Rewiring of caching - daemon instead of threads
2016-09-17 14:02:50 +02:00
tomkat83
cd14127233
Revert "Revert "Dedicated art downloading queue""
...
This reverts commit 6621cc5a8d
.
2016-09-17 11:24:12 +02:00
tomkat83
c0d91507c0
Revert "Optimize image_cache_thread"
...
This reverts commit afb0960260
.
2016-09-17 11:24:06 +02:00
tomkat83
afb0960260
Optimize image_cache_thread
...
- BUT: lead to DOS-seeming behavior and ConnectionError: ('Connection
aborted.', error(10053)) from http://image.tmdb.org/
2016-09-17 11:23:31 +02:00
tomkat83
6621cc5a8d
Revert "Dedicated art downloading queue"
...
This reverts commit dc94cc6bfe
.
2016-09-17 10:58:08 +02:00
tomkat83
dc94cc6bfe
Dedicated art downloading queue
2016-09-17 10:58:03 +02:00
tomkat83
83029b7560
Shorten for loop
2016-09-17 09:55:06 +02:00
tomkat83
daf23fcc55
Merge while loops
2016-09-17 09:48:38 +02:00
tomkat83
8743ce13af
Remove obsolete code
2016-09-16 17:51:30 +02:00
tomkat83
4d7af7912d
Use file settings instead of window settings
2016-09-16 17:47:09 +02:00