Commit graph

226 commits

Author SHA1 Message Date
angelblue05
dc3dbb202a Merge remote-tracking branch 'origin/master' into clean-up 2015-06-27 23:37:40 -05:00
angelblue05
00bf5434dc Fix season poster update
Caused incremental to freeze
2015-06-27 01:07:49 -05:00
Marcel van der Veldt
d617aa13ac added window prop to force refresh widgets if content has changed 2015-06-24 09:03:49 +02:00
angelblue05
494e326413 Season artwork update
When changing artwork
2015-06-18 03:03:44 -05:00
angelblue05
aa745f1fcc Put library sync in own thread
Reviewed service for utf-8
2015-06-16 00:53:01 -05:00
Marcel van der Veldt
cdf78de132 added support for kodi texturecache:
- setting in addon settings to turn on the cache feature (now for testing, maybe hidden later)
- for all new items the poster and the fanart image will be cached automatically (when setting is on)
- added a option to the plugin root options to perform full cache fill which will pull every single image to the cache.
2015-06-06 00:11:24 +02:00
shaun
daef852117 Small wording changes to settings and dont notify sync if playing back 2015-05-31 10:47:44 +10:00
xnappo
c3e2e031b7 Music default, but don't change prior setting.
Version bump
2015-05-30 18:02:45 -05:00
im85288
77c91379b2 set music sync on as default and added emby icon 2015-05-30 22:18:23 +01:00
Marcel van der Veldt
d2a3f316be added boxsets to IncrementalSync 2015-05-12 21:40:58 +02:00
Marcel van der Veldt
da4b99f989 more fancy solution for the episode adds where show doesn't exist yet 2015-05-12 21:27:27 +02:00
Marcel van der Veldt
105d863979 fixed error in incrementalsync 2015-05-08 15:46:07 +02:00
Marcel van der Veldt
77c8f6862e added percentage to progress dialog on sync 2015-05-08 12:05:15 +02:00
Marcel van der Veldt
a12f6093dd damned typo 2015-05-08 00:15:31 +02:00
Marcel van der Veldt
04b7622e44 fixed small error 2015-05-08 00:14:42 +02:00
Marcel van der Veldt
b081f87e29 fixed small error in the checksum code 2015-05-08 00:06:49 +02:00
Marcel van der Veldt
8839b3b323 add first support for music library sync 2015-05-08 00:04:40 +02:00
Marcel van der Veldt
24c4d267c4 refactor WriteKodiDB.py to WriteKodiVideoDB.py in preparation of adding musicDb support later on 2015-05-07 11:45:24 +02:00
Marcel van der Veldt
f3e7ac350d add full sync entry to main listing 2015-05-07 11:36:34 +02:00
Marcel van der Veldt
4ceb66762a finished video nodes change and main entrypoint listings
removed some redundant logging
2015-05-07 00:05:27 +02:00
Marcel van der Veldt
d4e44122ba moved videonodes code to seperate class 2015-05-06 23:24:13 +02:00
Marcel van der Veldt
8e8c80980f finished the videonodes building, also localized the labels and moved generation to startup
added tvdb field to tv shows for compatability with kodi addons
added country field to movies
2015-05-05 16:16:34 +02:00
im85288
6f5ae66c54 added initial box set support 2015-05-03 13:44:23 +01:00
Marcel van der Veldt
5000613a99 Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-02 22:46:32 +02:00
Marcel van der Veldt
383fb37ca3 perform all database commits at once instead of 1 by 1 2015-05-02 22:46:12 +02:00
xnappo
02dbb32227 Minor fix for TV shows progress
Count was wrong due to empty shows.
2015-05-02 15:34:55 -05:00
Marcel van der Veldt
96e50a3d1e added musicvideo supporr 2015-05-02 22:02:06 +02:00
Marcel van der Veldt
3d77a9dd3a fixed progress dialog and added shouldstop event 2015-05-02 19:49:39 +02:00
Marcel van der Veldt
a05bdeb844 fixed issue with episode sync 2015-05-02 14:57:43 +02:00
Marcel van der Veldt
fc2f158ad0 fixed IncrementalSync typo 2015-05-02 13:47:04 +02:00
Marcel van der Veldt
8c6b90923e fixed some errors 2015-05-02 12:51:46 +02:00
Marcel van der Veldt
d93f5044b3 cleaned sync code - added progress
fixed background sync with websocket
2015-05-02 11:56:31 +02:00
Marcel van der Veldt
6d191fef1d fixed some small issues 2015-05-02 03:47:05 +02:00
Marcel van der Veldt
b4dd9f58bd fixed the plugin path for playback 2015-05-02 02:26:06 +02:00
im85288
392863fa93 update episode rather than tv show 2015-05-01 20:15:43 +01:00
Marcel van der Veldt
8a990ba217 first work on the transition to use kodi db for all actions 2015-05-01 13:30:21 +02:00
shaun
9e004fa1a1 Use the new ItemId from the UserDataChanged WebSocket event 2015-04-18 12:28:39 +10:00
shaun
79387dadbc Fix image urls, use param version of the end point
fix logging issues
remove redundant code for movies update
2015-04-18 09:59:12 +10:00
shaun
11218b7891 Use the Emby ID as the key to look up Episodes 2015-04-17 22:26:28 +10:00
shaun
cde774fc9e Add/Update TV Shows for Incremental TV Sync 2015-04-16 10:44:43 +10:00
xnappo
46d9969ea4 NoneType fix 2015-04-11 11:15:28 -05:00
xnappo
478470607c See details
- Only sync at startup
- Allow websocket to delete episodes
- NoneType fix
2015-04-11 10:53:17 -05:00
xnappo
63239ac60a Don't create empty shows 2015-04-05 13:13:45 -05:00
xnappo
fff293df24 Fix TV tags (for realz hopefully) 2015-04-05 10:46:34 -05:00
xnappo
f46b67209c Fix episode tags, unspecified collection types 2015-04-05 08:55:41 -05:00
shaun
65b6411fb3 fix progress dialog error for box sets 2015-04-05 18:21:47 +10:00
shaun
6039611da5 for consistency use the same approach for none full sync 2015-04-05 10:10:14 +10:00
shaun
25286717b3 remove some redundant code calls and do a shouldstop call in the add loop 2015-04-05 09:59:15 +10:00
shaun
f2772ebdbd remove commented code 2015-04-05 09:37:34 +10:00
shaun
85482119a0 use uniqueid to check of en episode is already in the DB 2015-04-05 09:32:42 +10:00
im85288
5f644d82f2 fix for db passing 2015-04-04 23:38:31 +01:00
xnappo
b5e2e0948e Added tags for TV collections 2015-04-04 16:48:02 -05:00
im85288
b880555829 speed improvements 2015-04-04 18:20:48 +01:00
xnappo
86e7a9622e Don't do episode checks on first run 2015-04-04 11:09:14 -05:00
im85288
01a6c43ad2 box set sync no longer an option 2015-04-03 22:20:48 +01:00
shaun
07ff102a40 Sync running check added to Reset Action 2015-04-03 19:39:16 +11:00
shaun
7a22a1a60e Work around until ParentId and Ids work together
This is a simple work around to filter the items after we get them,
hopefully we can get the API fixed to allow ParentId and Ids to work
together. until then we do the filtering on the full list returned.
2015-04-03 15:13:28 +11:00
shaun
c8e1d8ae54 Implement LibraryChanged WebSocket event 2015-04-03 13:12:09 +11:00
shaun
e9646407a0 Make the UserDataChanged event only update the items that changed
To do this I have had to keep a Windows Prop list of all UserData Keys
to Emby Id
in this I have assumed there is a 1:1 mapping but this migh not be the
case
and it could be a one to many that need to be taken inot account
also is Luke can add it me might be able to get this info from the
server but that is not
there yet
2015-04-03 10:41:39 +11:00
shaun
685cf9ae81 fix delete TV Show 2015-04-02 19:00:58 +11:00
Marcel van der Veldt
a828c7480a remove createfiles.py 2015-04-01 21:43:22 +02:00
Marcel van der Veldt
5f8e5105bb changes to use native kodi db for inserts 2015-04-01 21:07:29 +02:00
faush01
69580c8ccd fix for playcount sync when there are no movies set up in EMBY 2015-03-30 15:08:47 +11:00
xnappo
0a3ad1988a Another none check 2015-03-29 19:07:07 -05:00
Marcel van der Veldt
4458fa6fda FINAL fix for the doubled episodes.
Yeah for real now :-)
2015-03-30 00:43:53 +02:00
Marcel van der Veldt
9a17eab206 some more nonetype fixes 2015-03-29 23:19:53 +02:00
Marcel van der Veldt
7481023bd8 nonetype fixes and prevent doubled episodes 2015-03-29 23:09:02 +02:00
Marcel van der Veldt
c680a7d0fe fix for empty result crash 2015-03-29 22:18:05 +02:00
xnappo
796d1ed409 Revert "Nonetype checks"
This reverts commit 526e079f44.
2015-03-29 15:03:39 -05:00
xnappo
526e079f44 Nonetype checks 2015-03-29 13:54:49 -05:00
Marcel van der Veldt
39b3fd9523 fix error when no tvshows added yet 2015-03-29 19:33:41 +02:00
Marcel van der Veldt
1b34ce743a fixed filepath for episodes 2015-03-29 19:13:21 +02:00
shaun
6dbdb88fa7 Fix updatePlayCountFromKodi to use getEmbyIdByKodiId and done do a playcount sync if one is already running 2015-03-29 13:34:59 +11:00
xnappo
012bceca90 Fix episode deletes 2015-03-28 11:14:52 -05:00
shaun
4931fd4299 add some progress message to the Update BoxSets action 2015-03-28 15:24:36 +11:00
shaun
7af227eb91 change syncs to be see comments
First Install Run : Full Sync with modal progress dialog
First Run After Startup : Incremental Sync followed by a Full Sync
Background scheduled run : Full Sync
2015-03-27 11:16:45 +11:00
im85288
6f870cc4f8 sync options removed from settings 2015-03-26 16:33:31 +00:00
shaun
43a77bbba2 Move the BoxSet Sync outside the Views processing and make it optional
plus add some ShouldStop calls
2015-03-26 12:03:06 +11:00
Marcel van der Veldt
6b004564bf fixed false positive deletion warning on library updates in kodimonitor thread 2015-03-25 21:00:38 +01:00
Marcel van der Veldt
7d49a33b21 refactor to plugin.video.emby 2015-03-25 18:37:21 +01:00
Marcel van der Veldt
2cab251517 another fix 2015-03-25 13:31:19 +01:00
Marcel van der Veldt
a513c01707 better way to solve the nullpointer issue 2015-03-25 13:30:08 +01:00
Marcel van der Veldt
e660c36dd3 fixed nullpointer on empty tv shows 2015-03-25 13:26:56 +01:00
shaun
a6a30cc54c only set the first run setting if it is not set 2015-03-25 18:47:22 +11:00
Marcel van der Veldt
1ca1c55345 set playedcount and lastplayeddate after resumepoint db change 2015-03-24 21:29:57 +01:00
Marcel van der Veldt
95a3e76671 added lastplayed field to sync 2015-03-24 21:03:07 +01:00
im85288
ccf77f3be2 add support for box sets 2015-03-24 16:47:26 +00:00
xnappo
c90ae07a53 Episode delete test 2015-03-23 19:35:00 -05:00
faush01
0c92e86b39 add some more notification options 2015-03-24 10:02:46 +11:00
faush01
59cdfcd922 add Notification as an UI indication option for syns actions 2015-03-23 14:54:07 +11:00
Marcel van der Veldt
c6e5bc28ac added musicvideos support 2015-03-21 14:31:30 +01:00
Marcel van der Veldt
62dda17680 finished episode deletions 2015-03-21 12:33:59 +01:00
Marcel van der Veldt
9287706ced fixed tv show deletions 2015-03-21 11:32:21 +01:00
shaun
7c7b4b375f small changes to progress dialog and working of restart message 2015-03-21 14:15:34 +11:00
shaun
960cec8163 Batch up all the params needed to update a movie and send them all at once 2015-03-21 10:33:04 +11:00
xnappo
bb3f52ea51 Error handling for delete, but still not working :( 2015-03-20 15:42:12 -05:00
Marcel van der Veldt
09e62d570c support for episode deletions 2015-03-20 20:26:37 +01:00
Marcel van der Veldt
a68c2cc796 some more optimizations - episodes dont need their artwork set 2015-03-20 14:37:34 +01:00
im85288
b2bf2c55c4 small fix for progress message 2015-03-20 11:10:08 +00:00
Marcel van der Veldt
494bf67198 fixed typo in tv show sync 2015-03-20 12:03:35 +01:00