Commit graph

338 commits

Author SHA1 Message Date
xnappo
63239ac60a Don't create empty shows 2015-04-05 13:13:45 -05:00
xnappo
4819b5f272 WebSocketClient needs Utils 2015-04-05 12:29:09 -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
aa764d65a6 increase connection time out 2015-04-05 17:47: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
36aa6413e3 remove sleep actions from actors and write filename to db 2015-04-04 14:39:27 +01:00
angelblue05
1b681a0e99 Revert "Quick fix for UserClient sleep"
This reverts commit 281b70da85.
2015-04-04 05:20:13 -05:00
angelblue05
281b70da85 Quick fix for UserClient sleep
It was activating sleep while the initial scan was going. Changed to
allow sleep when the initial scan is not running.
2015-04-04 04:32:11 -05:00
shaun
510fe51bf8 sleep for 1 sec in the main loop 2015-04-04 10:13:36 +11:00
im85288
9b28b97be7 solve encoding issue with playurl 2015-04-03 22:39:18 +01:00
im85288
01a6c43ad2 box set sync no longer an option 2015-04-03 22:20:48 +01:00
im85288
30de132920 alter reset so that addon data dir is always removed when video db
delete fails
2015-04-03 18:42:15 +01:00
im85288
e2f5aef95f Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi.git 2015-04-03 18:09:47 +01:00
angelblue05
15dd6b78e6 Webclient playback fixed 2015-04-03 08:19:10 -05:00
im85288
a7d9641c07 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi.git 2015-04-03 13:52:03 +01:00
im85288
9fb4743816 extra check on delete successfull or not 2015-04-03 13:51:46 +01:00
angelblue05
1c02ac453c Moved the split after detection of None.
Present user with configs if server detection fails.
2015-04-03 07:36:41 -05:00
im85288
c5b68dcabd use xbmcvfs for deleting 2015-04-03 11:53:41 +01:00
im85288
a715281a84 dialog reference issues 2015-04-03 11:49:39 +01:00
im85288
c473305556 add a loop for deleting the database if it fails first time and back out
if it does not work
2015-04-03 11:33:44 +01:00
angelblue05
1b20863cf9 Integration of UserClient. 2015-04-03 05:13:01 -05:00
im85288
6f3e793561 slight rewording of dialog message 2015-04-03 11:02:21 +01:00
im85288
32db5aaa08 delete the whole video database and the addon_data info 2015-04-03 10:58:21 +01:00
shaun
07ff102a40 Sync running check added to Reset Action 2015-04-03 19:39:16 +11:00
shaun
f90bda68cf Actual: Work arround for ParetnId and Ids in the same query 2015-04-03 19:38:51 +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
xnappo
5b55a4bce1 More delete cleanup 2015-04-02 22:38:10 -05:00
xnappo
95db6e4b3f Remove old delete code 2015-04-02 22:37:09 -05: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
im85288
6b6f77dbff added reset settings - still needs a bit of work 2015-04-02 20:47:06 +01:00
im85288
be07c1125d changed log statements to remove MB Sync 2015-04-02 19:34:47 +01:00
Marcel van der Veldt
850f75e160 fix actor images: don't need the thumb prefix after all 2015-04-02 19:19:29 +02:00
im85288
1a2956c815 assure trailer url is encoded 2015-04-02 11:47:29 +01:00
shaun
685cf9ae81 fix delete TV Show 2015-04-02 19:00:58 +11:00
faush01
6f11368575 use existing file only if the path was the same as well 2015-04-02 10:48:04 +11:00
Marcel van der Veldt
4b6f192b4b fixed actors in tvshows 2015-04-01 23:28:19 +02:00
Marcel van der Veldt
a828c7480a remove createfiles.py 2015-04-01 21:43:22 +02:00
Marcel van der Veldt
95dc955f6d fix for transcoding 2015-04-01 21:32:25 +02:00
Marcel van der Veldt
5f8e5105bb changes to use native kodi db for inserts 2015-04-01 21:07:29 +02:00
Marcel van der Veldt
8ec2d7d33b one more fix for tvshow paths 2015-04-01 09:28:22 +02:00
Marcel van der Veldt
4ad3ef00fc error in thshow path assignment 2015-04-01 09:12:35 +02:00
faush01
80ec5d9b29 fix string encoding for json command data 2015-04-01 14:17:46 +11:00
faush01
167d54c2a3 use delete instead of remove and comment out the createNFO 2015-04-01 09:33:10 +11:00
Marcel van der Veldt
a59ef9aea0 another attempt to delete the tvshow.nfo 2015-03-31 23:28:05 +02:00
Marcel van der Veldt
1388eda326 changes to prevent doubled paths and support for transcoding 2015-03-31 23:21:51 +02:00
shaun
52bd5b662e wait for the data to be available on PlaybackStarted event 2015-03-30 21:01:26 +11:00
shaun
dbb9941813 use Player.OnPlay instead of Playlist.OnAdd 2015-03-30 19:36:43 +11:00
faush01
e90a4a9d32 replace \ with / before compare of old and new paths
The getPlayUrl forces all / so we need to make sure we are using that
2015-03-30 16:13:27 +11: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
debac27631 another fix for the doubled episodes problem 2015-03-30 00:04:11 +02:00
Marcel van der Veldt
abf2fd2c5a fix episode deletions cleanup 2015-03-29 23:37:02 +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
Marcel van der Veldt
9fffc9cfcb Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-03-29 22:14:25 +02:00
Marcel van der Veldt
a796ced05c fixed empty results in getKodiTvshow and GetKodiMovie
filter in kodi api call doesn't accept all fields as searchparameter so walk through the results instead
2015-03-29 22:13:11 +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
Marcel van der Veldt
bc207a7268 fixes for the path sync actions
not working yet --> episodes updates are skipped ?
2015-03-29 18:20:02 +02:00
shaun
b8481129cf remove redundant add 2015-03-29 21:05:09 +11: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
Marcel van der Veldt
959659c1c9 added reboot back in to make sure that playcounts are imported through nfo. 2015-03-29 00:47:07 +01:00
Marcel van der Veldt
4d9a9cf139 fixed problem with advancedsettings file 2015-03-29 00:30:13 +01:00
Marcel van der Veldt
097dae3d31 one more fix for transcoding 2015-03-28 19:11:38 +01:00
Marcel van der Veldt
74f96b2e13 fix in playutils 2015-03-28 19:07:57 +01:00
Marcel van der Veldt
03d99ed0d8 use the plugin method for playback when transcoding, use native kodi playback for direct access 2015-03-28 19:04:32 +01:00
Marcel van der Veldt
7493e57fcb fix for directplay 2015-03-28 18:36:14 +01:00
Marcel van der Veldt
eccfaf983f Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-03-28 17:42:55 +01:00
Marcel van der Veldt
db5e826f21 use native kodi playback instead of setresolvedurl workaround 2015-03-28 17:42:38 +01:00
xnappo
012bceca90 Fix episode deletes 2015-03-28 11:14:52 -05:00
angelblue05
b440331f2f Revert "Fixed manual auth"
This reverts commit b66ac39ccc.
2015-03-28 06:16:55 -05:00
angelblue05
b66ac39ccc Fixed manual auth
For now,  moved back to global variables to allow manual login.
2015-03-28 05:39:53 -05:00
shaun
4931fd4299 add some progress message to the Update BoxSets action 2015-03-28 15:24:36 +11:00
shaun
0481ea8abf add option to do second hacky artwork add on playback 2015-03-28 12:56:29 +11:00
shaun
c40e01043d add back in the PlayUtils for the WebSocket actions 2015-03-28 12:34:09 +11:00
shaun
06052426e2 add a resume question dialog box
for now this will work until we work out a better way
2015-03-28 12:12:51 +11:00
Marcel van der Veldt
64bd1b3fed removed the experimental mysql stuff 2015-03-27 12:20:40 +01:00
angelblue05
f306ceb67e Added the option to manually input user info
If user opts out of the auto detect, present the add-on configs instead of nothing.
Step to eliminate the need to restart Kodi after setting the sources, etc.
2015-03-27 04:58:05 -05:00
angelblue05
287677f683 Create addondir directory
This allows to make the addon work right away, without a Kodi restart.
Step to eliminate the need to restart Kodi after setting the sources, etc.
2015-03-27 04:53:30 -05:00
shaun
a69918f13f few small changes for utils 2015-03-27 11:24:49 +11:00
shaun
e2e847db29 Revert "few small fixes for bugs in test mysql code"
This reverts commit 95a5665ad0.
2015-03-27 11:17:55 +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
shaun
95a5665ad0 few small fixes for bugs in test mysql code 2015-03-27 11:15:22 +11:00
Marcel van der Veldt
348bc353ae comment out the mysql support --> not working for now. 2015-03-27 00:13:46 +01:00
Marcel van der Veldt
65c74ba014 fixes for mysql support 2015-03-26 22:56:22 +01:00
Marcel van der Veldt
cb8df35a1e small fix to default mysql support to false 2015-03-26 22:37:14 +01:00