Commit graph

2906 commits

Author SHA1 Message Date
croneter
5facbddfc7 Warn if "Play next video automatically" is enabled, cause it breaks PKC playback report 2018-04-02 16:29:56 +02:00
croneter
0a978188b4 New JSON functions to retrieve and set Kodi settings 2018-04-02 16:27:08 +02:00
croneter
35ff51e39f Modify import 2018-04-01 10:45:22 +02:00
croneter
7d38ccf504 Hopefully fix ValueError for datetime.utcnow()
- Should fix #448
2018-04-01 10:18:15 +02:00
croneter
c05b772e90 Make sure that LOCK is released after adding one element
- Partially fixes #446
2018-03-31 20:34:09 +02:00
croneter
dcf2b9b4e4 Play the selected element first, then add the Kodi playqueue to the Plex playqueue
- Fixes #446
2018-03-31 20:32:55 +02:00
croneter
e81bee0101 Fix resetting PKC player state
- Should fix #445
2018-03-31 18:51:03 +02:00
croneter
9a4533d7e0 Ensure that playstate for ended (not stopped) video is recorded correctly 2018-03-31 15:37:05 +02:00
Croneter
3dd10ba29c Don't tell PMS last item is playing if non-Plex item is played 2018-03-29 07:37:20 +02:00
Croneter
cd5b3a3e2b Remove obsolete import 2018-03-29 07:35:54 +02:00
Croneter
f23f6da627 Fix PKC sometimes telling wrong item being played 2018-03-29 07:33:07 +02:00
Croneter
9f82b05c11 Fix rare KeyError for playback including trailers 2018-03-28 08:04:03 +02:00
Croneter
6aa3e612cf Adjust playback cleanup for empty video file 2018-03-27 18:20:36 +02:00
Croneter
fc836bebe6 Use an empty video file to "fail" playback 2018-03-27 18:07:16 +02:00
Croneter
b23c6e2932 Fix resume for On Deck and browse by folder 2018-03-27 08:20:39 +02:00
Croneter
f0393771a9 Fix "Use identical add-on paths for On Deck and browsing folders" 2018-03-27 08:02:31 +02:00
Croneter
d7891d6ec2 New API method to retrieve only filename 2018-03-27 08:01:24 +02:00
Croneter
bfd4415fa1 Use identical add-on paths for On Deck and browsing folders 2018-03-27 07:47:58 +02:00
Croneter
bb15f62648 Fix widget navigating to entire TV show not working 2018-03-22 18:51:11 +01:00
Croneter
79d87c5b01 Change default setting to force reload skin after playback stop to False
- Fixes #434
2018-03-22 17:27:57 +01:00
Croneter
22503657d2 Revert "Revert "Fix for "In Progress" not appearing""
This reverts commit 303adbf02e.
2018-03-22 17:26:11 +01:00
Croneter
baf60c2cc8 Simplify error message
- Fixes #435
2018-03-22 17:25:21 +01:00
Croneter
1a7ac665db Fix library sync crash TypeError
- Fixes #436
2018-03-22 17:03:26 +01:00
Croneter
4e4e1cea6b Fix resume not working for some Kodi interface languages 2018-03-22 16:56:54 +01:00
Croneter
82349bca88 Version bump 2018-03-20 11:56:51 +01:00
Croneter
d8555ee0cc Fix playback resuming potentially too often 2018-03-20 11:48:17 +01:00
Croneter
524466360f Link episode ListItem with Kodi library item
Enables full metadata such as Show and Season info
2018-03-20 11:26:01 +01:00
Croneter
3c1bb34f86 Remove obsolete code 2018-03-20 11:17:15 +01:00
Croneter
19770240aa Grab existing Kodi artwork for episodes 2018-03-20 11:08:09 +01:00
Croneter
4d2b040c08 Fix playback artwork for episodes 2018-03-20 10:37:42 +01:00
Croneter
f25eccb22c Code optimization 2018-03-20 09:16:29 +01:00
Croneter
88cece3066 Less logging 2018-03-20 08:52:01 +01:00
croneter
206c2a319b Tweak code for episode artwork 2018-03-18 19:18:44 +01:00
croneter
303adbf02e Revert "Fix for "In Progress" not appearing"
This reverts commit 600a22d158.
2018-03-18 15:23:54 +01:00
croneter
ea57eb5f93 Save NaN and not 0 to Kodi DB if playcount is zero 2018-03-18 15:08:55 +01:00
croneter
6fcbf29779 Addon paths: include real filename in plugin calls 2018-03-18 14:50:37 +01:00
croneter
7096aa35b2 Addon paths: Don't store show id in path 2018-03-18 13:48:29 +01:00
croneter
bb2f4601f5 Clean Kodi DB more thoroughly after playback start via PMS 2018-03-16 07:52:49 +01:00
croneter
600a22d158 Fix for "In Progress" not appearing
- Partially fixes #428
2018-03-16 07:37:27 +01:00
croneter
1d718c99c6 Always resume playback if playback initiated via context menu 2018-03-15 13:46:56 +01:00
croneter
491aa32586 Don't record last played date if state unwatched 2018-03-15 13:12:33 +01:00
croneter
229b0491b6 Do not play trailers for resumable movies using playback via PMS 2018-03-15 11:30:15 +01:00
croneter
f0c1562ab5 Remove obsolete resumable flag 2018-03-15 11:28:31 +01:00
croneter
8e1b77fcfe Fix correctly recording ended (not stopped!) video 2018-03-15 10:40:15 +01:00
croneter
4e85b65318 Direct paths: correctly clean up after context menu play 2018-03-15 10:25:51 +01:00
croneter
c48ef5012f Fix wrong item being reported using direct paths
- Fixes #428
2018-03-15 08:24:56 +01:00
croneter
bc8546b4ff Fix AttributeError on playback start
- Hopefully fixes #428
2018-03-14 07:41:53 +01:00
croneter
5012ab84c8 Fix videos not being correctly marked as played
- Hopefully fixes #423
2018-03-11 20:10:02 +01:00
croneter
46adc51cf6 Fix old playerstate not being copied/reset correctly 2018-03-11 18:57:00 +01:00
croneter
93e3d42e23 Fix playstates not being copied/reset correctly 2018-03-11 18:54:05 +01:00
croneter
8943083533 Fix tv shows not being correctly deleted
- Fixes #375
2018-03-11 15:23:32 +01:00
croneter
3961c8bc21 Fix episode rating not being correct 2018-03-11 13:02:04 +01:00
croneter
058d417e78 Fix AttributeError 2018-03-11 12:08:59 +01:00
croneter
2144995a29 Optimize code for deleting movies from Kodi DB 2018-03-11 12:08:27 +01:00
croneter
9101f49895 Cleanly remove all file references 2018-03-11 12:00:28 +01:00
croneter
456ef5cb34 Remove obsolete method 2018-03-11 11:48:54 +01:00
croneter
a7939f8b24 Also delete orphaned path entries in Kodi DB 2018-03-11 11:47:04 +01:00
croneter
97dc1c1856 Ensure file id references get deleted 2018-03-10 17:09:21 +01:00
croneter
5882a6ef3b Optimize code 2018-03-10 15:44:08 +01:00
croneter
5a2d3f4238 Optimize code 2018-03-10 15:03:31 +01:00
croneter
f2fea1bcde Optimize Kodi db method add_season 2018-03-10 15:02:06 +01:00
croneter
54a231a67f Remove comments 2018-03-10 14:56:46 +01:00
croneter
e642e30978 New api method grandparent title 2018-03-10 14:56:24 +01:00
croneter
04f94f0828 Use api method for parent id 2018-03-10 14:53:39 +01:00
croneter
44073a3201 Optimize DB path updates for TV shows 2018-03-10 14:51:00 +01:00
croneter
d74c26fd4c Fix disabling of background sync (websockets)
- Partially fixes #425
2018-03-10 12:58:11 +01:00
croneter
344e4337e1 Fix settings not being picked up correctly 2018-03-10 12:45:50 +01:00
croneter
2cd00f21b7 Improve playback startup resiliance
- Fixes #426
2018-03-10 12:24:57 +01:00
croneter
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