Commit Graph

65 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 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
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 fd3c21d6c8 Fix typo screensaver 2016-11-02 21:24:58 -05: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 0cce414aee Fix reset hanging 2016-10-27 05:29:35 -05:00
angelblue05 106def9014 Catch toggling screensaver error 2016-10-27 02:15:09 -05:00
angelblue05 d37feaff27 Upon reset, make sure we stop sync threads 2016-10-27 01:25:03 -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 3288d21bef Code reduction (#66) 2016-10-10 03:19:00 -05:00
angelblue05 33ba485b0b Update window property
If .json in property name, it will automatically apply json.loads/dumps.
This is to avoid importing json in every files.
2016-09-29 01:59:30 -05:00
angelblue05 4c0ef2fe7a Add backup option 2016-09-18 02:53:52 -05:00
angelblue05 11a068cd30 Migrate db version to emby database 2016-09-15 05:31:15 -05:00
angelblue05 7fb957a788 Fix typo in settings path 2016-09-10 18:21:27 -05:00
angelblue05 b4414648dc Update delete cache method 2016-09-10 16:26:29 -05:00
angelblue05 24b572674d Update to use special protocol
Otherwise it breaks path substitution set in advancedsettings
2016-09-10 16:17:41 -05:00
angelblue05 b945459dfb Pylint (#59) 2016-09-08 22:13:25 -05:00
angelblue05 e941674e74 Pylint 2016-09-07 02:14:02 -05:00
angelblue05 21f8a62ebd Add utils dialog
Centralize for later, control icon, etc. Pylint.
2016-09-06 22:07:14 -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 8cd4cb903e Add logging
Prevent error in event profiling modules are not part of the standard
python library
2016-08-21 16:28:26 -05:00
angelblue05 51400fd828 Add JSONRPC class 2016-08-07 19:57:11 -05:00
im85288 d582888ffb update video db version for krypton 2016-08-06 16:20:15 +01:00
xnappo 133773d5b6 Krypton prep 2016-07-31 12:15:38 -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 f89d5c96f6 Transform database locked into a settings
Temporary settings, because it slows down the process since it's
auto-committing. Not everyone has database locked crashes. Permanent fix
is being worked on in the database branch.
2016-07-19 02:08:35 -05:00
angelblue05 cfb94b7bd0 Temp fix for database being locked 2016-07-18 15:47:42 -05:00
angelblue05 77b99210c1 Add error mode to logging 2016-07-17 18:27:54 -05:00
angelblue05 da7685b03f Try to fix import strptime bug
Clean up of downloadutils and utils.
2016-07-16 10:02:50 -05:00
kravone df2600f579 Revert "Faster XML processing and lower memory" 2016-06-29 21:15:26 +02:00
SpootDev 9a5bd10d40 celementtree 2016-06-28 18:28:01 -05:00
angelblue05 c0f0a1978f Preparation for centralized queries
To handle exceptions, etc.
2016-06-28 17:24:12 -05:00
angelblue05 da8bf3670d Fix conflicting import 2016-06-22 14:29:53 -05:00
angelblue05 3e1aa94c78 Strings - translation 2016-06-20 20:57:29 -05:00
angelblue05 49157bbbea Fix logging typo 2016-06-20 13:58:17 -05:00
angelblue05 55998c796f Remove old log method 2016-06-17 22:05:18 -05:00
angelblue05 5658801f72 Centralized logging 2016-06-17 22:03:28 -05:00
angelblue05 7a0f69e014 Centralized logging 2016-06-16 00:43:36 -05:00
angelblue05 881c693c39 Replace incorrect addon reference 2016-04-15 14:15:13 -05:00
Ian Mclaughlin d95d854f70 Update utils.py
Add initial krypton support
2016-04-12 16:00:22 +01:00
SpootDev 30dfe99e37 spelling 2016-04-03 19:54:36 -05:00
SpootDev d915c4539e code reduce 2016-03-31 14:39:32 -05:00
angelblue05 0afd338cc7 Make profiling a decorator
You can call it before any functions/methods using @utils.profiling()
<-- you can specify the sort order of the results, by default it sorts
by cumulative. It will print the results straight into the Kodi log.
2016-03-17 02:55:00 -05:00
angelblue05 2a107b45fe Prevent screensaver during sync
Initial, repair, manual syncs.
2016-03-02 18:25:17 -06:00
angelblue05 90c6b064c7 Delete cache during reset
Offer to delete cached artwork, and also drop tables in case we need to
modify the structure in the future.
2016-02-29 17:11:17 -06:00
angelblue05 f394dc39dc Fix playlist/videonodes deletion
Using the view Id instead of actual name for folder creation, to prevent
deletion error (due to folder containing special characters).
2016-02-23 18:40:13 -06:00
angelblue05 81ea279319 Create video nodes/playlist using the id
Prevent errors with special characters that have no ascii replacement
2016-02-23 00:00:24 -06:00
angelblue05 256d98c6f3 Fix datetime error
Known kodi/python issue where datetime.strptime throws a Nonetype error
for no reason, after being used once.
2016-02-04 19:09:47 -06:00