Commit graph

127 commits

Author SHA1 Message Date
shaun
cb5fe7a354 when we first run for any user we need to check the emby db tables, this resets this window value on user profile switching 2017-01-03 16:40:26 +11:00
sfaulds
f793f709ef a few more places we need to check for exceptions 2016-12-01 15:28:42 +11:00
angelblue05
62610f5e0d Fix retention 2016-11-30 14:26:26 -06:00
angelblue05
8a295347f8 Fix fast sync exception catching
As it will no longer apply typeerror/keyerror exceptions
2016-11-30 14:21:54 -06:00
shaun
52752f4fc1 fix lang 2016-11-28 19:03:27 +11:00
sfaulds
ef4696ff2f if fast sync server plugin fails fall back to full sync and tell the user 2016-11-28 18:23:49 +11:00
shaun
615e541513 remove the internal_exception.ExceptionWrapper class 2016-11-22 23:05:16 +11:00
sfaulds
aef40c4e8a use an exception class to surface exceptions that we dont want to log to the metrics logging system 2016-11-14 19:10:22 +11:00
shaun
0cf8f07daf refactor the downloadutils a little
move emby DB verify to the database class and run it for the first time an emby db con is created
refactor the play class playback started function a little
2016-11-13 10:39:14 +11:00
sfaulds
27f9985601 move the verify emby DB to the service entry 2016-11-11 14:44:48 +11:00
angelblue05
6d0b2b96bc Change DatabaseConn to return the cursor instead 2016-11-07 17:32:40 -06:00
angelblue05
83f88eef33 Don't call private function. Use public video_database to get the path. 2016-11-06 10:37:03 -06:00
shaun
904860031d add conn id to log
use import database and full name space to access DatabaseCon class
2016-11-06 20:34:27 +11:00
angelblue05
5b6a53f58b Update views.py 2016-11-05 16:39:01 -05:00
angelblue05
16df4d6404 New views.py
Combines maintainsViews from librarysync and videonodes and playlist
creation. Still need to move deletion from utils.
2016-11-05 13:36:46 -05:00
shaun
8bd44bd408 only do DB Connection if needed for each action 2016-11-05 20:44:12 +11:00
shaun
b55b4d0b96 remove old kodiSQL function
use DatabaseCon for DB file paths
switch last few DB Cons to use the new DatabaseCon context class
2016-11-05 14:18:39 +11:00
shaun
881b3f8e70 use new DatabaseCon context class 2016-11-05 13:19:57 +11:00
shaun
d3ce04ab10 move DB reset function to the databse file
use the new DB connection context for all DB reset actions
2016-11-05 11:15:28 +11:00
shaun
a763cd37c9 use with to close cursor
use settings for isolation in connect
dont re raise the exception in the __exit__
2016-11-05 09:19:28 +11:00
angelblue05
11af93ccc2 Update database commit 2016-11-03 23:45:37 -05:00
angelblue05
df5d309dc5 Database prep 2016-11-03 20:36:05 -05:00
angelblue05
70fba1a2c3 Fix boxsets added 2016-10-27 01:49:33 -05:00
angelblue05
0afc200a96 Fix database version migration 2016-10-23 07:11:08 -05:00
angelblue05
280e9ab268 Failsafe for db version 2016-10-23 06:13:25 -05:00
angelblue05
8d7aaac10f Fix more bugs
initialsetup, librarysync, videonodes, capture version error so it can
be fixed - currently don't know what's causing this particular error.
2016-10-22 20:21:00 -05:00
angelblue05
47cc86eeb9 Fix missing classmethod 2016-10-21 02:11:09 -05:00
angelblue05
d01fb0453c Fix indicator
In case settings is empty, assign default value of 10
2016-10-20 02:18:55 -05:00
angelblue05
31755845fc Fix typo... 2016-10-20 01:55:53 -05:00
angelblue05
29833d9b97 Fix accidental deleted code 2016-10-20 01:55:19 -05:00
angelblue05
6db7972301 Make sure emby tables exists before proceeding 2016-10-20 01:47:42 -05:00
angelblue05
1cdfeefa30 Make sure incremental sync doesn't start
Do not attempt to start the incremental sync if we are resetting. To
review for a more robust method later.
2016-10-20 01:12:23 -05:00
angelblue05
e503b87c35 Remove view update
When view is removed, also remove child items from library
2016-10-18 02:15:28 -05:00
sfaulds
ab33ef5848 add screen app size to GA
only ping GA if playing
dont send an app stopped message
2016-10-14 14:35:34 +11:00
angelblue05
2b0c9d1bbc Pylint (#67) 2016-10-10 06:14:10 -05:00
angelblue05
3288d21bef Code reduction (#66) 2016-10-10 03:19:00 -05:00
sfaulds
5f20dbdb39 doh remove test line 2016-10-10 10:13:12 +11:00
sfaulds
f6f6ae81e4 return error type and file info sepratly
use the error type in the event action and the file and line in the event label
2016-10-10 09:50:30 +11:00
sfaulds
fb0ae730a0 add exception string to an event
log sync failed events
2016-10-10 09:05:51 +11:00
shaun
15596645c6 Add Google Analytics 2016-10-09 20:14:53 +11:00
angelblue05
fdc62aa623 Retry dbcommit
For some reason, Kodi doesn't always trigger the video database scan
stopped event keeping the add-on waiting forever. Try committing after
10 sec and catching the error if the database is truly locked.
2016-10-03 18:59:10 -05:00
angelblue05
38182fcc37 Temporary disable loading connect servers 2016-09-26 21:53:44 -05:00
angelblue05
a00d55ac0e Rework downloadutils (#63) 2016-09-26 21:50:58 -05:00
marcelveldt
c3eb8a5598 add favourite episodes node 2016-09-23 20:46:04 +02:00
angelblue05
ae28e98c17 repair localize string 2016-09-20 04:20:00 -05:00
angelblue05
ba7e060009 Filter repair sync by content type
Basic, will need to be reviewed eventually
2016-09-20 04:17:11 -05:00
angelblue05
ab0d5e24be Fix keyerror 2016-09-18 18:30:11 -05:00
angelblue05
58ed423b16 Re-add logging
Troubleshoot movies receiving the wrong tag
2016-09-15 21:59:39 -05:00
sfaulds
828abd807e Merge branch 'develop' of https://github.com/MediaBrowser/plugin.video.emby into develop 2016-09-16 11:46:30 +10:00
sfaulds
af1859cab3 attempt at fixing the toggeling (add/remove) of the pooled series episodes 2016-09-16 11:25:34 +10:00