Commit graph

1507 commits

Author SHA1 Message Date
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
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
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
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
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
fb1bc7c555 Cleanup background sync 2016-03-27 19:06:36 +02:00
tomkat83
1e49e9dea9 Background sync using websockets 2016-03-27 16:57:35 +02:00
tomkat83
6a2094d444 Backgroundsync using websockets 2016-03-27 16:57:20 +02:00
Gerald Dachs
2d6361d9d6 made it compatible to Krypton
initialize rating
2016-03-25 13:32:19 +01:00
tomkat83
5949988b68 Plex websockets - groundworks 2 2016-03-24 18:52:02 +01:00
tomkat83
ed5483e2ae Merge branch 'hotfixes' into develop 2016-03-24 12:35:37 +01: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
5d2dbaaf1e Get a machineIdentifier if it is missing
- E.g. when PMS IP was entered manually
2016-03-24 09:08:58 +01:00
tomkat83
bca89c3a9a Generate a new unique Plex device ID in settings
Nice if you copy/paste your Kodi profile
2016-03-24 08:26:08 +01:00
angelblue05
a7f70a3145 Fix channels
root doesn't have an item id - viewname defaults to none.
2016-03-23 19:50:58 -05:00
tomkat83
98d11ceb2d Merge branch 'master' into develop 2016-03-23 17:37:01 +01:00
tomkat83
3a4349e647 Disable SSL warning in Log, clean Futurewarnings 2016-03-23 16:57:49 +01:00
tomkat83
9a049854dc Don't de-authorize if several PMS are present 2016-03-23 16:40:31 +01:00
tomkat83
2806c8002a Cleaned out https checks
- Disabled HTTP certificate warnings in log
2016-03-23 16:07:09 +01:00
tomkat83
9b7774dfc0 Hold off sync if user chooses to go into settings
During initial setup. Restart Kodi required
2016-03-23 10:30:49 +01:00
tomkat83
8568e7e08e Change "Switch User" to "Log Out Plex User: XYZ" 2016-03-23 10:13:31 +01:00
tomkat83
d8deb4919e Shut down PKC correctly 2016-03-23 10:05:29 +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
8308665183 TV shows On Deck: append season and episode number 2016-03-23 07:57:38 +01:00
tomkat83
33f5044828 Enable external Plex subtitles if available 2016-03-22 16:59:35 +01:00
tomkat83
a5b33a9f49 TV On Deck: option to include show name 2016-03-22 16:47:47 +01:00
tomkat83
b20308d68f Playback updates if an item is resumed 2016-03-22 16:17:06 +01:00
tomkat83
98554dbe26 Clean up Plex Companion subscribers 2016-03-22 15:34:59 +01:00
tomkat83
55791659a9 Fix PMS not being informed of playback stop 2016-03-22 15:16:58 +01:00
tomkat83
33fe7604e3 Playback updates for remote PMS, part 2 2016-03-22 14:58:51 +01:00
tomkat83
20aac1d258 Playback updates for remote PMS 2016-03-22 14:40:38 +01:00
tomkat83
57b42528f2 Revert "Fix direct paths not being enabled"
This reverts commit 7fcaa79b78.
2016-03-22 13:25:46 +01:00
tomkat83
cffe8acb69 Deactivate info "Gathering information from files"
However, Kodi STILL tries to gather info from music files unsuccessfully
(PMS http folder cannot be accessed)
2016-03-22 13:25:30 +01:00
tomkat83
7fcaa79b78 Fix direct paths not being enabled 2016-03-21 18:07:28 +01:00
tomkat83
8d9620b408 Only remind once that direct paths are unverified 2016-03-21 17:54:04 +01:00
tomkat83
bde5ed627b Plex websocket - groundworks 2016-03-21 17:15:22 +01:00
tomkat83
8b0ce0059c Added Emby websocket again 2016-03-19 17:57:57 +01:00
angelblue05
c1abe5d004 Use IsFolder key for channels 2016-03-19 03:27:38 -05:00
tomkat83
234a141cc6 Fix TV shows rating not showing up 2016-03-17 16:15:48 +01:00
tomkat83
8dee81c6a2 Fix potential time sync problems 2016-03-17 16:03:02 +01:00
tomkat83
2c0312a035 Fix music libraries being scanned twice 2016-03-17 15:18:57 +01:00