Commit Graph

58 Commits

Author SHA1 Message Date
angelblue05 1691fd5e8b External subtitles
Add external subtitles as tracks for direct play and direct stream.
Important to note, when direct streaming, the tracks are defined as
Unknown(external). There's no way to correct this.
2015-08-24 05:55:37 -05:00
angelblue05 c0f9948cf5 Convert settings to utils method for addon settings 2015-08-14 04:03:12 -05:00
angelblue05 abe60aa3b8 Added remote control - audio and subtitle streams
Fix the index of streams to properly reflect the correct ones.
2015-08-05 23:30:33 -05:00
angelblue05 e972ae2729 Clean up + encoding utf-8
Added message when server is restarting. Optional.
2015-08-05 03:40:54 -05:00
angelblue05 9bb587bc66 Fix for merge - part of 1.1.15
Report playstate change when it happens.
2015-07-20 01:36:58 -05:00
angelblue05 e3412912ac Move websocket library to library sync
This allows the websocket to properly communicate, since it's not busy
doing incremental syncs anymore.
2015-06-28 07:08:06 -05:00
shaun fd9c3d42d8 import WriteKodiMusicDB 2015-06-13 11:21:21 +10: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 5f7f08079c Change logic for server online
Removed server offline from websocket. At least, until we can figure out
why the websocket constantly disconnect from the server for some users.
2015-06-04 05:37:10 -05:00
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