Commit graph

251 commits

Author SHA1 Message Date
croneter
c12c9c08d8 Simplify code 2018-04-03 17:07:37 +02:00
croneter
8c5baf80ee Only remember which player has been active if we got a Plex id 2018-04-02 17:09:44 +02:00
croneter
e81bee0101 Fix resetting PKC player state
- Should fix #445
2018-03-31 18:51:03 +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
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
4e4e1cea6b Fix resume not working for some Kodi interface languages 2018-03-22 16:56:54 +01:00
Croneter
d8555ee0cc Fix playback resuming potentially too often 2018-03-20 11:48:17 +01:00
croneter
303adbf02e Revert "Fix for "In Progress" not appearing"
This reverts commit 600a22d158.
2018-03-18 15:23:54 +01:00
croneter
600a22d158 Fix for "In Progress" not appearing
- Partially fixes #428
2018-03-16 07:37:27 +01:00
croneter
f0c1562ab5 Remove obsolete resumable flag 2018-03-15 11:28:31 +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
93e3d42e23 Fix playstates not being copied/reset correctly 2018-03-11 18:54:05 +01:00
croneter
d74c26fd4c Fix disabling of background sync (websockets)
- Partially fixes #425
2018-03-10 12:58:11 +01:00
croneter
62e973dbe2 Fixes to add-on paths playback startup 2018-03-06 18:23:56 +01:00
croneter
121e8e0243 Hack for repeatedly starting same video using Addon Paths 2018-02-16 17:25:17 +01:00
croneter
e02e9bcd1f Rename thread methods 2018-02-11 14:57:39 +01:00
croneter
4fca4ecf63 Code refactoring 2018-02-09 17:48:25 +01:00
croneter
e744ff2b97 Always detect if user resumes playback 2018-02-07 14:09:16 +01:00
croneter
bdad905df3 Fix playback reporting not starting up correctly
- Should fix #400
2018-02-07 13:32:10 +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
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
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
ff09ae6457 Force lowercase protocol for plugin playback 2018-02-01 07:44:12 +01:00
croneter
336d50cd3a Fix UnboundLocalError for Direct Paths 2018-01-30 07:51:14 +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
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
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
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
tomkat83
e17824609a Greatly simplify handling of PKC playqueues 2018-01-06 15:19:12 +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
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
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
2f90674f51 Major Plex Companion overhaul, part 5 2017-12-28 21:31:05 +01:00
tomkat83
4b5f7868bb Fix typo 2017-12-28 20:47:23 +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
croneter
5f4016e22e Clean-up 2017-12-14 17:39:50 +01:00
croneter
9cac51d5c9 Major Plex Companion overhaul, part 2 2017-12-13 20:14:27 +01:00
tomkat83
b1e2791ca8 Major Plex Companion overhaul, part 1 2017-12-10 19:01:22 +01:00
tomkat83
cdd38c6ef7 Optimize some imports 2017-12-09 14:35:08 +01:00
croneter
1e8ec2f0d7 Remove obsolete PKC settings show contextmenu 2017-10-02 17:49:57 +02:00
croneter
b555df1061 Remove obsolete log level code 2017-09-06 13:43:52 +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
430b10ec1c Increase logging 2017-09-01 12:31:58 +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
31be5f30f3 Move init of syncs to state.py 2017-08-21 18:53:38 +02:00
croneter
743d8dbb2f Move sync indication setting to state.py 2017-08-21 07:42:11 +02:00
croneter
40fc88c8f6 Increase logging 2017-08-19 15:23:57 +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
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
bce800abc2 Revert "Revert "Try shutting down PKC more cleanly""
This reverts commit a1f1e332b3.
2017-05-17 10:09:57 +02:00
tomkat83
a1f1e332b3 Revert "Try shutting down PKC more cleanly"
This reverts commit 4b06a89f70.
2017-05-14 16:41:02 +02:00
tomkat83
4b06a89f70 Try shutting down PKC more cleanly 2017-05-12 14:37:21 +02:00
tomkat83
72ed20e47f Big transcoding overhaul
- Fixes #278
2017-05-01 19:51:10 +02:00
tomkat83
8aba0d998d Code refactoring: put variables in one place 2017-01-24 16:04:42 +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
8680410ab2 New setting to force transcode all Plex images 2017-01-15 18:01:27 +01:00
tomkat83
0dfafbbe3e Move playbackutils methods to API 2017-01-08 15:03:41 +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
146f063fc9 Playqueues overhaul continued 2017-01-02 14:07:24 +01:00
tomkat83
ee86f58a3f Move get Kodi_id from filename to function 2016-12-29 11:22:02 +01:00
tomkat83
4208bb9b73 playQueue fixes 2016-12-28 14:48:23 +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
tomkat83
ad8b7c7d90 Merge Master 2016-12-20 16:13:19 +01:00
tomkat83
db02a001a8 Playlist major upgrade part 1 2016-12-03 11:50:05 +01:00
tomkat83
a0b8a9fa93 Monitor Kodi setting changes more closely 2016-10-23 17:10:34 +02:00
tomkat83
e2776261c3 Initial Kodi context menu commit 2016-10-22 17:15:10 +02:00
tomkat83
b23bdfe65f Fix capitalization 2016-09-17 20:48:37 +02:00
tomkat83
339eaaa13a Fix log errors 2016-09-04 16:57:06 +02:00
tomkat83
cc583a1530 Merge conflicts kodimonitor.py 2016-08-30 16:57:47 +02:00
tomkat83
a2693b3485 Optimize player and playlist instances 2016-08-07 15:33:36 +02:00
tomkat83
eff7d7b68b Use 1 PKC xbmc.player instance 2016-07-23 18:06:47 +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
dd1f50efe6 Improve logging 2016-07-22 15:17:38 +02:00
tomkat83
c8311e465a Fix PKC playstate updates for widgets on Krypton
- Fixes #67
2016-06-26 11:53:26 +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
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
tomkat83
a92146abc2 Remove emby references 2016-05-31 08:06:42 +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
Nick
ffb2b11d7c screensaver sync delay increased to 5 seconds 2016-05-11 15:35:35 +10:00
tomkat83
df38786638 Account for string.encode() not allowing args
- E.g. Android TV
2016-05-07 13:15:02 +02:00
Nick
a07f545d5a added option to perform sync when screensaver is deactivated 2016-04-29 15:48:09 +10:00
tomkat83
450437b812 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-04-26 13:53:19 +02:00
tomkat83
0d79ec76b1 Enable playstate update if Kodi does not give DB id 2016-04-18 12:09:01 +02:00
tomkat83
e4aefaaa5e Remove Container.Refresh
- This is a skin issue, not a PKC issue
2016-04-12 09:05:52 +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
7f956c6f18 Fix playback report for trailers seeming like movie 2016-04-11 15:11:50 +02:00
tomkat83
bbfd612137 Refresh view when playback stopped 2016-04-08 13:51:29 +02:00
SpootDev
d080c49821 cleanup 2016-04-04 16:21:05 -05:00
SpootDev
47beade09a reserved word type 2016-03-31 10:39:00 -05:00
tomkat83
b20308d68f Playback updates if an item is resumed 2016-03-22 16:17:06 +01:00
tomkat83
de810d1e1d Fixes to monitoring playback 2016-03-16 18:01:07 +01:00
tomkat83
7f674acbac Redesign Kodi monitor and player
Allows now to have playback initiated by Kodi - especially when using
direct paths
2016-03-16 17:02:22 +01:00
tomkat83
68ea41fe24 Fix direct path playback not being reported to PMS 2016-03-16 13:08:55 +01:00
tomkat83
769b741060 Fix direct play monitoring 2016-03-16 12:49:55 +01:00
tomkat83
ae9d4924c2 Redesign fast sync 2016-03-11 14:42:14 +01:00
tomkat83
4704d8e983 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-01 10:10:11 +01:00
angelblue05
c4e936e985 Remove auto reset detection
Will review at a later time
2016-02-26 22:30:56 -06:00
tomkat83
e7f7269a5b Merge conflicts 2016-02-19 20:03:06 +01:00
tomkat83
50d142ad0b Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-19 18:47:09 +01:00
angelblue05
228501d99c Move removal to context menu
There was a typo in the delete as well.  Remove videolibrary.on.remove
due to potential issue if clean database runs and user is using plugin
paths.
2016-02-16 22:13:10 -06:00
angelblue05
6c801c326c Fix typo 2016-02-13 23:29:01 -06:00
angelblue05
d3f2969e80 Fix typo 2016-02-12 16:31:01 -06:00
angelblue05
54e998d579 Update skip delete message
Github wiki updated accordingly
2016-02-12 16:30:20 -06:00
angelblue05
da66d61f6c Revert "OnSettings adjust logic"
This reverts commit dfd5479d8e.
2016-02-05 16:17:37 -06:00
angelblue05
dfd5479d8e OnSettings adjust logic
For playback mode changes, do not update the window prop
2016-02-05 15:49:25 -06:00
tomkat83
5aa88bdca8 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-04 13:08:57 +01:00
angelblue05
c4608b38e1 Fix resume when using play-to 2016-02-03 19:06:12 -06:00
tomkat83
0d4c8ae53e Added logging decorator 2016-01-26 17:20:13 +01:00
tomkat83
80e1957d25 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-22 15:57:22 +01:00
angelblue05
d14ecfdc5e Adjust playlist props
Instead of using clearProperties, clear individually.
2016-01-18 21:54:02 -06:00
angelblue05
f3f8c76197 Fix progress dialog 2016-01-18 19:54:20 -06:00
marcelveldt
eae4fea76a more unicode fixes: os.path functions use unicode depending on the OS 2016-01-18 12:05:05 +01:00
tomkat83
b26b679dc1 Mark movie as watched/unwatched 2016-01-12 14:14:49 +01:00
angelblue05
f99efb2a83 Add settings monitor
Prompt for reset if playback mode change is detected
2016-01-09 04:53:04 -06:00
angelblue05
7a19f010dc Correct reversed settings 2015-12-31 17:16:16 -06:00
angelblue05
445469302f Fix delete
Remove verification - option is only for deletion after playback.
2015-12-28 03:54:46 -06:00