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
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
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
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
croneter
ce508257a3
Move Kodi DB check flag to state.py
2017-08-21 19:42:41 +02:00
croneter
66eb599a14
Code optimization
2017-08-21 19:38:41 +02:00
croneter
7b6834b326
Code optimization
2017-08-21 18:59:47 +02:00
croneter
5f45cc1c9b
Remove obsolete function
2017-08-21 18:53:52 +02:00
croneter
31be5f30f3
Move init of syncs to state.py
2017-08-21 18:53:38 +02:00
croneter
5585f8a4e0
Revert "Sleep longer"
...
This reverts commit b045c49ad0
.
2017-08-21 08:03:08 +02:00
croneter
b045c49ad0
Sleep longer
2017-08-21 08:02:44 +02:00
croneter
a2b145e4ec
Force show sync if user manually initiated
2017-08-21 08:01:48 +02:00
croneter
743d8dbb2f
Move sync indication setting to state.py
2017-08-21 07:42:11 +02:00
croneter
7f74dd93f4
Vastly improve sync speed for music
2017-08-19 16:49:29 +02:00
croneter
c0bef37dd5
Cancels syncs if lib sync thread gets suspended
...
- Partially solves #333
2017-08-19 16:26:51 +02:00
croneter
3daf82ef3d
Code optimization
2017-08-19 16:14:14 +02:00
croneter
0d108577ab
Fix TypeError
2017-08-19 16:10:44 +02:00
croneter
40fc88c8f6
Increase logging
2017-08-19 15:23:57 +02:00
croneter
4494add298
Verify path for every Plex library on install sync
2017-08-19 15:13:22 +02:00
croneter
8267fb4832
Don't quit library sync if failed repeatedly
2017-08-19 15:05:56 +02:00
croneter
d5c92f89d9
Move path-checked flag to state.py
2017-08-19 15:03:19 +02:00
croneter
a41e6ce821
Resume aborted sync on PKC settings change
2017-08-19 15:02:23 +02:00
croneter
27d356e3c5
Don't quit sync threads if path wasn't found
...
- Partially fixes #333
2017-08-19 14:50:28 +02:00
croneter
cda68d14b4
Fix stop synching if path not found
...
- Fixes #333
2017-08-19 14:39:00 +02:00
croneter
12db99203f
Improvements to sync dialog
2017-08-19 13:43:50 +02:00
croneter
d636271525
Don't show sync progress if media is playing
2017-08-19 13:42:15 +02:00
croneter
334bbf418c
Fix typo
2017-08-19 12:51:58 +02:00
croneter
b544ad93f3
Never show library sync dialog if media is playing
2017-08-18 10:56:45 +02:00
croneter
1aee66a565
Clarify import
2017-08-18 10:38:03 +02:00
croneter
bc36750d52
Move dialog instance
2017-08-18 10:37:30 +02:00
croneter
b103309ceb
Library sync dialog code optimization
2017-08-18 09:53:10 +02:00
croneter
8af180968b
More descriptive downloadable subtitles
2017-08-11 12:21:44 +02:00
tomkat83
9e275b23d4
Deactivate some annoying popups on install
2017-08-10 21:08:37 +02:00
tomkat83
73d6bfde89
Fix playback not starting in some circumstances
...
- Fixes #330
2017-08-10 21:05:46 +02:00
tomkat83
3d58b93107
Revert "Fix playback not starting in some cirrcumstances"
...
This reverts commit f9037dcbd8
.
2017-08-10 19:34:23 +02:00
tomkat83
83b18faac1
Fix first artist [missing tag] (Reset your DB!)
...
- Thanks @angelblue05
- Fixes #308
2017-08-08 20:44:36 +02:00
tomkat83
f9037dcbd8
Fix playback not starting in some cirrcumstances
...
- Should fix #330
2017-08-08 20:27:37 +02:00
tomkat83
e5d4e44951
Change string ID
2017-08-02 20:01:13 +02:00
tomkat83
c3a6bd99b6
Fix PKC asking for trailers not working
...
- Fixes #328
2017-08-02 19:12:07 +02:00
tomkat83
64fe064008
Fix Kodi TypeError with ListItems
2017-08-02 18:54:05 +02:00
tomkat83
26f0c6e556
Add Kodi info screen for episodes in context menu
2017-08-02 18:31:52 +02:00
tomkat83
18b2781210
Revert "Add Kodi info screen for episodes in context menu"
...
This reverts commit 3cb4b53887
.
2017-08-02 18:30:29 +02:00
tomkat83
3cb4b53887
Add Kodi info screen for episodes in context menu
2017-08-02 18:26:48 +02:00
RickDB
643899ce49
Updated playcount check in KodiMonitor, if playcount was empty / null it would incorrectly mark it as watched.
...
While updating play state make sure offset never exceeds item duration.
2017-08-02 17:34:00 +02:00
tomkat83
c917b9bf48
Fix Plex companion feedback for Android
2017-07-01 14:17:25 +02:00
tomkat83
4352e06ecc
Request pictures with transcoding API
...
- Hopefully fixes #189
2017-07-01 13:08:40 +02:00
tomkat83
73289d00f0
Fix Kodi playlists being empty
...
- Fixes #305
2017-06-06 20:12:16 +02:00
tomkat83
d4c290effb
Choose to replace user ratings with #media versions
2017-05-31 14:13:45 +02:00
tomkat83
8282283a65
Remove obsolete method
2017-05-31 13:45:01 +02:00
tomkat83
3fdb583851
Support new Companion command "refreshPlayQueue"
2017-05-31 13:44:04 +02:00
tomkat83
17ab161369
Fix another TypeError
2017-05-31 12:57:53 +02:00
tomkat83
93009aa444
Fix TypeError
2017-05-31 12:56:15 +02:00
tomkat83
d57e4ff2ef
Revert "Fix TypeError"
...
This reverts commit e16a212a4e
.
2017-05-31 12:55:58 +02:00
tomkat83
e16a212a4e
Fix TypeError
2017-05-31 12:51:03 +02:00
tomkat83
5698d30541
Increase logging
2017-05-31 12:28:26 +02:00
tomkat83
2fcdda48fb
More collection artwork: use TheMovieDB art
2017-05-31 11:21:14 +02:00
tomkat83
f4507a3630
Use https for themoviedb
2017-05-31 10:10:54 +02:00
tomkat83
3817e6afb8
Use https for themoviedb
2017-05-31 10:05:50 +02:00
tomkat83
0fd4a641ad
Increase logging
2017-05-31 09:56:23 +02:00
tomkat83
8ba30eca82
Fix fanart for collections
2017-05-29 17:29:29 +02:00
tomkat83
70f5991b6d
Clarify
2017-05-29 17:11:04 +02:00
tomkat83
456959b676
Move method to function
2017-05-29 17:05:22 +02:00
tomkat83
ba698288bb
Revert "Clarify themoviedb for collections"
...
This reverts commit 364662a7f7
.
2017-05-29 16:58:52 +02:00
tomkat83
d7a0f3e39f
Comply with themoviedb.org terms of use
2017-05-29 16:33:44 +02:00
tomkat83
364662a7f7
Clarify themoviedb for collections
2017-05-29 16:15:42 +02:00
tomkat83
8860edd592
Fix library sync crash due to UnicodeDecodeError
...
- Fixes #302
2017-05-29 15:39:11 +02:00
tomkat83
55d75d3d51
Translate plex.tv login status in PKC settings
2017-05-29 10:51:26 +02:00
tomkat83
cee2bfcc6c
Better way to sync progress to another account
...
- Partially fixes #297
2017-05-25 14:21:27 +02:00
tomkat83
74af562ada
Simplify loop
2017-05-25 14:00:30 +02:00
tomkat83
0c0cf342df
Simplify loop
2017-05-25 13:58:15 +02:00
tomkat83
5be7a5be8b
Remove obsolete code
2017-05-25 13:57:32 +02:00
tomkat83
9104a56db0
Fix playback stop not being recognized by the PMS
2017-05-25 13:15:54 +02:00
tomkat83
179e97b200
Warn user if a xml cannot be parsed
2017-05-22 21:31:19 +02:00
tomkat83
66fe13786f
Fix PKC syncing progress to wrong account
...
- Fixes #297
2017-05-22 20:54:04 +02:00
tomkat83
845885edbd
Fix Playback and watched status not syncing
...
- Fixes #300
2017-05-22 20:38:56 +02:00
tomkat83
80b5345d9c
Merge branch 'develop' of https://github.com/croneter/PlexKodiConnect into develop
2017-05-20 20:25:55 +02:00
tomkat83
ad5744f435
Fix for Windows usernames with non-ASCII chars
...
- Fixes #286
2017-05-20 20:24:47 +02:00
tomkat83
b0d1fcfe8a
Fix TypeError when PMS connection lost
2017-05-20 18:52:51 +02:00
tomkat83
f785b828ca
Companion: Fix TypeError
2017-05-20 18:49:40 +02:00
tomkat83
eba270c63d
Use SSL settings when checking server connection
...
- Hopefully solves #282
2017-05-20 18:46:31 +02:00
Croneter
6ff20b737a
Increase timeout
...
- Hopefully fixes #282
2017-05-18 07:51:17 +02:00
Croneter
1bbb0e151d
Increase logging
2017-05-18 07:37:28 +02:00
tomkat83
20cf51432f
Companion: send transient token
2017-05-17 20:22:16 +02:00
tomkat83
befee05043
Companion: Fix returning OK, status 200
...
- Also considering Android now
2017-05-17 20:18:24 +02:00
tomkat83
87d5f7cce9
Revert "Companion: Fix returning OK, status 200"
...
This reverts commit cd121defa1
.
2017-05-17 20:14:21 +02:00
tomkat83
cd121defa1
Companion: Fix returning OK, status 200
2017-05-17 19:53:46 +02:00
tomkat83
c7db36bd5d
Companion: don't tell seekRange
2017-05-17 19:20:16 +02:00
tomkat83
f7da47f2d5
Rename Plex user id
2017-05-17 16:15:16 +02:00
tomkat83
9ae68b66f7
Add state for Plex username
2017-05-17 16:14:17 +02:00
tomkat83
f2575289b2
Remove attribute
2017-05-17 16:00:43 +02:00
tomkat83
bfe174dc09
Add state for Plex user ID
2017-05-17 15:57:30 +02:00
tomkat83
ae6057cd36
Remove obsolete module
2017-05-17 15:48:41 +02:00
tomkat83
583bfe0777
Remove obsolete attribute
2017-05-17 15:47:27 +02:00
tomkat83
056d4c86a3
Remove obsolete userid attribute
2017-05-17 15:45:59 +02:00
tomkat83
8ae68a7158
Add state for direct paths
2017-05-17 15:42:12 +02:00
tomkat83
8e70955ded
Move check whether Kodi quit
2017-05-17 15:27:32 +02:00
tomkat83
88d1623909
Companion: Fix AttributeError
2017-05-17 15:23:39 +02:00
tomkat83
6804fcf543
Only set advancedsettings tweaks if Music enabled
2017-05-17 15:07:16 +02:00
tomkat83
858c792d04
Remove restart on first setup
2017-05-17 14:53:12 +02:00
tomkat83
f3edcecd7d
Remove obsolete tweaks for advancedsettings.xml
2017-05-17 14:51:18 +02:00
tomkat83
209cd78315
Fix WindowsError or alike when deleting video nodes
2017-05-17 14:42:28 +02:00
tomkat83
b532b74b84
Fix websockets
2017-05-17 14:34:52 +02:00
tomkat83
7a174f5a7e
Fix Alexa thread suspend
2017-05-17 14:20:43 +02:00
tomkat83
8b99247ba5
Revert "Revert "Fix user switch""
...
This reverts commit 219aa2d0ab
.
2017-05-17 14:02:52 +02:00
tomkat83
06727fca71
Fix thread methods
2017-05-17 13:55:24 +02:00
tomkat83
2615ecfd79
Revert "Revert "Also check authentication via state""
...
This reverts commit 05aa97c0ad
.
2017-05-17 10:10:14 +02:00
tomkat83
bce800abc2
Revert "Revert "Try shutting down PKC more cleanly""
...
This reverts commit a1f1e332b3
.
2017-05-17 10:09:57 +02:00
tomkat83
a63b90dd5f
Revert "Revert "Code refactoring: avoid window vars in loops""
...
This reverts commit b6197231fa
.
2017-05-17 10:09:50 +02:00
tomkat83
6980a09171
Fix TypeError for Plex Companion
2017-05-14 16:50:24 +02:00
tomkat83
b6197231fa
Revert "Code refactoring: avoid window vars in loops"
...
This reverts commit 6629fb41e3
.
2017-05-14 16:41:22 +02:00
tomkat83
a1f1e332b3
Revert "Try shutting down PKC more cleanly"
...
This reverts commit 4b06a89f70
.
2017-05-14 16:41:02 +02:00
tomkat83
219aa2d0ab
Revert "Fix user switch"
...
This reverts commit 0520fbda3e
.
2017-05-14 16:40:39 +02:00
tomkat83
05aa97c0ad
Revert "Also check authentication via state"
...
This reverts commit e5a422635d
.
2017-05-14 16:39:19 +02:00
tomkat83
e5a422635d
Also check authentication via state
2017-05-12 15:32:46 +02:00
tomkat83
071c68969a
Sleep longer
2017-05-12 15:32:25 +02:00
tomkat83
0520fbda3e
Fix user switch
2017-05-12 14:58:01 +02:00
tomkat83
4b06a89f70
Try shutting down PKC more cleanly
2017-05-12 14:37:21 +02:00
tomkat83
7d6310601c
Fix possible OperationalErrors
2017-05-12 13:25:46 +02:00
tomkat83
f83a304419
Fix OperationalError when resetting PKC
2017-05-12 12:52:27 +02:00
tomkat83
6629fb41e3
Code refactoring: avoid window vars in loops
2017-05-12 12:52:12 +02:00
tomkat83
85e59e3207
Wait a bit longer
2017-05-12 09:44:05 +02:00
tomkat83
b555ccce00
Companion: ensure sockets get closed
...
- Should fix #293
2017-05-12 08:22:36 +02:00
tomkat83
56bd2d88b6
Ability to translate sync progress dialog
2017-05-11 20:16:19 +02:00
tomkat83
af55d75bf3
Fix KeyError for Plex Companion
2017-05-11 20:07:23 +02:00
tomkat83
5c8c399b30
Don't add media by other add-ons to queue
...
- Fixes #295
2017-05-11 19:58:21 +02:00
tomkat83
9138cdbb67
Repace Kodi mkdirs with os.makedirs
...
- Partially fixes #296
2017-05-11 19:44:08 +02:00
tomkat83
03a1893bdb
Fix WindowsError
...
- Partially fixes #296
2017-05-11 19:29:57 +02:00
tomkat83
fd84d97a46
Use xbmcvfs exists instead of os.path.exists
...
- Partially fixes #296
2017-05-11 19:26:13 +02:00
tomkat83
216159d96c
Change to xbmcvfs mkdirs
2017-05-11 17:51:14 +02:00
tomkat83
5f7d8df6f7
Fix PKC complaining about files not found
2017-05-09 20:39:05 +02:00
tomkat83
c37961c600
Fix too many arguments when marking 100% watched
2017-05-08 19:33:54 +02:00
tomkat83
2a8d288a5b
Fix else clauses in for loops
2017-05-08 19:32:12 +02:00
tomkat83
51e2d87a2e
Fix typo
2017-05-08 19:29:52 +02:00
tomkat83
44af9a20e5
Fix possible SQL injection vectors
2017-05-08 19:28:34 +02:00
tomkat83
21d13c6471
Fix multiple subtitles per language not showing
...
- Fixes #292
2017-05-08 19:15:50 +02:00
tomkat83
5adc032330
Fix companion for "Playback via PMS"
2017-05-07 16:58:12 +02:00
tomkat83
192c6e2e9a
Less logging
2017-05-07 16:21:19 +02:00
tomkat83
9378a8eb89
Less logging
2017-05-07 15:36:42 +02:00
tomkat83
b95ab22556
Change sleeping behavior for playqueue client
2017-05-07 15:08:16 +02:00
tomkat83
543253e10e
Plex Companion: add itemType to playstate
2017-05-07 15:02:45 +02:00
tomkat83
722c3c1821
Fix TypeError, but for real now
...
- Fixes #290
2017-05-07 14:05:25 +02:00
tomkat83
acfb9d4128
Fix TypeError with AdvancedSettings.xml missing
...
- Fixes #290
2017-05-07 13:42:46 +02:00
tomkat83
3636823327
Less logging
2017-05-06 18:52:50 +02:00
tomkat83
cca69e544f
Typo
2017-05-06 18:50:28 +02:00
tomkat83
acf1d803ab
Typo
2017-05-06 18:48:58 +02:00
tomkat83
264bf9ad87
Plex Companion: Add size of XML
2017-05-06 18:42:43 +02:00
tomkat83
9c48840b54
Plex Companion: Add machineIdentifier
2017-05-06 18:42:05 +02:00
tomkat83
839e937a81
Typos
2017-05-06 18:39:38 +02:00
tomkat83
efb75c8f99
Plex Companion: drop telling the 'location'
2017-05-06 18:38:44 +02:00
tomkat83
ef0e2e2ba0
Plex Companion: escape HTML
2017-05-06 18:36:24 +02:00
tomkat83
3d7caec69a
Don't verify detected music paths
2017-05-06 17:22:29 +02:00
tomkat83
cbb44e4ccf
Major music overhaul: Direct Paths should now work!
...
- Remember to always use Direct Paths with Music ;-)
- Fixes #84
2017-05-06 17:04:09 +02:00
tomkat83
ec6a526f09
Remove obsolete regex
2017-05-06 10:03:35 +02:00
tomkat83
d7bd6b0d13
Function to grab all Plex libraries from PMS
2017-05-06 09:45:21 +02:00
tomkat83
ee85db4570
Smarter function to set advancedsettings.xml values
2017-05-06 09:35:05 +02:00
tomkat83
3a878334b5
Fix PKC not storing network credentials correctly
...
- Fixes #287
2017-05-05 20:16:48 +02:00
Andrea Cotza
a30f1ebc42
Add support to Kodi 18.0-alpha1
2017-05-05 10:01:26 +02:00
tomkat83
b2cd6e1156
Avoid xbmcvfs entirely; use encoded paths
...
- Fixes #286
2017-05-03 20:30:33 +02:00
tomkat83
f4ad85cfeb
Fix UnicodeDecodeError on user switch
...
- Partially fixes #285
2017-05-01 20:45:02 +02:00
tomkat83
65c31b1eaa
Use Kodi video cache setting for transcoding
2017-05-01 20:29:28 +02:00
tomkat83
72ed20e47f
Big transcoding overhaul
...
- Fixes #278
2017-05-01 19:51:10 +02:00
tomkat83
56400e54da
Change Plex transcoding profile to Android
2017-05-01 14:22:47 +02:00
tomkat83
a4627ae1cb
Add description
2017-05-01 13:10:28 +02:00
tomkat83
04dfd78a9b
Fix for not detecting external subtitle language
2017-05-01 13:07:41 +02:00
tomkat83
0b7c9dc820
Allow for custom download from PMS, e.g. subtitles
2017-05-01 12:22:09 +02:00
tomkat83
57e12c423e
Remove obsolete import
2017-05-01 11:32:07 +02:00
tomkat83
587514a05e
PEP fixes
2017-05-01 11:05:51 +02:00
tomkat83
af1766697f
Remove obsolete method
2017-05-01 11:04:13 +02:00
tomkat83
002cbe9025
Account for missing IMDB ids for movies
2017-05-01 10:32:04 +02:00
tomkat83
431e95706f
Account for missing TheTVDB ids
2017-05-01 10:08:23 +02:00
tomkat83
b715b16f05
Further Fix TheTVDB ID for TV shows
...
- Partially fixes #277
2017-05-01 09:57:24 +02:00
tomkat83
bc3a81b12a
Fix TheTVDB ID for TV shows
...
- Partially fixes #277
2017-05-01 09:53:40 +02:00
tomkat83
90a5fd58e1
Fix IMDB id for movies
...
- Fixes #277
2017-04-30 20:41:28 +02:00
tomkat83
e05bc6e126
Increase timeouts for PMS
...
- Fixes #283
2017-04-30 17:45:45 +02:00
tomkat83
0a835d7449
Code refactoring
2017-04-30 17:35:51 +02:00
tomkat83
ba83bd29fc
Remove obsolete code
2017-04-30 17:28:12 +02:00
tomkat83
c751efeb0c
Remove another obsolete file
2017-04-30 17:26:55 +02:00
tomkat83
2c83ff2c8b
Delete obsolete file
2017-04-30 17:24:31 +02:00
tomkat83
b7373a4982
Small code refactoring
2017-04-30 17:22:46 +02:00
tomkat83
0909235a63
Fix TypeError
2017-04-30 17:07:56 +02:00
tomkat83
dafaf74786
Remove musicutils.py
2017-04-22 13:42:39 +02:00
tomkat83
6c055f0656
Remove obsolete packages
2017-04-22 13:42:01 +02:00
tomkat83
600b48d7aa
Revert "Music: use strm files for addon paths"
...
This reverts commit 2d3f19b536
.
2017-04-14 17:57:36 +02:00
tomkat83
ed0735d34c
Browse by folder: sort episodes by Date Added
2017-04-14 14:56:04 +02:00
tomkat83
89fec3b971
Merge branch 'master' into develop
2017-04-14 14:45:54 +02:00
tomkat83
05485f92c8
Browse by folder: also sort by Date Added
...
- Fixes #270
2017-04-14 14:45:39 +02:00
tomkat83
150b45d5cc
Hotfix: Revert Cache missing artwork on PKC startup
...
- Should fix #239 , #269
- Seems like another Kodi process messes with the artwork caches,
delaying the PKC one for minutes
2017-04-12 18:52:54 +02:00
tomkat83
2d3f19b536
Music: use strm files for addon paths
2017-04-11 19:16:03 +02:00
tomkat83
b0fe3cba24
Cleanup stream selection
2017-04-02 20:10:10 +02:00
tomkat83
946254d86c
Merge branch 'RickDB-master' into develop
2017-04-02 17:05:57 +02:00
tomkat83
e64746f277
Huge music overhaul
...
- Fixes #254
2017-04-02 17:02:41 +02:00
RickDB
c049e8d05e
Included additional info in stream selection dialog
2017-04-02 14:11:13 +02:00
tomkat83
95fd016bd7
Code refactoring of download in chunks
2017-04-01 18:28:02 +02:00
tomkat83
a3201f8a30
Beautify
2017-03-31 16:43:44 +02:00
tomkat83
498dfb67d7
Remove obsolete import
2017-03-31 16:43:05 +02:00
tomkat83
0cda3563de
Remove obsolete method
2017-03-31 16:42:39 +02:00
tomkat83
2a5cf9d798
Add Plex ID to photo ListItems
2017-03-26 14:09:43 +02:00
tomkat83
4de4959c53
Remove obsolete imports
2017-03-26 13:23:37 +02:00
tomkat83
944246b716
Don't log xml for playlists
2017-03-26 12:51:16 +02:00
tomkat83
d6bb806440
Show menu item only for appropriate Kodi library
2017-03-19 14:32:01 +01:00
tomkat83
9391d10d44
Fix playback error popup when using Alexa
...
- Fixes #258
2017-03-19 13:54:59 +01:00
tomkat83
6e2751a695
Fix TypeError for setting ListItem streams
2017-03-19 13:13:04 +01:00
tomkat83
319afd4f99
Fix videos not starting from ListItems
2017-03-19 12:54:29 +01:00
tomkat83
aa900c6b88
Rewire Kodi ListItem stuff
2017-03-19 12:14:16 +01:00
tomkat83
264782c787
Fix Kodi setContent for images
2017-03-15 19:26:55 +01:00
tomkat83
6fdff941ea
Fix AttributeError due to missing Kodi sort methods
...
- Partially fixes #253
2017-03-14 18:45:05 +01:00
tomkat83
bf6bc26d46
Move plex node navigation, playback to main thread
2017-03-13 21:39:07 +01:00
tomkat83
ec1bae3c51
Fix TypeError for malformed browsing xml
2017-03-13 20:30:33 +01:00
tomkat83
d2166cd604
Fix IndexError if we can't get a valid xml from PMS
2017-03-13 20:25:52 +01:00
tomkat83
fc6718f698
Pass 'None' instead of empty string in url args
2017-03-13 20:20:05 +01:00
tomkat83
5687149225
Fix KeyError for channels if no media streams
...
- Fixes #253
2017-03-13 20:17:59 +01:00
tomkat83
165e6ca12b
Fix Channels not starting playback
...
- Fixes #253
2017-03-12 13:01:34 +01:00
tomkat83
18d525ae90
Fix Alexa not doing anything
2017-03-10 06:51:19 +01:00
tomkat83
d9fc26f96a
Fix IndexError for playqueues
2017-03-09 12:24:04 +01:00
tomkat83
762bb872f3
Code optimization
2017-03-09 11:21:13 +01:00
tomkat83
3534a9b8f0
Rewire playback start when browsing by folder
2017-03-09 11:12:46 +01:00
tomkat83
012371c010
Update playback of photos
2017-03-08 18:24:50 +01:00
tomkat83
7171fc7df4
Remove method
2017-03-08 18:07:36 +01:00
tomkat83
a12b5033b9
Rewire Plex photo navigation
2017-03-08 17:53:43 +01:00
tomkat83
cbbb5b1ceb
Change playlist type from 'picture' to 'photo'
2017-03-08 17:06:30 +01:00
tomkat83
80e2ad4908
Tweaking of browse by folder
2017-03-08 17:02:26 +01:00
tomkat83
6f7d5d5d59
Browse video nodes by folder/path
2017-03-08 16:41:49 +01:00
tomkat83
be7ecb95db
Specify Kodi sort methods
2017-03-08 16:21:00 +01:00
tomkat83
2a48a71673
Code optimization
2017-03-08 10:51:21 +01:00
tomkat83
fd7e30f84c
Remove boilerplate
2017-03-08 10:46:10 +01:00
tomkat83
4bc31cf4bc
Code refactoring default.py
2017-03-08 10:39:05 +01:00
tomkat83
47ea9f2968
Plex Channels!
2017-03-07 16:37:36 +01:00
tomkat83
38d5d64f2c
Enable skipping for Plex Companion
2017-03-05 18:28:30 +01:00
tomkat83
a8b7bf7871
Fix starting more playqueue instances
2017-03-05 17:59:56 +01:00
tomkat83
8d2b312fcf
Remove obsolete import
2017-03-05 17:59:04 +01:00
tomkat83
f1dc7639ab
Enable Alexa for Plex music
2017-03-05 17:51:58 +01:00
tomkat83
3d525f7772
Treat unsuccessful download better
2017-03-05 16:51:13 +01:00
tomkat83
260579f32d
Increase Plex Companion sleep
2017-03-05 16:43:06 +01:00
tomkat83
d2c52c1050
Simplify code
2017-03-05 16:41:56 +01:00
tomkat83
799356c1fb
Simplify code
2017-03-05 16:38:29 +01:00
tomkat83
768a25d1a3
Simplify code
2017-03-05 16:38:06 +01:00
tomkat83
4d555a9314
Fix possible IndexError
2017-03-05 16:30:39 +01:00
tomkat83
715513cdb3
Fix spelling
2017-03-05 15:48:08 +01:00
tomkat83
df6d753c18
Only try to connect Alexa if we got a Plex token
2017-03-05 15:44:01 +01:00
tomkat83
57408c5137
Suspend Alexa thread if Plex user is restricted
...
- Alexa currently only works for the master user for Plex home
2017-03-05 15:38:13 +01:00
tomkat83
25afc0c702
Set default companion name to PlexKodiConnect
2017-03-05 15:30:06 +01:00
tomkat83
f974e1a202
Merge branch 'master' into develop
2017-03-05 15:10:18 +01:00
tomkat83
d5e19c5328
Cleanup playlist/playqueue string/unicode
...
- Fixes #244
2017-03-05 15:06:54 +01:00
tomkat83
cdb576517e
Fix UnicodeEncodeError
...
- Fixes #244
2017-03-05 14:02:58 +01:00
tomkat83
b734d0be8e
Amazon Alexa support!
2017-03-04 17:54:24 +01:00
tomkat83
90445ba7b5
Merge branch 'patch-1' of https://github.com/AllanMar/PlexKodiConnect into AllanMar-patch-1
2017-03-01 19:25:35 +01:00
tomkat83
be48743b1b
Fix TypeError on manually entering PMS port
...
- Fixes #242
2017-03-01 18:51:18 +01:00
tomkat83
7276a195bf
Fix KeyError
2017-02-26 18:25:41 +01:00
tomkat83
84f7aba5d1
Try to skip new PMS items we've already processed
2017-02-26 18:04:54 +01:00
tomkat83
39d3e8acc9
Fix WebSocketException: Invalid header
2017-02-26 17:17:39 +01:00
tomkat83
fdd07b77e3
Fix ValueError for Watch Later
...
- Fixes #235
2017-02-26 16:40:04 +01:00
tomkat83
f8bfb981ef
Better error handling for Plex Companion
...
- Partially fixes #233
2017-02-26 16:29:19 +01:00
tomkat83
b70a3331e0
Newline in logging xml
2017-02-26 16:14:46 +01:00
tomkat83
e03af767ca
Remove \r
for Plex Companion replies
2017-02-26 16:12:39 +01:00
tomkat83
16acca16b9
Fix UnicodeDecodeError for non-ASCII filenames
...
- Fixes #229
2017-02-26 16:01:35 +01:00
tomkat83
82e7530816
Fix TypeError
...
- Partially fixes #236
2017-02-26 15:21:55 +01:00
tomkat83
0b5c138709
Better error handling for Plex Companion playqueues
...
- Partially solves #236
2017-02-26 15:16:03 +01:00
AllanMar
36d57c2452
Fix Plex Web Issues
...
Causes issues with Plex web due to Access-Control-Allow-Headers missing header.
2017-02-21 20:22:59 -04:00
tomkat83
861736d8d3
Fixes to Plex Companion
...
- Fixes #224
2017-02-19 17:07:42 +01:00
tomkat83
b4a44c9d7d
Only 1 colon : when logging
2017-02-19 16:20:00 +01:00
tomkat83
983fd168bb
Fix ratings for movies
...
- Fixes #71
2017-02-19 15:57:31 +01:00
tomkat83
990e21ac99
Plex Companion: Fix KeyError for Plex Web
2017-02-18 17:15:37 +01:00
tomkat83
b93925d678
Rename function
2017-02-18 17:04:30 +01:00
tomkat83
81f0fe1157
Sleep a bit before marking an item watched
2017-02-18 16:45:57 +01:00
tomkat83
1a24146e48
Move mark_played_at
2017-02-18 16:44:09 +01:00
tomkat83
c359c6fff8
Fix ratings for TV shows
2017-02-18 16:30:06 +01:00
tomkat83
806f237b70
Use unique TheTVDB link for episodes
2017-02-18 14:45:31 +01:00
tomkat83
5a6f0411f2
Fix ratings for episodes
2017-02-17 19:35:51 +01:00
tomkat83
a7adfa1cc5
Elaborate on function
2017-02-13 20:50:10 +01:00
tomkat83
43b8866c44
Code optimization
2017-02-13 20:47:21 +01:00
tomkat83
7956639a0e
Code optimization
2017-02-13 20:46:51 +01:00
tomkat83
f5198bf937
Elaborate on function description
2017-02-13 20:27:39 +01:00
tomkat83
922f4150a0
Fix getting unique id
2017-02-13 20:26:30 +01:00
tomkat83
9612ee78ab
Fix getting the rating id
2017-02-13 20:23:02 +01:00
tomkat83
aa5cb37a8f
Krypton: add ratings for episodes
...
- Fixes #71
2017-02-13 20:19:22 +01:00
tomkat83
d54014cff8
Remove obsolete encoding
2017-02-13 19:54:27 +01:00
tomkat83
cd7b509248
Fix UnicodeDecodeError for non-ASCII filenames
...
- Fixes #222
2017-02-13 19:27:14 +01:00
tomkat83
1827f2506c
Fix some possible connection issues
2017-02-05 16:11:31 +01:00
tomkat83
3cd76fa291
Fix screensaver not toggling back after full sync
...
- Fixes #197
2017-02-05 14:10:14 +01:00
tomkat83
571000a5ec
Possible compatibility with Alexa - do report back!
2017-02-03 18:26:49 +01:00
croneter
fb452329cc
Merge pull request #199 from dettwild/develop
...
apply limit to OnDeck if OnDeckTVextended not set
2017-02-03 14:34:21 +01:00
tomkat83
4f2cb62434
Fix OperationalError on update sync
2017-02-03 12:59:36 +01:00
tomkat83
8d82794de6
Less logging
2017-02-03 12:59:36 +01:00
dettwild
93509666d7
apply limit to OnDeck if OnDeckTVextended not set
2017-02-02 20:31:58 +01:00
tomkat83
03fc9a909e
Tell if moving playlist item failed
2017-02-02 19:03:50 +01:00
tomkat83
4d957aa4a3
Better warnings when resetting the Kodi database
...
* @Pavuucek please have a look at the Czech translation file, very
bottom. Missing language tags are marked with `<!-- PLEASE UPDATE -->`
2017-02-02 18:45:31 +01:00
tomkat83
8b9c116f26
Fix removing uniqueid and ratings
2017-02-02 17:09:20 +01:00
tomkat83
dd0339b51c
Remove uniqueid and ratings entries if item deleted
2017-02-02 16:53:50 +01:00
tomkat83
874e9a8fc5
Update playstates and userratings only once
2017-02-02 16:28:25 +01:00
tomkat83
5799612879
Fix Typo
2017-02-02 16:21:37 +01:00
tomkat83
56d5e84f72
Krypton: update userratings on startup&user change
2017-02-02 16:21:01 +01:00
tomkat83
1343edc0d0
Fix userratings for Kodi Krypton
2017-02-02 15:23:54 +01:00
tomkat83
15a39f9e64
Shut down libsync thread correctly
2017-02-02 14:49:14 +01:00
tomkat83
34c9cc35a5
Rename safety margin for background sync
2017-02-02 12:35:08 +01:00
tomkat83
01426de7ca
Increase logging
2017-02-02 12:28:57 +01:00
tomkat83
f2c7578a25
Overhaul of fanart sync download
2017-02-02 12:27:21 +01:00
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
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
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
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
tomkat83
a3d643c643
Use some file settings instead of window settings
...
- In case the user changes something while PKC is running
2016-09-16 17:42:39 +02:00
tomkat83
a2a53cddf6
Fix AttributeError
2016-09-11 18:31:25 +02:00
tomkat83
c9dd44f498
Don't try to get fanart for episodes, seasons
2016-09-11 17:59:00 +02:00
tomkat83
4cfb8c4610
Fix OperationalError for Kodi DB
...
- Fanart sync is too taxing, needs to be done after regular syncs
2016-09-11 17:51:00 +02:00
tomkat83
9c46757b42
Do warn user
2016-09-11 17:31:38 +02:00
tomkat83
61a2457a1d
Less logging
2016-09-11 16:05:05 +02:00
tomkat83
c4de7587bf
Revert "constructor (with Artwork() as art)"
...
This reverts commit 168014c33b
.
2016-09-11 15:49:50 +02:00
tomkat83
168014c33b
constructor (with Artwork() as art)
...
- Way too slow
2016-09-11 15:49:37 +02:00
tomkat83
940e41921f
Don't warn user of OperationalErrors
2016-09-11 13:52:14 +02:00
tomkat83
59882a7be8
Improve + make artwork thread-save
2016-09-11 13:51:53 +02:00
tomkat83
bfc0249720
Optimize import
2016-09-11 12:21:13 +02:00
tomkat83
c3010645bc
New PKC setting to look for missing fanart
2016-09-11 12:15:26 +02:00
tomkat83
7c86270ece
Don't do daily lookup of fanart
2016-09-11 11:47:55 +02:00
tomkat83
5cf77d3292
Revert "Don't look for fanart twice on fresh system"
...
This reverts commit cb4e084305
.
2016-09-11 11:46:42 +02:00
tomkat83
cb4e084305
Don't look for fanart twice on fresh system
2016-09-11 11:32:18 +02:00
tomkat83
7b578603ca
Fix TypeError
2016-09-11 11:29:51 +02:00
tomkat83
751e55b9d5
Get fanart for background sync items
2016-09-11 11:12:25 +02:00
tomkat83
5346426bd7
Revert "Fix processing of complicated PMS messages"
...
This reverts commit fb7905e0b6
.
2016-09-11 10:43:16 +02:00
tomkat83
fb7905e0b6
Fix processing of complicated PMS messages
2016-09-11 10:42:40 +02:00
tomkat83
ddf4e89165
Prevent KeyError
2016-09-11 10:39:40 +02:00
tomkat83
1370bda432
Improve logging
2016-09-11 10:36:28 +02:00
tomkat83
3e261a75e2
Prevent errors if changing setting
2016-09-11 10:20:29 +02:00
tomkat83
bcb3b49507
Quit ProcessFanartThread quicker
2016-09-11 10:14:29 +02:00
tomkat83
2fbdd54324
Speed up sync - download art in the background
2016-09-10 19:49:03 +02:00
tomkat83
24d6514b7f
Code optimization
2016-09-10 11:59:42 +02:00
tomkat83
d310b6c7e8
Optimize import
2016-09-10 11:49:14 +02:00
tomkat83
8070e921ed
Optimize import
2016-09-10 11:48:29 +02:00
tomkat83
497d71cacc
Optimize sleep for librarysync threads
2016-09-10 11:27:27 +02:00
tomkat83
48152af27f
Fix AttributeError
2016-09-08 15:56:44 +02:00
tomkat83
affde8bbcb
Fix getting Bit Depth from Plex metadata
...
- Fixes #98
2016-09-08 15:55:49 +02:00
tomkat83
67ca52a93e
Consider several media streams if transcoding
2016-09-08 15:33:06 +02:00
tomkat83
bf6ba9c48e
Fix subtitle dialog window "burn-in"
2016-09-08 14:51:57 +02:00
tomkat83
f2f68f4532
New setting to use Plex default subtitles
2016-09-08 14:50:49 +02:00
tomkat83
143fd2212d
Inform if subtitle needs to be burnt in
2016-09-08 14:03:46 +02:00
tomkat83
993350fa48
Fix direct play & transcoding subtitles
...
- Finally fixes #66
2016-09-08 13:59:21 +02:00
tomkat83
3757b04e29
Fix playing from widgets without direct paths
2016-09-05 21:29:23 +02:00
tomkat83
0afe265524
Fix TypeError
2016-09-05 20:57:08 +02:00
tomkat83
cf3cc2c3a9
Revert "Don't log plex tokens"
...
This reverts commit b9793a2e26
.
2016-09-05 20:50:42 +02:00
tomkat83
b9793a2e26
Don't log plex tokens
2016-09-05 20:47:42 +02:00
tomkat83
0403e77021
Rename variable
2016-09-04 18:30:06 +02:00
tomkat83
3f55754908
Fix AttributeError
2016-09-04 17:19:00 +02:00
tomkat83
ee6e441628
Fix log error
2016-09-04 17:14:52 +02:00
tomkat83
b2834beb8e
Fix log spelling
2016-09-04 17:13:28 +02:00
tomkat83
1e8d4d4a6e
Fix UnboundLocalError
2016-09-04 17:10:38 +02:00
tomkat83
9dc691f558
Fix log error
2016-09-04 17:00:13 +02:00
tomkat83
339eaaa13a
Fix log errors
2016-09-04 16:57:06 +02:00
tomkat83
dc823c0cae
Fix log error
2016-09-04 16:50:34 +02:00
tomkat83
394b6a240b
Replace addonName references
2016-09-04 16:48:57 +02:00
tomkat83
1230932af4
Cleanup plexsettings.py and change websocket.py log
2016-09-04 16:46:44 +02:00
tomkat83
3f16991ba3
Add missing function
2016-09-04 16:43:39 +02:00
tomkat83
9d704a844f
Cleanup websocket_client.py
2016-09-04 16:41:05 +02:00
tomkat83
5615bad026
Cleanup websocket.py
2016-09-04 16:37:01 +02:00
tomkat83
bc1a9138e6
Merge conflicts videonodes.py
2016-09-04 16:34:25 +02:00
tomkat83
13ca30c742
Cleanup utils.py
2016-09-02 19:31:27 +02:00
tomkat83
3ff15ba772
Cleanup userclient.py
2016-09-02 17:40:36 +02:00
tomkat83
044f1a5550
Don't import read_embyserver
2016-09-02 17:32:03 +02:00
tomkat83
136f0b3157
Cleanup PlexFunctions.py
2016-09-02 17:26:17 +02:00
tomkat83
fed0c0b9e4
Cleanup PlexCompanion
2016-09-02 17:20:19 +02:00
tomkat83
aa48898316
Cleanup PlexAPI.py
2016-09-02 16:53:16 +02:00
tomkat83
97d09af020
Merge conflicts playutils.py
2016-09-01 20:02:00 +02:00
tomkat83
daf40873c0
Clean up playlist.py
2016-09-01 19:53:04 +02:00
tomkat83
26652a48c2
One less import
2016-09-01 19:44:15 +02:00
tomkat83
143ef86978
Merge conflicts player.py
2016-09-01 19:41:55 +02:00
tomkat83
a6263221fd
Merge conflicts playbackutils.py
2016-09-01 19:20:09 +02:00
tomkat83
9c775ad644
Reset musicutils.py to emby
2016-09-01 19:11:57 +02:00
tomkat83
f72e120cf5
Improve logging stability
2016-09-01 19:09:51 +02:00
tomkat83
bb96dda1d4
Merge conflicts librarysync.py
2016-09-01 19:07:28 +02:00
tomkat83
cc583a1530
Merge conflicts kodimonitor.py
2016-08-30 16:57:47 +02:00
tomkat83
d61fa64ed8
Merge conflicts kodidb_functions.py
2016-08-30 16:43:56 +02:00
tomkat83
9def7d3e6a
Cleanup itemtypes.py
2016-08-30 16:40:11 +02:00
tomkat83
44d309e5b7
Cleanup initialsetup.py
2016-08-30 16:13:13 +02:00
tomkat83
fcf8093977
Use utils language strings
2016-08-30 15:55:57 +02:00
tomkat83
62a9e676bf
Merge conflicts image_cache_thread.py
2016-08-30 15:55:13 +02:00
tomkat83
9df7761c8e
Merge conflicts entrypoint.py
2016-08-30 15:51:11 +02:00
tomkat83
11261e1665
Merge conflicts embydb_functions.py
2016-08-29 20:00:16 +02:00
tomkat83
bd2ffd0ea9
Merge conflicts downloadutils.py
2016-08-29 19:57:58 +02:00
tomkat83
ccd3cac33a
Merge conflicts loginconnect.py
2016-08-29 19:48:00 +02:00
tomkat83
b2f38c1a57
Merge conflicts clientinfo.py
2016-08-29 19:45:26 +02:00
tomkat83
ea35c473cb
Merge conflicts artwork.py
2016-08-29 19:39:59 +02:00
tomkat83
29b57d9d71
Adjust logger from emby to plex
2016-08-29 19:31:41 +02:00
tomkat83
6aab9df054
Merge branch 'develop' of https://github.com/MediaBrowser/Emby.Kodi into develop
2016-08-29 18:44:27 +02:00
xnappo
00c0556300
Fix for Krypton
2016-08-28 16:49:01 -05:00
angelblue05
dbec225072
Revert "Reinstate airsbefore default value -1"
...
This reverts commit 1222d4d906
.
2016-08-26 04:49:14 -05:00
angelblue05
1222d4d906
Reinstate airsbefore default value -1
2016-08-26 01:33:46 -05:00
angelblue05
9de0e69896
Fix spacing
...
(testing pylint)
2016-08-21 22:00:35 -05:00
angelblue05
965340db01
Fix logging and exception
2016-08-21 21:57:43 -05:00
angelblue05
8b9b0821c0
Pylint
...
(testing)
2016-08-21 21:51:23 -05:00
angelblue05
8cd4cb903e
Add logging
...
Prevent error in event profiling modules are not part of the standard
python library
2016-08-21 16:28:26 -05:00
tomkat83
7c1eebaa7e
Don't open PKC settings if PMS not found
2016-08-18 17:28:29 +02:00
tomkat83
8119acfa52
Revert "New setting to lower #PMS items to cache"
...
This reverts commit d039840c80
.
2016-08-18 16:54:41 +02:00
angelblue05
00fd67cab3
Fix typo
2016-08-18 01:41:18 -05:00
tomkat83
d039840c80
New setting to lower #PMS items to cache
...
- Should fix #91
2016-08-16 18:17:11 +02:00
tomkat83
60b3335e70
Remove obsolete import
2016-08-13 15:25:30 +02:00
tomkat83
5745f33658
Remove obsolete method
2016-08-13 15:25:08 +02:00
tomkat83
900290c75a
Compatibility with latest Kodi Krypton. Fixes #80
2016-08-12 18:36:41 +02:00
milaq
7c602dd101
fix 'raspberry pi' spelling and capitalisation
...
also use "device" instead of "computer" in german translation to bring
it in line with the english phrasing
2016-08-12 16:47:48 +02:00
croneter
445b97a2ac
Merge pull request #81 from milaq/fullsyncmessage
...
sync: dont force show "full library sync finished"
2016-08-11 22:29:03 +02:00
tomkat83
ff1c7f9db1
Complete redesign of playlist handling
2016-08-11 22:11:00 +02:00
tomkat83
8ef66884df
Fix PKC telling 'playing' instead of 'stopped'
2016-08-10 19:49:18 +02:00
tomkat83
fca249c292
Fix PKC telling wrong timing
2016-08-10 19:36:08 +02:00
tomkat83
5be7d835f8
Correctly tell PMS when we stopped playing
2016-08-10 19:31:54 +02:00
tomkat83
0315773009
Beautify
2016-08-10 19:03:37 +02:00
tomkat83
99e1239acc
Revert "Plex Companion: correctly tell when we stop playing"
...
This reverts commit fc71fcf1fb
.
2016-08-08 21:36:05 +02:00
tomkat83
fc71fcf1fb
Plex Companion: correctly tell when we stop playing
2016-08-08 21:28:41 +02:00
tomkat83
6ea203e9a1
Add annotions
2016-08-08 18:40:35 +02:00
angelblue05
fd395083bd
Fix navigation not waking up screen
2016-08-07 20:37:35 -05:00
angelblue05
51400fd828
Add JSONRPC class
2016-08-07 19:57:11 -05:00
tomkat83
caba11c43f
Improvements to Plex Companion daemon
...
- Still need improvements to tell the PMS and Plex Companion devices
that we STOPPED playing something.
2016-08-07 20:52:49 +02:00
tomkat83
a248580f24
Fix faulty playlist init
2016-08-07 16:31:07 +02:00
tomkat83
a23c357734
Dont set syncThreadNumber in file settings anymore
2016-08-07 16:09:06 +02:00
tomkat83
ae6061f771
Try reducing strain on PMS for metadata
...
- Taken from Plex for Android GET command
2016-08-07 15:50:01 +02:00
tomkat83
a2693b3485
Optimize player and playlist instances
2016-08-07 15:33:36 +02:00
angelblue05
3a859279ec
Fix missing logging
2016-08-07 03:40:18 -05:00
angelblue05
2274565c0d
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2016-08-06 14:16:20 -05:00
im85288
d582888ffb
update video db version for krypton
2016-08-06 16:20:15 +01:00
marcelveldt
01800c0c3b
fix for krypton compatability
2016-08-06 15:43:04 +02:00
angelblue05
f4a80a5ea8
Keep track of fast sync
...
If server plugin is not installed, automatically fall back to client
time.
2016-08-05 23:21:32 -05:00
angelblue05
46121656f8
Fix fail detection for tvshows
...
Due to missing end slash - for xbmcfvs.exists()
2016-08-03 18:35:55 -05:00
milaq
ca1a101975
sync: dont force show "full library sync finished"
...
if the user deselects "show library sync progress" positive sync messages shouldnt be shown at all
2016-08-01 16:26:26 +02:00
angelblue05
7d2ce335e8
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2016-07-31 15:30:36 -05:00
xnappo
133773d5b6
Krypton prep
2016-07-31 12:15:38 -05:00
angelblue05
54db63c378
Adjust logging for itemtypes not found
2016-07-30 19:19:07 -05:00
angelblue05
95066b0f77
Add German translation
...
Fix escape \' displaying
2016-07-30 16:17:35 -05:00
angelblue05
9344141a2c
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2016-07-29 04:12:35 -05:00
angelblue05
dc15d4d832
2.2.19 ( #52 )
...
Fix typo in logging
2016-07-29 04:12:30 -05:00
angelblue05
48f20295aa
Catch keyerror
...
If advancedsettings.xml modifies the webserver, it seems to cause errors
in jsonrpc and will return invalid params. Bug in Kodi?
2016-07-25 21:58:49 -05:00
angelblue05
345090e933
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2016-07-25 17:40:04 -05:00
angelblue05
541afbb989
2.2.18 ( #51 )
...
Fix logging error (#51 )
2016-07-25 17:36:43 -05:00
angelblue05
ea5ac3748a
Log exception before dialog
...
Using logging module, it won't prevent the dialog from displaying.
2016-07-25 03:08:45 -05:00
angelblue05
e197208d3e
2.2.17 ( #50 )
...
* Add temporary setting to disable external subs for direct stream
* Fix crash when sleeping/waking up device
* Use the logging module. Moved logging to it's own file.
* Version bump 2.2.17
* Update README.md
2016-07-24 22:39:40 -05:00
angelblue05
5895831ba8
Clean up logging
...
Moved incremental log line to display only if there's actual items to
process.
2016-07-24 18:46:24 -05:00
angelblue05
76dfa1286c
Update logging
...
Use the logging module. Moved logging to it's own file.
2016-07-24 03:59:48 -05:00
tomkat83
ee802428f9
PKC player does not need another player instance
2016-07-23 18:16:44 +02:00
tomkat83
eff7d7b68b
Use 1 PKC xbmc.player instance
2016-07-23 18:06:47 +02:00
tomkat83
d6c14d0aa4
Instantiate xbmc player only once for playlist
2016-07-23 17:38:45 +02:00
tomkat83
e712b6309e
Fix companion playback not starting from playlist
2016-07-23 17:32:57 +02:00
angelblue05
380fcdfc35
Fix unicode error
2016-07-22 18:34:26 -05:00
angelblue05
793bd66554
Fix crash when sleeping/waking up device
2016-07-22 17:10:35 -05:00
angelblue05
e97a3a616d
Add temporary setting to disable external subs
...
For direct stream
2016-07-22 11:54:53 -05:00
tomkat83
3407d47f9c
Reduce boilerplate
2016-07-22 16:55:57 +02:00
tomkat83
bc7be04fc2
Reduce boilerplate
2016-07-22 16:51:44 +02:00
tomkat83
603e4e7867
Let wrapper return
2016-07-22 16:48:48 +02:00
tomkat83
898f2e6379
Decorator CatchExceptions
2016-07-22 16:41:02 +02:00
tomkat83
5eac547633
Call xbmc __init__ methods
2016-07-22 15:54:03 +02:00
tomkat83
16dbc726f1
Improve logging
2016-07-22 15:42:37 +02:00
tomkat83
ab47ac958a
Don't try too long to get window value
2016-07-22 15:33:27 +02:00
tomkat83
dd1f50efe6
Improve logging
2016-07-22 15:17:38 +02:00
tomkat83
a26526c146
Move Companion processing to companion thread
2016-07-22 15:04:42 +02:00
tomkat83
8a58c885e9
Redesign playlists
2016-07-20 18:36:31 +02:00
tomkat83
5d79bcf1c2
Prettify
2016-07-20 09:00:47 +02:00
tomkat83
1dc576965a
Import traceback only on exception
2016-07-20 08:24:36 +02:00
tomkat83
92cf5bd517
Prettify
2016-07-20 08:23:25 +02:00
tomkat83
9496785f5d
Fix AttributeError with Plex Companion MyHandler
2016-07-20 07:59:53 +02:00
tomkat83
ed8bf235c7
Remove logging
2016-07-19 18:30:11 +02:00
tomkat83
1f9ac4f133
Plex Companion: Compile regex only once
2016-07-19 18:23:52 +02:00
tomkat83
dec4b077d5
Code cleanup
2016-07-19 18:22:34 +02:00
tomkat83
d8a7218625
Beautify code
2016-07-19 15:08:28 +02:00
angelblue05
f89d5c96f6
Transform database locked into a settings
...
Temporary settings, because it slows down the process since it's
auto-committing. Not everyone has database locked crashes. Permanent fix
is being worked on in the database branch.
2016-07-19 02:08:35 -05:00
angelblue05
d5baf0ceed
Fix typo
2016-07-18 17:56:39 -05:00
angelblue05
cfb94b7bd0
Temp fix for database being locked
2016-07-18 15:47:42 -05:00
angelblue05
02ab4abe51
Fix not saving watched status
...
If delete after watched was enabled.
2016-07-18 14:42:33 -05:00
angelblue05
77b99210c1
Add error mode to logging
2016-07-17 18:27:54 -05:00
tomkat83
8a2fdec248
Don't let PMS crash: download one item at a time
...
- PMS can currently not handle concurrent connections asking for
metadata (several PKC threads)
- Might also fix #75
2016-07-17 13:57:50 +02:00
angelblue05
da7685b03f
Try to fix import strptime bug
...
Clean up of downloadutils and utils.
2016-07-16 10:02:50 -05:00
angelblue05
06d71cf00d
Fix typo
2016-07-15 19:17:32 -05:00
angelblue05
8b83ae8a00
Clean up downloadUtils
2016-07-15 19:02:30 -05:00
angelblue05
213f42f4a5
Update downloadUtils requests
...
Code reduction, fix connections not being released.
2016-07-15 18:01:59 -05:00
tomkat83
dbd5acf714
Fix TypeError for playlists
...
- Fixes #74
2016-07-15 19:11:17 +02:00
tomkat83
dd70a79423
Fix PKC not releasing connections to the PMS. Should fix memory, connection and PMS issues. Fixes #75 , fixes #64
2016-07-15 19:01:06 +02:00
tomkat83
1eb90cc5e6
Hotfix: Fix ValueError for playing certain files
2016-07-13 07:24:35 +02:00
tomkat83
f0400f0119
Dont let PMS force scan the media
...
- Guess the 'checkFiles=1' parameter for requesting a PMS item's
metadata forced a scan
- Maybe also fixes #73
2016-07-12 21:36:30 +02:00
tomkat83
3e84f34acc
Higher connection timeout
...
- Fixes #73
2016-07-12 21:30:39 +02:00
tomkat83
04e31986b5
Force pick first media stream for direct path sync
...
- Otherwise user would need to choose media stream for every item with
several streams - cumbersome for large libraries with many such items
2016-07-12 20:27:59 +02:00
tomkat83
a0b1adbf70
Enable stream/media selection for direct play
2016-07-12 20:16:45 +02:00
tomkat83
ba191eafc7
Improve code stability
...
- NEVER use e.g. {} or [] as standard function arguments
2016-07-12 20:03:10 +02:00
tomkat83
90e67931ff
Improve detection of need to transcode
...
- Fixes #70
2016-07-12 19:57:04 +02:00
tomkat83
c0a39c5289
Code cleanup
2016-07-12 19:14:46 +02:00
angelblue05
15ac7fd0ca
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2016-07-04 14:22:24 -05:00
shaun
8f0343de2e
dont auto fall back to http streaming if not selected
...
Dont fall back to http streaming if direct file playback is expected.
2016-07-04 20:34:58 +10:00
angelblue05
0fee1975d4
Clean up dialog
2016-07-03 22:45:20 -05:00
angelblue05
272a955d4d
Remove useless control in dialog
2016-07-03 22:26:10 -05:00
angelblue05
efdafa2831
Remove unused import
2016-07-03 22:25:09 -05:00
angelblue05
b8ca6d3119
Emby connect - login dialog
2016-07-03 22:24:39 -05:00
angelblue05
5aca32c341
Prep for emby connect
...
xml, image, qrcode
2016-07-03 04:32:06 -05:00
angelblue05
6c8a95fabb
Fix errors
2016-07-02 23:41:42 -05:00
shaun
a911249840
sync progress changes
...
add (if item count greater) for sync progress dialog
always show progress for full sync
2016-07-03 13:26:11 +10:00
kravone
df2600f579
Revert "Faster XML processing and lower memory"
2016-06-29 21:15:26 +02:00
SpootDev
9a5bd10d40
celementtree
2016-06-28 18:28:01 -05:00
angelblue05
9a98e2995e
Remove profiling
2016-06-28 17:24:36 -05:00
angelblue05
c0f0a1978f
Preparation for centralized queries
...
To handle exceptions, etc.
2016-06-28 17:24:12 -05:00
angelblue05
269205fe97
Remove profiling
2016-06-28 01:09:36 -05:00
angelblue05
6837144ba7
Revert changes - static=true
2016-06-27 23:55:14 -05:00
tomkat83
8d9ac66cd7
Preparation for companion playlist skipping
...
- Unicode issues from JSON responses
2016-06-26 18:22:26 +02:00
tomkat83
fd1a44f15f
Plex Companion: fix skipping forward and backward
...
- Fixes #45
2016-06-26 17:06:00 +02:00
tomkat83
40529938ca
Cleanup playlist.py
2016-06-26 16:10:32 +02:00
tomkat83
3fb6443b2b
Let user always play trailer in highest quality
2016-06-26 12:32:19 +02:00
tomkat83
c8311e465a
Fix PKC playstate updates for widgets on Krypton
...
- Fixes #67
2016-06-26 11:53:26 +02:00
tomkat83
aa60baeb97
Let the user pick between several streams
...
- And don't just pick the first one
2016-06-25 17:21:47 +02:00
tomkat83
cfbc7f770c
Use playing item filename and path to find ID
...
- Fixes #67
- Everything else doesn 't work
2016-06-25 16:02:40 +02:00
tomkat83
be63414893
Be smarter when trying to tell what Kodi plays
...
- Fixes #67
2016-06-25 12:25:01 +02:00
tomkat83
e70ce89c34
Fix matching by filename
2016-06-25 11:27:38 +02:00
tomkat83
5210e7c442
Be smarter when trying to tell what Kodi plays
...
- Fixes #67
- Episodes may still throw a -1 for the id - useless!
2016-06-24 21:28:30 +02:00
angelblue05
a84ba22908
Fix for music
2016-06-23 19:52:54 -05:00
angelblue05
2794789f05
Fix for channel not changing
...
To be reviewed.
2016-06-23 18:50:34 -05:00
angelblue05
da8bf3670d
Fix conflicting import
2016-06-22 14:29:53 -05:00
angelblue05
b2d3b702d1
Revert incorrect modification
...
Only use is for None, nothing else. "is" is not "=="
2016-06-22 14:05:53 -05:00
angelblue05
03a1557eaf
Fix typo
2016-06-21 15:26:42 -05:00
angelblue05
8423342371
Fix active listing
2016-06-20 21:23:36 -05:00
angelblue05
cb18f17dbe
Fix typo
2016-06-20 21:21:24 -05:00
angelblue05
3e1aa94c78
Strings - translation
2016-06-20 20:57:29 -05:00
angelblue05
924c3a4a05
Fix arguments
2016-06-20 14:04:10 -05:00
angelblue05
48fbce2211
Fix typo
2016-06-20 13:59:55 -05:00
angelblue05
49157bbbea
Fix logging typo
2016-06-20 13:58:17 -05:00
angelblue05
f47ead1ddc
Fix logging
2016-06-19 23:09:07 -05:00
angelblue05
0efc37f646
String & remove like/dislike
...
To review: music rating since server does not have like/dislike anymore
2016-06-19 20:32:09 -05:00
angelblue05
313899c8e7
Fix typo
2016-06-19 20:17:10 -05:00
angelblue05
3c60eddf55
Add refresh item to context menu
2016-06-19 19:24:42 -05:00
angelblue05
f90349d6a8
Fix typo
2016-06-19 17:23:46 -05:00
angelblue05
a8fd73740c
Strings
2016-06-19 16:24:34 -05:00
angelblue05
aa3a6fa17f
Centralize logging
2016-06-19 13:30:54 -05:00
tomkat83
4ebde83896
Fix Watch Later TypeError
2016-06-19 18:53:45 +02:00
tomkat83
2129257f88
Fix plex.tv Watch Later ignored resume points
2016-06-19 18:30:21 +02:00
tomkat83
82c9d43fd9
Prettify
2016-06-19 17:20:45 +02:00
tomkat83
70ade15e8d
Fixes to getExtraFanart. If not using PKC repository, you will have to manually update plugin.video.plexkodiconnect.movies and plugin.video.plexkodiconnect.tvshows. Fixes #62
2016-06-19 17:05:01 +02:00
tomkat83
133741b567
Allow direct paths for Plex photos
2016-06-19 16:12:56 +02:00
tomkat83
8ebb867f78
Use language codes ('spa'), not verbose 'español'. You will have to reset your Kodi DB manually to profit from this change. Fixes #61
2016-06-19 15:56:51 +02:00
tomkat83
792d4debeb
Fix fanart.tv fallback to English not working
...
- Fixes #63
2016-06-19 15:34:27 +02:00
tomkat83
54c32adad6
Compatibility with latest Kodi Krypton
...
- Fixes #56
2016-06-19 15:01:25 +02:00
tomkat83
c13343c62f
Plex Photos! Choose "Refresh Plex playlists/nodes" to use the new feature
2016-06-19 14:58:42 +02:00
angelblue05
354877d31c
Centralized Logging
2016-06-18 19:48:19 -05:00
angelblue05
14b1339179
Fix typos
2016-06-18 13:56:56 -05:00
angelblue05
55998c796f
Remove old log method
2016-06-17 22:05:18 -05:00
angelblue05
5658801f72
Centralized logging
2016-06-17 22:03:28 -05:00
angelblue05
02e7c2946b
Centralize path validation
...
and logging
2016-06-17 16:42:48 -05:00
angelblue05
1dac1c4f4b
Fix typo
2016-06-17 14:52:53 -05:00
angelblue05
9314c4a363
Centralized Logging
2016-06-16 16:24:07 -05:00
angelblue05
e7bdfacd47
Empty show
...
Prevent crash in the event RecursiveItemCount is missing. Sounds like a
server bug if it's missing from the api
2016-06-16 14:13:38 -05:00
angelblue05
b9d40d91a6
Fix SeriesName missing
...
Prevent crash from happening.
2016-06-16 00:49:54 -05:00
angelblue05
7a0f69e014
Centralized logging
2016-06-16 00:43:36 -05:00
tomkat83
6689b265f2
Plex photos
2016-06-12 17:22:22 +02:00
tomkat83
9a5533337f
Warning on first run that Kodi will restart
2016-06-12 12:56:06 +02:00
tomkat83
6d42ae7e32
Fix not download collection artwork
2016-06-08 20:34:49 +02:00
tomkat83
3e3c5ab018
Dedicated settings to download set fanart
2016-06-08 20:03:30 +02:00
tomkat83
faf95f671c
Reduce movie set/collection boilerplate
...
- To increase code maintainability
2016-06-08 19:50:24 +02:00
im85288
9dbcb5e6ff
set artwork
2016-06-06 21:10:58 +01:00
tomkat83
386f4ca5f0
Get rid of obsolete setting markPlayed
...
- Instead, always mark played at 90%
2016-06-05 18:55:12 +02:00
tomkat83
fcf6948735
Improvements to resume points
...
- Plex sometimes tells time in milliseconds instead of seconds
- Fixes #49
2016-06-05 18:39:26 +02:00
tomkat83
7402d076b0
Revert "Fix PKC resume points set way too high"
...
This reverts commit e9f7c49587
.
2016-06-05 17:57:30 +02:00
tomkat83
5d8b423bd6
Groundworks for Plex photos
2016-06-04 18:48:22 +02:00
tomkat83
92b60ae3ac
Fix filename change recognition for episodes
...
- Fixes #26
2016-06-04 16:13:47 +02:00
tomkat83
e9f7c49587
Fix PKC resume points set way too high
...
- Fixes #49
2016-06-04 16:04:25 +02:00
tomkat83
523a2eaf61
Fix filename changes not being recognized
...
- Fixes #26 , finally!
2016-06-04 14:19:55 +02:00
tomkat83
aaa6d9c4d5
Ask on first run if we have a low powered device
...
And then reduce the thread number accordingly
2016-06-02 21:33:26 +02:00
tomkat83
531957bd14
Cleanup plexgdm
2016-06-02 21:17:12 +02:00
tomkat83
7199561573
Only tell PMS we're connected to what we're playing
...
- Fixes #43
2016-06-02 21:12:56 +02:00
tomkat83
9901935b83
Background sync: don't try to process infinitely
2016-05-31 19:30:12 +02:00
tomkat83
5a11cd70d1
Improve player.py stability
2016-05-31 19:13:29 +02:00
tomkat83
a7832b5ceb
Fix crash when Kodi not playing as expected
...
Fixes #41
2016-05-31 19:02:11 +02:00
tomkat83
a92146abc2
Remove emby references
2016-05-31 08:06:42 +02:00
tomkat83
5544dfd2fe
Fix DTS-HD audio is not correctly identified
...
- Fixes #42
- You need to reset the Kodi DB to take advantage
2016-05-29 20:03:31 +02:00
tomkat83
6b329fbb02
Smarter, faster way to tell PMS went offline
2016-05-29 18:51:09 +02:00
tomkat83
65ac1b3f00
Fix websockets still checking SSL certificates
2016-05-29 17:56:55 +02:00
tomkat83
eea101872b
Attempt to hide password on entering it
2016-05-29 17:45:19 +02:00
tomkat83
2bab8d9357
Disable SSL check if entering PMS manually
2016-05-29 17:40:15 +02:00
tomkat83
153717da68
Always log out user on user or PMS switch
2016-05-29 17:36:07 +02:00
tomkat83
0544452c32
Fixes to switching PMS
2016-05-29 17:17:33 +02:00
tomkat83
42f24e1688
Correctly update views on server switch
2016-05-29 16:58:54 +02:00
tomkat83
e80f38c690
Initialize Kodi DBs only once
2016-05-29 16:52:38 +02:00
tomkat83
473f6fe58a
More rewiring of connections
2016-05-29 16:52:00 +02:00
tomkat83
72910d79e9
Dedicated methods within initialsetup
2016-05-24 20:43:52 +02:00
tomkat83
ae34b63de9
Re-wired connection manager
2016-05-24 19:00:39 +02:00
tomkat83
67755d6a23
Improvements to PMS connection checks
2016-05-18 20:10:20 +02:00
tomkat83
04bcaafdb4
Fix direct path replacing possibly several times
...
- Fixes #37
2016-05-17 20:15:46 +02:00
tomkat83
c47fc7f25f
Fix PKC not telling Kodi timing
...
- Episodes should now correctly be marked as watched
2016-05-16 21:07:17 +02:00
tomkat83
d666867219
Cleanup entrypoint
2016-05-16 19:31:28 +02:00
tomkat83
560835fd82
Move directpaths out of loop
2016-05-16 19:27:43 +02:00
croneter
d8e9ca9ffe
Merge pull request #36 from mattsch/add_sets
...
Quick hack to get sets working
2016-05-16 18:22:24 +02:00
tomkat83
553dff3bbb
Fix playback report and marking item played
...
- Fixes #34
2016-05-16 18:19:05 +02:00
Matthew Schick
7ac7b1db31
Quick hack to get sets working
2016-05-16 11:56:48 -04:00
tomkat83
74e87892d0
Fix player runtime and current position
2016-05-16 16:10:48 +02:00
tomkat83
ca43b19357
Revert "Fix player runtime and current position"
...
This reverts commit f9b0e69237
.
2016-05-16 16:09:21 +02:00
tomkat83
f9b0e69237
Fix player runtime and current position
2016-05-16 15:59:27 +02:00
tomkat83
51548f89cf
New setting: show watched movies in recently added
2016-05-15 18:26:07 +02:00
tomkat83
7b0d810202
New setting: Force transcode HEVC
2016-05-15 18:01:13 +02:00
tomkat83
422fc0dfc9
New setting: don't show already watched episodes
2016-05-15 17:24:44 +02:00
tomkat83
9786aab050
Fix UnicodeEncodeError for file paths
...
- Fixes #35
2016-05-15 16:33:53 +02:00
tomkat83
2fe457e496
Correct VideoCodec help string
2016-05-15 16:30:09 +02:00
tomkat83
cbf3638076
Merge conflicts: Force transcode 10bit videos
2016-05-15 16:25:38 +02:00
tomkat83
0bd4a79ca3
Merge conflicts: sync after screensaver deactivated
2016-05-15 16:02:19 +02:00
tomkat83
abcb438f21
Merge remote-tracking branch 'MediaBrowser/master' into develop
2016-05-15 12:33:14 +02:00
tomkat83
5bf1a5a8e0
Fix new episodes not being detected
...
- Set standard safety margin to 60 seconds. Otherwise, you might get
many screen refreshes
- Fixes #23
2016-05-12 21:46:50 +02:00
tomkat83
04c415604d
Use direct file paths for on deck shows if enabled
...
- Fixes #30
2016-05-12 20:43:53 +02:00
angelblue05
417b8d3b22
Merge pull request #39 from NickSC/master
2016-05-11 01:06:28 -05:00
Nick
ffb2b11d7c
screensaver sync delay increased to 5 seconds
2016-05-11 15:35:35 +10:00
tomkat83
5e6e3dd92d
Use API when creating playlist listitem
2016-05-08 13:17:04 +02:00
tomkat83
a88a8a017a
Never try to transcode Plex Music
2016-05-08 12:33:13 +02:00
tomkat83
387f63c4b9
Plex Companion: fix for Windows Phone Plex
...
- Fixes #18
2016-05-08 12:18:20 +02:00
tomkat83
8deba42ab8
Also show already watched recently added episodes
2016-05-07 22:21:28 +02:00
tomkat83
d01a8aafa1
Fix encoding and decoding
2016-05-07 22:17:12 +02:00
tomkat83
4575f1e482
Increase logging for background updates
...
- You will need to enable debug logging in the PKC settings
2016-05-07 17:42:19 +02:00
tomkat83
df38786638
Account for string.encode() not allowing args
...
- E.g. Android TV
2016-05-07 13:15:02 +02:00
tomkat83
8848d5167d
Less logging
2016-05-07 11:58:37 +02:00
tomkat83
765fb2ddf2
Fix TypeError: encode() takes no keyword arguments
...
E.g. Android TV do not accept arguments for string.encode()
2016-05-07 11:55:35 +02:00
A69Tor
04377c5a9c
Update playutils.py
...
Condense videoprofiles check
2016-05-06 19:16:07 -04:00
A69Tor
055366753a
Update playutils.py
...
Remove debug log line
2016-05-06 18:57:19 -04:00
A69Tor
9d50c4f745
Update playutils.py
...
Modified Hi10P to get streams and parse profiles
2016-05-06 18:55:14 -04:00
A69Tor
7bf0912a11
Update playutils.py
...
debug
2016-05-06 16:46:30 -04:00
A69Tor
d99e7a1290
Update playutils.py
2016-05-06 16:41:37 -04:00
A69Tor
6cb056c987
Update playutils.py
...
Add in videoprofile check and force transcode for Hi10P
2016-05-06 16:24:23 -04:00
tomkat83
47409e1535
Fix UnicodeDecodeError with file paths on sync
...
- Plex sometimes seems to encode in latin1 instead of utf-8. What the
heck?!?
- Fixes #20
2016-05-06 22:16:56 +02:00
tomkat83
496aa2593a
Remove Emby reference from logs
...
- Fixes #24
2016-05-06 21:09:35 +02:00
tomkat83
d8da6d0e08
Fix TypeError when trying to transcode
...
- Fixes #19
2016-05-01 10:34:54 +02:00
tomkat83
68ced3a4a1
Fix TypeError during Plex user switch
...
- Fixes #19
2016-05-01 10:28:08 +02:00
tomkat83
674f670dee
Move API keys to settings file
2016-04-29 13:32:25 +02:00
tomkat83
8d5f71dd6a
Cache everything, not only fanart, poster, thumb
2016-04-29 12:45:40 +02:00
tomkat83
d879a9d23c
Additional artwork download from FanartTV!
2016-04-29 12:44:56 +02:00
Nick
a07f545d5a
added option to perform sync when screensaver is deactivated
2016-04-29 15:48:09 +10:00
tomkat83
0d96f6bf4f
New setting: Show+SxxExx to Recently Added
...
- Fixes #12
2016-04-27 10:37:24 +02:00
tomkat83
3855bb16ed
Fix UnicodeEncodeError, fixes #8
2016-04-26 19:19:52 +02:00
tomkat83
d557712896
Companion reports playstate. Fixes #6 , fixes #7
2016-04-26 17:21:09 +02:00
tomkat83
8b04f6175d
Revert "Use Plex Companion for Playstate Reporting"
...
This reverts commit f22369a14a
.
2016-04-26 17:10:11 +02:00
tomkat83
f22369a14a
Use Plex Companion for Playstate Reporting
...
- Should fix Unknown answer from PMS
https://192.168.178.5:32400/:/timeline?SubtitleStreamIndex=&AudioStreamIndex=1&ratingKey=4338&state=playing&time=424000&duration=8286000000
with status code 400. Message:
NOTICE: PlexKodiConnect DownloadUtils -> Bad Request
- Merge fixes to player.py
2016-04-26 17:02:29 +02:00
tomkat83
b820953c52
Fix some merge conflicts
2016-04-26 14:41:58 +02:00
tomkat83
c7b52a1fa4
Merge conflicts: download action_type
2016-04-26 14:02:19 +02:00
tomkat83
450437b812
Merge remote-tracking branch 'MediaBrowser/master' into develop
2016-04-26 13:53:19 +02:00
angelblue05
3dbdab79a9
Revert "Fix missing playurl/pathid references"
...
This reverts commit 601b36e9b3
.
2016-04-26 03:51:24 -05:00
angelblue05
601b36e9b3
Fix missing playurl/pathid references
...
For movies and episodes
2016-04-25 20:56:42 -05:00
angelblue05
0007741bd3
Fix VoteCount
2016-04-23 19:14:21 -05:00
angelblue05
2e9d9eab65
Fix VoteCount
2016-04-23 19:11:29 -05:00
Piotr Smolinski
ff627dd6e0
Added support for the full URL and pathid in columns c18 and c19 of episodes table.
...
One may register TVSeries directories as separate sources for direct browsing.
In such case no metadata is presented as the file browser matches the files against
empty fields c18 and c19.
Tested with Isengard, direct paths.
2016-04-23 11:48:21 +02:00
Piotr Smolinski
51d9264271
Added support for the full URL and pathid in columns c22 and c23 of movie table.
...
One may register movie directories as separate sources for direct browsing, like
I did. In such case no metadata is presented as the file browser matches the
files against empty fields c22 and c23.
Tested with Isengard, direct paths.
2016-04-23 11:35:37 +02:00
tomkat83
07ed22e44a
Link parent paths in Kodi video DB
...
- Should speed up On Deck video node
2016-04-22 14:46:08 +02:00
tomkat83
97c261bc4d
Tune advancedsettings.xml
...
- Only set backgroundupdate to false for music library, if music is
enabled
2016-04-22 12:34:35 +02:00
tomkat83
0c880cd883
Fix TV show on deck view
...
- Fix TV show poster for episodes
- Added banner to setArtwork
- Cleaned up getAllArtwork
2016-04-22 10:26:40 +02:00
tomkat83
119ad79f0f
Improve stability of tv show sync
2016-04-20 11:09:01 +02:00
tomkat83
34c40f1f28
Fix Episode Info not popping up
2016-04-20 08:46:51 +02:00
tomkat83
f1015ab847
Fix Movie Info showing instead of Episode Info
2016-04-19 16:38:53 +02:00
tomkat83
fbb6ca790c
Revert "Include Plex resume data in CreateListItem"
...
This reverts commit 05d3242f22
.
2016-04-19 15:20:11 +02:00
tomkat83
8bb0b240e2
Revert "Include Plex resume data in CreateListItem"
...
This reverts commit 6f5f73ae86
.
2016-04-19 15:20:07 +02:00
tomkat83
133482001c
Revert "Fixes to listitem setup"
...
This reverts commit f2dd8617f3
.
2016-04-19 15:20:03 +02:00
tomkat83
f2dd8617f3
Fixes to listitem setup
2016-04-19 11:18:55 +02:00
tomkat83
6f5f73ae86
Include Plex resume data in CreateListItem
2016-04-18 12:30:34 +02:00
tomkat83
05d3242f22
Include Plex resume data in CreateListItem
2016-04-18 12:30:00 +02:00
tomkat83
0d79ec76b1
Enable playstate update if Kodi does not give DB id
2016-04-18 12:09:01 +02:00
tomkat83
9dd592b863
Deactivate 3rd party fanart lookup for now
2016-04-18 11:34:01 +02:00
tomkat83
49a5f274e6
New settings option: default Plex On Deck TV Shows
2016-04-18 11:23:05 +02:00
tomkat83
2d2dd0fa12
Fix KeyError: 'librarySectionID' during syncPMStime
2016-04-17 13:44:45 +02:00
tomkat83
93cd265e8f
Groundworks for plex.tv Watch Later
2016-04-17 13:36:41 +02:00
tomkat83
8413f5c3af
Moved contributing guidelines, silly me
2016-04-16 11:11:30 +02:00
tomkat83
a027ef622e
Add some contributing guidelines
2016-04-16 11:09:49 +02:00
tomkat83
8f69f4dfbf
Merge remote-tracking branch 'im8528/master' into develop
2016-04-16 11:01:17 +02:00
SpootDev
accc452f4c
Invalid path
2016-04-15 15:01:12 -05:00
im85288
9c2996af1e
retrieve other artwork from fanarttv such as discart,banner etc
2016-04-15 20:44:54 +01:00
angelblue05
881c693c39
Replace incorrect addon reference
2016-04-15 14:15:13 -05:00
im85288
cbe3a28660
retrieve banner art when available
2016-04-15 12:22:56 +01:00
im85288
f3d530f718
change from emby to plex user image
2016-04-15 10:57:49 +01:00
tomkat83
c5b76d1a38
New setting: I own this PMS
...
- Needed if someone enters PMS IP manually, would not catch this info
otherwise
- Background: needed to choose correct background sync procedure
2016-04-15 09:44:42 +02:00
tomkat83
36884c0537
Fix Plex Date added missing
2016-04-15 09:32:04 +02:00
angelblue05
aed9eee6a5
Fix ISO transcode
...
I don't know that iso transcode is possible, but at least it won't crash
due to emby not probing iso files anymore (no more media info detected)
2016-04-14 17:38:11 -05:00
angelblue05
308ac1a9d6
Update artwork.py
2016-04-13 19:37:02 -05:00
tomkat83
bf681f53c3
Fix smart playlists for Plex collections
2016-04-13 17:11:25 +02:00
tomkat83
f34900ae6e
Sync Music playstates on full sync
2016-04-13 16:51:53 +02:00
tomkat83
722dce78d2
More logging
2016-04-13 16:26:09 +02:00
tomkat83
0b1a53e839
More logging
2016-04-13 16:19:24 +02:00
tomkat83
a089dc6e04
Correctly stop transcoding
2016-04-13 16:14:55 +02:00
tomkat83
e5e70f769e
Fix Encoding
2016-04-13 15:53:10 +02:00
tomkat83
a594daeb68
Assume its us playing if the PMS is not ours
2016-04-13 15:27:02 +02:00
tomkat83
7f9542c531
More logging
2016-04-13 14:42:04 +02:00
tomkat83
8794f221ff
User auth resets download error counts
2016-04-13 14:34:58 +02:00
tomkat83
7bc3ee7fdf
Fix TypeError
2016-04-13 14:20:28 +02:00
tomkat83
61fb7694aa
Fix Kodi checking for existing files and dirs
2016-04-13 14:15:31 +02:00
tomkat83
7830f49936
Obsolete method
2016-04-13 13:06:06 +02:00
tomkat83
170b6c5066
Use window variables for download error count
...
When playing an item, another plugin instance is created. It is
impossible to share data otherwise
2016-04-13 13:04:23 +02:00
angelblue05
38933b9b2d
Update artwork.py if webserver is disabled.
2016-04-13 06:00:50 -05:00
tomkat83
98f52d3b5e
ProcessMetadata thread: sleep now unnecessary
2016-04-13 12:23:36 +02:00
tomkat83
dc96dc533a
Only declare unauthorized after 3 fails in a row
2016-04-13 12:14:16 +02:00
tomkat83
47938cf5c2
DoUtils: use authenticate instead of dontSignout
2016-04-13 10:48:45 +02:00
tomkat83
9d06225228
Centralize Direct Play and Direct Paths
2016-04-12 17:18:32 +02:00
Ian Mclaughlin
d95d854f70
Update utils.py
...
Add initial krypton support
2016-04-12 16:00:22 +01:00
tomkat83
e4aefaaa5e
Remove Container.Refresh
...
- This is a skin issue, not a PKC issue
2016-04-12 09:05:52 +02:00
tomkat83
5aa337d03c
Fix encoding
2016-04-12 08:54:10 +02:00
tomkat83
ed83a7009f
Fix encoding
2016-04-12 08:52:13 +02:00
tomkat83
f094ca4299
Small playback fixes
2016-04-12 08:40:12 +02:00
tomkat83
543cec93b4
Don't normalize moviename for playback report
...
- Instead, use string (not unicode) for window
2016-04-11 19:18:55 +02:00
tomkat83
4ca321faea
Always direct play items, if possible
2016-04-11 18:57:20 +02:00
tomkat83
b9016a0acd
Companion: handle timeout while connecting
2016-04-11 18:00:04 +02:00
tomkat83
c20c701abd
Fix endless trailer loop
2016-04-11 17:50:56 +02:00
tomkat83
7f956c6f18
Fix playback report for trailers seeming like movie
2016-04-11 15:11:50 +02:00
tomkat83
f368f02abf
Fix TypeError when marking item watched
2016-04-11 15:01:25 +02:00
tomkat83
48edee8656
Less logging
2016-04-11 14:57:32 +02:00
tomkat83
cccd545b4c
Fix IndexError when trying to match movie title
2016-04-11 14:51:35 +02:00
tomkat83
8be55d898c
Cleanup Plex Companion
2016-04-11 12:34:38 +02:00
tomkat83
18ff3715ac
Revert "Revert "Cleanup Plex Companion""
...
This reverts commit 5788f3c7ea
.
2016-04-11 12:34:24 +02:00
tomkat83
5788f3c7ea
Revert "Cleanup Plex Companion"
...
This reverts commit dd51766d3d
.
2016-04-11 12:34:06 +02:00
tomkat83
dd51766d3d
Cleanup Plex Companion
2016-04-11 12:34:00 +02:00
tomkat83
19eae61737
Fix currently playing showing old Plex items
...
- E.g. when watching Kodi TV/PVR
2016-04-11 10:41:13 +02:00
tomkat83
f0ba60c781
Fix KeyError if Kodi webserver disabled
2016-04-11 09:51:05 +02:00
tomkat83
27608114f5
Plex Collections available under Movies-Collections
...
- Tags are used (one movie may have several) instead of Kodi sets (only
1 set per movie possible)
2016-04-11 09:49:02 +02:00
tomkat83
a420bbc382
Rename Movie Sets to Movie Collections
2016-04-11 09:27:26 +02:00
tomkat83
adbeb4d48f
Shutdown lib sync threads correctly on user switch
2016-04-11 09:21:40 +02:00
tomkat83
89fe2565d2
Try to shutdown more cleanly
2016-04-09 16:57:45 +02:00
tomkat83
e53afe3fb9
Backwards compatibility py2.6: replace etree iter
...
- Make python 2.6 compatible: replace iter() with findall()
2016-04-09 16:26:08 +02:00
tomkat83
e0642c96cb
More logging for trying to access Plex directories
2016-04-09 15:51:30 +02:00
tomkat83
ffa8e10099
Redirect /Extras calls by e.g. Video Extras plugin
...
- Could start playing a movie, e.g. when starting up Kodi
2016-04-09 15:46:51 +02:00
tomkat83
a3d964dff4
Music: Enter Zero, not Null in DB
2016-04-08 14:48:47 +02:00
tomkat83
9528577aab
Delete music items in full sync if not found on PMS
2016-04-08 14:11:50 +02:00
tomkat83
24bb637606
Don't show Kodi popup when scanning Music
2016-04-08 13:57:55 +02:00
tomkat83
bbfd612137
Refresh view when playback stopped
2016-04-08 13:51:29 +02:00
tomkat83
3d5a3e9bfb
Don't declare connection when poking PMS
2016-04-08 13:18:19 +02:00
tomkat83
53b15aa51a
On Deck: sort by last played
2016-04-08 13:06:20 +02:00
tomkat83
d3e27d9797
Use Plex library for timesync
...
- No need for Kodi elements
2016-04-08 10:52:15 +02:00
tomkat83
4358a42424
Less Plex Companion logging
2016-04-08 09:33:31 +02:00
tomkat83
f23fdb1c9c
Less Plex Companion logging
2016-04-08 09:32:13 +02:00
tomkat83
ba8c80f61d
Wait max. for 5s when choosing new PMS
2016-04-08 09:29:48 +02:00
tomkat83
55cbf5824d
Kill sync threads if library gets suspended
...
- E.g. user switch
2016-04-08 09:24:28 +02:00
tomkat83
53e7fa3cea
Re-Add askToValidate
...
- No idea where this got deleted
2016-04-08 09:20:27 +02:00
tomkat83
4a63e03615
Shut down sync more cleanly if interrupted
2016-04-08 09:11:03 +02:00
tomkat83
5289619792
Deal with PMS reply 401 under too much strain
...
- Sync should now abort pretty much instantly
2016-04-07 18:29:23 +02:00
tomkat83
1db371e9f1
Less logging
2016-04-07 17:51:42 +02:00
tomkat83
2ec6bff388
Update playstate if owner plays for single user PMS
2016-04-07 17:37:53 +02:00
tomkat83
be71912496
Don't sign out on checking connections
2016-04-07 16:46:12 +02:00
tomkat83
621fd3ad4a
Instantiate Plex Companion after user signed on
2016-04-07 16:41:27 +02:00
tomkat83
ceedba4f46
Increase path hack stability
...
- What happens if there are no movies or shows?
2016-04-07 16:17:57 +02:00
tomkat83
88b581f756
Clear playlists and video nodes on user switch
...
- And not on fullsync (widgets might brake)
2016-04-07 16:13:02 +02:00
tomkat83
753e090cec
Fix HTTP 401 and authentication endless loop
2016-04-07 16:10:07 +02:00
tomkat83
ae51e43145
Use 1 xbmcgui dialog instance in librarysync
2016-04-07 15:33:01 +02:00
tomkat83
b91145ecae
Fix TV On Deck view and entire shows as watched
...
- Playcount was set to 0, not NULL/None in Kodi Database
2016-04-07 15:13:05 +02:00
tomkat83
fdb42c1f26
Fix Kodi information screen not working
2016-04-07 13:49:05 +02:00
tomkat83
79349ce4af
Fix Library Repair Sync
2016-04-07 11:57:34 +02:00
tomkat83
9781131cd2
Also clear video nodes and playlists on full sync
...
- Called e.g. when switching Plex user
2016-04-07 09:02:52 +02:00
tomkat83
783fad33f1
Don't change Kodi settings xml if music is enabled
...
- Because Music is yet unstable
2016-04-07 08:55:49 +02:00
spootdev
b67a77c27b
title fix
2016-04-06 22:22:34 -05:00
SpootDev
82bcec9819
type
2016-04-06 13:37:19 -05:00
SpootDev
e0f33ffc12
missing self
2016-04-06 13:28:08 -05:00
SpootDev
fa1c710821
semi colon
2016-04-06 13:24:02 -05:00
tomkat83
1f3598a7c4
Cleanup and Fixes
...
- Disable SSL warnings, finally
- Fix Plex Companion errors due to downloadutils switch
2016-04-06 18:23:51 +02:00
tomkat83
260fc7adf8
Rewired download and PMS connection
...
- Look for PMS in the LAN, even if plex.tv is available
2016-04-06 16:24:03 +02:00
tomkat83
8bad79413c
Move any download activities to one method
2016-04-05 20:10:29 +02:00
tomkat83
12add3d369
Move xArgsDeviceInfo to clientinfo
2016-04-05 18:23:00 +02:00
tomkat83
9929ab2eb5
Sleep when checking connection failed
2016-04-05 17:03:34 +02:00
tomkat83
265768ecfc
Revert "Merge remote-tracking branch 'doctorlard/master' into develop"
...
This reverts commit 248ae52599
, reversing
changes made to fb46c41294
.
2016-04-05 12:02:15 +02:00
tomkat83
248ae52599
Merge remote-tracking branch 'doctorlard/master' into develop
2016-04-05 12:01:10 +02:00
tomkat83
fb46c41294
Try 3x before declaring plex connection dead
2016-04-05 11:20:39 +02:00
tomkat83
43b0af936f
More Plex Companion cleanup
...
No dedicated logging anymore
2016-04-05 10:57:30 +02:00
SpootDev
d080c49821
cleanup
2016-04-04 16:21:05 -05:00
SpootDev
d78c04d67f
code reduce
2016-04-04 14:18:46 -05:00
SpootDev
30dfe99e37
spelling
2016-04-03 19:54:36 -05:00
SpootDev
398bd1644f
type fix
2016-04-03 15:51:26 -05:00
tomkat83
43dc83ae57
Fix instance chaos with Plex Companion
...
- Should fix PKC startup issues, among others
2016-04-02 16:46:23 +02:00
tomkat83
50b25ccf73
Fix TypeError with PMS item 'addedAt' missing
2016-04-02 10:43:50 +02:00
tomkat83
47d480eafd
Ratings default to 0, not None
2016-04-02 10:31:21 +02:00
croneter
d191500552
Merge pull request #2 from gdachs/develop
...
made it compatible to Krypton
2016-04-02 10:07:18 +02:00
SpootDev
d436c8415d
reserved word
2016-03-31 17:59:29 -05:00
SpootDev
03ad05bcfb
code reduce
2016-03-31 17:42:49 -05:00
SpootDev
b143f34fbf
code reduce
2016-03-31 16:05:41 -05:00
SpootDev
8db97c5d3d
code reduce
2016-03-31 15:25:45 -05:00
SpootDev
0d2efbed1f
code reduce
2016-03-31 14:52:09 -05:00
SpootDev
372c61ef92
self.log
2016-03-31 14:48:52 -05:00
SpootDev
9da11785d6
unused field
2016-03-31 14:46:37 -05:00
SpootDev
af69c9224e
self kodi version
2016-03-31 14:39:39 -05:00
SpootDev
d915c4539e
code reduce
2016-03-31 14:39:32 -05:00
SpootDev
44d0af0ad8
code reduce
2016-03-31 13:55:25 -05:00
SpootDev
2748d21ff4
self.log
2016-03-31 13:40:47 -05:00
SpootDev
8a130fe810
code reduce
2016-03-31 13:35:23 -05:00
SpootDev
c6ba6d6f51
url and log
2016-03-31 13:18:49 -05:00
SpootDev
1768bd0e4c
code reduce and doutil to doutils fix for delete favorite
2016-03-31 13:13:26 -05:00
SpootDev
a864f390d3
code reduce
2016-03-31 13:00:19 -05:00
SpootDev
a80bb11349
reserved word type
2016-03-31 12:49:55 -05:00
SpootDev
047189b31b
self.item
2016-03-31 12:46:51 -05:00
SpootDev
3c9c758bdd
self.log
2016-03-31 12:41:06 -05:00
SpootDev
753f267fde
code reduce
2016-03-31 12:37:48 -05:00
SpootDev
69b305a3c9
unused line
2016-03-31 12:35:18 -05:00
SpootDev
60b53bddf1
self log
2016-03-31 12:32:40 -05:00
SpootDev
16f3bbf3e4
self doutils
2016-03-31 12:12:02 -05:00
SpootDev
481af3823f
self.xbmcplayer
2016-03-31 11:37:41 -05:00
SpootDev
e3d2a6ff72
self log
2016-03-31 11:35:41 -05:00
SpootDev
2e4b32d8fd
cleanup
2016-03-31 11:30:52 -05:00
SpootDev
243a12c263
self log
2016-03-31 10:58:49 -05:00
SpootDev
065bff5215
exit loop
2016-03-31 10:55:21 -05:00
SpootDev
2e1a2328fd
return data directly instead of creating new var
2016-03-31 10:51:48 -05:00
SpootDev
75414f5f07
self cursor
2016-03-31 10:48:10 -05:00
SpootDev
47beade09a
reserved word type
2016-03-31 10:39:00 -05:00
SpootDev
98bee106cb
self kodi
2016-03-31 10:34:53 -05:00
SpootDev
7e41f8b051
type reserved
2016-03-31 10:25:36 -05:00
SpootDev
a6a3da60f2
self cursor
2016-03-31 10:21:14 -05:00
SpootDev
6922eea15f
break after set
2016-03-31 09:53:07 -05:00
SpootDev
a20dae1ee2
filter reserved
2016-03-31 09:45:20 -05:00
SpootDev
ce7a810874
type reserved
2016-03-31 09:43:52 -05:00
SpootDev
962cb44c49
unused
2016-03-31 09:39:35 -05:00
SpootDev
dfef62164f
reserved word
2016-03-31 09:33:39 -05:00
SpootDev
ad156d3f6c
log clean
2016-03-30 22:37:37 -05:00
SpootDev
b8a5f9c913
log self
2016-03-30 22:32:59 -05:00
SpootDev
0fc7fbd3b2
self.server
2016-03-30 22:24:00 -05:00
SpootDev
065b8d84f0
self.item
2016-03-30 22:01:37 -05:00
SpootDev
16fb22792f
emby self
2016-03-30 21:45:43 -05:00
SpootDev
78b72ccdef
vnodes
2016-03-30 21:29:24 -05:00
SpootDev
01265595f5
doutils
2016-03-30 21:28:08 -05:00
SpootDev
181824fef2
unused field
2016-03-30 21:22:55 -05:00
SpootDev
ef903f5c8a
utils
2016-03-30 21:19:33 -05:00
SpootDev
bb8374e927
log cleanup
2016-03-30 21:17:09 -05:00
SpootDev
d8ba247d99
break out of loop after plugin found
2016-03-30 21:01:24 -05:00
tomkat83
8c6dd25194
Fix PlexCompanion TypeError
2016-03-29 20:17:07 +02:00
tomkat83
7bb765bedd
'NameError: global name 'guidoc' is not defined'
2016-03-29 20:03:53 +02:00
tomkat83
9dec68f6d9
Do background sync while playing
...
But no full sync
2016-03-29 19:45:32 +02:00
tomkat83
9037f65318
Improve websocket stability
2016-03-29 19:16:08 +02:00
tomkat83
dc7755ba6d
Rewired websockets
2016-03-29 18:44:13 +02:00
tomkat83
c401cd9835
No websocket message logging
2016-03-28 14:43:35 +02:00
tomkat83
85c3f3949b
Fix Music playback websocket KeyError
2016-03-28 11:39:35 +02:00
tomkat83
9e2668e6da
Fix SSL websocket
2016-03-28 11:29:07 +02:00
tomkat83
43a7886eae
Fix time sync for Music items
2016-03-28 10:51:38 +02:00
tomkat83
e73b467904
Music: set default rating to 0, not NULL
2016-03-28 10:40:30 +02:00
tomkat83
2ff7f7fa5c
Music: scrape Studio/Label
2016-03-28 09:56:22 +02:00
tomkat83
fb1bc7c555
Cleanup background sync
2016-03-27 19:06:36 +02:00
tomkat83
1e49e9dea9
Background sync using websockets
2016-03-27 16:57:35 +02:00
tomkat83
6a2094d444
Backgroundsync using websockets
2016-03-27 16:57:20 +02:00
angelblue05
7c6451e839
Fix to local trailers
...
For some reason, server reports local trailer, then querying may or may
not return a result
2016-03-26 16:52:33 -05:00
Gerald Dachs
2d6361d9d6
made it compatible to Krypton
...
initialize rating
2016-03-25 13:32:19 +01:00
tomkat83
5949988b68
Plex websockets - groundworks 2
2016-03-24 18:52:02 +01:00
tomkat83
ed5483e2ae
Merge branch 'hotfixes' into develop
2016-03-24 12:35:37 +01:00
tomkat83
8abd987d2b
New Setting: Choose Plex Server from a list
2016-03-24 12:34:39 +01:00
tomkat83
eca710f2a9
Fix transcoding for HTTP, HTTPs still shaky
2016-03-24 10:24:11 +01:00
tomkat83
5d2dbaaf1e
Get a machineIdentifier if it is missing
...
- E.g. when PMS IP was entered manually
2016-03-24 09:08:58 +01:00
tomkat83
bca89c3a9a
Generate a new unique Plex device ID in settings
...
Nice if you copy/paste your Kodi profile
2016-03-24 08:26:08 +01:00
angelblue05
a7f70a3145
Fix channels
...
root doesn't have an item id - viewname defaults to none.
2016-03-23 19:50:58 -05:00
tomkat83
98d11ceb2d
Merge branch 'master' into develop
2016-03-23 17:37:01 +01:00
tomkat83
3a4349e647
Disable SSL warning in Log, clean Futurewarnings
2016-03-23 16:57:49 +01:00
tomkat83
9a049854dc
Don't de-authorize if several PMS are present
2016-03-23 16:40:31 +01:00
tomkat83
2806c8002a
Cleaned out https checks
...
- Disabled HTTP certificate warnings in log
2016-03-23 16:07:09 +01:00
tomkat83
9b7774dfc0
Hold off sync if user chooses to go into settings
...
During initial setup. Restart Kodi required
2016-03-23 10:30:49 +01:00
tomkat83
8568e7e08e
Change "Switch User" to "Log Out Plex User: XYZ"
2016-03-23 10:13:31 +01:00
tomkat83
d8deb4919e
Shut down PKC correctly
2016-03-23 10:05:29 +01:00
tomkat83
feb01b748f
Switch from xml.etree.cElementTree to .ElementTree
...
cElementTree has issues, e.g. during Kodi user profile switch
2016-03-23 09:42:59 +01:00
tomkat83
8308665183
TV shows On Deck: append season and episode number
2016-03-23 07:57:38 +01:00
tomkat83
33f5044828
Enable external Plex subtitles if available
2016-03-22 16:59:35 +01:00
tomkat83
a5b33a9f49
TV On Deck: option to include show name
2016-03-22 16:47:47 +01:00
tomkat83
b20308d68f
Playback updates if an item is resumed
2016-03-22 16:17:06 +01:00
tomkat83
98554dbe26
Clean up Plex Companion subscribers
2016-03-22 15:34:59 +01:00
tomkat83
55791659a9
Fix PMS not being informed of playback stop
2016-03-22 15:16:58 +01:00
tomkat83
33fe7604e3
Playback updates for remote PMS, part 2
2016-03-22 14:58:51 +01:00
tomkat83
20aac1d258
Playback updates for remote PMS
2016-03-22 14:40:38 +01:00
tomkat83
57b42528f2
Revert "Fix direct paths not being enabled"
...
This reverts commit 7fcaa79b78
.
2016-03-22 13:25:46 +01:00
tomkat83
cffe8acb69
Deactivate info "Gathering information from files"
...
However, Kodi STILL tries to gather info from music files unsuccessfully
(PMS http folder cannot be accessed)
2016-03-22 13:25:30 +01:00