Commit graph

336 commits

Author SHA1 Message Date
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
Marcel van der Veldt
9838b01467 support for isengard sqlite and **experimental** mysql support 2015-03-26 22:35:11 +01:00
im85288
6f870cc4f8 sync options removed from settings 2015-03-26 16:33:31 +00:00
im85288
de5dca04bd fix trailer playback issue, update readme to include theme music and
extrafanart info
2015-03-26 10:06:59 +00:00
shaun
7664e6e668 on UserDataChanged call updatePlayCounts() 2015-03-26 16:15:45 +11: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
b1385b6cc7 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync 2015-03-25 18:37:39 +01:00
Marcel van der Veldt
7d49a33b21 refactor to plugin.video.emby 2015-03-25 18:37:21 +01:00
im85288
39a8a5262f added resume point for episodes 2015-03-25 16:01:13 +00:00
im85288
865b07858e Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync.git 2015-03-25 15:43:35 +00:00
im85288
284983f529 fix crash when seeking to play 2015-03-25 15:43:12 +00:00
Marcel van der Veldt
b0ef58458e fixed error on non existing method 2015-03-25 15:02:37 +01:00
im85288
28862b309c added extra fanart sync 2015-03-25 14:00:08 +00:00
xnappo
03416513cf Change suppress to False unless really needed
This is how it really was before yesterday's commit to re-enable the
optionality
2015-03-25 07:48:29 -05:00
xnappo
d647463bb4 remove old addon delete stuff 2015-03-25 07:40:46 -05: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
Marcel van der Veldt
b1aecb35ba forgot import 2015-03-25 12:55:14 +01:00
Marcel van der Veldt
59f83c4034 better way to clean file names 2015-03-25 12:46:08 +01:00
im85288
f22ca2783c Move theme music sync to update and make it an option 2015-03-25 09:59:23 +00:00
im85288
64f3161518 fix language issue 2015-03-25 09:19:50 +00:00
shaun
a6a30cc54c only set the first run setting if it is not set 2015-03-25 18:47:22 +11:00
xnappo
0f35f73f76 Adding episode delete (for real this time!) 2015-03-24 18:52:23 -05:00
im85288
b97dadbd9c oops forgot an import 2015-03-24 22:54:33 +00:00
im85288
851e65374b added copying theme music - plus workaround for reported boxset issues 2015-03-24 22:39:19 +00: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
2d531474d7 fixed: do not write resumepoint to NFO if its value is 0 because this will set the lastplayed field to the import date 2015-03-24 21:19:50 +01:00
Marcel van der Veldt
95a3e76671 added lastplayed field to sync 2015-03-24 21:03:07 +01:00
im85288
7a905d4ec2 change art_types to a set 2015-03-24 18:58:13 +00:00
Marcel van der Veldt
7e33194e84 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync 2015-03-24 19:42:04 +01:00
Marcel van der Veldt
0eec3ecb1a fixed: resume now uses native kodi dialog 2015-03-24 19:41:46 +01:00
im85288
ccf77f3be2 add support for box sets 2015-03-24 16:47:26 +00:00
xnappo
c9fb82cf3c Back out delete
Need to add check if item is already deleted on Emby server
2015-03-23 22:54:11 -05: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
im85288
cf03ca9f4f Don't use hardcoded database version number 2015-03-23 11:30:03 +00:00
shaun
944b04b89a we dont support DisplayContent in this addon 2015-03-23 19:44:16 +11:00
faush01
f067bf573c fix a type in position setting in the stored data for playing items 2015-03-23 16:24:52 +11:00
faush01
9e5385c1c6 add WebSocket for events and remote control
For some reason playback stop is not being reported
2015-03-23 15:54:16 +11:00
faush01
59cdfcd922 add Notification as an UI indication option for syns actions 2015-03-23 14:54:07 +11:00
xnappo
263500da34 Don't include collections in tags 2015-03-22 16:48:17 -05:00
xnappo
a3b42a0447 Use collections instead of views for tags 2015-03-22 16:22:03 -05:00
im85288
6566e21fe1 only add real local trailers 2015-03-22 14:51:03 +00:00
im85288
4606ad5e79 only add trailers that are actually local 2015-03-22 14:21:30 +00:00
angelblue05
3b78b8e765 Fixed failed playback detection
Multiple instances of xbmc.Player() were called in onPlayBackStarted() causing a failed detection of the file currently playing.
2015-03-22 08:02:38 -05:00
Marcel van der Veldt
7cbdc48cc0 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync 2015-03-22 13:22:34 +01:00
Marcel van der Veldt
1ed1974673 fixed error in player.py 2015-03-22 13:22:09 +01:00
angelblue05
268344a8da Added https option to getServer
Since in most place I've noticed the http field is present, I've set to return the prefix by default. We will need to add a boolean option within the configs named https.
2015-03-22 05:58:02 -05:00
angelblue05
4f9673d6e8 websocket library
In preparation of WebSocketClient.py
2015-03-22 05:16:49 -05:00
angelblue05
5952b60b32 Fixed post capabilities
Client was not showing as a player in the web client.
2015-03-22 03:09:25 -05:00
angelblue05
1a472a43cd Fixed post capabilities
Client was not showing as a player in the web client.
2015-03-22 03:07:06 -05:00
Marcel van der Veldt
e10801cb48 added support for strm files played through the addon 2015-03-22 04:19:26 +01:00
Marcel van der Veldt
fedb6b4893 another encode issue 2015-03-21 20:26:59 +01:00
Marcel van der Veldt
a1ed4ef0f6 unicode issue in tvshow nfo 2015-03-21 16:05:47 +01: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
im85288
78bc187c1f support systems using python version less than 2.7 (such as Mac) 2015-03-21 09:03:43 +00: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
xnappo
4c5debaa1e import inspect 2015-03-20 15:00:17 -05:00
Marcel van der Veldt
c0a26c2596 still error in remove-episode 2015-03-20 20:29:50 +01:00
Marcel van der Veldt
09e62d570c support for episode deletions 2015-03-20 20:26:37 +01:00
Marcel van der Veldt
63bd250c4b fixed season artwork 2015-03-20 16:58:46 +01:00
Marcel van der Veldt
acbf9ee258 fixes for season artwork 2015-03-20 16:16:39 +01:00
Marcel van der Veldt
a68c2cc796 some more optimizations - episodes dont need their artwork set 2015-03-20 14:37:34 +01:00
Marcel van der Veldt
a20ccc1cc8 fix: added maps to getKoditvshows method 2015-03-20 13:27:02 +01:00
Marcel van der Veldt
58ad5c1fe3 optimize getArt method --> small fixes and removed extra logging 2015-03-20 12:53:02 +01:00
Marcel van der Veldt
7f7127b3bc optimization in setartwork --> now sets all artwork at once 2015-03-20 12:39:26 +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
Marcel van der Veldt
6eba8db57a improvement to tvshows sync: also process updates at tv show level at first sync 2015-03-20 11:08:22 +01:00
faush01
cbfc40f430 On first sync show a regular Progress Dialog 2015-03-20 19:15:06 +11:00
faush01
5dd145a8e8 use a map for movie to make to lookup easier and faster 2015-03-20 14:04:54 +11:00
faush01
d1aabaf803 remove log and __init__ functions from API() 2015-03-20 11:58:58 +11:00
Marcel van der Veldt
83213e745e fixed typo 2015-03-20 01:35:00 +01:00
Marcel van der Veldt
323deb2534 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync 2015-03-20 01:28:12 +01:00
Marcel van der Veldt
25d83591cd added season 0 poster as fallback for tv shows in nfo 2015-03-20 01:27:55 +01:00
faush01
7a9790884a Merge remote-tracking branch 'origin/master'
Conflicts:
	resources/lib/WriteKodiDB.py
