Commit graph

2266 commits

Author SHA1 Message Date
tomkat83
f1dc7639ab Enable Alexa for Plex music 2017-03-05 17:51:58 +01:00
tomkat83
3d525f7772 Treat unsuccessful download better 2017-03-05 16:51:13 +01:00
tomkat83
260579f32d Increase Plex Companion sleep 2017-03-05 16:43:06 +01:00
tomkat83
d2c52c1050 Simplify code 2017-03-05 16:41:56 +01:00
tomkat83
799356c1fb Simplify code 2017-03-05 16:38:29 +01:00
tomkat83
768a25d1a3 Simplify code 2017-03-05 16:38:06 +01:00
tomkat83
4d555a9314 Fix possible IndexError 2017-03-05 16:30:39 +01:00
tomkat83
715513cdb3 Fix spelling 2017-03-05 15:48:08 +01:00
tomkat83
df6d753c18 Only try to connect Alexa if we got a Plex token 2017-03-05 15:44:01 +01:00
tomkat83
57408c5137 Suspend Alexa thread if Plex user is restricted
- Alexa currently only works for the master user for Plex home
2017-03-05 15:38:13 +01:00
tomkat83
25afc0c702 Set default companion name to PlexKodiConnect 2017-03-05 15:30:06 +01:00
tomkat83
f974e1a202 Merge branch 'master' into develop 2017-03-05 15:10:18 +01:00
tomkat83
d5e19c5328 Cleanup playlist/playqueue string/unicode
- Fixes #244
2017-03-05 15:06:54 +01:00
tomkat83
cdb576517e Fix UnicodeEncodeError
- Fixes #244
2017-03-05 14:02:58 +01:00
tomkat83
b734d0be8e Amazon Alexa support! 2017-03-04 17:54:24 +01:00
tomkat83
90445ba7b5 Merge branch 'patch-1' of https://github.com/AllanMar/PlexKodiConnect into AllanMar-patch-1 2017-03-01 19:25:35 +01:00
tomkat83
be48743b1b Fix TypeError on manually entering PMS port
- Fixes #242
2017-03-01 18:51:18 +01:00
tomkat83
7276a195bf Fix KeyError 2017-02-26 18:25:41 +01:00
tomkat83
84f7aba5d1 Try to skip new PMS items we've already processed 2017-02-26 18:04:54 +01:00
tomkat83
39d3e8acc9 Fix WebSocketException: Invalid header 2017-02-26 17:17:39 +01:00
tomkat83
fdd07b77e3 Fix ValueError for Watch Later
- Fixes #235
2017-02-26 16:40:04 +01:00
tomkat83
f8bfb981ef Better error handling for Plex Companion
- Partially fixes #233
2017-02-26 16:29:19 +01:00
tomkat83
b70a3331e0 Newline in logging xml 2017-02-26 16:14:46 +01:00
tomkat83
e03af767ca Remove \r for Plex Companion replies 2017-02-26 16:12:39 +01:00
tomkat83
16acca16b9 Fix UnicodeDecodeError for non-ASCII filenames
- Fixes #229
2017-02-26 16:01:35 +01:00
tomkat83
82e7530816 Fix TypeError
- Partially fixes #236
2017-02-26 15:21:55 +01:00
tomkat83
0b5c138709 Better error handling for Plex Companion playqueues
- Partially solves #236
2017-02-26 15:16:03 +01:00
AllanMar
36d57c2452 Fix Plex Web Issues
Causes issues with Plex web due to Access-Control-Allow-Headers missing header.
2017-02-21 20:22:59 -04:00
tomkat83
861736d8d3 Fixes to Plex Companion
- Fixes #224
2017-02-19 17:07:42 +01:00
tomkat83
b4a44c9d7d Only 1 colon : when logging 2017-02-19 16:20:00 +01:00
tomkat83
983fd168bb Fix ratings for movies
- Fixes #71
2017-02-19 15:57:31 +01:00
tomkat83
990e21ac99 Plex Companion: Fix KeyError for Plex Web 2017-02-18 17:15:37 +01:00
tomkat83
b93925d678 Rename function 2017-02-18 17:04:30 +01:00
tomkat83
81f0fe1157 Sleep a bit before marking an item watched 2017-02-18 16:45:57 +01:00
tomkat83
1a24146e48 Move mark_played_at 2017-02-18 16:44:09 +01:00
tomkat83
c359c6fff8 Fix ratings for TV shows 2017-02-18 16:30:06 +01:00
tomkat83
806f237b70 Use unique TheTVDB link for episodes 2017-02-18 14:45:31 +01:00
tomkat83
5a6f0411f2 Fix ratings for episodes 2017-02-17 19:35:51 +01:00
tomkat83
a7adfa1cc5 Elaborate on function 2017-02-13 20:50:10 +01:00
tomkat83
43b8866c44 Code optimization 2017-02-13 20:47:21 +01:00
tomkat83
7956639a0e Code optimization 2017-02-13 20:46:51 +01:00
tomkat83
f5198bf937 Elaborate on function description 2017-02-13 20:27:39 +01:00
tomkat83
922f4150a0 Fix getting unique id 2017-02-13 20:26:30 +01:00
tomkat83
9612ee78ab Fix getting the rating id 2017-02-13 20:23:02 +01:00
tomkat83
aa5cb37a8f Krypton: add ratings for episodes
- Fixes #71
2017-02-13 20:19:22 +01:00
tomkat83
d54014cff8 Remove obsolete encoding 2017-02-13 19:54:27 +01:00
tomkat83
cd7b509248 Fix UnicodeDecodeError for non-ASCII filenames
- Fixes #222
2017-02-13 19:27:14 +01:00
tomkat83
1827f2506c Fix some possible connection issues 2017-02-05 16:11:31 +01:00
tomkat83
3cd76fa291 Fix screensaver not toggling back after full sync
- Fixes #197
2017-02-05 14:10:14 +01:00
tomkat83
571000a5ec Possible compatibility with Alexa - do report back! 2017-02-03 18:26:49 +01:00
croneter
fb452329cc Merge pull request #199 from dettwild/develop
apply limit to OnDeck if OnDeckTVextended not set
2017-02-03 14:34:21 +01:00
tomkat83
4f2cb62434 Fix OperationalError on update sync 2017-02-03 12:59:36 +01:00
tomkat83
8d82794de6 Less logging 2017-02-03 12:59:36 +01:00
dettwild
93509666d7 apply limit to OnDeck if OnDeckTVextended not set 2017-02-02 20:31:58 +01:00
tomkat83
03fc9a909e Tell if moving playlist item failed 2017-02-02 19:03:50 +01:00
tomkat83
4d957aa4a3 Better warnings when resetting the Kodi database
* @Pavuucek please have a look at the Czech translation file, very
bottom. Missing language tags are marked with `<!-- PLEASE UPDATE -->`
2017-02-02 18:45:31 +01:00
tomkat83
8b9c116f26 Fix removing uniqueid and ratings 2017-02-02 17:09:20 +01:00
tomkat83
dd0339b51c Remove uniqueid and ratings entries if item deleted 2017-02-02 16:53:50 +01:00
tomkat83
874e9a8fc5 Update playstates and userratings only once 2017-02-02 16:28:25 +01:00
tomkat83
5799612879 Fix Typo 2017-02-02 16:21:37 +01:00
tomkat83
56d5e84f72 Krypton: update userratings on startup&user change 2017-02-02 16:21:01 +01:00
tomkat83
1343edc0d0 Fix userratings for Kodi Krypton 2017-02-02 15:23:54 +01:00
tomkat83
15a39f9e64 Shut down libsync thread correctly 2017-02-02 14:49:14 +01:00
tomkat83
34c9cc35a5 Rename safety margin for background sync 2017-02-02 12:35:08 +01:00
tomkat83
01426de7ca Increase logging 2017-02-02 12:28:57 +01:00
tomkat83
f2c7578a25 Overhaul of fanart sync download 2017-02-02 12:27:21 +01:00
tomkat83
b3b53c4cac Background sync: wait till PMS says its finished 2017-02-02 09:32:00 +01:00
tomkat83
e96ceaaf19 Fix OperationalError upon database reset 2017-02-01 20:43:31 +01:00
tomkat83
4b5d15fc15 Fix additional artwork not downloading 2017-02-01 20:09:17 +01:00
tomkat83
1cc0f8a6c6 Get missing fanart on Kodi startup 2017-02-01 19:56:06 +01:00
tomkat83
6eb786416d Add notification upon Plex library deletion 2017-02-01 19:02:32 +01:00
tomkat83
524a36d9eb Fix deleting items after Plex library removal 2017-02-01 18:55:22 +01:00
tomkat83
38a6c1eae6 Update logging 2017-02-01 16:56:37 +01:00
tomkat83
20223f5428 Increase logging 2017-02-01 12:55:31 +01:00
tomkat83
2055879458 Store Plex library in our database for reference 2017-02-01 12:33:37 +01:00
tomkat83
86434bab34 Delete items of a removed Plex library 2017-02-01 12:16:35 +01:00
tomkat83
16e6fc5ca4 Prepare DB for selective Plex library sync 2017-02-01 10:41:44 +01:00
tomkat83
3871af77e6 Delete duplicate code 2017-02-01 10:22:19 +01:00
tomkat83
bed1e70229 Enable abort on choosing PMS from list 2017-02-01 09:35:39 +01:00
tomkat83
e02cf55503 Fix Errors when trying to open databases 2017-01-29 14:10:20 +01:00
tomkat83
bb808213a4 Fix ImportError 2017-01-29 13:58:55 +01:00
tomkat83
c17ebf0647 Optimize imports for utils.py 2017-01-29 13:52:46 +01:00
tomkat83
289690813a Early compatibility with Kodi 18 Leia 2017-01-29 13:40:34 +01:00
tomkat83
e1bb74c341 More explicit coding 2017-01-29 13:06:09 +01:00
tomkat83
d9b83065e3 Ignore empty Plex Collections
- Fixes #184
2017-01-24 20:55:01 +01:00
tomkat83
307e8e5b61 More explicit coding 2017-01-24 20:18:28 +01:00
tomkat83
74433f7afd Shutdown artwork thread correctly 2017-01-24 20:12:46 +01:00
tomkat83
1f0a114d35 Fix IndexError and AttributeError 2017-01-24 20:04:53 +01:00
tomkat83
a716f8a2c1 Clean out entrypoint.py 2017-01-24 19:59:38 +01:00
tomkat83
b1f6bd1edf Refactor service.py 2017-01-24 18:48:13 +01:00
tomkat83
1b74f25dfa Fix NameError 2017-01-24 18:06:17 +01:00
tomkat83
790f32e64c Fix AttributeErrors 2017-01-24 18:04:17 +01:00
tomkat83
6a503ad42a refactor PlexAPI.py 2017-01-24 18:00:35 +01:00
tomkat83
6d547d207c Fix TypeError 2017-01-24 16:58:25 +01:00
tomkat83
a7e041415e Fix ImportError 2017-01-24 16:57:12 +01:00
tomkat83
57e9f36d64 Fix ImportError 2017-01-24 16:56:07 +01:00
tomkat83
0a987e86b4 Fix ImportError 2017-01-24 16:54:51 +01:00
tomkat83
579b52905e Code refactoring 2017-01-24 16:53:50 +01:00
tomkat83
8aba0d998d Code refactoring: put variables in one place 2017-01-24 16:04:42 +01:00
tomkat83
11be04ddac Add notification for Companion GDM port fail 2017-01-24 11:53:19 +01:00