Commit graph

57 commits

Author SHA1 Message Date
sfaulds
e2fa93a6c4 add handeling of exceptions for some downloadUrl func calls 2016-12-01 09:21:36 +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
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
angelblue05
8704be627d Remove old method 2016-11-06 14:50:37 -06:00
shaun
cb224ce4a7 use actual module name 2016-11-06 10:40:11 +11: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
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
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
angelblue05
984d09bd6b Fix typo in getArtists 2016-10-18 06:43:40 -05:00
angelblue05
3288d21bef Code reduction (#66) 2016-10-10 03:19:00 -05:00
angelblue05
11b900e18e Filter out playlists from returning in views
New server modification
2016-10-06 23:31:41 -05:00
angelblue05
d61e872bf9 Instead of stopping throttle, move to next batch 2016-10-06 01:57:01 -05:00
angelblue05
30522dff08 Correct exception condition 2016-10-04 19:42:01 -05:00
angelblue05
0e4c24ef18 Remove unwanted modification
Was only for testing
2016-10-04 01:18:32 -05:00
angelblue05
e58d98bc10 Catch and raise bad status 400
When the request is malformed. Added logging to hopefully get to the
bottom of a bug pulling albums from server.
2016-10-04 01:14:14 -05:00
angelblue05
c56f9a005c Fix plugin listing
Typo
2016-09-04 20:19:51 -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
00fd67cab3 Fix typo 2016-08-18 01:41:18 -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
angelblue05
03a1557eaf Fix typo 2016-06-21 15:26:42 -05:00
angelblue05
0efc37f646 String & remove like/dislike
To review: music rating since server does not have like/dislike anymore
2016-06-19 20:32:09 -05:00
angelblue05
3c60eddf55 Add refresh item to context menu 2016-06-19 19:24:42 -05:00
angelblue05
7a0f69e014 Centralized logging 2016-06-16 00:43:36 -05:00
angelblue05
0007741bd3 Fix VoteCount 2016-04-23 19:14:21 -05:00
angelblue05
2e9d9eab65 Fix VoteCount 2016-04-23 19:11:29 -05:00
SpootDev
accc452f4c Invalid path 2016-04-15 15:01:12 -05:00
SpootDev
d080c49821 cleanup 2016-04-04 16:21:05 -05:00
SpootDev
8a130fe810 code reduce 2016-03-31 13:35:23 -05:00
SpootDev
c6ba6d6f51 url and log 2016-03-31 13:18:49 -05:00
SpootDev
1768bd0e4c code reduce and doutil to doutils fix for delete favorite 2016-03-31 13:13:26 -05:00
angelblue05
f33692f2f9 Move update user rating to read_embyserver
It's more appropriate
2016-03-16 23:17:44 -05:00
angelblue05
948015d433 Fix potential error due to timeout 2016-03-06 17:21:29 -06:00
angelblue05
ad0f33a09b Removed the verification for mixed content
Since OriginalCollectionType is now implemented server side.
2016-03-04 17:23:07 -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
c3d78c871e Follow ordered views
This affects the node numbering.
2016-02-24 22:28:42 -06:00
angelblue05
52a5d35295 Update for strings 2016-02-17 02:13:37 -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
994a48df7e Review item throttle 2016-02-08 18:38:41 -06:00
angelblue05
1e3f590d99 Adjust doutils 2016-02-08 15:24:35 -06:00
angelblue05
b12009f422 New throttle - will require testing 2016-02-08 02:36:09 -06:00
marcelveldt
7e81db596e Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2016-01-19 21:28:05 +01:00
marcelveldt
7cf615f671 simplify channel browse code
add experimental support for live tv channels and recordings (without pvr)
2016-01-19 21:27:58 +01:00
angelblue05
81dcd36dc3 Revert throttle
Will have to test further with timeout scenario, before reimplementing
2016-01-19 04:28:52 -06: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
5112500f4d Fix missing mediasources
Also add a throttle to avoid crash if server connection times out.
2016-01-14 03:49:03 -06:00