2015-03-20 11:24:19 +11:00
faush01
21a29b3962 dont try to do any DB access if it is not needed in Update Actors 2015-03-20 11:21:43 +11:00
Marcel van der Veldt
96833b5ef3 fixed small issue in NFO --> writer is named credits in the NFO 2015-03-20 01:16:46 +01:00
Marcel van der Veldt
6e1727dc78 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync 2015-03-20 01:09:21 +01:00
Marcel van der Veldt
845f0cc809 small optimalizations and fix for key error at season artwork 2015-03-20 01:09:04 +01:00
faush01
c38ecfa462 acumulate change values with |= and dont set art if it is "" 2015-03-20 10:49:13 +11:00
Marcel van der Veldt
5b65e1cfda moved some more logging to info or debug level 2015-03-20 00:34:56 +01:00
Marcel van der Veldt
8b29222446 fixed artwork on Playback
fixed playcount reporting on Movies

improved playcount reporting after playback (refresh the listing)
2015-03-20 00:24:29 +01:00
Marcel van der Veldt
3be9f9e50e Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync 2015-03-19 22:50:49 +01:00
Marcel van der Veldt
e859108697 changed some logging 2015-03-19 22:50:33 +01:00
im85288
4a1bd80093 added season posters 2015-03-19 21:31:06 +00:00
Marcel van der Veldt
34ea46b9cb fixed support for dateadded by setting the modfication date on the strm files 2015-03-19 21:55:30 +01:00
im85288
310b647727 optimise getting kodi movie and kodi episode 2015-03-19 18:39:38 +00:00
im85288
371672d56f remove xbmc.log statement 2015-03-19 17:44:53 +00:00
im85288
27b21f214e added individual playcount update 2015-03-19 17:40:29 +00:00
shaun
40b3231156 make sure we are syncing all items for the playcount sync 2015-03-20 00:28:55 +11:00
shaun
ad1d1d80cc remove some of the for loops searches, use a map for lookups
Do a full sync on all items for playcount
2015-03-20 00:18:28 +11:00
Marcel van der Veldt
a0099a69db fixed the restart message
not start sync before settings are changed in the kodi xml files
2015-03-19 13:43:02 +01:00
Marcel van der Veldt
ea8c810a05 fixed small error in full sync 2015-03-19 11:20:58 +01:00
Marcel van der Veldt
fe35d84e1e speed improvement
moved all sleeps to the kodi api calls only
2015-03-19 11:13:49 +01:00
Marcel van der Veldt
593d969669 speed boost playcount sync 2015-03-19 10:52:21 +01:00
Marcel van der Veldt
5ec6afaf99 optimize playcount sync for Movies
replaced call per-item by 1 single call to Kodi api
2015-03-19 10:06:05 +01:00