Commit graph

4546 commits

Author SHA1 Message Date
angelblue05
71d234ced7 Fix playback report
It now shows the appropriate info in dashboard - Direct Play, Direct
Stream or Transcoding
2015-05-07 19:24:32 -05:00
Marcel van der Veldt
3579fa3ca8 add genres to music albums
fixed high season numbers skipped at import
removed prefix from video nodes
2015-05-08 01:45:28 +02:00
Marcel van der Veldt
7c995a5a17 fixed season check 2015-05-08 01:38:38 +02:00
Marcel van der Veldt
0cb4d7fb25 fixed etag issue with music artists 2015-05-08 01:13:29 +02:00
Marcel van der Veldt
e16cbcc87c corrected check for music artists and also reset music db at full reset 2015-05-08 00:46:41 +02:00
Marcel van der Veldt
93a52009dd small change to music sync, do extra match on artist name to combine 2015-05-08 00:38:59 +02:00
Marcel van der Veldt
507dd340cd support deletions for musiclibrary sync 2015-05-08 00:23:49 +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
angelblue05
87681ee850 Adjustment for playback
os.path.exists does not return True with nfs protocol. Less strict
"FileExists"
2015-05-07 16:33:50 -05:00
im85288
5ac32f467a alter the way the info mode is handled to not need a db rebuild -
currently only working from home widgets
2015-05-07 16:05:04 +01: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
0cacd3ee87 minor detail changed 2015-05-07 10:33:35 +02:00
Marcel van der Veldt
4d0d863a42 fixes issue with user profile switches in kodi 2015-05-07 10:32:30 +02:00
angelblue05
11e4b3edf9 Quick fix for new playback 2015-05-07 01:50:34 -05:00
angelblue05
b8334e89f2 Quick follow up 2015-05-07 01:19:14 -05:00
angelblue05
aa72b4ce9c Reworked playback
Supports local path, network path, direct streaming, transcoding.
2015-05-07 01:11:20 -05:00
xnappo
22c62d9727 Test allowing updates during playback 2015-05-06 22:27:22 -05:00
Marcel van der Veldt
6a3feb5f77 fixed a nullreference 2015-05-07 00:11:21 +02:00
Marcel van der Veldt
986a37455e Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-07 00:05:50 +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
im85288
44b22e7a67 replaced auto play episode with custom nextup dialog, also added
ItemInfo and PersonInfo from the old addon
2015-05-06 22:41:44 +01:00
Marcel van der Veldt
d4e44122ba moved videonodes code to seperate class 2015-05-06 23:24:13 +02:00
Marcel van der Veldt
e76bf71591 some changes to the video nodes building 2015-05-06 22:53:55 +02:00
Marcel van der Veldt
52a8345430 fixed actor images in listings 2015-05-06 17:43:40 +02:00
Marcel van der Veldt
67dba82324 fix: playback of virtual strm files
fix: some listitem data gets overridden after playback
do no longer override the title with "direct play" etc
2015-05-06 17:02:16 +02:00
Marcel van der Veldt
6997c7f79a close con when needed 2015-05-06 16:17:33 +02:00
angelblue05
cdd6239736 Follow up for the new feature
Added a short notification to indicate to users success or error.
2015-05-05 22:20:29 -05:00
angelblue05
0501622b59 Add/Remove additional user from session
Can be mapped to home menu or keymap using:
RunPlugin(plugin://plugin.video.emby?mode=adduser)
2015-05-05 22:02:36 -05:00
angelblue05
d8fd3603a6 Fix for profiles 2015-05-05 21:45:29 -05:00
angelblue05
add7494b99 Rename MainModule to Entrypoint
It is more appropriate.
2015-05-05 15:18:52 -05:00
Marcel van der Veldt
60957668f3 fix for playcount reported wrong by Kodi
unwatched items are calculated when the playcount is set to NULL in the database and not 0
2015-05-05 18:40:53 +02:00
im85288
2682a7617d include the first backdrop in extrafanart 2015-05-05 15:41:48 +01:00
Marcel van der Veldt
0136ed3f1b stupid typo 2015-05-05 16:21:30 +02:00
Marcel van der Veldt
36b2392e83 corrected the genres method 2015-05-05 16:20:09 +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
aed5abf16d channels does not need the mediastreams retrieved or peoplw 2015-05-05 13:28:43 +01:00
Marcel van der Veldt
3ba1b4e5a3 moved default.py code to MainModule.py
fixed playback for channels
fixed nextup listing
2015-05-05 13:27:45 +02:00
Marcel van der Veldt
c374b166bb added support for channels 2015-05-05 04:53:21 +02:00
angelblue05
7a135b71fa Typo 2015-05-04 19:11:05 -05:00
angelblue05
1acfd78cdf Added reset auth option to settings 2015-05-04 19:03:46 -05:00
Marcel van der Veldt
93f2d4cd91 added nextup videonode to tvshow collections 2015-05-05 01:43:46 +02:00
angelblue05
b882596e29 Quick fix for deprecated method
RunPlugin goes with pluginsource default.py. This gets rid of the
deprecated message when using the action to reset local db.
2015-05-04 16:40:44 -05:00
angelblue05
b996037e4e Handle unexpected response
API seems to return text/html response for playeditems
2015-05-04 14:09:01 -05:00
angelblue05
fc05e83d90 Fix for manually marked as watched/unwatched
The videolibrary.onupdate triggers 3 times. This prevents from sending
more than one mark watched/unwatched to Emby API
2015-05-04 13:54:42 -05:00
im85288
1f846b1302 playback from home widgets does not need the setresolvedurl method
called along with xbmc.play
2015-05-04 17:34:05 +01:00
im85288
657c813112 add back disable coverart option 2015-05-04 14:39:29 +01:00
angelblue05
20e3d9d7ac Follow up for dateAdded 2015-05-03 18:09:16 -05:00
xnappo
501adb6e3c Fix up date added 2015-05-03 18:04:24 -05:00
Marcel van der Veldt
552a9a30bd sort the "all" nodes by title 2015-05-04 00:04:10 +02:00
Marcel van der Veldt
c2c5743611 also prefix the label 2015-05-03 23:55:49 +02:00
Marcel van der Veldt
5ec53e0326 stupid typo 2015-05-03 23:52:40 +02:00
Marcel van der Veldt
5b03f6549d don't add the emby videonodes in a parent folder because it causes issues with video node editor and skinshortcuts addons 2015-05-03 23:50:36 +02:00
Marcel van der Veldt
f56b154a83 fixed default nodes and create node dirs if not existing 2015-05-03 23:11:06 +02:00
Marcel van der Veldt
dd54cb27f3 first work on the video nodes stuff 2015-05-03 20:30:24 +02:00
im85288
f80e099b0c remove play from http option at scan time 2015-05-03 19:19:25 +01:00
im85288
ba4a00c53a Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi.git into database_changes 2015-05-03 17:26:15 +01:00
im85288
8de2eecdcf fixed autoplay episodes 2015-05-03 17:26:04 +01:00
Marcel van der Veldt
4d9c845fd3 show the additional resume dialog if launched from a widget 2015-05-03 18:08:07 +02:00
Marcel van der Veldt
cef2b67eba only use the additional play when launched from widget (home active) 2015-05-03 18:02:53 +02:00
Marcel van der Veldt
d349207781 Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-03 17:40:43 +02:00
Marcel van der Veldt
34f1b81f10 Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-03 17:39:31 +02:00
xnappo
c8e4312571 More fixes to make 'getViewCollections' work 2015-05-03 10:39:30 -05:00
Marcel van der Veldt
72ca06e417 add support for native extrafanart 2015-05-03 17:39:12 +02:00
xnappo
08ea50bdca Missed a line somehow. 2015-05-03 10:19:02 -05:00
xnappo
7a2d0d2ef7 Add sync on wakeup 2015-05-03 10:05:26 -05:00
xnappo
76691ea687 Fixes for user views in case we decide to use them 2015-05-03 09:42:37 -05:00
im85288
e91d2ff2a7 resolve artwork issue for widgets 2015-05-03 14:45:13 +01:00
im85288
6f5ae66c54 added initial box set support 2015-05-03 13:44:23 +01:00
angelblue05
4b9cae3f2f Handle revoked token 2015-05-03 02:24:23 -05:00
angelblue05
6cb5fd12a1 logging for report progress
Moved to debug
2015-05-03 01:06:44 -05:00
angelblue05
38d0d1c02b Added server online check 2015-05-03 00:27:43 -05:00
angelblue05
60390a2f24 Fix sessionId bug 2015-05-02 21:28:24 -05:00
angelblue05
d0e2b7c3d6 Revert "Fix sessionId bug"
This reverts commit cb663913a0.
2015-05-02 21:26:01 -05:00
angelblue05
cb663913a0 Fix sessionId bug 2015-05-02 21:06:09 -05:00
Marcel van der Veldt
3b6d08cd2e damn typo 2015-05-03 02:01:15 +02:00
Marcel van der Veldt
654dd71b26 minor fix for musicvideo support 2015-05-03 01:59:08 +02:00
Marcel van der Veldt
91a73128b1 changed checksum to use both userdata and etag to detect changes
added favotite shows and movies tags
2015-05-03 01:46:11 +02:00
Marcel van der Veldt
812e3090a5 added support for 3d format in streamdetails 2015-05-03 00:44:35 +02:00
angelblue05
8e3a22e0e8 Launch playback via default.py
I've commented out the resume dialog. If we actually need it then it can
be readded.
2015-05-02 16:40:30 -05:00
im85288
210b0831c7 use etag for checksum 2015-05-02 22:14:04 +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
e637af1b78 small fixes for musicvideo support 2015-05-02 22:25:08 +02: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
367b658a29 some more changes to the playback 2015-05-02 18:36:06 +02:00
im85288
bc09e570fd revert etag use as the API does not currently return the etag when
getting a collection of items (eg all episodes of a tv show).
2015-05-02 17:16:33 +01:00
Marcel van der Veldt
ba5211dcb8 fixed resume dialog 2015-05-02 18:04:32 +02:00
Marcel van der Veldt
f6cd5c9744 changed playback a bit 2015-05-02 17:49:29 +02:00
Marcel van der Veldt
702eec810a Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-02 16:50:04 +02:00
Marcel van der Veldt
88b31ae5c4 fixed playback 2015-05-02 16:49:47 +02:00
im85288
e6784de347 use the etag when available 2015-05-02 15:34:59 +01:00
Marcel van der Veldt
d489375ab2 fixed manual mark watched 2015-05-02 15:59:48 +02:00
Marcel van der Veldt
a05bdeb844 fixed issue with episode sync 2015-05-02 14:57:43 +02:00
Marcel van der Veldt
6e9983edba added playcount to the sync 2015-05-02 14:02:31 +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
61c6fedc19 some more typos 2015-05-02 12:22:53 +02:00
Marcel van der Veldt
cabcdd5e90 fixed some typos 2015-05-02 12:10:57 +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
2eac7bbcb4 fixed updates from websocket 2015-05-02 04:01:52 +02:00
Marcel van der Veldt
6d191fef1d fixed some small issues 2015-05-02 03:47:05 +02:00
Marcel van der Veldt
42c7256f54 added streamdetails 2015-05-02 02:57:58 +02:00
Marcel van der Veldt
b4dd9f58bd fixed the plugin path for playback 2015-05-02 02:26:06 +02:00
Marcel van der Veldt
cf2c5ef701 Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-01 22:14:15 +02:00
Marcel van der Veldt
ecd1fad09f revert to old method for file access while sorting out the plugin approach 2015-05-01 22:14:00 +02:00
im85288
392863fa93 update episode rather than tv show 2015-05-01 20:15:43 +01:00
im85288
70182edf0e fix for update path - takes 2 parameters 2015-05-01 20:13:15 +01:00
Marcel van der Veldt
e77d5c7c53 some more fixes 2015-05-01 18:32:13 +02:00
Marcel van der Veldt
a8235061e1 fixed some typo errors 2015-05-01 17:13:22 +02:00
Marcel van der Veldt
b617621097 finalized all properties to the database syncs
cleanup of some code
2015-05-01 16:58:20 +02:00
Marcel van der Veldt
409832ead4 small fix 2015-05-01 14:06:31 +02:00
Marcel van der Veldt
adf85204ee added artwork to sync 2015-05-01 13:57:24 +02: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
angelblue05
fdff2cefb7 Revert "Playcount fix"
This reverts commit f0fb6d390b.
2015-04-29 23:10:37 -05:00
angelblue05
f0fb6d390b Playcount fix
Seems it was attached to the watched status instead of the actual
playcount value.
2015-04-28 18:45:39 -05:00
angelblue05
2f3d609f53 Attempt #1 at fixing playback report/resume
Cleaning up the code, using websocket to report playback progress.
2015-04-28 17:23:26 -05:00
angelblue05
fb006bb5f8 Revert "Added server online check"
This reverts commit 9020c1c908.
2015-04-26 18:15:40 -05:00
angelblue05
9020c1c908 Added server online check 2015-04-26 15:41:39 -05:00
angelblue05
6ec92da158 Fix PlaybackUtils for recent changes to downloadurl 2015-04-25 18:51:07 -05:00
angelblue05
fa80049df1 Settings for client SSL 2015-04-25 13:20:02 -05:00
angelblue05
de42c14e33 HTTPS verification handling
By default - no host verification. Option to verify host and add a
client side certificate to pair with server certificate.
2015-04-24 20:57:04 -05:00
angelblue05
8b1f8ce4e8 Enabled certificate option in settings 2015-04-24 05:33:28 -05:00
angelblue05
1ed674e4f1 https custom certificate
Attempt #1 at implementing support for HTTPS custom ssl certificate
2015-04-24 05:17:08 -05:00
angelblue05
7e17bf5c84 Adjusting to use the new method 2015-04-23 12:17:24 -05:00
angelblue05
df7b5349b8 Remove parameters that no longer exists 2015-04-22 18:55:22 -05:00
angelblue05
03697c3f7e Typo 2015-04-22 08:24:54 -05:00
angelblue05
78acae377f Revert "Revert "Adjusted the rest to use the new method""
This reverts commit f8632a97d8.
2015-04-21 21:31:16 -05:00
angelblue05
f8632a97d8 Revert "Adjusted the rest to use the new method"
This reverts commit 0c91c0b28b.
2015-04-21 21:20:02 -05:00
angelblue05
0c91c0b28b Adjusted the rest to use the new method 2015-04-21 21:17:58 -05:00
angelblue05
007cc8e4a9 Change to use unicode 2015-04-21 18:12:09 -05:00
angelblue05
079fd4e8d9 Added Requests 2015-04-21 16:34:56 -05:00
angelblue05
ebe03057b0 Organize settings.xml
Moved transcoding settings to the playback tab in settings.
2015-04-19 23:27:00 -05:00
shaun
7b85d4aafc fix a lock up on DB access
if you do an insert or update you MUST call commit() before returning
2015-04-20 14:26:07 +10:00
angelblue05
7b02b45000 Revert "Organize settings.xml"
This reverts commit 5c8b25f291.
2015-04-19 23:25:03 -05:00
angelblue05
5c8b25f291 Organize settings.xml
Moved transcoding settings to playback tab in settings
2015-04-19 23:22:57 -05:00
xnappo
2930150113 Typo 2015-04-18 14:42:38 -05:00
angelblue05
e1f0ee7575 Fix imageUrl 2015-04-18 12:11:58 -05:00
xnappo
fca5f3c9f2 Queue updated items in playback, process on stop 2015-04-18 12:10:06 -05:00
shaun
59713c80da fix delete item event 2015-04-18 18:02:47 +10: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
angelblue05
2112ab951b Replaced numeric with alphanum dialog for easypin
Would display with external connection and fail to auth. Easy pin is
only for in-network connections.
2015-04-16 10:05:19 -05:00
shaun
ef41e69771 verify season index before use 2015-04-16 18:38:16 +10:00
shaun
cde774fc9e Add/Update TV Shows for Incremental TV Sync 2015-04-16 10:44:43 +10:00
shaun
c72027f6a2 dont add episodes that dont have a season entry yet 2015-04-15 16:10:37 +10:00
shaun
19e38bec8e Fix specials airs before, Remove Special Season 100 Mapping, Update season art
Fix specials airs before values, set to -1 to make them only show up in
Specials
Remove Special Season 100 Mapping option
Update season art when changed
2015-04-15 12:20:08 +10:00
angelblue05
5f91d49f3f Add https support 2015-04-13 13:56:36 -05:00
angelblue05
060a6f1323 Add option to delete user info
Added for testing update library to force refresh newly set thumbnails
after first sync (only).
2015-04-12 08:49:41 -05:00
Frederik Kriewitz
88ef0da5a6 implementation of the forceTranscodingCodecs option 2015-04-12 15:35:03 +02:00
Frederik Kriewitz
2c7d50e3a6 add forceTranscodingCodecs option
The Force Transcoding Codecs option can be used to enforce transcoding
for specific codecs.
It's a coma separated list of codecs which should be transcoded.
Example: forceTranscodingCodecs="hevc,vp9,dca"
2015-04-12 15:32:14 +02:00
Frederik Kriewitz
3343d2bbdd fix getVideoBitRate default value
setting VideoBitrate to > 2147483647 causes a RequestBindingException on
the server.
2015-04-12 15:32:13 +02:00
Frederik Kriewitz
4367729103 restore videoBitRate option 2015-04-12 15:32:13 +02:00
angelblue05
0ba24d8dbd Fix for db reset
setSetting() now works to reset the initial scan state. I also removed
deprecated behavior from addon.xml
2015-04-12 04:49:02 -05:00
shaun
9d2d2788b2 add Special TV Show mapping to Season 100 and use Delete from table for DB reset 2015-04-12 18:34:00 +10:00
shaun
ff437bc439 Use json.dumps to do the string escaping for the JsonApi calls 2015-04-12 14:28:42 +10:00
shaun
d0c7246de0 Use waitForAbort instead of sleep
also waitForAbort is in seconds not ms
2015-04-12 13:01:44 +10:00
xnappo
a362d5b6b5 " can be ' and it works. 2015-04-11 12:45:35 -05:00
xnappo
fdb73f08e8 'Fix' overview
Not too happy about this, but seems to work
2015-04-11 12:34:20 -05: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
angelblue05
0d616fef94 Replaced sleep with waitForAbort()
Hopefully helps with the hang crash.
2015-04-11 07:56:07 -05:00
im85288
31656e4684 changed autoplay to popup in last 20 seconds rather than at play stopped 2015-04-09 13:29:48 +01:00
angelblue05
f084608e84 Added-Fix HTTP Playback
Added an extra prompt for auto detection.
2015-04-08 20:28:28 -05:00
angelblue05
48ce741f6a Revert "Added-Fix HTTP Playback"
This reverts commit 90204fcd05.
2015-04-08 20:04:33 -05:00
angelblue05
90204fcd05 Added-Fix HTTP Playback
Added additional prompt when using auto-detect.
2015-04-08 18:42:55 -05:00
Marcel van der Veldt
7ac2704989 fixed small typo in logging 2015-04-08 11:22:59 +02:00
Marcel van der Veldt
c31b5ecebe some code cleanup and small changes
fixed episode thumb
2015-04-08 11:21:11 +02:00
Marcel van der Veldt
3077df6407 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-04-08 10:01:21 +02:00
Marcel van der Veldt
8ac8596d6f added support for Kodi Isengard 2015-04-08 10:01:04 +02:00
angelblue05
0e3dd9a096 Fix for multi-user
It was always writing to master profile.
2015-04-07 20:09:17 -05:00
Marcel van der Veldt
a464924f6f fixed ratings; now using decimals 2015-04-08 02:58:28 +02:00
Marcel van der Veldt
64d2ff9cab added director to episode details 2015-04-08 01:09:39 +02:00
Marcel van der Veldt
7c03a96dfd fixed calculation for rating 2015-04-08 00:52:59 +02:00
Marcel van der Veldt
8c108add38 fixed typo 2015-04-08 00:44:38 +02:00
Marcel van der Veldt
d6cb046de1 fixed: wrong ratings were synced 2015-04-08 00:38:15 +02:00
im85288
51d5e3733b label again for autoplay 2015-04-07 18:44:36 +01:00
im85288
4d0e53525a label change for autoplay dialog 2015-04-07 18:40:24 +01:00
im85288
b88f467357 added autoplay remaining episodes option 2015-04-07 15:21:54 +01:00
angelblue05
78883f2216 Added Easy pin 2015-04-07 01:27:27 -05:00
im85288
717e802615 revert plot update changes 2015-04-07 00:51:13 +01:00
angelblue05
1cd7663410 Added some logging 2015-04-06 12:17:32 -05:00
angelblue05
2014e93c33 Revert "Added some logging"
This reverts commit d5c9ae5c91.
2015-04-06 10:52:16 -05:00
angelblue05
d5c9ae5c91 Added some logging 2015-04-06 08:42:18 -05:00
im85288
e4c8da2097 another copy/paste issue 2015-04-06 12:38:49 +01:00
im85288
2a0231bbd3 typo 2015-04-06 12:20:18 +01:00
im85288
45d73bdb43 set a few more props on update 2015-04-06 10:13:42 +01:00
angelblue05
9eb3425021 Changing logLevel default to 1
For the testing period. It will make it easier for everyone.
2015-04-06 02:27:47 -05:00
shaun
b9ebb81322 add poster artwork to episodes 2015-04-06 09:11:39 +10:00
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
264758cca8 more locale stuff 2015-04-03 13:27:04 +01:00
im85288
66721df1cc locale for reset 2015-04-03 13:10:07 +01: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
angelblue05
3cb23b8079 Added a default value for HTTPS 2015-04-03 04:03:55 -05: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
b81c004331 fixed up settings 2015-03-29 19:41:04 +02: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
im85288
79486c5772 set artwork option as true be default 2015-03-28 15:32:48 +00: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
angelblue05
e9680e3d33 Moved the default tab to Emby info
When user manually logs in, it opens the settings. It's better to have Emby info as default. (Unless there's a way to open a specific tab)
Step to eliminate the need to restart Kodi after setting the sources, etc.
2015-03-27 04:48:01 -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
dd192391c4 changes from mediabrowser to emby 2015-03-25 10:05:18 +00: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
angelblue05
52d4093a44 Fixed label for deviceName
It was also called username. Changed to string: Device Name
2015-03-24 21:01:58 -05: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
angelblue05
432098a115 Added a bool value for HTTPS 2015-03-23 00:34:32 -05: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
Marcel van der Veldt
43b8cd781d manually merged changes 2015-03-19 09:47:05 +01:00
Marcel van der Veldt
b0c795bdf4 fixed incremental sync for tvshows 2015-03-19 09:44:25 +01:00
faush01
00e46a76cb split the tv episide add into two stages add/update to allow importing in the middle 2015-03-19 19:42:25 +11:00
faush01
c2f25724a3 make setting visible 2015-03-19 15:38:32 +11:00
faush01
a2be3f50d4 fix url building 2015-03-19 15:38:15 +11:00
faush01
20691716b7 a bunch of progress dialog fixes 2015-03-19 15:38:00 +11:00
faush01
7d37fe590d move the log to inside the message function call to reduce log noise 2015-03-19 15:37:20 +11:00
faush01
74df6ed2ee remove password as it is no longer used 2015-03-19 13:29:47 +11:00
Marcel van der Veldt
53fb4a9207 small changes 2015-03-18 22:38:02 +01:00
xnappo
62b3f8da2d Different studio fix
PlayUtils was erroring on empty list - this is a better fix than the
last i think
2015-03-18 15:49:49 -05:00
Marcel van der Veldt
200040dd62 added loglevel from settings and exception to logmessages 2015-03-18 21:34:52 +01:00
xnappo
b5214ad8ba Fix for empty studios 2015-03-18 15:03:20 -05:00
xnappo
1a95c2abf6 Add back network username/password 2015-03-18 14:42:04 -05:00
Marcel van der Veldt
e04ee83bd8 some more small fixes 2015-03-18 18:54:30 +01:00
Marcel van der Veldt
6729df6508 small fixes 2015-03-18 18:49:20 +01:00
Marcel van der Veldt
deb0fa57c1 incremental episodes sync and new settings 2015-03-18 18:43:57 +01:00
Marcel van der Veldt
380b934316 first attempt to get incremental sync for episodes 2015-03-18 18:00:38 +01:00
Marcel van der Veldt
89932186d9 merge? 2015-03-18 16:52:11 +01:00
Marcel van der Veldt
b3a178ab62 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync
Conflicts:
	resources/lib/LibrarySync.py
