Commit graph

137 commits

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