Commit graph

1700 commits

Author SHA1 Message Date
tomkat83
0b1a53e839 More logging 2016-04-13 16:19:24 +02:00
tomkat83
a089dc6e04 Correctly stop transcoding 2016-04-13 16:14:55 +02:00
tomkat83
e5e70f769e Fix Encoding 2016-04-13 15:53:10 +02:00
tomkat83
a594daeb68 Assume its us playing if the PMS is not ours 2016-04-13 15:27:02 +02:00
tomkat83
7f9542c531 More logging 2016-04-13 14:42:04 +02:00
tomkat83
8794f221ff User auth resets download error counts 2016-04-13 14:34:58 +02:00
tomkat83
7bc3ee7fdf Fix TypeError 2016-04-13 14:20:28 +02:00
tomkat83
61fb7694aa Fix Kodi checking for existing files and dirs 2016-04-13 14:15:31 +02:00
tomkat83
7830f49936 Obsolete method 2016-04-13 13:06:06 +02:00
tomkat83
170b6c5066 Use window variables for download error count
When playing an item, another plugin instance is created. It is
impossible to share data otherwise
2016-04-13 13:04:23 +02:00
angelblue05
38933b9b2d Update artwork.py if webserver is disabled. 2016-04-13 06:00:50 -05:00
tomkat83
98f52d3b5e ProcessMetadata thread: sleep now unnecessary 2016-04-13 12:23:36 +02:00
tomkat83
dc96dc533a Only declare unauthorized after 3 fails in a row 2016-04-13 12:14:16 +02:00
tomkat83
47938cf5c2 DoUtils: use authenticate instead of dontSignout 2016-04-13 10:48:45 +02:00
tomkat83
9d06225228 Centralize Direct Play and Direct Paths 2016-04-12 17:18:32 +02:00
Ian Mclaughlin
d95d854f70 Update utils.py
Add initial krypton support
2016-04-12 16:00:22 +01:00
tomkat83
e4aefaaa5e Remove Container.Refresh
- This is a skin issue, not a PKC issue
2016-04-12 09:05:52 +02:00
tomkat83
5aa337d03c Fix encoding 2016-04-12 08:54:10 +02:00
tomkat83
ed83a7009f Fix encoding 2016-04-12 08:52:13 +02:00
tomkat83
f094ca4299 Small playback fixes 2016-04-12 08:40:12 +02:00
tomkat83
543cec93b4 Don't normalize moviename for playback report
- Instead, use string (not unicode) for window
2016-04-11 19:18:55 +02:00
tomkat83
4ca321faea Always direct play items, if possible 2016-04-11 18:57:20 +02:00
tomkat83
b9016a0acd Companion: handle timeout while connecting 2016-04-11 18:00:04 +02:00
tomkat83
c20c701abd Fix endless trailer loop 2016-04-11 17:50:56 +02:00
tomkat83
7f956c6f18 Fix playback report for trailers seeming like movie 2016-04-11 15:11:50 +02:00
tomkat83
f368f02abf Fix TypeError when marking item watched 2016-04-11 15:01:25 +02:00
tomkat83
48edee8656 Less logging 2016-04-11 14:57:32 +02:00
tomkat83
cccd545b4c Fix IndexError when trying to match movie title 2016-04-11 14:51:35 +02:00
tomkat83
8be55d898c Cleanup Plex Companion 2016-04-11 12:34:38 +02:00
tomkat83
18ff3715ac Revert "Revert "Cleanup Plex Companion""
This reverts commit 5788f3c7ea.
2016-04-11 12:34:24 +02:00
tomkat83
5788f3c7ea Revert "Cleanup Plex Companion"
This reverts commit dd51766d3d.
2016-04-11 12:34:06 +02:00
tomkat83
dd51766d3d Cleanup Plex Companion 2016-04-11 12:34:00 +02:00
tomkat83
19eae61737 Fix currently playing showing old Plex items
- E.g. when watching Kodi TV/PVR
2016-04-11 10:41:13 +02:00
tomkat83
f0ba60c781 Fix KeyError if Kodi webserver disabled 2016-04-11 09:51:05 +02:00
tomkat83
27608114f5 Plex Collections available under Movies-Collections
- Tags are used (one movie may have several) instead of Kodi sets (only
1 set per movie possible)
2016-04-11 09:49:02 +02:00
tomkat83
a420bbc382 Rename Movie Sets to Movie Collections 2016-04-11 09:27:26 +02:00
tomkat83
adbeb4d48f Shutdown lib sync threads correctly on user switch 2016-04-11 09:21:40 +02:00
tomkat83
89fe2565d2 Try to shutdown more cleanly 2016-04-09 16:57:45 +02:00
tomkat83
e53afe3fb9 Backwards compatibility py2.6: replace etree iter
- Make python 2.6 compatible: replace iter() with findall()
2016-04-09 16:26:08 +02:00
tomkat83
e0642c96cb More logging for trying to access Plex directories 2016-04-09 15:51:30 +02:00
tomkat83
ffa8e10099 Redirect /Extras calls by e.g. Video Extras plugin
- Could start playing a movie, e.g. when starting up Kodi
2016-04-09 15:46:51 +02:00
tomkat83
a3d964dff4 Music: Enter Zero, not Null in DB 2016-04-08 14:48:47 +02:00
tomkat83
9528577aab Delete music items in full sync if not found on PMS 2016-04-08 14:11:50 +02:00
tomkat83
24bb637606 Don't show Kodi popup when scanning Music 2016-04-08 13:57:55 +02:00
tomkat83
bbfd612137 Refresh view when playback stopped 2016-04-08 13:51:29 +02:00
tomkat83
3d5a3e9bfb Don't declare connection when poking PMS 2016-04-08 13:18:19 +02:00
tomkat83
53b15aa51a On Deck: sort by last played 2016-04-08 13:06:20 +02:00
tomkat83
d3e27d9797 Use Plex library for timesync
- No need for Kodi elements
2016-04-08 10:52:15 +02:00
tomkat83
159bec297e Cosmectics 2016-04-08 09:39:10 +02:00
tomkat83
4358a42424 Less Plex Companion logging 2016-04-08 09:33:31 +02:00
tomkat83
f23fdb1c9c Less Plex Companion logging 2016-04-08 09:32:13 +02:00
tomkat83
ba8c80f61d Wait max. for 5s when choosing new PMS 2016-04-08 09:29:48 +02:00
tomkat83
55cbf5824d Kill sync threads if library gets suspended
- E.g. user switch
2016-04-08 09:24:28 +02:00
tomkat83
53e7fa3cea Re-Add askToValidate
- No idea where this got deleted
2016-04-08 09:20:27 +02:00
tomkat83
4a63e03615 Shut down sync more cleanly if interrupted 2016-04-08 09:11:03 +02:00
tomkat83
5289619792 Deal with PMS reply 401 under too much strain
- Sync should now abort pretty much instantly
2016-04-07 18:29:23 +02:00
tomkat83
1db371e9f1 Less logging 2016-04-07 17:51:42 +02:00
tomkat83
2ec6bff388 Update playstate if owner plays for single user PMS 2016-04-07 17:37:53 +02:00
tomkat83
be71912496 Don't sign out on checking connections 2016-04-07 16:46:12 +02:00
tomkat83
621fd3ad4a Instantiate Plex Companion after user signed on 2016-04-07 16:41:27 +02:00
tomkat83
ceedba4f46 Increase path hack stability
- What happens if there are no movies or shows?
2016-04-07 16:17:57 +02:00
tomkat83
88b581f756 Clear playlists and video nodes on user switch
- And not on fullsync (widgets might brake)
2016-04-07 16:13:02 +02:00
tomkat83
753e090cec Fix HTTP 401 and authentication endless loop 2016-04-07 16:10:07 +02:00
tomkat83
ae51e43145 Use 1 xbmcgui dialog instance in librarysync 2016-04-07 15:33:01 +02:00
tomkat83
b91145ecae Fix TV On Deck view and entire shows as watched
- Playcount was set to 0, not NULL/None in Kodi Database
2016-04-07 15:13:05 +02:00
tomkat83
fdb42c1f26 Fix Kodi information screen not working 2016-04-07 13:49:05 +02:00
tomkat83
79349ce4af Fix Library Repair Sync 2016-04-07 11:57:34 +02:00
tomkat83
9781131cd2 Also clear video nodes and playlists on full sync
- Called e.g. when switching Plex user
2016-04-07 09:02:52 +02:00
tomkat83
783fad33f1 Don't change Kodi settings xml if music is enabled
- Because Music is yet unstable
2016-04-07 08:55:49 +02:00
tomkat83
e90703f757 Prep contextmenu 2016-04-07 08:34:01 +02:00
spootdev
b67a77c27b title fix 2016-04-06 22:22:34 -05:00
SpootDev
82bcec9819 type 2016-04-06 13:37:19 -05:00
SpootDev
e0f33ffc12 missing self 2016-04-06 13:28:08 -05:00
SpootDev
fa1c710821 semi colon 2016-04-06 13:24:02 -05:00
tomkat83
1f3598a7c4 Cleanup and Fixes
- Disable SSL warnings, finally
- Fix Plex Companion errors due to downloadutils switch
2016-04-06 18:23:51 +02:00
tomkat83
260fc7adf8 Rewired download and PMS connection
- Look for PMS in the LAN, even if plex.tv is available
2016-04-06 16:24:03 +02:00
tomkat83
8bad79413c Move any download activities to one method 2016-04-05 20:10:29 +02:00
tomkat83
12add3d369 Move xArgsDeviceInfo to clientinfo 2016-04-05 18:23:00 +02:00
tomkat83
9929ab2eb5 Sleep when checking connection failed 2016-04-05 17:03:34 +02:00
tomkat83
265768ecfc Revert "Merge remote-tracking branch 'doctorlard/master' into develop"
This reverts commit 248ae52599, reversing
changes made to fb46c41294.
2016-04-05 12:02:15 +02:00
tomkat83
248ae52599 Merge remote-tracking branch 'doctorlard/master' into develop 2016-04-05 12:01:10 +02:00
tomkat83
fb46c41294 Try 3x before declaring plex connection dead 2016-04-05 11:20:39 +02:00
tomkat83
43b0af936f More Plex Companion cleanup
No dedicated logging anymore
2016-04-05 10:57:30 +02:00
SpootDev
d080c49821 cleanup 2016-04-04 16:21:05 -05:00
SpootDev
d78c04d67f code reduce 2016-04-04 14:18:46 -05:00
SpootDev
30dfe99e37 spelling 2016-04-03 19:54:36 -05:00
SpootDev
398bd1644f type fix 2016-04-03 15:51:26 -05:00
tomkat83
43dc83ae57 Fix instance chaos with Plex Companion
- Should fix PKC startup issues, among others
2016-04-02 16:46:23 +02:00
tomkat83
50b25ccf73 Fix TypeError with PMS item 'addedAt' missing 2016-04-02 10:43:50 +02:00
tomkat83
47d480eafd Ratings default to 0, not None 2016-04-02 10:31:21 +02:00
croneter
d191500552 Merge pull request #2 from gdachs/develop
made it compatible to Krypton
2016-04-02 10:07:18 +02:00
SpootDev
d436c8415d reserved word 2016-03-31 17:59:29 -05:00
SpootDev
03ad05bcfb code reduce 2016-03-31 17:42:49 -05:00
SpootDev
b143f34fbf code reduce 2016-03-31 16:05:41 -05:00
SpootDev
8db97c5d3d code reduce 2016-03-31 15:25:45 -05:00
SpootDev
0d2efbed1f code reduce 2016-03-31 14:52:09 -05:00
SpootDev
372c61ef92 self.log 2016-03-31 14:48:52 -05:00
SpootDev
9da11785d6 unused field 2016-03-31 14:46:37 -05:00
SpootDev
af69c9224e self kodi version 2016-03-31 14:39:39 -05:00
SpootDev
d915c4539e code reduce 2016-03-31 14:39:32 -05:00
SpootDev
44d0af0ad8 code reduce 2016-03-31 13:55:25 -05:00
SpootDev
2748d21ff4 self.log 2016-03-31 13:40:47 -05:00
SpootDev
8a130fe810 code reduce 2016-03-31 13:35:23 -05:00
SpootDev
c6ba6d6f51 url and log 2016-03-31 13:18:49 -05:00
SpootDev
1768bd0e4c code reduce and doutil to doutils fix for delete favorite 2016-03-31 13:13:26 -05:00
SpootDev
a864f390d3 code reduce 2016-03-31 13:00:19 -05:00
SpootDev
a80bb11349 reserved word type 2016-03-31 12:49:55 -05:00
SpootDev
047189b31b self.item 2016-03-31 12:46:51 -05:00
SpootDev
3c9c758bdd self.log 2016-03-31 12:41:06 -05:00
SpootDev
753f267fde code reduce 2016-03-31 12:37:48 -05:00
SpootDev
69b305a3c9 unused line 2016-03-31 12:35:18 -05:00
SpootDev
60b53bddf1 self log 2016-03-31 12:32:40 -05:00
SpootDev
16f3bbf3e4 self doutils 2016-03-31 12:12:02 -05:00
SpootDev
481af3823f self.xbmcplayer 2016-03-31 11:37:41 -05:00
SpootDev
e3d2a6ff72 self log 2016-03-31 11:35:41 -05:00
SpootDev
2e4b32d8fd cleanup 2016-03-31 11:30:52 -05:00
SpootDev
243a12c263 self log 2016-03-31 10:58:49 -05:00
SpootDev
065bff5215 exit loop 2016-03-31 10:55:21 -05:00
SpootDev
2e1a2328fd return data directly instead of creating new var 2016-03-31 10:51:48 -05:00
SpootDev
75414f5f07 self cursor 2016-03-31 10:48:10 -05:00
SpootDev
47beade09a reserved word type 2016-03-31 10:39:00 -05:00
SpootDev
98bee106cb self kodi 2016-03-31 10:34:53 -05:00
SpootDev
7e41f8b051 type reserved 2016-03-31 10:25:36 -05:00
SpootDev
a6a3da60f2 self cursor 2016-03-31 10:21:14 -05:00
SpootDev
6922eea15f break after set 2016-03-31 09:53:07 -05:00
SpootDev
a20dae1ee2 filter reserved 2016-03-31 09:45:20 -05:00
SpootDev
ce7a810874 type reserved 2016-03-31 09:43:52 -05:00
SpootDev
962cb44c49 unused 2016-03-31 09:39:35 -05:00
SpootDev
dfef62164f reserved word 2016-03-31 09:33:39 -05:00
SpootDev
ad156d3f6c log clean 2016-03-30 22:37:37 -05:00
SpootDev
b8a5f9c913 log self 2016-03-30 22:32:59 -05:00
SpootDev
0fc7fbd3b2 self.server 2016-03-30 22:24:00 -05:00
SpootDev
065b8d84f0 self.item 2016-03-30 22:01:37 -05:00
SpootDev
16fb22792f emby self 2016-03-30 21:45:43 -05:00
SpootDev
78b72ccdef vnodes 2016-03-30 21:29:24 -05:00
SpootDev
01265595f5 doutils 2016-03-30 21:28:08 -05:00
SpootDev
181824fef2 unused field 2016-03-30 21:22:55 -05:00
SpootDev
ef903f5c8a utils 2016-03-30 21:19:33 -05:00
SpootDev
bb8374e927 log cleanup 2016-03-30 21:17:09 -05:00
SpootDev
d8ba247d99 break out of loop after plugin found 2016-03-30 21:01:24 -05:00
SpootDev
828d47b533 spelling fix 2016-03-30 19:30:26 -05:00
tomkat83
8c6dd25194 Fix PlexCompanion TypeError 2016-03-29 20:17:07 +02:00
tomkat83
7bb765bedd 'NameError: global name 'guidoc' is not defined' 2016-03-29 20:03:53 +02:00
tomkat83
9dec68f6d9 Do background sync while playing
But no full sync
2016-03-29 19:45:32 +02:00
tomkat83
9037f65318 Improve websocket stability 2016-03-29 19:16:08 +02:00
tomkat83
dc7755ba6d Rewired websockets 2016-03-29 18:44:13 +02:00
tomkat83
c401cd9835 No websocket message logging 2016-03-28 14:43:35 +02:00
tomkat83
85c3f3949b Fix Music playback websocket KeyError 2016-03-28 11:39:35 +02:00
tomkat83
9e2668e6da Fix SSL websocket 2016-03-28 11:29:07 +02:00
tomkat83
43a7886eae Fix time sync for Music items 2016-03-28 10:51:38 +02:00