Commit graph

1968 commits

Author SHA1 Message Date
shaun
8bd44bd408 only do DB Connection if needed for each action 2016-11-05 20:44:12 +11:00
angelblue05
c211a26a35 Merge branch 'develop' of https://github.com/MediaBrowser/plugin.video.emby into develop 2016-11-05 02:17:02 -05:00
angelblue05
8b41046a61 Prep for views 2016-11-05 02:16:59 -05: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
a58b644062 use the new DatabaseCon context class
use closing with for cursor
2016-11-05 11:51:17 +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
4701041d99 use the new context Db connection class
use closing helper to auto close cousor when it goes out of context
2016-11-05 10:20:09 +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
012b83f48b Fix typo 2016-11-04 12:12:27 -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
delphiactual
83ab855999 Nest emby video nodes logically (#55)
* Nest emby video nodes logically

* Node cleanup
2016-11-04 05:14:35 -05:00
angelblue05
4f7c63d5df Raise errors other than database is locked
Remove old code
2016-11-04 05:03:44 -05:00
angelblue05
7ec6574ade Rename objects functions
To stop using super()
2016-11-04 02:21:17 -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
angelblue05
6c15f9f4bc Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-11-03 03:48:13 -05:00
angelblue05
225c7828fc 2.3.6 (#73)
* Update French translation
* Fix typo screensaver
2016-11-03 03:45:55 -05:00
sfaulds
464b1d4c79 Merge branch 'develop' of https://github.com/MediaBrowser/plugin.video.emby into develop 2016-11-03 16:46:50 +11:00
sfaulds
aa99b1a3c3 switch to use hashlib 2016-11-03 16:46:22 +11:00
angelblue05
fd3c21d6c8 Fix typo screensaver 2016-11-02 21:24:58 -05:00
angelblue05
7f2eb13f9a Merge remote-tracking branch 'origin/develop' into develop 2016-11-02 21:24:47 -05:00
angelblue05
80a554a91b Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-11-02 21:19:30 -05:00
sfaulds
e34734931d add wrapper fun for logging errors 2016-11-02 15:11:04 +11:00
sfaulds
4551000d70 Merge branch 'hotfix/metric_throttling' 2016-11-02 09:28:00 +11:00
sfaulds
ca6d90969d metric loggin throttling 2016-11-02 09:26:23 +11:00
shaun
1554a52bf7 throttling is once every 5 min for an error 2016-11-02 07:08:33 +11:00
shaun
d7728afea0 add throttling to error metric logging
add back in consumption of exception in function wrapper
2016-11-01 20:48:24 +11:00
angelblue05
817ad63007 Update French translation 2016-11-01 03:38:43 -05:00
shaun
6f53ec9b36 update change log 2016-11-01 11:33:38 +11:00
shaun
523a653ba5 remove redundant frunction wrapper 2016-11-01 11:23:34 +11:00
shaun
066ec81e16 re thorw exception in wrapper 2016-11-01 10:54:38 +11:00
angelblue05
590c3ef4c3 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-10-31 06:32:10 -05:00
angelblue05
ea4059b6d0 Hotfix (#72)
* Fix external subtitles

* Fix index error

* Fix credentials encoding

* Fix music var reference
2016-10-31 06:30:09 -05:00
angelblue05
a76ce7424f Revert "Fix index error"
This reverts commit 5afeeed62c.
2016-10-30 10:27:16 -05:00
angelblue05
348db57cee Revert "Fix external subtitles"
This reverts commit 1ca4ef48f5.
2016-10-30 10:27:09 -05:00
angelblue05
5afeeed62c Fix index error 2016-10-30 04:46:37 -05:00
angelblue05
1ca4ef48f5 Fix external subtitles 2016-10-30 04:39:54 -05:00
angelblue05
dabdee9604 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-10-29 03:17:31 -05:00
angelblue05
c6b747cb04 Version bump 2.3.1 2016-10-29 03:17:13 -05:00
angelblue05
85d054f33a Hotfix (#71)
* Fix typos

* Indicate unicode dict

* Fix artistid

* Attempt to fix encoding
2016-10-29 03:15:16 -05:00
angelblue05
75bb3b02f1 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-10-28 00:06:42 -05:00
angelblue05
ba22e26c06 2.3.0 (#70) 2016-10-28 00:02:47 -05:00
angelblue05
733846ad14 Version bump 2.3.0 2016-10-27 23:49:55 -05:00
angelblue05
1a961e853b Fix server migration and typo 2016-10-27 23:42:25 -05:00