Commit Graph

24 Commits

Author SHA1 Message Date
angelblue05 8d00a9ade2 Support series pooling
Still requires a manual sync to apply...
2017-09-03 14:10:04 -05:00
marcelveldt b07d820806 basic support for Kodi Leia 2017-06-10 16:18:37 +02:00
shaun ce46fb7015 on all emby DB connection create check the emby tables 2017-01-15 10:46:14 +11:00
sfaulds ec28018c61 consume read time oout errors
wrap fix in try/except
2016-11-18 13:42:46 +11:00
sfaulds 5b86aa1ca9 add exception and notification when not logged in 2016-11-17 07:07:49 +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
angelblue05 54f0f37d7e Fix typo 2016-11-08 07:10:21 -06:00
angelblue05 6d0b2b96bc Change DatabaseConn to return the cursor instead 2016-11-07 17:32:40 -06:00
angelblue05 fed57ef56b remove unused import 2016-11-07 08:36:32 -06:00
angelblue05 aab9750b40 Move method to embydb
to avoid opening a new db conn
2016-11-06 14:49:37 -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
shaun 881b3f8e70 use new DatabaseCon context class 2016-11-05 13:19:57 +11:00
shaun b3214a9250 use new DatabaseCon context object for play websocket play actions 2016-11-05 11:31:40 +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 9783b5aec2 Update database.py 2016-11-04 12:13:07 -05:00
angelblue05 e9fb760fa3 Only rollback for database locked
raise error for everything else, we should put in place a file that will
keep itemids we had to rollback on. To review later.
2016-11-04 06:45:39 -05:00
angelblue05 ee80e2c763 Only commit db when changes 2016-11-04 06:39:49 -05:00
angelblue05 4f7c63d5df Raise errors other than database is locked
Remove old code
2016-11-04 05:03:44 -05:00
angelblue05 e06f138d5d Update database.py 2016-11-04 01:28:02 -05:00
angelblue05 11af93ccc2 Update database commit 2016-11-03 23:45:37 -05:00
angelblue05 d0ea742904 Update database prep 2016-11-03 20:38:01 -05:00
angelblue05 df5d309dc5 Database prep 2016-11-03 20:36:05 -05:00