Commit graph

1586 commits

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