Commit graph

2575 commits

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