2015-03-18 16:51:11 +01:00
Marcel van der Veldt
dc13c6996d added sync settings
improved performance by getting all kodi movies at once instead of 1 by 1

movies section = finished, TV section work in progress
2015-03-18 16:47:55 +01:00
xnappo
5127a770b5 throttle the progress bar 2015-03-18 10:08:26 -05:00
shaun
f77cef5aca add some more name cleaning char replaces 2015-03-18 19:02:28 +11:00
faush01
1b4a99bd78 replace / with & in studio strings 2015-03-18 16:05:21 +11:00
faush01
c6917f5bd3 allow play count updates to be pushed to the server even if sync is running 2015-03-18 14:18:30 +11:00
faush01
7bd7c10a0f add episode watched push to MBS from Kodi 2015-03-18 13:45:15 +11:00
xnappo
bc8037d686 Refactor fix 2015-03-17 15:18:27 -05:00
xnappo
37ca11bf8b Don't collapse boxsets 2015-03-17 14:47:31 -05:00
xnappo
7936a9ba5a Refactor 4/4 2015-03-17 14:02:42 -05:00
xnappo
375aa8f194 Refactor 3/4 2015-03-17 13:41:26 -05:00
xnappo
2a09fe6117 Refactor 2/4 2015-03-17 13:18:17 -05:00
xnappo
ed784bfcd9 Refactor 1/4 2015-03-17 12:51:45 -05:00
xnappo
ed77944543 Throttle play status sync 2015-03-17 12:25:52 -05:00
xnappo
f1e01fe0a9 Get real full nodes for standard collections 2015-03-17 10:47:24 -05:00
Marcel van der Veldt
112f636ab2 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync
Conflicts:
	resources/lib/LibrarySync.py
