Commit graph

210 commits

Author SHA1 Message Date
im85288
cbe3a28660 retrieve banner art when available 2016-04-15 12:22:56 +01:00
tomkat83
36884c0537 Fix Plex Date added missing 2016-04-15 09:32:04 +02:00
tomkat83
a089dc6e04 Correctly stop transcoding 2016-04-13 16:14:55 +02:00
tomkat83
61fb7694aa Fix Kodi checking for existing files and dirs 2016-04-13 14:15:31 +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
tomkat83
4ca321faea Always direct play items, if possible 2016-04-11 18:57:20 +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
be71912496 Don't sign out on checking connections 2016-04-07 16:46:12 +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
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
fb46c41294 Try 3x before declaring plex connection dead 2016-04-05 11:20:39 +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
tomkat83
9dec68f6d9 Do background sync while playing
But no full sync
2016-03-29 19:45:32 +02:00
tomkat83
e73b467904 Music: set default rating to 0, not NULL 2016-03-28 10:40:30 +02:00
tomkat83
2ff7f7fa5c Music: scrape Studio/Label 2016-03-28 09:56:22 +02:00
tomkat83
1e49e9dea9 Background sync using websockets 2016-03-27 16:57:35 +02:00
tomkat83
8abd987d2b New Setting: Choose Plex Server from a list 2016-03-24 12:34:39 +01:00
tomkat83
eca710f2a9 Fix transcoding for HTTP, HTTPs still shaky 2016-03-24 10:24:11 +01:00
tomkat83
3a4349e647 Disable SSL warning in Log, clean Futurewarnings 2016-03-23 16:57:49 +01:00
tomkat83
2806c8002a Cleaned out https checks
- Disabled HTTP certificate warnings in log
2016-03-23 16:07:09 +01:00
tomkat83
feb01b748f Switch from xml.etree.cElementTree to .ElementTree
cElementTree has issues, e.g. during Kodi user profile switch
2016-03-23 09:42:59 +01:00
tomkat83
8d9620b408 Only remind once that direct paths are unverified 2016-03-21 17:54:04 +01:00
tomkat83
234a141cc6 Fix TV shows rating not showing up 2016-03-17 16:15:48 +01:00
tomkat83
9f8343113a Fixed some plex.tv token issue 2016-03-17 12:45:38 +01:00
tomkat83
09f0295e1c Sync theTVDB id for TV shows from Plex to Kodi 2016-03-16 18:47:57 +01:00
tomkat83
35bba8e581 Move validatePlayUrl 2016-03-16 18:33:18 +01:00
tomkat83
7f674acbac Redesign Kodi monitor and player
Allows now to have playback initiated by Kodi - especially when using
direct paths
2016-03-16 17:02:22 +01:00
tomkat83
aaa8ada3ea Use direct paths - not yet working for music 2016-03-15 20:26:45 +01:00
tomkat83
037925a030 Prep On Deck 2016-03-14 17:47:05 +01:00
tomkat83
4771c71978 Remove some logging 2016-03-14 10:00:03 +01:00
tomkat83
c2f1bca6c2 Fix KeyError for library sync 2016-03-14 09:56:04 +01:00
tomkat83
d300cc60d6 Fix tv show season posters not showing 2016-03-13 16:06:54 +01:00
tomkat83
53c07d4b50 Fix Recently Added
Plex time was not converted to Kodi time
2016-03-13 14:50:29 +01:00
tomkat83
9097f06392 Fix librarysync key error 2016-03-11 14:47:41 +01:00
tomkat83
ae9d4924c2 Redesign fast sync 2016-03-11 14:42:14 +01:00
tomkat83
a3c2d21757 Fix userclient 2016-03-10 16:02:46 +01:00
tomkat83
5be1e3a24a Fix KeyError in library sync 2016-03-10 12:47:30 +01:00
tomkat83
55b3d44899 Overhaul userclient
Again...
2016-03-09 15:37:27 +01:00
tomkat83
e635f43845 Improve sync resiliance and GDM discovery
Improve sync resiliance to bad connections (e.g. behind a firewall)
2016-03-08 17:41:07 +01:00
tomkat83
100421ce2d Connect to remote PMS 2016-03-08 14:50:43 +01:00
tomkat83
56af183288 Correct encoding
Kodi dialogs take unicode
2016-03-08 13:00:03 +01:00
tomkat83
c0f2067856 Don't log header if checking connection to a PMS 2016-03-07 14:10:47 +01:00
tomkat83
4996d7122f Bugfix: enforce PIN for protected users
Bugfix for Plex.tv bug: don't allow protected user to get a token if
pin= in url is omitted
2016-03-07 13:10:38 +01:00
tomkat83
c6503f8a8e Enable non-ASCI PMS server name and username 2016-03-07 13:01:45 +01:00
tomkat83
e784dab578 Overhaul userclient 2016-03-04 13:34:30 +01:00
tomkat83
4e44579c1f General bug squishing 2016-03-03 15:28:44 +01:00
tomkat83
c2ecdacec4 Settings overhaul. Also added many German translations 2016-03-03 14:00:48 +01:00
tomkat83
47ad159a5f Add PMS collections to tv shows 2016-03-01 16:28:48 +01:00
tomkat83
e8f1382916 Add PMS collection tags to movies 2016-03-01 16:18:12 +01:00
tomkat83
70393b1b86 Fix URL tokens 2016-02-19 16:10:19 +01:00
tomkat83
bcbbb1b42f Plex Music!
Playing does not work yet, but Lib sync is up
2016-02-12 16:53:49 +01:00
tomkat83
39f1d0c367 Fix dbid not found if playQueue sent 2016-02-11 10:30:29 +01:00
tomkat83
99129e5a78 Connection close, not keep-alive 2016-02-10 16:15:57 +01:00
tomkat83
f968d2eef8 Improve setPartNumber 2016-02-07 18:05:59 +01:00
tomkat83
0f14019e5b Overhaul Plex Companion 2016-02-07 12:38:50 +01:00
tomkat83
125daea6ef Transcoding up 2016-02-04 20:23:04 +01:00
tomkat83
c63e4c1bc4 Redesign playbackutils 2016-02-03 13:01:13 +01:00
tomkat83
fa0003a5eb Overhaul PlexAPI. Only using XMLs now, no JSONs 2016-02-01 10:33:33 +01:00
tomkat83
6aa3f62b79 Plexcompanion 1st version for entrypoint.py, playbackutils.py, PlexAPI.py 2016-01-31 16:13:40 +01:00
tomkat83
8912a0b601 Overhaul Part 1 2016-01-29 20:07:21 +01:00
tomkat83
40c8b6f683 Moved many functions to PlexFunctions.py 2016-01-27 16:33:02 +01:00
tomkat83
e5311981b4 Small fixes 2016-01-27 15:14:30 +01:00
tomkat83
0d4c8ae53e Added logging decorator 2016-01-26 17:20:13 +01:00
tomkat83
079f43c644 User switch fix, part 1 2016-01-25 10:36:24 +01:00
tomkat83
613e033b48 Fix playing trailers directly via Plex Companion 2016-01-24 16:12:28 +01:00
tomkat83
e0330c1a28 Fixed plex companion headers and resume point 2016-01-23 15:53:24 +01:00
tomkat83
48ba7f0869 Plex Companien (Plexbmc helper) version 0.1 2016-01-22 15:37:20 +01:00
tomkat83
c1c19cbc68 Merge conflicts sync 2016-01-15 10:04:47 +01:00
tomkat83
40c02395a2 Added UpdateUserdata to Movies and TV Shows 2016-01-14 16:17:24 +01:00
tomkat83
eddfa23a71 Plex home user switch finally working 2016-01-14 14:47:34 +01:00
tomkat83
6e8bd3e7da Plex.tv sign in with 4 digit PIN 2016-01-14 10:20:19 +01:00
tomkat83
1f8eb7f2ab Trying to change Plex.tv sign in process 2016-01-13 14:56:44 +01:00
tomkat83
79f95100c5 Switch user v01 2016-01-12 17:23:55 +01:00
tomkat83
ca731ba41e Pass resume point back to PMS 2016-01-12 13:57:26 +01:00
tomkat83
57e6d40af2 Plex trailers directly playable now 2016-01-12 11:47:48 +01:00
tomkat83
5e8fd41938 Checksum for season 2016-01-11 17:37:01 +01:00
tomkat83
c854ee621e videonodes v0.1 2016-01-11 09:57:45 +01:00
tomkat83
de3a058463 Sped up initial sync 2016-01-11 07:55:22 +01:00
tomkat83
5da6b4153e TV shows sync v0.1 2016-01-09 16:14:02 +01:00
tomkat83
8c18879271 Switch to threaded Movie metadata processing 2016-01-07 17:27:48 +01:00
tomkat83
cef41188e0 Movies now direct playing. Trailers playing but always transcoding 2016-01-05 16:05:20 +01:00
tomkat83
93ad4ae0cb Movie with multiple parts now working 2016-01-03 19:17:59 +01:00
tomkat83
1970e00b16 Playbackutils now cycles correctly over XML reply; trailers thus working 2016-01-03 15:41:12 +01:00
tomkat83
7f9dfca2d6 Trailers up. BUT: first trailer is repeated indefinitely 2016-01-03 13:36:00 +01:00
tomkat83
e0ccaf16ad Fix getting Metadata for streaming 2016-01-02 09:28:31 +01:00
tomkat83
a134259cb5 Fix resume and runtime 2016-01-01 20:36:02 +01:00
tomkat83
5c35ce651b Add Addonname to user selection dialog 2016-01-01 14:50:51 +01:00
tomkat83
bc65b6082d Direct playing movie works 2016-01-01 14:40:40 +01:00
tomkat83
681e57b350 Fix getting Stream metadata 2015-12-31 12:46:41 +01:00
tomkat83
3fe10ba851 Switched metadata processing from JSON to XML 2015-12-31 10:53:22 +01:00
tomkat83
f2294569e6 Syncing Movie pictures now finally works
Had to add Plex credentials to URL
2015-12-30 16:37:30 +01:00
tomkat83
1e7acfc927 Moving getallartworks to PlexAPI 2015-12-30 15:57:55 +01:00
tomkat83
25f5d65343 Movie sync working. 2015-12-30 13:25:37 +01:00
tomkat83
54a20f0b13 Before recoding Plexmovies function 2015-12-29 14:13:32 +01:00
tomkat83
88f649d36d Movie Sync Alpha version 2015-12-28 18:47:16 +01:00
tomkat83
43765a6675 Fixes 2015-12-28 13:10:05 +01:00
tomkat83
92eac70c0b Small fixes user authorization 2015-12-28 10:35:27 +01:00
tomkat83
8604fab2d4 Fixes to loading user 2015-12-28 09:17:17 +01:00
tomkat83
557c3f03a1 Code for Plex home not being used (1 user only) 2015-12-28 09:00:43 +01:00
tomkat83
48a248ff59 Plex home user authentication done! 2015-12-27 17:12:46 +01:00
tomkat83
6ea38c7dfb Start user authentication 2015-12-27 16:27:49 +01:00
tomkat83
dd1e873b20 Choose Plex user. Connection fixes 2015-12-27 14:42:54 +01:00
tomkat83
6c40455ac6 Trying to fix SSL issues. Seems to be a Kodi request issue for very first calls?!?
still get "[Errno 8] _ssl.c:510: EOF occurred in violation of protocol"
2015-12-27 13:20:53 +01:00
tomkat83
e6db2e1b96 Added PlexAPI.py. Adjusted settings.xml 2015-12-27 12:09:07 +01:00