Commit graph

142 commits

Author SHA1 Message Date
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
angelblue05
9a98e2995e Remove profiling 2016-06-28 17:24:36 -05:00
angelblue05
269205fe97 Remove profiling 2016-06-28 01:09:36 -05:00
angelblue05
3e1aa94c78 Strings - translation 2016-06-20 20:57:29 -05:00
angelblue05
5658801f72 Centralized logging 2016-06-17 22:03:28 -05:00
angelblue05
b9d40d91a6 Fix SeriesName missing
Prevent crash from happening.
2016-06-16 00:49:54 -05:00
SpootDev
8db97c5d3d code reduce 2016-03-31 15:25:45 -05:00
SpootDev
16fb22792f emby self 2016-03-30 21:45:43 -05:00
SpootDev
78b72ccdef vnodes 2016-03-30 21:29:24 -05:00
SpootDev
01265595f5 doutils 2016-03-30 21:28:08 -05:00
SpootDev
181824fef2 unused field 2016-03-30 21:22:55 -05:00
SpootDev
ef903f5c8a utils 2016-03-30 21:19:33 -05:00
SpootDev
bb8374e927 log cleanup 2016-03-30 21:17:09 -05:00
SpootDev
d8ba247d99 break out of loop after plugin found 2016-03-30 21:01:24 -05:00
angelblue05
8bde429da4 Slight adjust for manual sync
Can't return value in __init__, instead calling a function to know if
manual sync succeeded or not.
2016-03-08 18:51:23 -06:00
angelblue05
4895082079 Fix typo
Accidentally pasted over line
2016-03-03 23:54:53 -06:00
angelblue05
897780f059 Fix views
GroupedFolders sometimes return empty, even if the user's views are
grouped (seems like a bug). Added a failsafe.
2016-03-03 23:32:33 -06:00
angelblue05
2a107b45fe Prevent screensaver during sync
Initial, repair, manual syncs.
2016-03-02 18:25:17 -06:00
angelblue05
f16b5dfff6 Prevent errors during the view creation
For grouped folders only. Include the itemtype to make sure we can
correctly search the reference under the grouped view.
2016-03-02 14:50:08 -06:00
angelblue05
77a553b7f7 Fix logic for nodes
Was accidentally overwriting freshly created nodes
2016-03-01 18:59:08 -06:00
angelblue05
4cdf5c3c4d Fix grouped views
Something changed in the emby returned paths so the verification was
failing. For now, we are getting one item from the media folder and
comparing using the user view to make sure we are referring to the
correct one with the tag name. Asked Luke for an api that would do this.
2016-03-01 18:00:19 -06:00
angelblue05
bd093e6783 Terminate thread if outdated
Temporary fix since 1.1.62 is incompatible. To be reconsidered when
minimum version changes again.
2016-03-01 10:49:16 -06:00
angelblue05
c3d78c871e Follow ordered views
This affects the node numbering.
2016-02-24 22:28:42 -06:00
angelblue05
dc7473bfae Fix typo 2016-02-24 18:39:21 -06:00
angelblue05
60a178165d Fix pictures 2016-02-24 18:34:50 -06:00
angelblue05
dc74bf42aa Remove old saved views 2016-02-23 00:27:49 -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
3207f5a2c1 notification dialog follow progress on screen
For initial/manual/repair sync
2016-02-22 00:16:32 -06:00
angelblue05
20ca36d95a Prevent sleep
Remove flag if initial sync terminates prematurely
2016-02-21 17:45:56 -06:00
angelblue05
6100faadda Try to prevent sleep from happening
During the initial sync or any major sync, manual or repair.
2016-02-21 17:43:46 -06:00
angelblue05
1388f4b27b Fix views duplicate at the root 2016-02-19 18:06:36 -06:00
angelblue05
2f3d9c4a60 Fix views
Alright get rid of the duplicate in the add-on entrypoint
2016-02-19 17:34:22 -06:00
angelblue05
663fe1f563 Fix dialog in manual sync 2016-02-19 15:50:19 -06:00
angelblue05
2ef213b4e3 Fix for proxy 2016-02-18 22:06:33 -06:00
angelblue05
06cd0e981c Hide manual sync when ran at start-up 2016-02-18 19:16:49 -06:00
angelblue05
52a5d35295 Update for strings 2016-02-17 02:13:37 -06:00
angelblue05
afcc92686e Remove duplicate logging 2016-02-09 22:55:28 -06:00
angelblue05
15e0f92092 Update video library fix
This is to stop music-only update from updating the video library for no
reason.
2016-02-09 22:50:31 -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
Shaun
d75af5009b fix map error when new server plugin is not installed 2016-02-05 10:02:57 +11:00
angelblue05
4df6bb68d3 Fix typo in manual sync 2016-02-04 04:06:28 -06:00
Shaun
95ed199218 use retention date from server 2016-02-04 17:10:20 +11:00
angelblue05
a2e6a362c5 Adjust for manual sync at start up 2016-01-31 23:12:44 -06:00
angelblue05
049c304f8b Clear property
So artwork can be deleted when needed, after the initial sync has
completed
2016-01-23 02:32:51 -06:00
angelblue05
6653b1a929 Move manual sync to own class
It's better to separate the code to gain more control over the manual
sync rather than working around the full sync and doing "if compare" all
over the place.
2016-01-23 02:29:30 -06:00
marcelveldt
01db164dc9 do not create playlists for homevideos or photos 2016-01-22 11:41:12 +01:00
angelblue05
60f68610f4 Close the kodi cursor earlier
In case music doesn't complete correctly.
2016-01-18 17:47:16 -06:00
marcelveldt
58533e1c44 fix videonodes and playlists 2016-01-18 20:17:14 +01:00
marcelveldt
eab0b7d3d9 remove widgetreload. Is entirely handled by skinhelper now.
leaving it in means doubled widget refreshes = slower
2016-01-18 17:12:57 +01:00
angelblue05
08581dbc18 Add progress dialog for gathering
It's not very precise since we gather in batch, but better than nothing.
2016-01-18 03:24:00 -06:00
angelblue05
993ef282e7 Fix reset
Fixes if there's a crash, unable to reset
2016-01-12 22:52:49 -06:00
marcelveldt
ee9f08080e work in progress - move home videos to plugin listing 2016-01-11 22:20:34 +01:00
angelblue05
b11e9c2902 Fix grouped view 2016-01-08 12:25:22 -06:00
angelblue05
2c7a0c0b65 Define the music cursor
Make sure we use the proper cursor for music when using the incremental
sync. Fix for artist table not found database error.
2016-01-04 21:58:45 -06:00
angelblue05
22f71efaf5 Fix view order bug
Make sure we get the default grouped view and not a view, when we are
looking at grouped folders.
2016-01-04 21:48:30 -06:00
angelblue05
84532ce3f8 Remove "!" from prompts 2016-01-01 23:38:26 -06:00
angelblue05
227bb3eb42 Add fix for missing key 2015-12-31 22:19:36 -06:00
angelblue05
e4fb2de7c2 Prevent deleting artwork during initial sync 2015-12-27 22:51:47 -06:00
angelblue05
a7131c2867 Correct typo 2015-12-27 22:47:49 -06:00
angelblue05
601f578892 Fix dialog 2015-12-27 17:06:50 -06:00
angelblue05
0b6b5861c7 Fix missing pdialog 2015-12-26 16:23:29 -06:00
angelblue05
69884a1b54 Readd with lowercase name 2015-12-24 14:07:00 -06:00