2015-03-17 10:44:02 +01:00
Marcel van der Veldt
61c98a95d0 fixed firstaired on episodes (now really)
only log on changes to keep log readable
2015-03-17 10:41:52 +01:00
faush01
5217ed815d dont set runtime if zero and add current to log for updatePropertyArray call 2015-03-17 13:33:20 +11:00
Marcel van der Veldt
acfc9ee258 last fix for firstaired at episodelavel 2015-03-17 01:12:50 +01:00
Marcel van der Veldt
b48ed373a8 one more fix: tvshows's year field is named premiered 2015-03-17 01:00:28 +01:00
Marcel van der Veldt
c4c32521d0 small fixes for episodes 2015-03-17 00:54:30 +01:00
Marcel van der Veldt
976a51057d some more work on episodes part 2015-03-17 00:36:42 +01:00
Marcel van der Veldt
5e8f63831c more unicode fixes
fixes for wrong dif detection
added logging to see if item gets updates
libraries can be enabled/disabled
2015-03-17 00:04:29 +01:00
Marcel van der Veldt
a1a074b66f advancedsettings.xml can get the watchedstates imported 2015-03-16 23:37:31 +01:00
Marcel van der Veldt
1f078194bd and one more... 2015-03-16 22:46:16 +01:00
Marcel van der Veldt
8fd237a435 small error in logmsg 2015-03-16 22:42:53 +01:00
Marcel van der Veldt
150f276005 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync
Conflicts:
	resources/lib/LibrarySync.py
