Commit graph

49 commits

Author SHA1 Message Date
xnappo
c3e2e031b7 Music default, but don't change prior setting.
Version bump
2015-05-30 18:02:45 -05:00
im85288
77c91379b2 set music sync on as default and added emby icon 2015-05-30 22:18:23 +01:00
angelblue05
795430daff Websocket Server online check modification
This is in place, in the hopes to prevent a false "Server unreachable"
error, created by a random int is not be iterated. Will be revisited
once this elusive error is resolved.
2015-05-29 16:42:19 -05:00
angelblue05
c25c2fc1bb No longer necessary. 2015-05-24 23:29:42 -05:00
angelblue05
6582523c55 Added logging for websocket
No handlers could be found for logger "root" - this allows to see the
actual error.
2015-05-21 20:41:11 -05: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
ddb7ec4bbd Second attempt at fixing playcount situation
This should also reflect the actual Emby playcount. The websocket didn't
echo, but what I did is kill the echo caused by the video library update
after userdata change happens.
2015-05-17 00:37:53 -05:00
xnappo
08a94a5427 Commit not needed if using same connection 2015-05-16 11:04:09 -05:00
xnappo
9041f16ff9 Clean up shows emptied by web socket 2015-05-16 10:58:48 -05:00
angelblue05
bdfef9f8b7 SendString - General command
It just clicked in my mind that "send string" can be used to input to
keyboard dialogs in kodi. Awesome :)
2015-05-16 02:11:41 -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
e32c27685b Quick follow up 2015-05-14 00:11:15 -05:00
angelblue05
17ebed7d3d Missed a line 2015-05-14 00:10:20 -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
Marcel van der Veldt
da4b99f989 more fancy solution for the episode adds where show doesn't exist yet 2015-05-12 21:27:27 +02:00
xnappo
e44d2a4b3d Force a full sync when items added (for now) 2015-05-12 07:14:38 -05:00
xnappo
833e2b553f Really remove all 'pending' code 2015-05-09 07:26:33 -05:00
angelblue05
0ad7ed3c18 Added support for webclient message
Both "send message" and "send text"
2015-05-09 02:17:58 -05:00
Marcel van der Veldt
507dd340cd support deletions for musiclibrary sync 2015-05-08 00:23:49 +02:00
Marcel van der Veldt
24c4d267c4 refactor WriteKodiDB.py to WriteKodiVideoDB.py in preparation of adding musicDb support later on 2015-05-07 11:45:24 +02:00
xnappo
22c62d9727 Test allowing updates during playback 2015-05-06 22:27:22 -05:00
angelblue05
38d0d1c02b Added server online check 2015-05-03 00:27:43 -05:00
Marcel van der Veldt
383fb37ca3 perform all database commits at once instead of 1 by 1 2015-05-02 22:46:12 +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
2eac7bbcb4 fixed updates from websocket 2015-05-02 04:01:52 +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
angelblue05
03697c3f7e Typo 2015-04-22 08:24:54 -05:00
angelblue05
78acae377f Revert "Revert "Adjusted the rest to use the new method""
This reverts commit f8632a97d8.
2015-04-21 21:31:16 -05:00
angelblue05
f8632a97d8 Revert "Adjusted the rest to use the new method"
This reverts commit 0c91c0b28b.
2015-04-21 21:20:02 -05:00
angelblue05
0c91c0b28b Adjusted the rest to use the new method 2015-04-21 21:17:58 -05:00
xnappo
2930150113 Typo 2015-04-18 14:42:38 -05:00
xnappo
fca5f3c9f2 Queue updated items in playback, process on stop 2015-04-18 12:10:06 -05:00
shaun
59713c80da fix delete item event 2015-04-18 18:02:47 +10:00
shaun
9e004fa1a1 Use the new ItemId from the UserDataChanged WebSocket event 2015-04-18 12:28:39 +10:00
angelblue05
5f91d49f3f Add https support 2015-04-13 13:56:36 -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
angelblue05
0d616fef94 Replaced sleep with waitForAbort()
Hopefully helps with the hang crash.
2015-04-11 07:56:07 -05:00
xnappo
4819b5f272 WebSocketClient needs Utils 2015-04-05 12:29:09 -05:00
shaun
85482119a0 use uniqueid to check of en episode is already in the DB 2015-04-05 09:32:42 +10:00
im85288
b880555829 speed improvements 2015-04-04 18:20:48 +01:00
shaun
c8e1d8ae54 Implement LibraryChanged WebSocket event 2015-04-03 13:12:09 +11:00
shaun
e9646407a0 Make the UserDataChanged event only update the items that changed
To do this I have had to keep a Windows Prop list of all UserData Keys
to Emby Id
in this I have assumed there is a 1:1 mapping but this migh not be the
case
and it could be a one to many that need to be taken inot account
also is Luke can add it me might be able to get this info from the
server but that is not
there yet
2015-04-03 10:41:39 +11:00
shaun
7664e6e668 on UserDataChanged call updatePlayCounts() 2015-03-26 16:15:45 +11:00
Marcel van der Veldt
7d49a33b21 refactor to plugin.video.emby 2015-03-25 18:37:21 +01:00
xnappo
03416513cf Change suppress to False unless really needed
This is how it really was before yesterday's commit to re-enable the
optionality
2015-03-25 07:48:29 -05: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