Commit graph

1543 commits

Author SHA1 Message Date
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
ad5c90e949 Relabel Full PKC reset in settings 2016-03-23 17:16:32 +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
tomkat83
40c742e71e Attempt to increase music db stability 2016-03-17 15:06:04 +01:00
tomkat83
574d2e061e Fix potential crash for fast sync 2016-03-17 14:30:47 +01:00
tomkat83
908dfd2fe3 Fix getUnplayedMusicItems 2016-03-17 13:34:11 +01:00
tomkat83
9f8343113a Fixed some plex.tv token issue 2016-03-17 12:45:38 +01:00
tomkat83
71492af87f Fix removing Plex libraries on PMS side 2016-03-17 12:16:44 +01:00
tomkat83
95535ec9a8 Remove dump xml to log 2016-03-17 11:18:59 +01:00
tomkat83
3b55bc5c6b Fix merge conflicts 2016-03-17 11:17:30 +01:00
tomkat83
a16b2bdeb3 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-17 10:03:00 +01:00
angelblue05
0afd338cc7 Make profiling a decorator
You can call it before any functions/methods using @utils.profiling()
<-- you can specify the sort order of the results, by default it sorts
by cumulative. It will print the results straight into the Kodi log.
2016-03-17 02:55:00 -05:00
angelblue05
6495ed7aca Moved to read_embyserver 2016-03-17 00:56:26 -05:00
angelblue05
f33692f2f9 Move update user rating to read_embyserver
It's more appropriate
2016-03-16 23:17:44 -05:00
angelblue05
ae7131a7c1 Fix log 2016-03-16 22:19:52 -05: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
de810d1e1d Fixes to monitoring playback 2016-03-16 18:01:07 +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
68ea41fe24 Fix direct path playback not being reported to PMS 2016-03-16 13:08:55 +01:00
tomkat83
769b741060 Fix direct play monitoring 2016-03-16 12:49:55 +01:00
tomkat83
32ddb6cb78 Custom smb path substitutions for direct paths 2016-03-16 12:26:31 +01:00
angelblue05
623c6cab85 Fix artists/music 2016-03-16 06:13:47 -05:00
angelblue05
0af7dfeae1 Remove translation
Until we have up to date ones.
2016-03-16 04:35:19 -05:00
tomkat83
d14e9b1d05 Clean up PKC settings 2016-03-16 10:10:48 +01:00
tomkat83
fc29bd30b8 Fix network credentials dialog issues 2016-03-16 09:55:19 +01:00
angelblue05
1f8199c91f Remove incorrect log line 2016-03-15 17:29:09 -05:00
tomkat83
aaa8ada3ea Use direct paths - not yet working for music 2016-03-15 20:26:45 +01:00
tomkat83
cd930da509 Enable or disable server connection messages 2016-03-15 15:20:40 +01:00
tomkat83
dc723f6bb4 Abort playback correctly 2016-03-15 14:32:10 +01:00
tomkat83
76464a898f Video Node: recently added episodes 2016-03-15 14:19:56 +01:00
tomkat83
05c902434b Fix On Deck string 2016-03-15 13:17:40 +01:00
tomkat83
e7986e6289 Replicate Plex views in video nodes 2016-03-15 13:09:51 +01:00
tomkat83
aa40307408 Hotfix db comparison 2016-03-14 18:10:36 +01:00
tomkat83
037925a030 Prep On Deck 2016-03-14 17:47:05 +01:00
tomkat83
a4673b0377 Less logging for downloading in chunks 2016-03-14 15:01:38 +01:00
tomkat83
a5a24b4dd2 Warning: lib sync crash may lead to Kodi instability 2016-03-14 14:53:58 +01:00
tomkat83
d8378584a2 Limit max number of items requested from PMS
Otherwise, slow NAS PMS may lead to timeouts - and thus empty libraries
2016-03-14 14:51:49 +01:00
tomkat83
67f681cac3 Revert "Update node names to reflect plex"
This reverts commit 9b99028fb1.
2016-03-14 11:55:35 +01:00
tomkat83
d01cf199e5 New fix item episode thumbs not caching 2016-03-14 11:47:14 +01:00
tomkat83
f060a71237 Revert "Fix TV shows episode artwork not caching"
This reverts commit a2aac17fc4.
2016-03-14 11:16:48 +01:00
tomkat83
2f9b94d621 Enforce PMS authentication before playback start 2016-03-14 10:40:49 +01:00
tomkat83
6a1d3c9ab7 Renamed to Plex Companion 2016-03-14 10:14:12 +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
872f17851f Fix TypeError for Plex Companion 2016-03-14 09:54:15 +01:00
tomkat83
a2aac17fc4 Fix TV shows episode artwork not caching 2016-03-13 16:20:13 +01:00
tomkat83
b79705719d Increase image caching timeouts to 5s 2016-03-13 16:12:25 +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
9b99028fb1 Update node names to reflect plex
In progress -> On Deck
2016-03-13 14:06:42 +01:00
tomkat83
22a0cfc6f0 Increase download timeout to 30s
Should take care of missing PMS replies if we request all elements of a
certain large library
2016-03-13 13:59:24 +01:00
angelblue05
7b94b76ef4 Prevent crash for missing seriesId
Apparently, that's a thing now, an episode without a seriesId.
2016-03-12 15:42:14 -06:00
angelblue05
4af994ed74 enumerate over backdrops 2016-03-12 15:14:07 -06:00
angelblue05
8072c8f7b2 Prep for emby connect 2016-03-12 13:56:02 -06: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
7a86909357 Redesigned incremential sync 2016-03-10 18:34:11 +01:00
tomkat83
b24fc0ea06 Make user switch always available 2016-03-10 16:04:01 +01:00
tomkat83
a3c2d21757 Fix userclient 2016-03-10 16:02:46 +01:00
tomkat83
d16b931486 Get rid of some unneccessary logs in lib sync 2016-03-10 13:10:56 +01:00
tomkat83
5be1e3a24a Fix KeyError in library sync 2016-03-10 12:47:30 +01:00
tomkat83
58d986f4ad Add traceback to library sync 2016-03-10 09:58:26 +01:00
tomkat83
a5d37caef0 Show dialog if some items could not be processed 2016-03-10 09:51:35 +01:00
tomkat83
0064029885 Dump XMLs of failed PMS items in the log 2016-03-10 09:30:20 +01:00
tomkat83
3ccc588945 Optimize notifications for library syncs 2016-03-10 08:51:24 +01:00
tomkat83
e7d96e9a00 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-10 08:12:20 +01:00
angelblue05
db4cb448b0 Adjust delete logic for entrypoint 2016-03-09 20:15:45 -06:00
angelblue05
a5d74c8a17 Add delete keymap entrypoint
RunPlugin(plugin://plugin.video.emby?mode=delete)
2016-03-09 17:05:35 -06:00
tomkat83
8b4cc4c33f Catch exceptions in itemtypes and log them 2016-03-09 18:36:36 +01:00
tomkat83
c8d6070682 Slightly increased download timeouts 2016-03-09 15:56:12 +01:00
tomkat83
b5bfad5719 Fix library sync paused 2016-03-09 15:53:46 +01:00
tomkat83
9da6f5f616 Fix settings 2016-03-09 15:40:59 +01:00
tomkat83
55b3d44899 Overhaul userclient
Again...
2016-03-09 15:37:27 +01:00
angelblue05
8bde429da4 Slight adjust for manual sync
Can't return value in __init__, instead calling a function to know if
manual sync succeeded or not.
2016-03-08 18:51:23 -06: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
e5e6f2208e Much shorter download timeouts
This should hopefully solve the stuck library sync
2016-03-08 15:28:59 +01:00
tomkat83
100421ce2d Connect to remote PMS 2016-03-08 14:50:43 +01:00
tomkat83
1ab657cd0b Change logging to show "Error" category 2016-03-08 14:02:01 +01:00
tomkat83
0cefee6cfe Reduce number of unsuccesful retries to 3 before telling user 2016-03-08 13:52:17 +01:00
tomkat83
56af183288 Correct encoding
Kodi dialogs take unicode
2016-03-08 13:00:03 +01:00
tomkat83
d5aae4934b Clean out library sync 2016-03-08 12:13:47 +01:00
tomkat83
b05ec9746a Remove obsolete check for method in processing metadata 2016-03-08 11:58:14 +01:00
tomkat83
8ab99b5036 Language strings for library sync 2016-03-08 11:47:46 +01:00
tomkat83
0b4736b01b Clean-up library sync loop 2016-03-08 11:20:11 +01:00
tomkat83
333b93b481 Get rid of a test string 2016-03-08 11:05:50 +01:00
tomkat83
b7fbb8fa4d Re-add setting to log-in to plex.tv 2016-03-08 11:04:58 +01:00
tomkat83
8e9b355473 New Setting to reset all PMS and the plex.tv connection 2016-03-08 09:20:06 +01:00
tomkat83
fdc8f53131 Sleep for a while in loops - drastically reduces CPU load 2016-03-08 08:43:12 +01:00
tomkat83
68e91b192b Setting to turn off constant background sync 2016-03-07 17:22:55 +01:00
tomkat83
e9e1de6e3d HTTPS! 2016-03-07 17:11:54 +01:00
tomkat83
a258f969ab Dedicated function to check whether directory exists 2016-03-07 16:30:50 +01:00
tomkat83
cbfa41de99 Fix refreshing playlists and videonodes 2016-03-07 16:16:57 +01:00
tomkat83
dc2ae721e6 Allow non-ASCI library names 2016-03-07 15:31:07 +01:00
tomkat83
c0f2067856 Don't log header if checking connection to a PMS 2016-03-07 14:10:47 +01:00
tomkat83
398ef64d96 More encoding fixes for dialogs 2016-03-07 13:38:45 +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
e0918ba7aa Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-07 09:54:01 +01:00
tomkat83
0afa304f52 utils.Window to return unicode in all cases 2016-03-07 09:47:30 +01:00
angelblue05
948015d433 Fix potential error due to timeout 2016-03-06 17:21:29 -06:00
angelblue05
ad0f33a09b Removed the verification for mixed content
Since OriginalCollectionType is now implemented server side.
2016-03-04 17:23:07 -06:00
angelblue05
81aa96d540 Merge branch 'master' of https://github.com/MediaBrowser/plugin.video.emby 2016-03-04 17:20:26 -06:00
angelblue05
04acfb3200 Fix type folders in photos
If "photo album" has no pictures in it, it's returned as type "Folder"
2016-03-04 17:20:24 -06:00
marcelveldt
36007a1e7d preparation of videoextras 2016-03-04 22:00:24 +01:00
marcelveldt
455b7262fc Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2016-03-04 14:03:32 +01:00
marcelveldt
3c36af932a fix extrafanart for homescreen widgets 2016-03-04 14:03:15 +01:00
tomkat83
e784dab578 Overhaul userclient 2016-03-04 13:34:30 +01:00
angelblue05
b05033c9b8 Fix unicode and invalid handle 2016-03-04 03:00:25 -06:00
angelblue05
4895082079 Fix typo
Accidentally pasted over line
2016-03-03 23:54:53 -06:00
angelblue05
897780f059 Fix views
GroupedFolders sometimes return empty, even if the user's views are
grouped (seems like a bug). Added a failsafe.
2016-03-03 23:32:33 -06: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
9e9f61f9ba Added refresh Playlist and videonodes. Removed some Setting topics 2016-03-03 10:11:32 +01:00
tomkat83
cd94266f49 Suspend library sync when TV show plays 2016-03-03 09:45:42 +01:00
tomkat83
cc3c55e038 Wait for lib sync to finish when switching user 2016-03-03 09:35:35 +01:00
tomkat83
2750c4b16d Delete Emby api.py 2016-03-03 09:19:25 +01:00
tomkat83
2cca08d9cf Attempt to fix Plex logo showing when user signs in 2016-03-03 09:13:42 +01:00
tomkat83
ccdaaf5b4e Fixed video nodes 2016-03-03 09:04:15 +01:00