Commit Graph

111 Commits

Author SHA1 Message Date
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
angelblue05 11a068cd30 Migrate db version to emby database 2016-09-15 05:31:15 -05:00
angelblue05 20d499338b Increase logging to find movie bug
Titles being assigned the wrong tag.
2016-09-14 02:09:40 -05:00
angelblue05 b34007f727 Pylint (#60) 2016-09-10 06:15:58 -05:00
angelblue05 a9563119be Filter fast sync
If music is disabled, filter music from returning in the fast sync
response
2016-09-09 03:53:56 -05:00
angelblue05 8319f2f0df Fix typo 2016-09-04 23:45:11 -05:00
angelblue05 a658459862 suppress 401 error 2016-09-04 22:58:46 -05:00
angelblue05 3d31568518 Pylint + Fix initial setup for fresh installs 2016-09-04 22:33:34 -05:00
angelblue05 6a2ea9a4dd Emby Connect (#58)
* Update with latest connect module

* Update string

* Change error behavior

* Add connectmanager

Handle dialogs for emby connect in one place

* Add user select dialog

* Add manual server dialog

* Add onAuthenticated

* Filter virtual episodes

* Update userclient with new methods
2016-09-04 05:18:31 -05:00
angelblue05 f4a80a5ea8 Keep track of fast sync
If server plugin is not installed, automatically fall back to client
time.
2016-08-05 23:21:32 -05:00
angelblue05 345090e933 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-25 17:40:04 -05:00
angelblue05 541afbb989 2.2.18 (#51)
Fix logging error (#51)
2016-07-25 17:36:43 -05:00
angelblue05 ea5ac3748a Log exception before dialog
Using logging module, it won't prevent the dialog from displaying.
2016-07-25 03:08:45 -05:00
angelblue05 e197208d3e 2.2.17 (#50)
* Add temporary setting to disable external subs for direct stream
* Fix crash when sleeping/waking up device
* Use the logging module. Moved logging to it's own file.
* Version bump 2.2.17
* Update README.md
2016-07-24 22:39:40 -05:00
angelblue05 5895831ba8 Clean up logging
Moved incremental log line to display only if there's actual items to
process.
2016-07-24 18:46:24 -05:00
angelblue05 76dfa1286c Update logging
Use the logging module. Moved logging to it's own file.
2016-07-24 03:59:48 -05:00
shaun a911249840 sync progress changes
add (if item count greater) for sync progress dialog
always show progress for full sync
2016-07-03 13:26:11 +10:00