Commit graph

2804 commits

Author SHA1 Message Date
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
eb66435d2d Russian translation, thanks @UncleStark, @xom2000, @AlexFreit 2017-10-09 22:28:31 +02: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
741c00ed64 Update translations 2017-09-17 14:07:14 +02: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
5f79214148 Update Czech translation 2017-08-08 21:05:31 +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
5a978bd98a Update German 2017-08-02 20:06:18 +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
7d98d8af33 New Portugese translation 2017-07-25 20:27:53 +02:00
tomkat83
17a35b4129 Update French and Chinese translations 2017-07-25 20:27:21 +02:00
tomkat83
312190f8f1 Update translations 2017-07-01 14:33:50 +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
546ead984f Update translations 2017-05-31 14:36:24 +02:00
tomkat83
e622c73437 Update translations 2017-05-31 14:23:41 +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
425e989bc8 Update German 2017-05-29 17:32:09 +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
c116dfd781 Update translations 2017-05-29 15:48:27 +02:00
tomkat83
8860edd592 Fix library sync crash due to UnicodeDecodeError
- Fixes #302
2017-05-29 15:39:11 +02:00
tomkat83
e917761ae3 Translate plex.tv user in PKC settings 2017-05-29 10:53:16 +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
b1c8504f8d Update German 2017-05-22 21:45:29 +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
9a85c14c1d Update Czech 2017-05-14 16:53:51 +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
5bc9a60ad4 Update German translation 2017-05-11 20:18:38 +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