2015-03-16 22:38:48 +01:00
Marcel van der Veldt
75bf4de471 added some logging to the set methods to figure out why its updating 2015-03-16 22:36:13 +01:00
Marcel van der Veldt
4810cfae52 extended NFO creation with more info 2015-03-16 22:31:32 +01:00
xnappo
9f941ba964 Wrap executeJSON for debug 2015-03-16 12:51:49 -05:00
xnappo
39961041b8 Update tags 2015-03-16 12:30:02 -05:00
xnappo
082ff2f9bc Initial attempt at tags 2015-03-16 09:29:31 -05:00
shaun
67bd818aad Clean file name for episode files 2015-03-16 20:15:26 +11:00
shaun
47e3d6cb19 add some sleeps :-( 2015-03-16 18:43:20 +11:00
faush01
9c98f713e7 dont do a lib scan or clean until the sync is full done 2015-03-16 16:27:23 +11:00
faush01
46f2a3ffdb stop sync if exiting or playback started 2015-03-16 14:10:41 +11:00
faush01
f587905d91 add xbmcgui.DialogProgressBG() to display current sync progress 2015-03-16 13:32:59 +11:00
xnappo
f0fb4e3c96 Use tvshow.poster 2015-03-15 20:56:23 -05:00
angelblue05
6d8f75b492 Minor modification 2015-03-15 20:31:21 -05:00
angelblue05
e4ad9bb3c2 Added verification from WINDOW
This also include preparations for http/https support.
2015-03-15 20:24:19 -05:00
xnappo
972d48688c Don't include virtual/phantom episodes 2015-03-15 14:48:09 -05:00
Marcel van der Veldt
8fd991d93c small fixes 2015-03-15 18:38:35 +01:00
Marcel van der Veldt
0b6b630e06 merged in getcollections 2015-03-15 18:14:23 +01:00
Marcel van der Veldt
01b7e40fe5 tvshow section working including episodes 2015-03-15 18:04:01 +01:00
xnappo
a579eebe7e Add getCollections method 2015-03-15 09:10:26 -05:00
shaun
1971eb8655 create a empty sources.xml to work with if one does not exist 2015-03-15 15:18:34 +11:00
Marcel van der Veldt
827d0a0484 Merge branch 'master' of https://github.com/marcelveldt/plugin.video.mb3sync 2015-03-15 04:29:12 +01:00
Marcel van der Veldt
a3fb4eb748 tvshow updates now working 2015-03-15 04:28:37 +01:00
angelblue05
f5f1589aa6 User added to return userdata
Return userdata from settings.xml. The methods found here should be used to build other methods. This will keep the data more centralized.
2015-03-14 21:43:06 -05:00
Marcel van der Veldt
42220765dd work on tv shows section 2015-03-15 02:18:29 +01:00
im85288
3439a599e9 start of getting tv shows - needs further work 2015-03-14 22:43:36 +00:00
shaun
f7aa1d4310 move get setting and creation of Download Utils to where they are used
to allow them to pick up the values at the time they are needed
2015-03-15 09:33:16 +11:00
shaun
4f6e7c2233 add some error checking 2015-03-15 08:25:08 +11:00
im85288
83c438f8ff use os.sep for path seperator 2015-03-14 20:48:09 +00:00
Marcel van der Veldt
37f4f6b707 fixed one more issue in utils..
file exists in python needs a trailing slash behind directory names
2015-03-14 19:55:04 +01:00
Marcel van der Veldt
3c8db3fe94 fixed error in sources detection 2015-03-14 19:37:52 +01:00
xnappo
2f53b9b026 Fix playback 2015-03-14 13:17:16 -05:00
xnappo
0bf230d449 Merge again? 2015-03-14 13:10:27 -05:00
Marcel van der Veldt
540b6786c4 merge 2015-03-14 18:29:58 +01:00
Marcel van der Veldt
5796185ce5 fixed all remaning properties
added actors
2015-03-14 18:29:00 +01:00
Marcel van der Veldt
e2d6bd6c43 fixed all properties for movieobjects
added actors to database
fixed the library detection to more failsafe
2015-03-14 18:23:45 +01:00
xnappo
caa86fe5c8 Move getArt to API 2015-03-14 11:06:37 -05:00
Marcel van der Veldt
7b45de29e1 added genres to the properties 2015-03-14 14:32:50 +01:00
Marcel van der Veldt
082747fafc more universal way of setting the properties on items 2015-03-14 13:08:05 +01:00
Marcel van der Veldt
f1e393d0f2 fixed the sources generation to more failsafe 2015-03-14 12:28:11 +01:00
Marcel van der Veldt
4214b3d289 added some more properties to update/write to Kodi 2015-03-14 12:26:25 +01:00
faush01
9f0d02c03a if no value set return a default of 10M 2015-03-14 14:09:36 +11:00
faush01
0eacb876c7 use the latest source for download utils 2015-03-14 13:37:03 +11:00
faush01
5e580e6e2c use the new get machine id code to fix a race condition bug 2015-03-14 13:04:18 +11:00
Marcel van der Veldt
50d3129010 fixed watched progress indicators
fixed artwork assignments
2015-03-14 01:46:54 +01:00
Marcel van der Veldt
85550ce1ad auto add new library sources to kodi database 2015-03-13 23:39:35 +01:00
Marcel van der Veldt
860bdfbbd8 initial commit - first version 2015-03-13 22:24:59 +01:00