Commit graph

241 commits

Author SHA1 Message Date
tomkat83
98d11ceb2d Merge branch 'master' into develop 2016-03-23 17:37:01 +01:00
tomkat83
2806c8002a Cleaned out https checks
- Disabled HTTP certificate warnings in log
2016-03-23 16:07:09 +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
bde5ed627b Plex websocket - groundworks 2016-03-21 17:15:22 +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
cd930da509 Enable or disable server connection messages 2016-03-15 15:20:40 +01:00
tomkat83
e9e3f4f933 Version bump 2016-03-14 18:18:18 +01:00
tomkat83
2f9b94d621 Enforce PMS authentication before playback start 2016-03-14 10:40:49 +01:00
tomkat83
a3c2d21757 Fix userclient 2016-03-10 16:02:46 +01:00
tomkat83
b5bfad5719 Fix library sync paused 2016-03-09 15:53:46 +01:00
tomkat83
55b3d44899 Overhaul userclient
Again...
2016-03-09 15:37:27 +01:00
tomkat83
15f934f77a Fix encoding in service.py 2016-03-08 13:09:15 +01:00
tomkat83
d5a3ac00a5 Hotfix database minimum version = 1.0.2 2016-03-07 17:49:26 +01:00
tomkat83
398ef64d96 More encoding fixes for dialogs 2016-03-07 13:38:45 +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
2cca08d9cf Attempt to fix Plex logo showing when user signs in 2016-03-03 09:13:42 +01:00
tomkat83
e10bc84bf3 Librarysync overhaul 2016-03-02 17:27:21 +01:00
tomkat83
50d142ad0b Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-19 18:47:09 +01:00
angelblue05
c40aa46b64 Fix encoding error 2016-02-18 12:09:36 -06:00
angelblue05
52a5d35295 Update for strings 2016-02-17 02:13:37 -06:00
tomkat83
8217932985 Removed websockets 2016-02-11 10:43:11 +01:00
tomkat83
c9d8d8d5c6 Change thread stops to use window property instead of xbmc monitor 2016-02-07 17:26:44 +01:00
tomkat83
300b5d11ad Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-07 13:42:40 +01:00
tomkat83
0f14019e5b Overhaul Plex Companion 2016-02-07 12:38:50 +01:00
im85288
3b95536539 fix for Failed to import _strptime because the import lockis held by another thread. 2016-02-07 09:45:08 +00:00
tomkat83
4b2e069bff Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-03 13:06:27 +01:00
angelblue05
bfbc66457c Convert to string
Prep for translation
2016-02-02 17:49:22 -06:00
tomkat83
0d4c8ae53e Added logging decorator 2016-01-26 17:20:13 +01:00
tomkat83
aa849f7457 Added decorators for threads 2016-01-26 15:13:03 +01:00
tomkat83
079f43c644 User switch fix, part 1 2016-01-25 10:36:24 +01:00
tomkat83
50e45e95cc Gotten rid of some emby dialog references 2016-01-22 16:50:11 +01:00
tomkat83
80e1957d25 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-22 15:57:22 +01:00
tomkat83
48ba7f0869 Plex Companien (Plexbmc helper) version 0.1 2016-01-22 15:37:20 +01:00
angelblue05
d14ecfdc5e Adjust playlist props
Instead of using clearProperties, clear individually.
2016-01-18 21:54:02 -06:00
angelblue05
f3f8c76197 Fix progress dialog 2016-01-18 19:54:20 -06:00
tomkat83
accd8f4ac4 Merge conflict playbackutils 2016-01-15 10:10:44 +01:00
tomkat83
7e09253477 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-09 16:18:04 +01:00
angelblue05
f99efb2a83 Add settings monitor
Prompt for reset if playback mode change is detected
2016-01-09 04:53:04 -06:00
tomkat83
d6ef04a1ce Merge remote-tracking branch 'MediaBrowser/master' 2015-12-28 08:40:34 +01:00
angelblue05
e4fb2de7c2 Prevent deleting artwork during initial sync 2015-12-27 22:51:47 -06: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
962fe6c605 Renamed to plugin.video.plexkodiconnect. Adjusted addon.xml 2015-12-27 11:49:14 +01:00
angelblue05
3f6fe0a9e7 Version 1.1.63
alpha ready for beta testing
2015-12-24 13:51:47 -06:00
angelblue05
faa376a520 Version bump 1.1.60
Stable release
2015-11-12 16:32:02 -06:00
angelblue05
3431b5d28d Use fallback artists
If album artists is missing
2015-11-08 05:42:53 -06:00
angelblue05
cfe8ffa490 Version bump 1.1.52 2015-10-20 05:22:23 -05:00
angelblue05
4ab6991968 Transcode revision, stack files, playback cleanup 2015-10-01 08:08:34 -05:00
im85288
005e8f2353 rotten tomatoes removed 2015-09-29 14:44:27 +01:00
angelblue05
a39784cb81 Fix profile switch v2
Make sure the threads are terminated correctly. This time, verify the
profile before anything else.
2015-09-24 06:59:26 -05:00
angelblue05
e0343891af Revert "Fix profile switching"
This reverts commit 0e61825579.
2015-09-24 06:48:43 -05:00
angelblue05
0e61825579 Fix profile switching
Make sure the threads are properly terminated.
2015-09-24 06:16:19 -05:00
im85288
5dfcf2f22d version bump for database change 2015-09-16 09:39:10 +01:00
im85288
0a6dd94eff add library monitor to assist with embyskinhelper for data such as critcrating etc 2015-09-15 18:03:52 +01:00
angelblue05
c698e39bb2 Prevent loop if user decides not to reset db yet 2015-09-07 04:12:28 -05:00
xnappo
76bec3e846 Add library version tracking 2015-09-06 12:28:00 -05:00
angelblue05
e09c209a6b Music library
make it seemless - dependant on alternate ip to be enabled to add
pathsubstitution.
2015-08-22 11:17:54 -05:00
angelblue05
f290372c5d Added permanent users
When starting the Kodi session, will automatically add users to the
session.
2015-08-15 00:20:06 -05:00
angelblue05
c0f9948cf5 Convert settings to utils method for addon settings 2015-08-14 04:03:12 -05:00
angelblue05
2bfe377378 Clean up
Also fix settings not saving if reset was initiated.
2015-07-22 08:16:08 -05:00
angelblue05
8fbe680b5e Typo 2015-06-27 23:44:39 -05:00
angelblue05
324137460d Further modification for service
Forgot to encode username
2015-06-16 03:25:12 -05:00
angelblue05
2de317edee Quick adjustment
First if will be xbmc playing for quicker report progress
2015-06-16 02:11:38 -05:00
angelblue05
aa745f1fcc Put library sync in own thread
Reviewed service for utf-8
2015-06-16 00:53:01 -05:00
angelblue05
08c3ea1a33 quick follow up 2015-06-15 20:33:26 -05:00
angelblue05
04e0d4f89e Revert "quick follow up"
This reverts commit 0ac2ea1e09.
2015-06-15 20:30:45 -05:00
angelblue05
0ac2ea1e09 quick follow up 2015-06-15 20:27:11 -05:00
angelblue05
ef1a88db79 Add latest changes 2015-06-15 20:23:19 -05:00
angelblue05
2f78ea46d9 Re-add connection message
Reenabled the option to disable the message as well.
2015-06-11 04:57:33 -05:00
angelblue05
8a0701d8f1 Removing for now
Causes slow start
2015-06-06 02:35:15 -05:00
angelblue05
20ac3c9465 Log Level instant change
I grew tired of restarting Kodi everytime....so I made it so the log
level changes on the stop without restarting Kodi. Also removed NextUp
import and added the downloadUtils 200 response to help debug in the
future.
2015-06-05 05:12:09 -05:00
angelblue05
23b9f000e7 Unicode paths for users with special characters 2015-06-05 01:05:40 -05:00
angelblue05
3954c50329 Added a welcome message
Instead of server online, added a welcome message with the name of the
user.
2015-06-04 05:10:49 -05:00
angelblue05
c36b896f99 Server online check
Only display the notification in the event the server was offline first.
Removed the option to suppress it, as it is now useless. Also muted the
notification.
2015-06-04 03:44:55 -05:00
im85288
44286e2764 moved out next up play logic to seperate addon 2015-06-01 01:16:55 +01:00
angelblue05
d6a1a3e919 Minor adjustments
Added logging for netflix style next up and increased webclient message
time to 4 seconds instead of 2.
2015-05-18 17:21:07 -05:00
angelblue05
b72f40aeb2 Commenting out the watchdog
To be reviewed at a later time.
2015-05-17 18:35:28 -05:00
angelblue05
0a948d59f6 Moving the watchdog to service.py 2015-05-17 07:11:50 -05:00
xnappo
84c7130cc9 Option to suppress server connection notification
It make an error noise that I have grown to despise.
2015-05-16 15:12:50 -05:00
angelblue05
fba461083d Quick follow up, Version bump 0.1.84 2015-05-16 03:00:46 -05:00
angelblue05
79e4bd8a6a Fix watched feedback and added General command
Everything in the remote control is supported except for audiostream and
subtitleindex. Turns out the watched playcount bug was indeed a
feedback, so to prevent this I'm skipping the first message that has the
itemId right after marking watched.
2015-05-16 01:31:08 -05:00
angelblue05
11e4a70e25 Reworked the userclient with possibilities
Revoked token was actually broken, handle access schedule better,
restart/start properly. This is to stabilize things.
2015-05-13 23:48:35 -05:00
angelblue05
54dd08e9bd Revert "Tweak for parental control - Attempt #2"
This reverts commit af0d9491ea.
2015-05-12 23:00:37 -05:00
angelblue05
af0d9491ea Tweak for parental control - Attempt #2 2015-05-12 22:58:31 -05:00
angelblue05
b8d0289cb7 Add watchdog timestamp for while loops
If server was offline or access was restricted, would create false
positives.
2015-05-12 17:08:39 -05:00
angelblue05
de527327a5 Another follow up
Use a while loop instead.
2015-05-12 03:16:34 -05:00
angelblue05
8944012821 Quick follow up 2015-05-12 02:46:35 -05:00
angelblue05
354f0905f6 Support Parental control - access schedule
I had to reorganize the service.py loop a bit for this to work.
Logically the top level inside the while loop should be if the user is
authenticated.
2015-05-12 02:34:03 -05:00
shaun
a3b500061a add back in the service monitor watchdog 2015-05-12 10:10:33 +10:00
Marcel van der Veldt
4d0d863a42 fixes issue with user profile switches in kodi 2015-05-07 10:32:30 +02:00
xnappo
22c62d9727 Test allowing updates during playback 2015-05-06 22:27:22 -05:00
angelblue05
1b430e1090 Minor fix for server check 2015-05-06 17:58:31 -05:00
angelblue05
784f35bfd9 Revert "Minor fix for server check"
This reverts commit c944d5a5d2.
2015-05-06 17:58:07 -05:00
angelblue05
c944d5a5d2 Minor fix for server check 2015-05-06 17:57:11 -05:00
im85288
44b22e7a67 replaced auto play episode with custom nextup dialog, also added
ItemInfo and PersonInfo from the old addon
2015-05-06 22:41:44 +01:00
angelblue05
38d0d1c02b Added server online check 2015-05-03 00:27:43 -05:00
angelblue05
d69e474f3e Follow up for playback 2015-05-02 16:43:44 -05:00
Marcel van der Veldt
f6cd5c9744 changed playback a bit 2015-05-02 17:49:29 +02:00
Marcel van der Veldt
d93f5044b3 cleaned sync code - added progress
fixed background sync with websocket
2015-05-02 11:56:31 +02:00
Marcel van der Veldt
e77d5c7c53 some more fixes 2015-05-01 18:32:13 +02:00
Marcel van der Veldt
8a990ba217 first work on the transition to use kodi db for all actions 2015-05-01 13:30:21 +02:00
angelblue05
2f3d609f53 Attempt #1 at fixing playback report/resume
Cleaning up the code, using websocket to report playback progress.
2015-04-28 17:23:26 -05:00
angelblue05
fb006bb5f8 Revert "Added server online check"
This reverts commit 9020c1c908.
2015-04-26 18:15:40 -05:00
angelblue05
9020c1c908 Added server online check 2015-04-26 15:41:39 -05:00
xnappo
705d51496f Check for pending actions every 10 secs 2015-04-19 08:20:51 -05:00
angelblue05
d737af606b Revert "Quick cleanup"
This reverts commit d142637122.
2015-04-12 12:21:21 -05:00
angelblue05
d142637122 Quick cleanup
Changing the rest of logging to utils. Changed xbmc.Player() to one
instance.
2015-04-12 11:39:02 -05:00
angelblue05
060a6f1323 Add option to delete user info
Added for testing update library to force refresh newly set thumbnails
after first sync (only).
2015-04-12 08:49:41 -05:00
angelblue05
39f7d67c0e Revert "Add option to delete user info"
This reverts commit 705b5f29d5.
2015-04-12 08:33:36 -05:00
angelblue05
705b5f29d5 Add option to delete user info
Added prompt after delete local db. Deletes settings.xml
2015-04-12 08:32:25 -05:00
angelblue05
0ba24d8dbd Fix for db reset
setSetting() now works to reset the initial scan state. I also removed
deprecated behavior from addon.xml
2015-04-12 04:49:02 -05:00
shaun
d0c7246de0 Use waitForAbort instead of sleep
also waitForAbort is in seconds not ms
2015-04-12 13:01:44 +10:00
xnappo
478470607c See details
- Only sync at startup
- Allow websocket to delete episodes
- NoneType fix
2015-04-11 10:53:17 -05:00
im85288
31656e4684 changed autoplay to popup in last 20 seconds rather than at play stopped 2015-04-09 13:29:48 +01:00
angelblue05
1cd7663410 Added some logging 2015-04-06 12:17:32 -05:00
angelblue05
2014e93c33 Revert "Added some logging"
This reverts commit d5c9ae5c91.
2015-04-06 10:52:16 -05:00
angelblue05
d5c9ae5c91 Added some logging 2015-04-06 08:42:18 -05:00
angelblue05
1b681a0e99 Revert "Quick fix for UserClient sleep"
This reverts commit 281b70da85.
2015-04-04 05:20:13 -05:00
angelblue05
281b70da85 Quick fix for UserClient sleep
It was activating sleep while the initial scan was going. Changed to
allow sleep when the initial scan is not running.
2015-04-04 04:32:11 -05:00
angelblue05
1b20863cf9 Integration of UserClient. 2015-04-03 05:13:01 -05:00
shaun
c8e1d8ae54 Implement LibraryChanged WebSocket event 2015-04-03 13:12:09 +11:00
Marcel van der Veldt
5f8e5105bb changes to use native kodi db for inserts 2015-04-01 21:07:29 +02:00
faush01
b8813b5bf7 move the auth create token to the top and dont try to create for each loop
This makes it less auth spammy
2015-04-01 09:39:46 +11:00
shaun
bd1391fcfb force a token retrieve on auth check 2015-03-29 00:21:39 +11:00
angelblue05
dd03c993b5 Updated the while loop
Removed deprecated method of xbmc.abortRequested for the new abortRequested() - new Helix method
2015-03-27 22:56:10 -05:00
angelblue05
56b60ca408 Small modification to start websocket
Step to eliminate the need to restart Kodi after setting the sources, etc.
2015-03-27 04:45:28 -05:00
Marcel van der Veldt
7d49a33b21 refactor to plugin.video.emby 2015-03-25 18:37:21 +01:00
shaun
a6a30cc54c only set the first run setting if it is not set 2015-03-25 18:47:22 +11:00
faush01
f067bf573c fix a type in position setting in the stored data for playing items 2015-03-23 16:24:52 +11:00
faush01
9e5385c1c6 add WebSocket for events and remote control
For some reason playback stop is not being reported
2015-03-23 15:54:16 +11:00
faush01
c38ecfa462 acumulate change values with |= and dont set art if it is "" 2015-03-20 10:49:13 +11:00
Marcel van der Veldt
a0099a69db fixed the restart message
not start sync before settings are changed in the kodi xml files
2015-03-19 13:43:02 +01:00
faush01
9c98f713e7 dont do a lib scan or clean until the sync is full done 2015-03-16 16:27:23 +11:00
faush01
f587905d91 add xbmcgui.DialogProgressBG() to display current sync progress 2015-03-16 13:32:59 +11:00
shaun
f7aa1d4310 move get setting and creation of Download Utils to where they are used
to allow them to pick up the values at the time they are needed
2015-03-15 09:33:16 +11:00
shaun
1bfe457b09 update service so it only runs at 120 sec full and 30 sec play counts updates
also use increment logic as it is easier to follow
2015-03-14 22:50:16 +11:00
faush01
0eacb876c7 use the latest source for download utils 2015-03-14 13:37:03 +11:00
Marcel van der Veldt
860bdfbbd8 initial commit - first version 2015-03-13 22:24:59 +01:00