sfaulds
ec28018c61
consume read time oout errors
...
wrap fix in try/except
2016-11-18 13:42:46 +11:00
sfaulds
5d06f04d1d
check url after replace to see if it look ok
2016-11-17 16:55:44 +11:00
sfaulds
5b86aa1ca9
add exception and notification when not logged in
2016-11-17 07:07:49 +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
sfaulds
23522ac75e
add some checking arround starting a new thread, it looks like some systems are slow to release resources and need some time so give them that time.
2016-11-14 12:24:07 +11:00
sfaulds
631e6d5f13
fix typo
2016-11-14 11:09:30 +11:00
sfaulds
ea3676eec0
Surface download issue exceptions where appropriate instead of consuming them
2016-11-14 11:00:26 +11:00
shaun
1a8cbd7f99
check the client is not none before close
2016-11-13 14:47:06 +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
shaun
7a9e29c9b7
turn testing off
2016-11-12 19:12:16 +11:00
shaun
5d35897a47
Merge branch 'develop' of https://github.com/MediaBrowser/plugin.video.emby into develop
2016-11-12 11:45:36 +11:00
shaun
6b5b955d43
add full trace for file and line numbers
2016-11-12 11:45:24 +11:00
sfaulds
27f9985601
move the verify emby DB to the service entry
2016-11-11 14:44:48 +11:00
sfaulds
4575191093
add LocationTypes to API call
2016-11-11 13:33:06 +11:00
angelblue05
9cd28f94ab
Revert offline fix
...
Apparently offline is being returned regardless, so something else must
be causing the kodi database being wiped. Probably the server is sending
remove event?
2016-11-10 15:16:51 -06:00
angelblue05
237ee0d810
Fix virtual episodes and return offline
2016-11-10 14:36:07 -06:00
sfaulds
5cc3847e47
looks like platform is throwing an exception on some systems so catch it
2016-11-10 16:09:23 +11:00
angelblue05
294ed1d995
Try to have offline items returned
...
To prevent Kodi database from being wiped if server marks content as
offline.
2016-11-09 19:15:20 -06:00
sfaulds
26a4d07246
only set progress if we could get the position
2016-11-10 11:49:38 +11:00
sfaulds
774700bdc8
add OS and Python version logging
2016-11-09 10:16:28 +11:00
angelblue05
a8452d2e81
Fix typo
2016-11-08 08:14:39 -06: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
caead29793
Merge branch 'develop' of https://github.com/MediaBrowser/plugin.video.emby into develop
2016-11-07 08:35:42 -06:00
angelblue05
776f5c2560
Fix typo
2016-11-07 08:35:38 -06:00
shaun
61d8a66df6
re throw all DB errors
2016-11-07 22:27:25 +11:00
angelblue05
8704be627d
Remove old method
2016-11-06 14:50:37 -06:00
angelblue05
aab9750b40
Move method to embydb
...
to avoid opening a new db conn
2016-11-06 14:49:37 -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
shaun
cb224ce4a7
use actual module name
2016-11-06 10:40:11 +11:00
shaun
e689b29e18
remove logging, only log in TEST mode which needs to be turned on with a code change.
2016-11-06 10:38:33 +11:00
angelblue05
48405f6215
Fix bug
2016-11-05 17:36:52 -05:00
angelblue05
5b6a53f58b
Update views.py
2016-11-05 16:39:01 -05:00
angelblue05
82c31e0672
Don't import DatabaseConn initialized
...
This creates import loops. It's always better to initialize them within
the class' __init__
2016-11-05 16:15:07 -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
angelblue05
1d8d01b5f8
Update boxset title
2016-11-05 05:53:24 -05:00
angelblue05
3e1edb9a66
Fix some studios conversion
2016-11-05 04:57:03 -05:00
shaun
c0be7300e4
Merge branch 'develop' of https://github.com/MediaBrowser/plugin.video.emby into develop
2016-11-05 20:44:39 +11:00
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
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
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
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
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
85d054f33a
Hotfix ( #71 )
...
* Fix typos
* Indicate unicode dict
* Fix artistid
* Attempt to fix encoding
2016-10-29 03:15:16 -05:00
angelblue05
ba22e26c06
2.3.0 ( #70 )
2016-10-28 00:02:47 -05:00
im85288
d582888ffb
update video db version for krypton
2016-08-06 16:20:15 +01:00
marcelveldt
01800c0c3b
fix for krypton compatability
2016-08-06 15:43:04 +02:00
xnappo
133773d5b6
Krypton prep
2016-07-31 12:15:38 -05:00
angelblue05
dc15d4d832
2.2.19 ( #52 )
...
Fix typo in logging
2016-07-29 04:12:30 -05:00
angelblue05
541afbb989
2.2.18 ( #51 )
...
Fix logging error (#51 )
2016-07-25 17:36:43 -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
d5baf0ceed
Fix typo
2016-07-18 17:56:39 -05:00
angelblue05
cfb94b7bd0
Temp fix for database being locked
2016-07-18 15:47:42 -05:00
angelblue05
02ab4abe51
Fix not saving watched status
...
If delete after watched was enabled.
2016-07-18 14:42:33 -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
angelblue05
06d71cf00d
Fix typo
2016-07-15 19:17:32 -05:00
angelblue05
8b83ae8a00
Clean up downloadUtils
2016-07-15 19:02:30 -05:00
angelblue05
213f42f4a5
Update downloadUtils requests
...
Code reduction, fix connections not being released.
2016-07-15 18:01:59 -05:00
angelblue05
15ac7fd0ca
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2016-07-04 14:22:24 -05:00
shaun
8f0343de2e
dont auto fall back to http streaming if not selected
...
Dont fall back to http streaming if direct file playback is expected.
2016-07-04 20:34:58 +10:00
angelblue05
0fee1975d4
Clean up dialog
2016-07-03 22:45:20 -05:00
angelblue05
272a955d4d
Remove useless control in dialog
2016-07-03 22:26:10 -05:00
angelblue05
efdafa2831
Remove unused import
2016-07-03 22:25:09 -05:00
angelblue05
b8ca6d3119
Emby connect - login dialog
2016-07-03 22:24:39 -05:00
angelblue05
5aca32c341
Prep for emby connect
...
xml, image, qrcode
2016-07-03 04:32:06 -05:00
angelblue05
6c8a95fabb
Fix errors
2016-07-02 23:41:42 -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
kravone
df2600f579
Revert "Faster XML processing and lower memory"
2016-06-29 21:15:26 +02:00