Commit graph

2893 commits

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