Commit graph

3010 commits

Author SHA1 Message Date
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