Commit graph

2941 commits

Author SHA1 Message Date
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
tomkat83
aa900c6b88 Rewire Kodi ListItem stuff 2017-03-19 12:14:16 +01:00
tomkat83
264782c787 Fix Kodi setContent for images 2017-03-15 19:26:55 +01:00
tomkat83
6fdff941ea Fix AttributeError due to missing Kodi sort methods
- Partially fixes #253
2017-03-14 18:45:05 +01:00
tomkat83
bf6bc26d46 Move plex node navigation, playback to main thread 2017-03-13 21:39:07 +01:00
tomkat83
ec1bae3c51 Fix TypeError for malformed browsing xml 2017-03-13 20:30:33 +01:00
tomkat83
d2166cd604 Fix IndexError if we can't get a valid xml from PMS 2017-03-13 20:25:52 +01:00
tomkat83
fc6718f698 Pass 'None' instead of empty string in url args 2017-03-13 20:20:05 +01:00
tomkat83
5687149225 Fix KeyError for channels if no media streams
- Fixes #253
2017-03-13 20:17:59 +01:00
tomkat83
165e6ca12b Fix Channels not starting playback
- Fixes #253
2017-03-12 13:01:34 +01:00
tomkat83
18d525ae90 Fix Alexa not doing anything 2017-03-10 06:51:19 +01:00
tomkat83
d9fc26f96a Fix IndexError for playqueues 2017-03-09 12:24:04 +01:00
tomkat83
762bb872f3 Code optimization 2017-03-09 11:21:13 +01:00
tomkat83
3534a9b8f0 Rewire playback start when browsing by folder 2017-03-09 11:12:46 +01:00
tomkat83
012371c010 Update playback of photos 2017-03-08 18:24:50 +01:00
tomkat83
7171fc7df4 Remove method 2017-03-08 18:07:36 +01:00
tomkat83
a12b5033b9 Rewire Plex photo navigation 2017-03-08 17:53:43 +01:00
tomkat83
cbbb5b1ceb Change playlist type from 'picture' to 'photo' 2017-03-08 17:06:30 +01:00
tomkat83
80e2ad4908 Tweaking of browse by folder 2017-03-08 17:02:26 +01:00
tomkat83
6f7d5d5d59 Browse video nodes by folder/path 2017-03-08 16:41:49 +01:00
tomkat83
be7ecb95db Specify Kodi sort methods 2017-03-08 16:21:00 +01:00
tomkat83
2a48a71673 Code optimization 2017-03-08 10:51:21 +01:00
tomkat83
fd7e30f84c Remove boilerplate 2017-03-08 10:46:10 +01:00
tomkat83
4bc31cf4bc Code refactoring default.py 2017-03-08 10:39:05 +01:00
tomkat83
47ea9f2968 Plex Channels! 2017-03-07 16:37:36 +01:00
tomkat83
38d5d64f2c Enable skipping for Plex Companion 2017-03-05 18:28:30 +01:00
tomkat83
a8b7bf7871 Fix starting more playqueue instances 2017-03-05 17:59:56 +01:00
tomkat83
8d2b312fcf Remove obsolete import 2017-03-05 17:59:04 +01:00
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
tomkat83
5046f856ca New setting to change Plex Companion update port
- Fixes #173
2017-01-24 10:16:32 +01:00
tomkat83
98384fb5e4 Hopefully compatibilty with Plex Cloud 2017-01-21 17:34:51 +01:00
tomkat83
f96faaa880 Revert "Add logging to find Plex Cloud info from plex.tv"
This reverts commit 14c36160a4.
2017-01-21 17:22:23 +01:00
tomkat83
40cbc4c6fd Revert "More logging to find Plex Cloud info"
This reverts commit 9ad3b54d30.
2017-01-21 17:22:13 +01:00
tomkat83
8d6107b252 Revert "Add logging"
This reverts commit 2fc5546dc4.
2017-01-21 17:21:53 +01:00
tomkat83
51719cfa50 Add some error checking for playlists 2017-01-21 17:20:42 +01:00
tomkat83
48da925324 Check for adding playQueue item via JSON API 2017-01-21 14:47:37 +01:00
tomkat83
81747a668a Cache missing artwork on PKC startup 2017-01-20 18:41:56 +01:00
tomkat83
6049ec468a Fixes to artwork 2017-01-20 17:32:28 +01:00
tomkat83
e818e23149 Rewire image cache thread to service.py 2017-01-20 17:21:51 +01:00
tomkat83
3616c25a98 Don't cache actor artwork
- It takes too long and takes up too much memory
2017-01-20 16:30:37 +01:00
tomkat83
44b98e5694 Revert "Also cache actor images on manual caching"
This reverts commit 5d2f57aec1.
2017-01-20 16:23:05 +01:00
tomkat83
5d2f57aec1 Also cache actor images on manual caching 2017-01-20 16:17:21 +01:00
tomkat83
225776a145 Prevent OperationalError: database is locked
- Fixes #183
2017-01-20 16:00:17 +01:00
tomkat83
33ceb3ee33 Fix to video node refresh 2017-01-20 15:46:34 +01:00
tomkat83
45ccc3ff3f Only do maintainViews once 2017-01-20 15:32:19 +01:00
tomkat83
2fc5546dc4 Add logging 2017-01-20 15:31:24 +01:00
tomkat83
314ba8c0c1 Do a video node refresh on startup 2017-01-20 14:53:20 +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
8f73d40018 Fix some connection issues
- Should fix #181
- Should fix error: (101, 'Network is unreachable')
2017-01-20 14:16:06 +01:00
tomkat83
9ad3b54d30 More logging to find Plex Cloud info 2017-01-20 13:58:52 +01:00
tomkat83
14c36160a4 Add logging to find Plex Cloud info from plex.tv 2017-01-15 18:32:40 +01:00
tomkat83
23383f1e8b Correctly use window var 2017-01-15 18:21:59 +01:00
tomkat83
8cdf5a8a7b Use window var instead of settings var 2017-01-15 18:21:21 +01:00
tomkat83
8680410ab2 New setting to force transcode all Plex images 2017-01-15 18:01:27 +01:00
tomkat83
ccaeca0019 Merge remote-tracking branch 'tempo/RAWPictureTranscoding' into develop 2017-01-15 17:34:38 +01:00
tomkat83
908e67e0bf Revert "Hopefully fix Plex Companion RuntimeError"
This reverts commit 14c9d10459.
2017-01-15 17:26:59 +01:00
tomkat83
0a33fcf3a1 Fix playQueue keyError 2017-01-14 09:59:43 +01:00
tomkat83
377827e159 Fix for Plex Companion showing last item played 2017-01-12 20:21:33 +01:00
tomkat83
aab6a733fe Fix KeyError for playlists 2017-01-12 20:14:35 +01:00
tomkat83
1fc7277294 Krypton: Fix playState notifications for 1 video 2017-01-12 20:06:53 +01:00
tomkat83
359603ac0f Fix Plex playQueue ID not being recorded 2017-01-12 20:02:38 +01:00
tomkat83
30bcafea05 Fix TypeError for Plex playQueue init 2017-01-12 19:40:15 +01:00
tomkat83
3fdee81833 Fix ValueError for plex.tv URLs 2017-01-12 19:37:31 +01:00
tomkat83
28c2376ab6 Fix for Plex Companion showing old video 2017-01-11 20:49:00 +01:00
tomkat83
07abf2e17a Fix IndexError for PKC communicating watch state
- Fixes #178
2017-01-11 20:38:11 +01:00
tomkat83
8946598b06 Fix playback startup via PMS 2017-01-10 21:45:15 +01:00
tomkat83
2d67bb1c1d Fix playback startup via PMS 2017-01-10 21:27:14 +01:00
tomkat83
5c89df9110 Fix Sync crashing due to AttributeError
- Fixes #177
2017-01-10 21:14:30 +01:00
tomkat83
2836f707c5 Merge branch 'develop' 2017-01-09 21:29:45 +01:00
tomkat83
03438b1c76 Fix Plex Companion showing last item being played 2017-01-09 21:25:52 +01:00
tomkat83
5c836f7911 Krypton: add ratings and IMDB id for TV shows 2017-01-09 20:47:32 +01:00
tomkat83
6ab2ab4b26 Fix SyntaxError 2017-01-09 20:39:41 +01:00
tomkat83
087a6ff465 Ensure Jarvis compatibility 2017-01-09 20:37:24 +01:00
tomkat83
8acf07c607 Krypton: add ratings and IMDB id for movies 2017-01-09 20:33:52 +01:00
tomkat83
a45af3d253 Always re-fetch playQueues from PMS 2017-01-09 20:00:37 +01:00
tomkat83
4b1c2e9447 Less logging 2017-01-09 19:57:23 +01:00
tomkat83
aac892fed8 Rewire Plex Companion startup 2017-01-09 19:56:57 +01:00
tomkat83
5230f73656 Code optimization 2017-01-08 15:43:30 +01:00
tomkat83
18cdfa192f Abort if no xml received from PMS 2017-01-08 15:40:47 +01:00
tomkat83
20cf0cece5 Revert "Abort if no xml received from PMS"
This reverts commit dd40192a51.
2017-01-08 15:40:19 +01:00
tomkat83
dd40192a51 Abort if no xml received from PMS 2017-01-08 15:40:05 +01:00
tomkat83
6df9bcd6b7 Remove obsolete function 2017-01-08 15:36:36 +01:00
tomkat83
0dfafbbe3e Move playbackutils methods to API 2017-01-08 15:03:41 +01:00
tomkat83
1b9ae0c924 Increase logging 2017-01-08 12:56:40 +01:00
tomkat83
1b03486ecf Fix unnecessary syncs for music 2017-01-08 12:48:57 +01:00
tomkat83
a53203c828 Check xml playQueue 2017-01-08 12:35:58 +01:00
tomkat83
4aab4813a9 Less logging 2017-01-08 12:20:51 +01:00
tomkat83
4a28a8ebc9 Don't support Plex Companion mirror
- Should fix #131
2017-01-08 12:07:03 +01:00
tomkat83
ef8d36c072 Fix for Plex Companion not showing up
- Should fix #173
2017-01-08 11:46:19 +01:00
tomkat83
8e6d94129b Fix keyError for url-encoding 2017-01-08 11:38:37 +01:00
tomkat83
234f5042a3 Fix Plex Companion music playQueue startup 2017-01-07 20:35:10 +01:00
tomkat83
0a2f1bc01b Fix KeyError for librarysync 2017-01-07 20:20:18 +01:00
tomkat83
e90f48cc8e Rename plex database fields; abstract types 2017-01-07 20:11:48 +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
ed281ad847 Fix playback init if there are items queued 2017-01-02 19:24:17 +01:00
tomkat83
4086482991 Don't play trailer if we got items queued 2017-01-02 19:16:35 +01:00
tomkat83
06bd8856b5 More fixes to Watch Later 2017-01-02 16:42:07 +01:00
tomkat83
5b9b432ca9 Fixes to Watch later & Plex Companion 2017-01-02 15:41:38 +01:00
tomkat83
cddde19cce Fix RuntimeErrors 2017-01-02 14:17:28 +01:00
tomkat83
146f063fc9 Playqueues overhaul continued 2017-01-02 14:07:24 +01:00
tomkat83
a9f59868f0 Fix xml logging 2016-12-29 15:42:19 +01:00
tomkat83
253feb9c69 Always post to PMS to get playQueue 2016-12-29 15:41:14 +01:00
tomkat83
ee86f58a3f Move get Kodi_id from filename to function 2016-12-29 11:22:02 +01:00
tomkat83
eec2c10cb4 Fixes to playQueues for Addon paths 2016-12-28 19:38:43 +01:00
tomkat83
49b5131dbb Fix resume of playqueue initiated by companion 2016-12-28 15:21:29 +01:00
tomkat83
5b020910d3 Fix Plex Companion offset not working 2016-12-28 14:57:10 +01:00
tomkat83
e24f6b53fc Fix logging 2016-12-28 14:52:14 +01:00
tomkat83
4208bb9b73 playQueue fixes 2016-12-28 14:48:23 +01:00
tomkat83
14c9d10459 Hopefully fix Plex Companion RuntimeError
- RuntimeError: dictionary changed size during iteration
12:42:00 T:8236   ERROR: Traceback (most recent call last):
12:42:00 T:8236   ERROR:   File
"C:\Users\Tom\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\plexbmchelper\listener.py",
line 213, in answer_request
12:42:00 T:8236   ERROR:     subMgr.notify()
12:42:00 T:8236   ERROR:   File
"C:\Users\Tom\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\plexbmchelper\subscribers.py",
line 163, in notify
12:42:00 T:8236   ERROR:     self.notifyServer(players)
12:42:00 T:8236   ERROR:   File
"C:\Users\Tom\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\plexbmchelper\subscribers.py",
line 178, in notifyServer
12:42:00 T:8236   ERROR:     for typus, p in
self.lastplayers.iteritems():
2016-12-28 13:18:50 +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
Memesa
a457d96a60 Plex RAW photos/picture support
This feature was requested. I got it implemented by passing the path of
the image, if it is not a normal image file, through the
getTranscodeImagePath function in the PlexAPI class. This requests Plex
to transcode the file before sending it to Kodi. Slight disadvantage is
the maximum resolution of 1920x1080, but I doubt that will impact many
people.
2016-12-20 21:05:01 +01:00
tomkat83
95c87065ed Optimize companion imports 2016-12-20 16:38:04 +01:00
tomkat83
9d2cf86091 Optimize websocket imports 2016-12-20 16:30:22 +01:00
tomkat83
17fc11d8bb Optimize websocket client queue 2016-12-20 16:27:22 +01:00
tomkat83
ad8b7c7d90 Merge Master 2016-12-20 16:13:19 +01:00
tomkat83
6b64f3b66c Fix playstate updates due to PMS websocket change
- Fixes #162
2016-12-17 18:38:24 +01:00
tomkat83
8438cc088c Combine h265 und HEVC into one setting
- Fixes #163
2016-12-17 18:01:51 +01:00
tomkat83
08eaf21a17 New setting Always transcode if bitrate is above
- Fixes #163
2016-12-17 17:54:46 +01:00
tomkat83
cb32ffae56 Note to read Wiki if using several Plex libs 2016-12-17 16:51:49 +01:00
tomkat83
4c53cfdb5b Get rid of low powered device option 2016-12-17 16:43:25 +01:00
tomkat83
4925864a61 Don't show a notification when searching for PMS 2016-12-17 14:48:06 +01:00
tomkat83
373d9656ae Improvements to PMS on/offline messages 2016-12-17 14:46:13 +01:00
tomkat83
43d4f69e5c Don't repeatedly show PMS offline message 2016-12-17 14:01:00 +01:00
tomkat83
0ff7d81ab3 Less logging 2016-12-17 13:58:00 +01:00
tomkat83
ce3435ac73 Less logging when PMS is offline 2016-12-17 13:21:44 +01:00
tomkat83
bdad097bd0 Less logging when checking connection 2016-12-17 13:09:18 +01:00
tomkat83
c51a2dfbaf Don't be too insistent when checking PMS connection 2016-12-17 13:08:21 +01:00
tomkat83
202a795175 Be quicker to declare PMS offline 2016-12-17 13:05:10 +01:00
tomkat83
bdddc9ed5d Increase logging level for time measurements 2016-12-17 12:59:19 +01:00
tomkat83
a14494d96d Only sign user out if 401 returned
- Fixes #156
2016-12-17 12:52:25 +01:00
tomkat83
0ee43e2297 Less logging 2016-12-17 12:09:21 +01:00
tomkat83
f8bb43a547 Catch both ConnectTimeout and ReadTimeout 2016-12-05 19:31:54 +01:00
tomkat83
0b54c4eee3 Fix library AttributeError 2016-12-04 18:25:26 +01:00
tomkat83
013c15378a Get kodiversion only once 2016-12-04 14:17:51 +01:00
tomkat83
9d60b9bbbe Log function name for time log 2016-12-04 14:05:12 +01:00
tomkat83
aca7c3ee4e Revert "Profile sync"
This reverts commit c539d436be.
2016-12-04 12:40:29 +01:00
tomkat83
c539d436be Profile sync 2016-12-04 12:40:24 +01:00
tomkat83
8689d043a5 Further speed up getting actor ID
- Drop the ignore casse
2016-12-04 12:39:31 +01:00
tomkat83
30f9518b82 Try to speed up getting actor id
- Explicitly select only 1 entry
2016-12-04 12:29:52 +01:00
tomkat83
f02bb4a873 Index Kodi database actor names to speed up sync 2016-12-04 12:26:25 +01:00
tomkat83
e4de57c753 Speed up kodi database sync 2016-12-04 11:56:37 +01:00
tomkat83
97eb08d3bd Remove obsolete import 2016-12-04 11:08:00 +01:00
tomkat83
d1da07a8bf Speed up replacing Plex paths 2016-12-03 15:43:23 +01:00
tomkat83
4073679d3f Log cProfile even if not debuging 2016-12-03 14:56:25 +01:00
tomkat83
5b27dcca4e Less loging 2016-12-03 14:44:27 +01:00
tomkat83
21da5707a0 Revert "Try sqlite3 in-memory fullsync, might be faster"
This reverts commit 0046f34729.
2016-12-03 13:56:53 +01:00
tomkat83
0046f34729 Try sqlite3 in-memory fullsync, might be faster 2016-12-03 13:56:46 +01:00
tomkat83
666ea9bc31 Sync new PMS items first 2016-12-03 13:07:41 +01:00
tomkat83
b0cde71fe3 If aborting fullsync, reset Kodi screensaver 2016-12-03 12:04:13 +01:00
tomkat83
db02a001a8 Playlist major upgrade part 1 2016-12-03 11:50:05 +01:00
tomkat83
8ed9275a26 Catch websocket handshake errors correctly
- Fixes #97
2016-11-17 13:29:53 +01:00
tomkat83
073dea6745 Fix for not getting tv show additional fanart 2016-11-17 12:21:31 +01:00
tomkat83
0538a250a3 Fix for fanart url containing spaces 2016-11-17 12:21:15 +01:00
tomkat83
8d11fa2a90 Move KODILANGUAGE 2016-11-16 14:27:11 +01:00
tomkat83
c779491499 Revert "Sleep 5s after declaring connection dead"
This reverts commit d65d9f0aba.
2016-11-12 17:50:45 +01:00
tomkat83
d65d9f0aba Sleep 5s after declaring connection dead 2016-11-12 17:47:58 +01:00
tomkat83
1339ac2bc9 More debug logging for websockets 2016-11-12 17:45:37 +01:00
tomkat83
3b22cb41a0 Fix for Krypton premiered synch for new items
- Fixes #142
2016-11-12 17:22:45 +01:00
tomkat83
1f7d785afc Fix transcoding for several parts 2016-11-08 21:00:13 +01:00
tomkat83
332640cf48 Revert "Don't double-update playstate of a playing item"
This reverts commit 7e2a11ea28.
2016-11-08 20:55:02 +01:00
tomkat83
c7dd0db400 Fixes to force transcoding 2016-11-08 20:51:34 +01:00
tomkat83
df67b92768 New contextmenu: Force transcode video 2016-11-06 15:37:22 +01:00
tomkat83
2f1b104b41 Fix playlist being cleared when it shouldn't 2016-11-06 14:45:37 +01:00
tomkat83
e87db5c672 Fix part numbers 2016-11-06 14:10:09 +01:00
tomkat83
7036e893d3 Always initiate an empty playlist 2016-11-06 13:46:33 +01:00
tomkat83
462724275d Fixes to how context menu playback is started 2016-11-06 13:46:16 +01:00
tomkat83
de184c8e03 Fix initiating from context menu not starting 2016-11-06 12:27:49 +01:00
tomkat83
20e6236fef Explicitly say that we're using plex trailers 2016-11-06 12:21:11 +01:00
tomkat83
bcc46e4ea1 New contextmenu: force playback from PMS
- Visible if using direct paths
- You will be able to correctly play videos with several parts, media
streams or versions
- Fixes #78
2016-11-06 12:15:41 +01:00
tomkat83
00299b58b2 Revert "Also append ext. subtitles if transcoding"
This reverts commit b8ae679092.
2016-11-05 17:28:03 +01:00
tomkat83
9e270356df Code optimization 2016-11-05 16:38:56 +01:00
tomkat83
b8ae679092 Also append ext. subtitles if transcoding 2016-11-05 16:35:43 +01:00
tomkat83
1a18c810d0 Close Plex companion connection on exceptions
- Fixes #137
2016-11-05 16:28:59 +01:00
tomkat83
02e8e3bf5c Fix not updating new user settings 2016-10-31 19:42:52 +01:00
tomkat83
e21c04e580 Fix smb credentials password not being url-encoded 2016-10-29 16:47:48 +02:00
tomkat83
46b5cc2209 New setting: Display message if PMS goes offline
- Fixes #92, finally
2016-10-29 16:29:32 +02:00
tomkat83
7e58fae9a2 Code optimization 2016-10-29 15:23:48 +02:00
tomkat83
50860573fa Fix Plex trailers not being synced
- Fixes #129
2016-10-26 21:34:58 +02:00
tomkat83
0bb4a26c33 Fix for missing Plex item bitDepth
- Fixes #130
2016-10-26 21:14:58 +02:00
tomkat83
3d209c3a6e Deactivate some contextmenu options yet missing 2016-10-26 21:11:19 +02:00
tomkat83
30adb5bd27 Optimize code 2016-10-26 21:06:16 +02:00
tomkat83
14d279aa4c Fix episode filename & path not being updated 2016-10-26 21:04:46 +02:00
tomkat83
c35ba0edef Fix TV show paths not updating 2016-10-26 20:53:20 +02:00
tomkat83
a96a20d37d Merge commit '2c6f7512997c0a4cd918ae5295187b30cac87018' into develop 2016-10-26 20:40:26 +02:00
tomkat83
7b0ec13297 Fix really ugly bug
- artwork queue was initiated and stuck in endless loop
2016-10-26 20:33:13 +02:00
Piotr Smolinski
2c6f751299 Propagated the pathid/fileid change
I moved the pathid/fileid resolution outside of create/update section
that it is shared by both flows. Then I added the idFile change to the
UPDATE statement and replaced emby_db.updateReference with
emby_db.createReference. The latter one is UPSERT type update, therefore
also safe here.
2016-10-24 23:37:29 +02:00
tomkat83
9869131464 Don't show delet context menu if now allowed by PMS 2016-10-23 19:38:21 +02:00
tomkat83
a0b8a9fa93 Monitor Kodi setting changes more closely 2016-10-23 17:10:34 +02:00
tomkat83
2557260002 Remove deleted PMS items immediately 2016-10-23 16:55:28 +02:00
tomkat83
18e6135afd Process background sync every 5 seconds 2016-10-23 16:48:59 +02:00
tomkat83
0b2ccde834 Message if PMS item could not be deleted 2016-10-23 16:37:26 +02:00
tomkat83
45a9f8081b Less logging 2016-10-23 16:15:57 +02:00
tomkat83
e2776261c3 Initial Kodi context menu commit 2016-10-22 17:15:10 +02:00
tomkat83
5ac807760b Fix movie year for Krypton (reset your Kodi DB!)
- Fixes #79
2016-10-18 20:47:45 +02:00
tomkat83
d71f6e8887 Remove obsolete lock 2016-10-18 20:32:16 +02:00
tomkat83
ec7d4efc80 Remove obsolete import 2016-10-18 20:01:41 +02:00
tomkat83
1bae637830 Adjust download threads to 1 for low powered devices 2016-10-18 19:49:11 +02:00
tomkat83
23384c5d9e Fix art not caching efficiently 2016-10-17 23:15:05 +02:00
tomkat83
a2e2d2f5f8 Revert "Log art caching"
This reverts commit 2b363b7a30.
2016-10-17 22:55:32 +02:00
tomkat83
2b363b7a30 Log art caching 2016-10-17 22:50:36 +02:00
tomkat83
1a4660571b Only start downloading art AFTER sync completed
- Will speed up sync
2016-10-17 22:48:01 +02:00
tomkat83
cd65a93989 Fix Kodi crashing on low powered devices
- Fixes #126
2016-10-17 22:34:15 +02:00
tomkat83
4274942d49 Revert "Don't set-up clips/trailers like other videos"
This reverts commit e4d736a670.
2016-10-16 16:44:41 +02:00
tomkat83
c747e915b1 Fix TypeError if no extras available
- Fixes #123
2016-10-13 11:27:31 +02:00
tomkat83
5437f1a355 Ommit Plex DVR status messages
- Hopefully fixes #110
2016-10-11 18:52:59 +02:00
tomkat83
c02a95cc59 Streamline code 2016-10-11 18:37:47 +02:00
tomkat83
4b0583b1c9 Prevent IndexError on unknown PMS ids 2016-10-11 18:35:11 +02:00
tomkat83
d069fc7c48 Fix IndexError on deleting items 2016-10-11 18:28:07 +02:00
tomkat83
0b7e6ec0a3 Compile regex only once 2016-09-25 19:21:12 +02:00
tomkat83
219cdd9fba Revert "Download one item at a time" 2016-09-25 19:18:27 +02:00
tomkat83
a7820a9cf6 Try to prevent OperationalError: database is locked 2016-09-25 18:59:34 +02:00
tomkat83
086d5c8901 Fix "Opening Stream..." dialog not closing
- Fixes #113
- See http://forum.kodi.tv/showthread.php?tid=155641
2016-09-25 18:46:10 +02:00
tomkat83
fe99fd1ec8 Remove obsolete import 2016-09-25 18:34:03 +02:00
tomkat83
c437821e3c Fix TypeError for manually entering PMS address
- Fixes #114
2016-09-25 17:35:40 +02:00
tomkat83
e4d736a670 Don't set-up clips/trailers like other videos
- Should fix PKC trying to tell the PMS where we are playing that item
2016-09-21 20:17:33 +02:00
tomkat83
b5b3b8380f Music sync: Fix ProgrammingError 2016-09-21 19:52:11 +02:00
tomkat83
b23bdfe65f Fix capitalization 2016-09-17 20:48:37 +02:00
tomkat83
7e2a11ea28 Don't double-update playstate of a playing item 2016-09-17 20:36:53 +02:00
tomkat83
2ca4ad7b6c Fix capitalization 2016-09-17 20:30:28 +02:00
tomkat83
9c74fd4a98 Fix backgroundsync KeyError 2016-09-17 19:12:32 +02:00
tomkat83
a4ed5c47ab Reorder settings 2016-09-17 16:11:00 +02:00
tomkat83
ca3a06affc New setting: sleep between art downloads 2016-09-17 15:39:20 +02:00
tomkat83
1ff7970e88 Remove imageCacheLimit and cap on thread-number 2016-09-17 15:20:43 +02:00
tomkat83
25a6d82022 Prevent infinite loops after requesting something 2016-09-17 15:17:01 +02:00
tomkat83
77d1df553c More logging 2016-09-17 14:49:57 +02:00
tomkat83
703f2fb37d Fix setting to cache all textures to Kodi 2016-09-17 14:48:40 +02:00
tomkat83
ca6bb4e8ca Rewiring of caching - daemon instead of threads 2016-09-17 14:02:50 +02:00
tomkat83
cd14127233 Revert "Revert "Dedicated art downloading queue""
This reverts commit 6621cc5a8d.
2016-09-17 11:24:12 +02:00
tomkat83
c0d91507c0 Revert "Optimize image_cache_thread"
This reverts commit afb0960260.
2016-09-17 11:24:06 +02:00
tomkat83
afb0960260 Optimize image_cache_thread
- BUT: lead to DOS-seeming behavior and ConnectionError: ('Connection
aborted.', error(10053)) from http://image.tmdb.org/
2016-09-17 11:23:31 +02:00
tomkat83
6621cc5a8d Revert "Dedicated art downloading queue"
This reverts commit dc94cc6bfe.
2016-09-17 10:58:08 +02:00
tomkat83
dc94cc6bfe Dedicated art downloading queue 2016-09-17 10:58:03 +02:00
tomkat83
83029b7560 Shorten for loop 2016-09-17 09:55:06 +02:00
tomkat83
daf23fcc55 Merge while loops 2016-09-17 09:48:38 +02:00
tomkat83
8743ce13af Remove obsolete code 2016-09-16 17:51:30 +02:00
tomkat83
4d7af7912d Use file settings instead of window settings 2016-09-16 17:47:09 +02:00
tomkat83
a3d643c643 Use some file settings instead of window settings
- In case the user changes something while PKC is running
2016-09-16 17:42:39 +02:00
tomkat83
a2a53cddf6 Fix AttributeError 2016-09-11 18:31:25 +02:00
tomkat83
c9dd44f498 Don't try to get fanart for episodes, seasons 2016-09-11 17:59:00 +02:00
tomkat83
4cfb8c4610 Fix OperationalError for Kodi DB
- Fanart sync is too taxing, needs to be done after regular syncs
2016-09-11 17:51:00 +02:00
tomkat83
9c46757b42 Do warn user 2016-09-11 17:31:38 +02:00
tomkat83
61a2457a1d Less logging 2016-09-11 16:05:05 +02:00
tomkat83
c4de7587bf Revert "constructor (with Artwork() as art)"
This reverts commit 168014c33b.
2016-09-11 15:49:50 +02:00
tomkat83
168014c33b constructor (with Artwork() as art)
- Way too slow
2016-09-11 15:49:37 +02:00
tomkat83
940e41921f Don't warn user of OperationalErrors 2016-09-11 13:52:14 +02:00
tomkat83
59882a7be8 Improve + make artwork thread-save 2016-09-11 13:51:53 +02:00
tomkat83
bfc0249720 Optimize import 2016-09-11 12:21:13 +02:00
tomkat83
c3010645bc New PKC setting to look for missing fanart 2016-09-11 12:15:26 +02:00
tomkat83
7c86270ece Don't do daily lookup of fanart 2016-09-11 11:47:55 +02:00
tomkat83
5cf77d3292 Revert "Don't look for fanart twice on fresh system"
This reverts commit cb4e084305.
2016-09-11 11:46:42 +02:00
tomkat83
cb4e084305 Don't look for fanart twice on fresh system 2016-09-11 11:32:18 +02:00
tomkat83
7b578603ca Fix TypeError 2016-09-11 11:29:51 +02:00