Commit graph

3874 commits

Author SHA1 Message Date
tomkat83
9c74fd4a98 Fix backgroundsync KeyError 2016-09-17 19:12:32 +02:00
tomkat83
a4ed5c47ab Reorder settings 2016-09-17 16:11:00 +02:00
tomkat83
ca3a06affc New setting: sleep between art downloads 2016-09-17 15:39:20 +02:00
tomkat83
1ff7970e88 Remove imageCacheLimit and cap on thread-number 2016-09-17 15:20:43 +02:00
tomkat83
25a6d82022 Prevent infinite loops after requesting something 2016-09-17 15:17:01 +02:00
tomkat83
77d1df553c More logging 2016-09-17 14:49:57 +02:00
tomkat83
703f2fb37d Fix setting to cache all textures to Kodi 2016-09-17 14:48:40 +02:00
tomkat83
ca6bb4e8ca Rewiring of caching - daemon instead of threads 2016-09-17 14:02:50 +02:00
tomkat83
cd14127233 Revert "Revert "Dedicated art downloading queue""
This reverts commit 6621cc5a8d.
2016-09-17 11:24:12 +02:00
tomkat83
c0d91507c0 Revert "Optimize image_cache_thread"
This reverts commit afb0960260.
2016-09-17 11:24:06 +02:00
tomkat83
afb0960260 Optimize image_cache_thread
- BUT: lead to DOS-seeming behavior and ConnectionError: ('Connection
aborted.', error(10053)) from http://image.tmdb.org/
2016-09-17 11:23:31 +02:00
tomkat83
6621cc5a8d Revert "Dedicated art downloading queue"
This reverts commit dc94cc6bfe.
2016-09-17 10:58:08 +02:00
tomkat83
dc94cc6bfe Dedicated art downloading queue 2016-09-17 10:58:03 +02:00
tomkat83
83029b7560 Shorten for loop 2016-09-17 09:55:06 +02:00
tomkat83
daf23fcc55 Merge while loops 2016-09-17 09:48:38 +02:00
tomkat83
8743ce13af Remove obsolete code 2016-09-16 17:51:30 +02:00
tomkat83
4d7af7912d Use file settings instead of window settings 2016-09-16 17:47:09 +02:00
tomkat83
a3d643c643 Use some file settings instead of window settings
- In case the user changes something while PKC is running
2016-09-16 17:42:39 +02:00
tomkat83
a2a53cddf6 Fix AttributeError 2016-09-11 18:31:25 +02:00
tomkat83
c9dd44f498 Don't try to get fanart for episodes, seasons 2016-09-11 17:59:00 +02:00
tomkat83
4cfb8c4610 Fix OperationalError for Kodi DB
- Fanart sync is too taxing, needs to be done after regular syncs
2016-09-11 17:51:00 +02:00
tomkat83
9c46757b42 Do warn user 2016-09-11 17:31:38 +02:00
tomkat83
61a2457a1d Less logging 2016-09-11 16:05:05 +02:00
tomkat83
c4de7587bf Revert "constructor (with Artwork() as art)"
This reverts commit 168014c33b.
2016-09-11 15:49:50 +02:00
tomkat83
168014c33b constructor (with Artwork() as art)
- Way too slow
2016-09-11 15:49:37 +02:00
tomkat83
940e41921f Don't warn user of OperationalErrors 2016-09-11 13:52:14 +02:00
tomkat83
59882a7be8 Improve + make artwork thread-save 2016-09-11 13:51:53 +02:00
tomkat83
bfc0249720 Optimize import 2016-09-11 12:21:13 +02:00
tomkat83
c3010645bc New PKC setting to look for missing fanart 2016-09-11 12:15:26 +02:00
tomkat83
7c86270ece Don't do daily lookup of fanart 2016-09-11 11:47:55 +02:00
tomkat83
5cf77d3292 Revert "Don't look for fanart twice on fresh system"
This reverts commit cb4e084305.
2016-09-11 11:46:42 +02:00
tomkat83
cb4e084305 Don't look for fanart twice on fresh system 2016-09-11 11:32:18 +02:00
tomkat83
7b578603ca Fix TypeError 2016-09-11 11:29:51 +02:00
tomkat83
751e55b9d5 Get fanart for background sync items 2016-09-11 11:12:25 +02:00
tomkat83
5346426bd7 Revert "Fix processing of complicated PMS messages"
This reverts commit fb7905e0b6.
2016-09-11 10:43:16 +02:00
tomkat83
fb7905e0b6 Fix processing of complicated PMS messages 2016-09-11 10:42:40 +02:00
tomkat83
ddf4e89165 Prevent KeyError 2016-09-11 10:39:40 +02:00
tomkat83
1370bda432 Improve logging 2016-09-11 10:36:28 +02:00
tomkat83
3e261a75e2 Prevent errors if changing setting 2016-09-11 10:20:29 +02:00
tomkat83
bcb3b49507 Quit ProcessFanartThread quicker 2016-09-11 10:14:29 +02:00
tomkat83
2fbdd54324 Speed up sync - download art in the background 2016-09-10 19:49:03 +02:00
tomkat83
24d6514b7f Code optimization 2016-09-10 11:59:42 +02:00
tomkat83
d310b6c7e8 Optimize import 2016-09-10 11:49:14 +02:00
tomkat83
8070e921ed Optimize import 2016-09-10 11:48:29 +02:00
tomkat83
497d71cacc Optimize sleep for librarysync threads 2016-09-10 11:27:27 +02:00
tomkat83
48152af27f Fix AttributeError 2016-09-08 15:56:44 +02:00
tomkat83
affde8bbcb Fix getting Bit Depth from Plex metadata
- Fixes #98
2016-09-08 15:55:49 +02:00
tomkat83
67ca52a93e Consider several media streams if transcoding 2016-09-08 15:33:06 +02:00
tomkat83
bf6ba9c48e Fix subtitle dialog window "burn-in" 2016-09-08 14:51:57 +02:00
tomkat83
f2f68f4532 New setting to use Plex default subtitles 2016-09-08 14:50:49 +02:00
tomkat83
143fd2212d Inform if subtitle needs to be burnt in 2016-09-08 14:03:46 +02:00
tomkat83
993350fa48 Fix direct play & transcoding subtitles
- Finally fixes #66
2016-09-08 13:59:21 +02:00
tomkat83
3757b04e29 Fix playing from widgets without direct paths 2016-09-05 21:29:23 +02:00
tomkat83
0afe265524 Fix TypeError 2016-09-05 20:57:08 +02:00
tomkat83
cf3cc2c3a9 Revert "Don't log plex tokens"
This reverts commit b9793a2e26.
2016-09-05 20:50:42 +02:00
tomkat83
b9793a2e26 Don't log plex tokens 2016-09-05 20:47:42 +02:00
tomkat83
0403e77021 Rename variable 2016-09-04 18:30:06 +02:00
tomkat83
3f55754908 Fix AttributeError 2016-09-04 17:19:00 +02:00
tomkat83
ee6e441628 Fix log error 2016-09-04 17:14:52 +02:00
tomkat83
b2834beb8e Fix log spelling 2016-09-04 17:13:28 +02:00
tomkat83
1e8d4d4a6e Fix UnboundLocalError 2016-09-04 17:10:38 +02:00
tomkat83
9dc691f558 Fix log error 2016-09-04 17:00:13 +02:00
tomkat83
339eaaa13a Fix log errors 2016-09-04 16:57:06 +02:00
tomkat83
dc823c0cae Fix log error 2016-09-04 16:50:34 +02:00
tomkat83
394b6a240b Replace addonName references 2016-09-04 16:48:57 +02:00
tomkat83
1230932af4 Cleanup plexsettings.py and change websocket.py log 2016-09-04 16:46:44 +02:00
tomkat83
3f16991ba3 Add missing function 2016-09-04 16:43:39 +02:00
tomkat83
9d704a844f Cleanup websocket_client.py 2016-09-04 16:41:05 +02:00
tomkat83
5615bad026 Cleanup websocket.py 2016-09-04 16:37:01 +02:00
tomkat83
bc1a9138e6 Merge conflicts videonodes.py 2016-09-04 16:34:25 +02:00
tomkat83
13ca30c742 Cleanup utils.py 2016-09-02 19:31:27 +02:00
tomkat83
3ff15ba772 Cleanup userclient.py 2016-09-02 17:40:36 +02:00
tomkat83
044f1a5550 Don't import read_embyserver 2016-09-02 17:32:03 +02:00
tomkat83
136f0b3157 Cleanup PlexFunctions.py 2016-09-02 17:26:17 +02:00
tomkat83
fed0c0b9e4 Cleanup PlexCompanion 2016-09-02 17:20:19 +02:00
tomkat83
aa48898316 Cleanup PlexAPI.py 2016-09-02 16:53:16 +02:00
tomkat83
97d09af020 Merge conflicts playutils.py 2016-09-01 20:02:00 +02:00
tomkat83
daf40873c0 Clean up playlist.py 2016-09-01 19:53:04 +02:00
tomkat83
26652a48c2 One less import 2016-09-01 19:44:15 +02:00
tomkat83
143ef86978 Merge conflicts player.py 2016-09-01 19:41:55 +02:00
tomkat83
a6263221fd Merge conflicts playbackutils.py 2016-09-01 19:20:09 +02:00
tomkat83
9c775ad644 Reset musicutils.py to emby 2016-09-01 19:11:57 +02:00
tomkat83
f72e120cf5 Improve logging stability 2016-09-01 19:09:51 +02:00
tomkat83
bb96dda1d4 Merge conflicts librarysync.py 2016-09-01 19:07:28 +02:00
tomkat83
cc583a1530 Merge conflicts kodimonitor.py 2016-08-30 16:57:47 +02:00
tomkat83
d61fa64ed8 Merge conflicts kodidb_functions.py 2016-08-30 16:43:56 +02:00
tomkat83
9def7d3e6a Cleanup itemtypes.py 2016-08-30 16:40:11 +02:00
tomkat83
44d309e5b7 Cleanup initialsetup.py 2016-08-30 16:13:13 +02:00
tomkat83
fcf8093977 Use utils language strings 2016-08-30 15:55:57 +02:00
tomkat83
62a9e676bf Merge conflicts image_cache_thread.py 2016-08-30 15:55:13 +02:00
tomkat83
9df7761c8e Merge conflicts entrypoint.py 2016-08-30 15:51:11 +02:00
tomkat83
11261e1665 Merge conflicts embydb_functions.py 2016-08-29 20:00:16 +02:00
tomkat83
bd2ffd0ea9 Merge conflicts downloadutils.py 2016-08-29 19:57:58 +02:00
tomkat83
ccd3cac33a Merge conflicts loginconnect.py 2016-08-29 19:48:00 +02:00
tomkat83
b2f38c1a57 Merge conflicts clientinfo.py 2016-08-29 19:45:26 +02:00
tomkat83
ea35c473cb Merge conflicts artwork.py 2016-08-29 19:39:59 +02:00
tomkat83
29b57d9d71 Adjust logger from emby to plex 2016-08-29 19:31:41 +02:00
tomkat83
6aab9df054 Merge branch 'develop' of https://github.com/MediaBrowser/Emby.Kodi into develop 2016-08-29 18:44:27 +02:00
xnappo
00c0556300 Fix for Krypton 2016-08-28 16:49:01 -05:00
angelblue05
dbec225072 Revert "Reinstate airsbefore default value -1"
This reverts commit 1222d4d906.
2016-08-26 04:49:14 -05:00
angelblue05
1222d4d906 Reinstate airsbefore default value -1 2016-08-26 01:33:46 -05:00
angelblue05
9de0e69896 Fix spacing
(testing pylint)
2016-08-21 22:00:35 -05:00
angelblue05
965340db01 Fix logging and exception 2016-08-21 21:57:43 -05:00
angelblue05
8b9b0821c0 Pylint
(testing)
2016-08-21 21:51:23 -05:00
angelblue05
8cd4cb903e Add logging
Prevent error in event profiling modules are not part of the standard
python library
2016-08-21 16:28:26 -05:00
tomkat83
7c1eebaa7e Don't open PKC settings if PMS not found 2016-08-18 17:28:29 +02:00
tomkat83
8119acfa52 Revert "New setting to lower #PMS items to cache"
This reverts commit d039840c80.
2016-08-18 16:54:41 +02:00
angelblue05
00fd67cab3 Fix typo 2016-08-18 01:41:18 -05:00
tomkat83
d039840c80 New setting to lower #PMS items to cache
- Should fix #91
2016-08-16 18:17:11 +02:00
tomkat83
60b3335e70 Remove obsolete import 2016-08-13 15:25:30 +02:00
tomkat83
5745f33658 Remove obsolete method 2016-08-13 15:25:08 +02:00
tomkat83
900290c75a Compatibility with latest Kodi Krypton. Fixes #80 2016-08-12 18:36:41 +02:00
milaq
7c602dd101 fix 'raspberry pi' spelling and capitalisation
also use "device" instead of "computer" in german translation to bring
it in line with the english phrasing
2016-08-12 16:47:48 +02:00
croneter
445b97a2ac Merge pull request #81 from milaq/fullsyncmessage
sync: dont force show "full library sync finished"
2016-08-11 22:29:03 +02:00
tomkat83
ff1c7f9db1 Complete redesign of playlist handling 2016-08-11 22:11:00 +02:00
tomkat83
8ef66884df Fix PKC telling 'playing' instead of 'stopped' 2016-08-10 19:49:18 +02:00
tomkat83
fca249c292 Fix PKC telling wrong timing 2016-08-10 19:36:08 +02:00
tomkat83
5be7d835f8 Correctly tell PMS when we stopped playing 2016-08-10 19:31:54 +02:00
tomkat83
0315773009 Beautify 2016-08-10 19:03:37 +02:00
tomkat83
99e1239acc Revert "Plex Companion: correctly tell when we stop playing"
This reverts commit fc71fcf1fb.
2016-08-08 21:36:05 +02:00
tomkat83
fc71fcf1fb Plex Companion: correctly tell when we stop playing 2016-08-08 21:28:41 +02:00
tomkat83
6ea203e9a1 Add annotions 2016-08-08 18:40:35 +02:00
angelblue05
fd395083bd Fix navigation not waking up screen 2016-08-07 20:37:35 -05:00
angelblue05
51400fd828 Add JSONRPC class 2016-08-07 19:57:11 -05:00
tomkat83
caba11c43f Improvements to Plex Companion daemon
- Still need improvements to tell the PMS and Plex Companion devices
that we STOPPED playing something.
2016-08-07 20:52:49 +02:00
tomkat83
a248580f24 Fix faulty playlist init 2016-08-07 16:31:07 +02:00
tomkat83
a23c357734 Dont set syncThreadNumber in file settings anymore 2016-08-07 16:09:06 +02:00
tomkat83
ae6061f771 Try reducing strain on PMS for metadata
- Taken from Plex for Android GET command
2016-08-07 15:50:01 +02:00
tomkat83
a2693b3485 Optimize player and playlist instances 2016-08-07 15:33:36 +02:00
angelblue05
3a859279ec Fix missing logging 2016-08-07 03:40:18 -05:00
angelblue05
2274565c0d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-08-06 14:16:20 -05:00
im85288
d582888ffb update video db version for krypton 2016-08-06 16:20:15 +01:00
marcelveldt
01800c0c3b fix for krypton compatability 2016-08-06 15:43:04 +02:00
angelblue05
f4a80a5ea8 Keep track of fast sync
If server plugin is not installed, automatically fall back to client
time.
2016-08-05 23:21:32 -05:00
angelblue05
46121656f8 Fix fail detection for tvshows
Due to missing end slash - for xbmcfvs.exists()
2016-08-03 18:35:55 -05:00
milaq
ca1a101975 sync: dont force show "full library sync finished"
if the user deselects "show library sync progress" positive sync messages shouldnt be shown at all
2016-08-01 16:26:26 +02:00
angelblue05
7d2ce335e8 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-31 15:30:36 -05:00
xnappo
133773d5b6 Krypton prep 2016-07-31 12:15:38 -05:00
angelblue05
54db63c378 Adjust logging for itemtypes not found 2016-07-30 19:19:07 -05:00
angelblue05
95066b0f77 Add German translation
Fix escape \' displaying
2016-07-30 16:17:35 -05:00
angelblue05
9344141a2c Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-29 04:12:35 -05:00
angelblue05
dc15d4d832 2.2.19 (#52)
Fix typo in logging
2016-07-29 04:12:30 -05:00
angelblue05
48f20295aa Catch keyerror
If advancedsettings.xml modifies the webserver, it seems to cause errors
in jsonrpc and will return invalid params. Bug in Kodi?
2016-07-25 21:58:49 -05:00
angelblue05
345090e933 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-25 17:40:04 -05:00
angelblue05
541afbb989 2.2.18 (#51)
Fix logging error (#51)
2016-07-25 17:36:43 -05:00
angelblue05
ea5ac3748a Log exception before dialog
Using logging module, it won't prevent the dialog from displaying.
2016-07-25 03:08:45 -05:00
angelblue05
e197208d3e 2.2.17 (#50)
* Add temporary setting to disable external subs for direct stream
* Fix crash when sleeping/waking up device
* Use the logging module. Moved logging to it's own file.
* Version bump 2.2.17
* Update README.md
2016-07-24 22:39:40 -05:00
angelblue05
5895831ba8 Clean up logging
Moved incremental log line to display only if there's actual items to
process.
2016-07-24 18:46:24 -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
tomkat83
ee802428f9 PKC player does not need another player instance 2016-07-23 18:16:44 +02:00
tomkat83
eff7d7b68b Use 1 PKC xbmc.player instance 2016-07-23 18:06:47 +02:00
tomkat83
d6c14d0aa4 Instantiate xbmc player only once for playlist 2016-07-23 17:38:45 +02:00
tomkat83
e712b6309e Fix companion playback not starting from playlist 2016-07-23 17:32:57 +02:00
angelblue05
380fcdfc35 Fix unicode error 2016-07-22 18:34:26 -05:00
angelblue05
793bd66554 Fix crash when sleeping/waking up device 2016-07-22 17:10:35 -05:00
angelblue05
e97a3a616d Add temporary setting to disable external subs
For direct stream
2016-07-22 11:54:53 -05:00
tomkat83
3407d47f9c Reduce boilerplate 2016-07-22 16:55:57 +02:00
tomkat83
bc7be04fc2 Reduce boilerplate 2016-07-22 16:51:44 +02:00
tomkat83
603e4e7867 Let wrapper return 2016-07-22 16:48:48 +02:00
tomkat83
898f2e6379 Decorator CatchExceptions 2016-07-22 16:41:02 +02:00
tomkat83
5eac547633 Call xbmc __init__ methods 2016-07-22 15:54:03 +02:00
tomkat83
16dbc726f1 Improve logging 2016-07-22 15:42:37 +02:00
tomkat83
ab47ac958a Don't try too long to get window value 2016-07-22 15:33:27 +02:00
tomkat83
dd1f50efe6 Improve logging 2016-07-22 15:17:38 +02:00
tomkat83
a26526c146 Move Companion processing to companion thread 2016-07-22 15:04:42 +02:00
tomkat83
8a58c885e9 Redesign playlists 2016-07-20 18:36:31 +02:00
tomkat83
5d79bcf1c2 Prettify 2016-07-20 09:00:47 +02:00
tomkat83
1dc576965a Import traceback only on exception 2016-07-20 08:24:36 +02:00
tomkat83
92cf5bd517 Prettify 2016-07-20 08:23:25 +02:00
tomkat83
9496785f5d Fix AttributeError with Plex Companion MyHandler 2016-07-20 07:59:53 +02:00
tomkat83
ed8bf235c7 Remove logging 2016-07-19 18:30:11 +02:00
tomkat83
1f9ac4f133 Plex Companion: Compile regex only once 2016-07-19 18:23:52 +02:00
tomkat83
dec4b077d5 Code cleanup 2016-07-19 18:22:34 +02:00
tomkat83
d8a7218625 Beautify code 2016-07-19 15:08:28 +02:00
angelblue05
f89d5c96f6 Transform database locked into a settings
Temporary settings, because it slows down the process since it's
auto-committing. Not everyone has database locked crashes. Permanent fix
is being worked on in the database branch.
2016-07-19 02:08:35 -05:00
angelblue05
d5baf0ceed Fix typo 2016-07-18 17:56:39 -05:00
angelblue05
cfb94b7bd0 Temp fix for database being locked 2016-07-18 15:47:42 -05:00
angelblue05
02ab4abe51 Fix not saving watched status
If delete after watched was enabled.
2016-07-18 14:42:33 -05:00
angelblue05
77b99210c1 Add error mode to logging 2016-07-17 18:27:54 -05:00
tomkat83
8a2fdec248 Don't let PMS crash: download one item at a time
- PMS can currently not handle concurrent connections asking for
metadata (several PKC threads)
- Might also fix #75
2016-07-17 13:57:50 +02:00
angelblue05
da7685b03f Try to fix import strptime bug
Clean up of downloadutils and utils.
2016-07-16 10:02:50 -05:00
angelblue05
06d71cf00d Fix typo 2016-07-15 19:17:32 -05:00
angelblue05
8b83ae8a00 Clean up downloadUtils 2016-07-15 19:02:30 -05:00
angelblue05
213f42f4a5 Update downloadUtils requests
Code reduction,  fix connections not being released.
2016-07-15 18:01:59 -05:00
tomkat83
dbd5acf714 Fix TypeError for playlists
- Fixes #74
2016-07-15 19:11:17 +02:00
tomkat83
dd70a79423 Fix PKC not releasing connections to the PMS. Should fix memory, connection and PMS issues. Fixes #75, fixes #64 2016-07-15 19:01:06 +02:00
tomkat83
1eb90cc5e6 Hotfix: Fix ValueError for playing certain files 2016-07-13 07:24:35 +02:00
tomkat83
f0400f0119 Dont let PMS force scan the media
- Guess the 'checkFiles=1' parameter for requesting a PMS item's
metadata forced a scan
- Maybe also fixes #73
2016-07-12 21:36:30 +02:00
tomkat83
3e84f34acc Higher connection timeout
- Fixes #73
2016-07-12 21:30:39 +02:00
tomkat83
04e31986b5 Force pick first media stream for direct path sync
- Otherwise user would need to choose media stream for every item with
several streams - cumbersome for large libraries with many such items
2016-07-12 20:27:59 +02:00
tomkat83
a0b1adbf70 Enable stream/media selection for direct play 2016-07-12 20:16:45 +02:00
tomkat83
ba191eafc7 Improve code stability
- NEVER use e.g. {} or [] as standard function arguments
2016-07-12 20:03:10 +02:00
tomkat83
90e67931ff Improve detection of need to transcode
- Fixes #70
2016-07-12 19:57:04 +02:00
tomkat83
c0a39c5289 Code cleanup 2016-07-12 19:14:46 +02:00
angelblue05
15ac7fd0ca Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-04 14:22:24 -05:00
shaun
8f0343de2e dont auto fall back to http streaming if not selected
Dont fall back to http streaming if direct file playback is expected.
2016-07-04 20:34:58 +10:00
angelblue05
0fee1975d4 Clean up dialog 2016-07-03 22:45:20 -05:00
angelblue05
272a955d4d Remove useless control in dialog 2016-07-03 22:26:10 -05:00
angelblue05
efdafa2831 Remove unused import 2016-07-03 22:25:09 -05:00
angelblue05
b8ca6d3119 Emby connect - login dialog 2016-07-03 22:24:39 -05:00
angelblue05
5aca32c341 Prep for emby connect
xml, image, qrcode
2016-07-03 04:32:06 -05:00
angelblue05
6c8a95fabb Fix errors 2016-07-02 23:41:42 -05:00
shaun
a911249840 sync progress changes
add (if item count greater) for sync progress dialog
always show progress for full sync
2016-07-03 13:26:11 +10:00
kravone
df2600f579 Revert "Faster XML processing and lower memory" 2016-06-29 21:15:26 +02:00
SpootDev
9a5bd10d40 celementtree 2016-06-28 18:28:01 -05:00
angelblue05
9a98e2995e Remove profiling 2016-06-28 17:24:36 -05:00
angelblue05
c0f0a1978f Preparation for centralized queries
To handle exceptions, etc.
2016-06-28 17:24:12 -05:00
angelblue05
269205fe97 Remove profiling 2016-06-28 01:09:36 -05:00
angelblue05
6837144ba7 Revert changes - static=true 2016-06-27 23:55:14 -05:00
tomkat83
8d9ac66cd7 Preparation for companion playlist skipping
- Unicode issues from JSON responses
2016-06-26 18:22:26 +02:00
tomkat83
fd1a44f15f Plex Companion: fix skipping forward and backward
- Fixes #45
2016-06-26 17:06:00 +02:00
tomkat83
40529938ca Cleanup playlist.py 2016-06-26 16:10:32 +02:00
tomkat83
3fb6443b2b Let user always play trailer in highest quality 2016-06-26 12:32:19 +02:00
tomkat83
c8311e465a Fix PKC playstate updates for widgets on Krypton
- Fixes #67
2016-06-26 11:53:26 +02:00
tomkat83
aa60baeb97 Let the user pick between several streams
- And don't just pick the first one
2016-06-25 17:21:47 +02:00
tomkat83
cfbc7f770c Use playing item filename and path to find ID
- Fixes #67
- Everything else doesn 't work
2016-06-25 16:02:40 +02:00
tomkat83
be63414893 Be smarter when trying to tell what Kodi plays
- Fixes #67
2016-06-25 12:25:01 +02:00
tomkat83
e70ce89c34 Fix matching by filename 2016-06-25 11:27:38 +02:00
tomkat83
5210e7c442 Be smarter when trying to tell what Kodi plays
- Fixes #67
- Episodes may still throw a -1 for the id - useless!
2016-06-24 21:28:30 +02:00
angelblue05
a84ba22908 Fix for music 2016-06-23 19:52:54 -05:00
angelblue05
2794789f05 Fix for channel not changing
To be reviewed.
2016-06-23 18:50:34 -05:00
angelblue05
da8bf3670d Fix conflicting import 2016-06-22 14:29:53 -05:00
angelblue05
b2d3b702d1 Revert incorrect modification
Only use is for None, nothing else. "is" is not "=="
2016-06-22 14:05:53 -05:00
angelblue05
03a1557eaf Fix typo 2016-06-21 15:26:42 -05:00
angelblue05
8423342371 Fix active listing 2016-06-20 21:23:36 -05:00
angelblue05
cb18f17dbe Fix typo 2016-06-20 21:21:24 -05:00
angelblue05
3e1aa94c78 Strings - translation 2016-06-20 20:57:29 -05:00
angelblue05
924c3a4a05 Fix arguments 2016-06-20 14:04:10 -05:00
angelblue05
48fbce2211 Fix typo 2016-06-20 13:59:55 -05:00
angelblue05
49157bbbea Fix logging typo 2016-06-20 13:58:17 -05:00
angelblue05
f47ead1ddc Fix logging 2016-06-19 23:09:07 -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
313899c8e7 Fix typo 2016-06-19 20:17:10 -05:00
angelblue05
3c60eddf55 Add refresh item to context menu 2016-06-19 19:24:42 -05:00
angelblue05
f90349d6a8 Fix typo 2016-06-19 17:23:46 -05:00
angelblue05
a8fd73740c Strings 2016-06-19 16:24:34 -05:00
angelblue05
aa3a6fa17f Centralize logging 2016-06-19 13:30:54 -05:00
tomkat83
4ebde83896 Fix Watch Later TypeError 2016-06-19 18:53:45 +02:00
tomkat83
2129257f88 Fix plex.tv Watch Later ignored resume points 2016-06-19 18:30:21 +02:00
tomkat83
82c9d43fd9 Prettify 2016-06-19 17:20:45 +02:00
tomkat83
70ade15e8d Fixes to getExtraFanart. If not using PKC repository, you will have to manually update plugin.video.plexkodiconnect.movies and plugin.video.plexkodiconnect.tvshows. Fixes #62 2016-06-19 17:05:01 +02:00
tomkat83
133741b567 Allow direct paths for Plex photos 2016-06-19 16:12:56 +02:00
tomkat83
8ebb867f78 Use language codes ('spa'), not verbose 'español'. You will have to reset your Kodi DB manually to profit from this change. Fixes #61 2016-06-19 15:56:51 +02:00
tomkat83
792d4debeb Fix fanart.tv fallback to English not working
- Fixes #63
2016-06-19 15:34:27 +02:00
tomkat83
54c32adad6 Compatibility with latest Kodi Krypton
- Fixes #56
2016-06-19 15:01:25 +02:00
tomkat83
c13343c62f Plex Photos! Choose "Refresh Plex playlists/nodes" to use the new feature 2016-06-19 14:58:42 +02:00
angelblue05
354877d31c Centralized Logging 2016-06-18 19:48:19 -05:00
angelblue05
14b1339179 Fix typos 2016-06-18 13:56:56 -05:00
angelblue05
55998c796f Remove old log method 2016-06-17 22:05:18 -05:00
angelblue05
5658801f72 Centralized logging 2016-06-17 22:03:28 -05:00
angelblue05
02e7c2946b Centralize path validation
and logging
2016-06-17 16:42:48 -05:00
angelblue05
1dac1c4f4b Fix typo 2016-06-17 14:52:53 -05:00
angelblue05
9314c4a363 Centralized Logging 2016-06-16 16:24:07 -05:00
angelblue05
e7bdfacd47 Empty show
Prevent crash in the event RecursiveItemCount is missing. Sounds like a
server bug if it's missing from the api
2016-06-16 14:13:38 -05:00
angelblue05
b9d40d91a6 Fix SeriesName missing
Prevent crash from happening.
2016-06-16 00:49:54 -05:00
angelblue05
7a0f69e014 Centralized logging 2016-06-16 00:43:36 -05:00
tomkat83
6689b265f2 Plex photos 2016-06-12 17:22:22 +02:00
tomkat83
9a5533337f Warning on first run that Kodi will restart 2016-06-12 12:56:06 +02:00
tomkat83
6d42ae7e32 Fix not download collection artwork 2016-06-08 20:34:49 +02:00
tomkat83
3e3c5ab018 Dedicated settings to download set fanart 2016-06-08 20:03:30 +02:00
tomkat83
faf95f671c Reduce movie set/collection boilerplate
- To increase code maintainability
2016-06-08 19:50:24 +02:00
im85288
9dbcb5e6ff set artwork 2016-06-06 21:10:58 +01:00
tomkat83
386f4ca5f0 Get rid of obsolete setting markPlayed
- Instead, always mark played at 90%
2016-06-05 18:55:12 +02:00
tomkat83
fcf6948735 Improvements to resume points
- Plex sometimes tells time in milliseconds instead of seconds
- Fixes #49
2016-06-05 18:39:26 +02:00
tomkat83
7402d076b0 Revert "Fix PKC resume points set way too high"
This reverts commit e9f7c49587.
2016-06-05 17:57:30 +02:00
tomkat83
5d8b423bd6 Groundworks for Plex photos 2016-06-04 18:48:22 +02:00
tomkat83
92b60ae3ac Fix filename change recognition for episodes
- Fixes #26
2016-06-04 16:13:47 +02:00
tomkat83
e9f7c49587 Fix PKC resume points set way too high
- Fixes #49
2016-06-04 16:04:25 +02:00
tomkat83
523a2eaf61 Fix filename changes not being recognized
- Fixes #26, finally!
2016-06-04 14:19:55 +02:00
tomkat83
aaa6d9c4d5 Ask on first run if we have a low powered device
And then reduce the thread number accordingly
2016-06-02 21:33:26 +02:00
tomkat83
531957bd14 Cleanup plexgdm 2016-06-02 21:17:12 +02:00
tomkat83
7199561573 Only tell PMS we're connected to what we're playing
- Fixes #43
2016-06-02 21:12:56 +02:00
tomkat83
9901935b83 Background sync: don't try to process infinitely 2016-05-31 19:30:12 +02:00
tomkat83
5a11cd70d1 Improve player.py stability 2016-05-31 19:13:29 +02:00
tomkat83
a7832b5ceb Fix crash when Kodi not playing as expected
Fixes #41
2016-05-31 19:02:11 +02:00
tomkat83
a92146abc2 Remove emby references 2016-05-31 08:06:42 +02:00
tomkat83
5544dfd2fe Fix DTS-HD audio is not correctly identified
- Fixes #42
- You need to reset the Kodi DB to take advantage
2016-05-29 20:03:31 +02:00
tomkat83
6b329fbb02 Smarter, faster way to tell PMS went offline 2016-05-29 18:51:09 +02:00
tomkat83
65ac1b3f00 Fix websockets still checking SSL certificates 2016-05-29 17:56:55 +02:00
tomkat83
eea101872b Attempt to hide password on entering it 2016-05-29 17:45:19 +02:00
tomkat83
2bab8d9357 Disable SSL check if entering PMS manually 2016-05-29 17:40:15 +02:00
tomkat83
153717da68 Always log out user on user or PMS switch 2016-05-29 17:36:07 +02:00
tomkat83
0544452c32 Fixes to switching PMS 2016-05-29 17:17:33 +02:00
tomkat83
42f24e1688 Correctly update views on server switch 2016-05-29 16:58:54 +02:00
tomkat83
e80f38c690 Initialize Kodi DBs only once 2016-05-29 16:52:38 +02:00
tomkat83
473f6fe58a More rewiring of connections 2016-05-29 16:52:00 +02:00
tomkat83
72910d79e9 Dedicated methods within initialsetup 2016-05-24 20:43:52 +02:00
tomkat83
ae34b63de9 Re-wired connection manager 2016-05-24 19:00:39 +02:00
tomkat83
67755d6a23 Improvements to PMS connection checks 2016-05-18 20:10:20 +02:00
tomkat83
04bcaafdb4 Fix direct path replacing possibly several times
- Fixes #37
2016-05-17 20:15:46 +02:00
tomkat83
c47fc7f25f Fix PKC not telling Kodi timing
- Episodes should now correctly be marked as watched
2016-05-16 21:07:17 +02:00
tomkat83
d666867219 Cleanup entrypoint 2016-05-16 19:31:28 +02:00
tomkat83
560835fd82 Move directpaths out of loop 2016-05-16 19:27:43 +02:00
croneter
d8e9ca9ffe Merge pull request #36 from mattsch/add_sets
Quick hack to get sets working
2016-05-16 18:22:24 +02:00
tomkat83
553dff3bbb Fix playback report and marking item played
- Fixes #34
2016-05-16 18:19:05 +02:00
Matthew Schick
7ac7b1db31 Quick hack to get sets working 2016-05-16 11:56:48 -04:00
tomkat83
74e87892d0 Fix player runtime and current position 2016-05-16 16:10:48 +02:00
tomkat83
ca43b19357 Revert "Fix player runtime and current position"
This reverts commit f9b0e69237.
2016-05-16 16:09:21 +02:00
tomkat83
f9b0e69237 Fix player runtime and current position 2016-05-16 15:59:27 +02:00
tomkat83
51548f89cf New setting: show watched movies in recently added 2016-05-15 18:26:07 +02:00
tomkat83
7b0d810202 New setting: Force transcode HEVC 2016-05-15 18:01:13 +02:00
tomkat83
422fc0dfc9 New setting: don't show already watched episodes 2016-05-15 17:24:44 +02:00
tomkat83
9786aab050 Fix UnicodeEncodeError for file paths
- Fixes #35
2016-05-15 16:33:53 +02:00
tomkat83
2fe457e496 Correct VideoCodec help string 2016-05-15 16:30:09 +02:00
tomkat83
cbf3638076 Merge conflicts: Force transcode 10bit videos 2016-05-15 16:25:38 +02:00
tomkat83
0bd4a79ca3 Merge conflicts: sync after screensaver deactivated 2016-05-15 16:02:19 +02:00
tomkat83
abcb438f21 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-05-15 12:33:14 +02:00
tomkat83
5bf1a5a8e0 Fix new episodes not being detected
- Set standard safety margin to 60 seconds. Otherwise, you might get
many screen refreshes
- Fixes #23
2016-05-12 21:46:50 +02:00
tomkat83
04c415604d Use direct file paths for on deck shows if enabled
- Fixes #30
2016-05-12 20:43:53 +02:00
angelblue05
417b8d3b22 Merge pull request #39 from NickSC/master 2016-05-11 01:06:28 -05:00
Nick
ffb2b11d7c screensaver sync delay increased to 5 seconds 2016-05-11 15:35:35 +10:00
tomkat83
5e6e3dd92d Use API when creating playlist listitem 2016-05-08 13:17:04 +02:00
tomkat83
a88a8a017a Never try to transcode Plex Music 2016-05-08 12:33:13 +02:00
tomkat83
387f63c4b9 Plex Companion: fix for Windows Phone Plex
- Fixes #18
2016-05-08 12:18:20 +02:00
tomkat83
8deba42ab8 Also show already watched recently added episodes 2016-05-07 22:21:28 +02:00
tomkat83
d01a8aafa1 Fix encoding and decoding 2016-05-07 22:17:12 +02:00
tomkat83
4575f1e482 Increase logging for background updates
- You will need to enable debug logging in the PKC settings
2016-05-07 17:42:19 +02:00
tomkat83
df38786638 Account for string.encode() not allowing args
- E.g. Android TV
2016-05-07 13:15:02 +02:00
tomkat83
8848d5167d Less logging 2016-05-07 11:58:37 +02:00
tomkat83
765fb2ddf2 Fix TypeError: encode() takes no keyword arguments
E.g. Android TV do not accept arguments for string.encode()
2016-05-07 11:55:35 +02:00
A69Tor
04377c5a9c Update playutils.py
Condense videoprofiles check
2016-05-06 19:16:07 -04:00
A69Tor
055366753a Update playutils.py
Remove debug log line
2016-05-06 18:57:19 -04:00
A69Tor
9d50c4f745 Update playutils.py
Modified Hi10P to get streams and parse profiles
2016-05-06 18:55:14 -04:00
A69Tor
7bf0912a11 Update playutils.py
debug
2016-05-06 16:46:30 -04:00
A69Tor
d99e7a1290 Update playutils.py 2016-05-06 16:41:37 -04:00
A69Tor
6cb056c987 Update playutils.py
Add in videoprofile check and force transcode for Hi10P
2016-05-06 16:24:23 -04:00
tomkat83
47409e1535 Fix UnicodeDecodeError with file paths on sync
- Plex sometimes seems to encode in latin1 instead of utf-8. What the
heck?!?
- Fixes #20
2016-05-06 22:16:56 +02:00
tomkat83
496aa2593a Remove Emby reference from logs
- Fixes #24
2016-05-06 21:09:35 +02:00
tomkat83
d8da6d0e08 Fix TypeError when trying to transcode
- Fixes #19
2016-05-01 10:34:54 +02:00
tomkat83
68ced3a4a1 Fix TypeError during Plex user switch
- Fixes #19
2016-05-01 10:28:08 +02:00
tomkat83
674f670dee Move API keys to settings file 2016-04-29 13:32:25 +02:00
tomkat83
8d5f71dd6a Cache everything, not only fanart, poster, thumb 2016-04-29 12:45:40 +02:00
tomkat83
d879a9d23c Additional artwork download from FanartTV! 2016-04-29 12:44:56 +02:00
Nick
a07f545d5a added option to perform sync when screensaver is deactivated 2016-04-29 15:48:09 +10:00
tomkat83
0d96f6bf4f New setting: Show+SxxExx to Recently Added
- Fixes #12
2016-04-27 10:37:24 +02:00
tomkat83
3855bb16ed Fix UnicodeEncodeError, fixes #8 2016-04-26 19:19:52 +02:00
tomkat83
d557712896 Companion reports playstate. Fixes #6, fixes #7 2016-04-26 17:21:09 +02:00
tomkat83
8b04f6175d Revert "Use Plex Companion for Playstate Reporting"
This reverts commit f22369a14a.
2016-04-26 17:10:11 +02:00
tomkat83
f22369a14a Use Plex Companion for Playstate Reporting
- Should fix Unknown answer from PMS
https://192.168.178.5:32400/:/timeline?SubtitleStreamIndex=&AudioStreamIndex=1&ratingKey=4338&state=playing&time=424000&duration=8286000000
with status code 400. Message:
NOTICE: PlexKodiConnect DownloadUtils -> Bad Request

- Merge fixes to player.py
2016-04-26 17:02:29 +02:00
tomkat83
b820953c52 Fix some merge conflicts 2016-04-26 14:41:58 +02:00
tomkat83
c7b52a1fa4 Merge conflicts: download action_type 2016-04-26 14:02:19 +02:00
tomkat83
450437b812 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-04-26 13:53:19 +02:00
angelblue05
3dbdab79a9 Revert "Fix missing playurl/pathid references"
This reverts commit 601b36e9b3.
2016-04-26 03:51:24 -05:00
angelblue05
601b36e9b3 Fix missing playurl/pathid references
For movies and episodes
2016-04-25 20:56:42 -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
Piotr Smolinski
ff627dd6e0 Added support for the full URL and pathid in columns c18 and c19 of episodes table.
One may register TVSeries directories as separate sources for direct browsing.
In such case no metadata is presented as the file browser matches the files against
empty fields c18 and c19.
Tested with Isengard, direct paths.
2016-04-23 11:48:21 +02:00
Piotr Smolinski
51d9264271 Added support for the full URL and pathid in columns c22 and c23 of movie table.
One may register movie directories as separate sources for direct browsing, like
I did. In such case no metadata is presented as the file browser matches the
files against empty fields c22 and c23.
Tested with Isengard, direct paths.
2016-04-23 11:35:37 +02:00
tomkat83
07ed22e44a Link parent paths in Kodi video DB
- Should speed up On Deck video node
2016-04-22 14:46:08 +02:00
tomkat83
97c261bc4d Tune advancedsettings.xml
- Only set backgroundupdate to false for music library, if music is
enabled
2016-04-22 12:34:35 +02:00
tomkat83
0c880cd883 Fix TV show on deck view
- Fix TV show poster for episodes
- Added banner to setArtwork
- Cleaned up getAllArtwork
2016-04-22 10:26:40 +02:00
tomkat83
119ad79f0f Improve stability of tv show sync 2016-04-20 11:09:01 +02:00
tomkat83
34c40f1f28 Fix Episode Info not popping up 2016-04-20 08:46:51 +02:00
tomkat83
f1015ab847 Fix Movie Info showing instead of Episode Info 2016-04-19 16:38:53 +02:00
tomkat83
fbb6ca790c Revert "Include Plex resume data in CreateListItem"
This reverts commit 05d3242f22.
2016-04-19 15:20:11 +02:00
tomkat83
8bb0b240e2 Revert "Include Plex resume data in CreateListItem"
This reverts commit 6f5f73ae86.
2016-04-19 15:20:07 +02:00
tomkat83
133482001c Revert "Fixes to listitem setup"
This reverts commit f2dd8617f3.
2016-04-19 15:20:03 +02:00
tomkat83
f2dd8617f3 Fixes to listitem setup 2016-04-19 11:18:55 +02:00
tomkat83
6f5f73ae86 Include Plex resume data in CreateListItem 2016-04-18 12:30:34 +02:00
tomkat83
05d3242f22 Include Plex resume data in CreateListItem 2016-04-18 12:30:00 +02:00
tomkat83
0d79ec76b1 Enable playstate update if Kodi does not give DB id 2016-04-18 12:09:01 +02:00
tomkat83
9dd592b863 Deactivate 3rd party fanart lookup for now 2016-04-18 11:34:01 +02:00
tomkat83
49a5f274e6 New settings option: default Plex On Deck TV Shows 2016-04-18 11:23:05 +02:00
tomkat83
2d2dd0fa12 Fix KeyError: 'librarySectionID' during syncPMStime 2016-04-17 13:44:45 +02:00
tomkat83
93cd265e8f Groundworks for plex.tv Watch Later 2016-04-17 13:36:41 +02:00
tomkat83
8413f5c3af Moved contributing guidelines, silly me 2016-04-16 11:11:30 +02:00
tomkat83
a027ef622e Add some contributing guidelines 2016-04-16 11:09:49 +02:00
tomkat83
8f69f4dfbf Merge remote-tracking branch 'im8528/master' into develop 2016-04-16 11:01:17 +02:00
SpootDev
accc452f4c Invalid path 2016-04-15 15:01:12 -05:00
im85288
9c2996af1e retrieve other artwork from fanarttv such as discart,banner etc 2016-04-15 20:44:54 +01:00
angelblue05
881c693c39 Replace incorrect addon reference 2016-04-15 14:15:13 -05:00
im85288
cbe3a28660 retrieve banner art when available 2016-04-15 12:22:56 +01:00
im85288
f3d530f718 change from emby to plex user image 2016-04-15 10:57:49 +01:00
tomkat83
c5b76d1a38 New setting: I own this PMS
- Needed if someone enters PMS IP manually, would not catch this info
otherwise
- Background: needed to choose correct background sync procedure
2016-04-15 09:44:42 +02:00
tomkat83
36884c0537 Fix Plex Date added missing 2016-04-15 09:32:04 +02:00
angelblue05
aed9eee6a5 Fix ISO transcode
I don't know that iso transcode is possible, but at least it won't crash
due to emby not probing iso files anymore (no more media info detected)
2016-04-14 17:38:11 -05:00
angelblue05
308ac1a9d6 Update artwork.py 2016-04-13 19:37:02 -05:00
tomkat83
bf681f53c3 Fix smart playlists for Plex collections 2016-04-13 17:11:25 +02:00
tomkat83
f34900ae6e Sync Music playstates on full sync 2016-04-13 16:51:53 +02:00
tomkat83
722dce78d2 More logging 2016-04-13 16:26:09 +02:00
tomkat83
0b1a53e839 More logging 2016-04-13 16:19:24 +02:00
tomkat83
a089dc6e04 Correctly stop transcoding 2016-04-13 16:14:55 +02:00
tomkat83
e5e70f769e Fix Encoding 2016-04-13 15:53:10 +02:00
tomkat83
a594daeb68 Assume its us playing if the PMS is not ours 2016-04-13 15:27:02 +02:00
tomkat83
7f9542c531 More logging 2016-04-13 14:42:04 +02:00
tomkat83
8794f221ff User auth resets download error counts 2016-04-13 14:34:58 +02:00
tomkat83
7bc3ee7fdf Fix TypeError 2016-04-13 14:20:28 +02:00
tomkat83
61fb7694aa Fix Kodi checking for existing files and dirs 2016-04-13 14:15:31 +02:00
tomkat83
7830f49936 Obsolete method 2016-04-13 13:06:06 +02:00
tomkat83
170b6c5066 Use window variables for download error count
When playing an item, another plugin instance is created. It is
impossible to share data otherwise
2016-04-13 13:04:23 +02:00
angelblue05
38933b9b2d Update artwork.py if webserver is disabled. 2016-04-13 06:00:50 -05:00
tomkat83
98f52d3b5e ProcessMetadata thread: sleep now unnecessary 2016-04-13 12:23:36 +02:00
tomkat83
dc96dc533a Only declare unauthorized after 3 fails in a row 2016-04-13 12:14:16 +02:00
tomkat83
47938cf5c2 DoUtils: use authenticate instead of dontSignout 2016-04-13 10:48:45 +02:00
tomkat83
9d06225228 Centralize Direct Play and Direct Paths 2016-04-12 17:18:32 +02:00
Ian Mclaughlin
d95d854f70 Update utils.py
Add initial krypton support
2016-04-12 16:00:22 +01:00
tomkat83
e4aefaaa5e Remove Container.Refresh
- This is a skin issue, not a PKC issue
2016-04-12 09:05:52 +02:00
tomkat83
5aa337d03c Fix encoding 2016-04-12 08:54:10 +02:00
tomkat83
ed83a7009f Fix encoding 2016-04-12 08:52:13 +02:00
tomkat83
f094ca4299 Small playback fixes 2016-04-12 08:40:12 +02:00
tomkat83
543cec93b4 Don't normalize moviename for playback report
- Instead, use string (not unicode) for window
2016-04-11 19:18:55 +02:00
tomkat83
4ca321faea Always direct play items, if possible 2016-04-11 18:57:20 +02:00
tomkat83
b9016a0acd Companion: handle timeout while connecting 2016-04-11 18:00:04 +02:00
tomkat83
c20c701abd Fix endless trailer loop 2016-04-11 17:50:56 +02:00
tomkat83
7f956c6f18 Fix playback report for trailers seeming like movie 2016-04-11 15:11:50 +02:00
tomkat83
f368f02abf Fix TypeError when marking item watched 2016-04-11 15:01:25 +02:00
tomkat83
48edee8656 Less logging 2016-04-11 14:57:32 +02:00
tomkat83
cccd545b4c Fix IndexError when trying to match movie title 2016-04-11 14:51:35 +02:00
tomkat83
8be55d898c Cleanup Plex Companion 2016-04-11 12:34:38 +02:00
tomkat83
18ff3715ac Revert "Revert "Cleanup Plex Companion""
This reverts commit 5788f3c7ea.
2016-04-11 12:34:24 +02:00
tomkat83
5788f3c7ea Revert "Cleanup Plex Companion"
This reverts commit dd51766d3d.
2016-04-11 12:34:06 +02:00
tomkat83
dd51766d3d Cleanup Plex Companion 2016-04-11 12:34:00 +02:00
tomkat83
19eae61737 Fix currently playing showing old Plex items
- E.g. when watching Kodi TV/PVR
2016-04-11 10:41:13 +02:00
tomkat83
f0ba60c781 Fix KeyError if Kodi webserver disabled 2016-04-11 09:51:05 +02:00
tomkat83
27608114f5 Plex Collections available under Movies-Collections
- Tags are used (one movie may have several) instead of Kodi sets (only
1 set per movie possible)
2016-04-11 09:49:02 +02:00
tomkat83
a420bbc382 Rename Movie Sets to Movie Collections 2016-04-11 09:27:26 +02:00
tomkat83
adbeb4d48f Shutdown lib sync threads correctly on user switch 2016-04-11 09:21:40 +02:00
tomkat83
89fe2565d2 Try to shutdown more cleanly 2016-04-09 16:57:45 +02:00
tomkat83
e53afe3fb9 Backwards compatibility py2.6: replace etree iter
- Make python 2.6 compatible: replace iter() with findall()
2016-04-09 16:26:08 +02:00
tomkat83
e0642c96cb More logging for trying to access Plex directories 2016-04-09 15:51:30 +02:00
tomkat83
ffa8e10099 Redirect /Extras calls by e.g. Video Extras plugin
- Could start playing a movie, e.g. when starting up Kodi
2016-04-09 15:46:51 +02:00
tomkat83
a3d964dff4 Music: Enter Zero, not Null in DB 2016-04-08 14:48:47 +02:00
tomkat83
9528577aab Delete music items in full sync if not found on PMS 2016-04-08 14:11:50 +02:00
tomkat83
24bb637606 Don't show Kodi popup when scanning Music 2016-04-08 13:57:55 +02:00
tomkat83
bbfd612137 Refresh view when playback stopped 2016-04-08 13:51:29 +02:00
tomkat83
3d5a3e9bfb Don't declare connection when poking PMS 2016-04-08 13:18:19 +02:00
tomkat83
53b15aa51a On Deck: sort by last played 2016-04-08 13:06:20 +02:00
tomkat83
d3e27d9797 Use Plex library for timesync
- No need for Kodi elements
2016-04-08 10:52:15 +02:00
tomkat83
4358a42424 Less Plex Companion logging 2016-04-08 09:33:31 +02:00
tomkat83
f23fdb1c9c Less Plex Companion logging 2016-04-08 09:32:13 +02:00
tomkat83
ba8c80f61d Wait max. for 5s when choosing new PMS 2016-04-08 09:29:48 +02:00
tomkat83
55cbf5824d Kill sync threads if library gets suspended
- E.g. user switch
2016-04-08 09:24:28 +02:00
tomkat83
53e7fa3cea Re-Add askToValidate
- No idea where this got deleted
2016-04-08 09:20:27 +02:00
tomkat83
4a63e03615 Shut down sync more cleanly if interrupted 2016-04-08 09:11:03 +02:00
tomkat83
5289619792 Deal with PMS reply 401 under too much strain
- Sync should now abort pretty much instantly
2016-04-07 18:29:23 +02:00
tomkat83
1db371e9f1 Less logging 2016-04-07 17:51:42 +02:00
tomkat83
2ec6bff388 Update playstate if owner plays for single user PMS 2016-04-07 17:37:53 +02:00
tomkat83
be71912496 Don't sign out on checking connections 2016-04-07 16:46:12 +02:00
tomkat83
621fd3ad4a Instantiate Plex Companion after user signed on 2016-04-07 16:41:27 +02:00
tomkat83
ceedba4f46 Increase path hack stability
- What happens if there are no movies or shows?
2016-04-07 16:17:57 +02:00
tomkat83
88b581f756 Clear playlists and video nodes on user switch
- And not on fullsync (widgets might brake)
2016-04-07 16:13:02 +02:00
tomkat83
753e090cec Fix HTTP 401 and authentication endless loop 2016-04-07 16:10:07 +02:00
tomkat83
ae51e43145 Use 1 xbmcgui dialog instance in librarysync 2016-04-07 15:33:01 +02:00
tomkat83
b91145ecae Fix TV On Deck view and entire shows as watched
- Playcount was set to 0, not NULL/None in Kodi Database
2016-04-07 15:13:05 +02:00
tomkat83
fdb42c1f26 Fix Kodi information screen not working 2016-04-07 13:49:05 +02:00
tomkat83
79349ce4af Fix Library Repair Sync 2016-04-07 11:57:34 +02:00
tomkat83
9781131cd2 Also clear video nodes and playlists on full sync
- Called e.g. when switching Plex user
2016-04-07 09:02:52 +02:00
tomkat83
783fad33f1 Don't change Kodi settings xml if music is enabled
- Because Music is yet unstable
2016-04-07 08:55:49 +02:00
spootdev
b67a77c27b title fix 2016-04-06 22:22:34 -05:00
SpootDev
82bcec9819 type 2016-04-06 13:37:19 -05:00
SpootDev
e0f33ffc12 missing self 2016-04-06 13:28:08 -05:00
SpootDev
fa1c710821 semi colon 2016-04-06 13:24:02 -05:00
tomkat83
1f3598a7c4 Cleanup and Fixes
- Disable SSL warnings, finally
- Fix Plex Companion errors due to downloadutils switch
2016-04-06 18:23:51 +02:00
tomkat83
260fc7adf8 Rewired download and PMS connection
- Look for PMS in the LAN, even if plex.tv is available
2016-04-06 16:24:03 +02:00
tomkat83
8bad79413c Move any download activities to one method 2016-04-05 20:10:29 +02:00
tomkat83
12add3d369 Move xArgsDeviceInfo to clientinfo 2016-04-05 18:23:00 +02:00
tomkat83
9929ab2eb5 Sleep when checking connection failed 2016-04-05 17:03:34 +02:00
tomkat83
265768ecfc Revert "Merge remote-tracking branch 'doctorlard/master' into develop"
This reverts commit 248ae52599, reversing
changes made to fb46c41294.
2016-04-05 12:02:15 +02:00
tomkat83
248ae52599 Merge remote-tracking branch 'doctorlard/master' into develop 2016-04-05 12:01:10 +02:00
tomkat83
fb46c41294 Try 3x before declaring plex connection dead 2016-04-05 11:20:39 +02:00
tomkat83
43b0af936f More Plex Companion cleanup
No dedicated logging anymore
2016-04-05 10:57:30 +02:00
SpootDev
d080c49821 cleanup 2016-04-04 16:21:05 -05:00
SpootDev
d78c04d67f code reduce 2016-04-04 14:18:46 -05:00
SpootDev
30dfe99e37 spelling 2016-04-03 19:54:36 -05:00
SpootDev
398bd1644f type fix 2016-04-03 15:51:26 -05:00
tomkat83
43dc83ae57 Fix instance chaos with Plex Companion
- Should fix PKC startup issues, among others
2016-04-02 16:46:23 +02:00
tomkat83
50b25ccf73 Fix TypeError with PMS item 'addedAt' missing 2016-04-02 10:43:50 +02:00
tomkat83
47d480eafd Ratings default to 0, not None 2016-04-02 10:31:21 +02:00
croneter
d191500552 Merge pull request #2 from gdachs/develop
made it compatible to Krypton
2016-04-02 10:07:18 +02:00
SpootDev
d436c8415d reserved word 2016-03-31 17:59:29 -05:00
SpootDev
03ad05bcfb code reduce 2016-03-31 17:42:49 -05:00
SpootDev
b143f34fbf code reduce 2016-03-31 16:05:41 -05:00
SpootDev
8db97c5d3d code reduce 2016-03-31 15:25:45 -05:00
SpootDev
0d2efbed1f code reduce 2016-03-31 14:52:09 -05:00
SpootDev
372c61ef92 self.log 2016-03-31 14:48:52 -05:00
SpootDev
9da11785d6 unused field 2016-03-31 14:46:37 -05:00
SpootDev
af69c9224e self kodi version 2016-03-31 14:39:39 -05:00
SpootDev
d915c4539e code reduce 2016-03-31 14:39:32 -05:00
SpootDev
44d0af0ad8 code reduce 2016-03-31 13:55:25 -05:00
SpootDev
2748d21ff4 self.log 2016-03-31 13:40:47 -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
SpootDev
a864f390d3 code reduce 2016-03-31 13:00:19 -05:00
SpootDev
a80bb11349 reserved word type 2016-03-31 12:49:55 -05:00
SpootDev
047189b31b self.item 2016-03-31 12:46:51 -05:00
SpootDev
3c9c758bdd self.log 2016-03-31 12:41:06 -05:00
SpootDev
753f267fde code reduce 2016-03-31 12:37:48 -05:00
SpootDev
69b305a3c9 unused line 2016-03-31 12:35:18 -05:00
SpootDev
60b53bddf1 self log 2016-03-31 12:32:40 -05:00
SpootDev
16f3bbf3e4 self doutils 2016-03-31 12:12:02 -05:00
SpootDev
481af3823f self.xbmcplayer 2016-03-31 11:37:41 -05:00
SpootDev
e3d2a6ff72 self log 2016-03-31 11:35:41 -05:00
SpootDev
2e4b32d8fd cleanup 2016-03-31 11:30:52 -05:00
SpootDev
243a12c263 self log 2016-03-31 10:58:49 -05:00
SpootDev
065bff5215 exit loop 2016-03-31 10:55:21 -05:00
SpootDev
2e1a2328fd return data directly instead of creating new var 2016-03-31 10:51:48 -05:00
SpootDev
75414f5f07 self cursor 2016-03-31 10:48:10 -05:00
SpootDev
47beade09a reserved word type 2016-03-31 10:39:00 -05:00
SpootDev
98bee106cb self kodi 2016-03-31 10:34:53 -05:00
SpootDev
7e41f8b051 type reserved 2016-03-31 10:25:36 -05:00
SpootDev
a6a3da60f2 self cursor 2016-03-31 10:21:14 -05:00
SpootDev
6922eea15f break after set 2016-03-31 09:53:07 -05:00
SpootDev
a20dae1ee2 filter reserved 2016-03-31 09:45:20 -05:00
SpootDev
ce7a810874 type reserved 2016-03-31 09:43:52 -05:00
SpootDev
962cb44c49 unused 2016-03-31 09:39:35 -05:00
SpootDev
dfef62164f reserved word 2016-03-31 09:33:39 -05:00
SpootDev
ad156d3f6c log clean 2016-03-30 22:37:37 -05:00
SpootDev
b8a5f9c913 log self 2016-03-30 22:32:59 -05:00
SpootDev
0fc7fbd3b2 self.server 2016-03-30 22:24:00 -05:00
SpootDev
065b8d84f0 self.item 2016-03-30 22:01:37 -05:00
SpootDev
16fb22792f emby self 2016-03-30 21:45:43 -05:00
SpootDev
78b72ccdef vnodes 2016-03-30 21:29:24 -05:00
SpootDev
01265595f5 doutils 2016-03-30 21:28:08 -05:00
SpootDev
181824fef2 unused field 2016-03-30 21:22:55 -05:00
SpootDev
ef903f5c8a utils 2016-03-30 21:19:33 -05:00
SpootDev
bb8374e927 log cleanup 2016-03-30 21:17:09 -05:00
SpootDev
d8ba247d99 break out of loop after plugin found 2016-03-30 21:01:24 -05:00
tomkat83
8c6dd25194 Fix PlexCompanion TypeError 2016-03-29 20:17:07 +02:00
tomkat83
7bb765bedd 'NameError: global name 'guidoc' is not defined' 2016-03-29 20:03:53 +02:00
tomkat83
9dec68f6d9 Do background sync while playing
But no full sync
2016-03-29 19:45:32 +02:00
tomkat83
9037f65318 Improve websocket stability 2016-03-29 19:16:08 +02:00
tomkat83
dc7755ba6d Rewired websockets 2016-03-29 18:44:13 +02:00
tomkat83
c401cd9835 No websocket message logging 2016-03-28 14:43:35 +02:00
tomkat83
85c3f3949b Fix Music playback websocket KeyError 2016-03-28 11:39:35 +02:00
tomkat83
9e2668e6da Fix SSL websocket 2016-03-28 11:29:07 +02:00
tomkat83
43a7886eae Fix time sync for Music items 2016-03-28 10:51:38 +02:00
tomkat83
e73b467904 Music: set default rating to 0, not NULL 2016-03-28 10:40:30 +02:00
tomkat83
2ff7f7fa5c Music: scrape Studio/Label 2016-03-28 09:56:22 +02:00
tomkat83
fb1bc7c555 Cleanup background sync 2016-03-27 19:06:36 +02:00
tomkat83
1e49e9dea9 Background sync using websockets 2016-03-27 16:57:35 +02:00
tomkat83
6a2094d444 Backgroundsync using websockets 2016-03-27 16:57:20 +02:00
angelblue05
7c6451e839 Fix to local trailers
For some reason, server reports local trailer, then querying may or may
not return a result
2016-03-26 16:52:33 -05:00
Gerald Dachs
2d6361d9d6 made it compatible to Krypton
initialize rating
2016-03-25 13:32:19 +01:00
tomkat83
5949988b68 Plex websockets - groundworks 2 2016-03-24 18:52:02 +01:00
tomkat83
ed5483e2ae Merge branch 'hotfixes' into develop 2016-03-24 12:35:37 +01:00
tomkat83
8abd987d2b New Setting: Choose Plex Server from a list 2016-03-24 12:34:39 +01:00
tomkat83
eca710f2a9 Fix transcoding for HTTP, HTTPs still shaky 2016-03-24 10:24:11 +01:00
tomkat83
5d2dbaaf1e Get a machineIdentifier if it is missing
- E.g. when PMS IP was entered manually
2016-03-24 09:08:58 +01:00
tomkat83
bca89c3a9a Generate a new unique Plex device ID in settings
Nice if you copy/paste your Kodi profile
2016-03-24 08:26:08 +01:00
angelblue05
a7f70a3145 Fix channels
root doesn't have an item id - viewname defaults to none.
2016-03-23 19:50:58 -05:00
tomkat83
98d11ceb2d Merge branch 'master' into develop 2016-03-23 17:37:01 +01:00
tomkat83
3a4349e647 Disable SSL warning in Log, clean Futurewarnings 2016-03-23 16:57:49 +01:00
tomkat83
9a049854dc Don't de-authorize if several PMS are present 2016-03-23 16:40:31 +01:00
tomkat83
2806c8002a Cleaned out https checks
- Disabled HTTP certificate warnings in log
2016-03-23 16:07:09 +01:00
tomkat83
9b7774dfc0 Hold off sync if user chooses to go into settings
During initial setup. Restart Kodi required
2016-03-23 10:30:49 +01:00
tomkat83
8568e7e08e Change "Switch User" to "Log Out Plex User: XYZ" 2016-03-23 10:13:31 +01:00
tomkat83
d8deb4919e Shut down PKC correctly 2016-03-23 10:05:29 +01:00
tomkat83
feb01b748f Switch from xml.etree.cElementTree to .ElementTree
cElementTree has issues, e.g. during Kodi user profile switch
2016-03-23 09:42:59 +01:00
tomkat83
8308665183 TV shows On Deck: append season and episode number 2016-03-23 07:57:38 +01:00
tomkat83
33f5044828 Enable external Plex subtitles if available 2016-03-22 16:59:35 +01:00
tomkat83
a5b33a9f49 TV On Deck: option to include show name 2016-03-22 16:47:47 +01:00
tomkat83
b20308d68f Playback updates if an item is resumed 2016-03-22 16:17:06 +01:00
tomkat83
98554dbe26 Clean up Plex Companion subscribers 2016-03-22 15:34:59 +01:00
tomkat83
55791659a9 Fix PMS not being informed of playback stop 2016-03-22 15:16:58 +01:00
tomkat83
33fe7604e3 Playback updates for remote PMS, part 2 2016-03-22 14:58:51 +01:00
tomkat83
20aac1d258 Playback updates for remote PMS 2016-03-22 14:40:38 +01:00
tomkat83
57b42528f2 Revert "Fix direct paths not being enabled"
This reverts commit 7fcaa79b78.
2016-03-22 13:25:46 +01:00
tomkat83
cffe8acb69 Deactivate info "Gathering information from files"
However, Kodi STILL tries to gather info from music files unsuccessfully
(PMS http folder cannot be accessed)
2016-03-22 13:25:30 +01:00
tomkat83
7fcaa79b78 Fix direct paths not being enabled 2016-03-21 18:07:28 +01:00
tomkat83
8d9620b408 Only remind once that direct paths are unverified 2016-03-21 17:54:04 +01:00
tomkat83
bde5ed627b Plex websocket - groundworks 2016-03-21 17:15:22 +01:00
tomkat83
8b0ce0059c Added Emby websocket again 2016-03-19 17:57:57 +01:00
angelblue05
c1abe5d004 Use IsFolder key for channels 2016-03-19 03:27:38 -05:00
tomkat83
234a141cc6 Fix TV shows rating not showing up 2016-03-17 16:15:48 +01:00
tomkat83
8dee81c6a2 Fix potential time sync problems 2016-03-17 16:03:02 +01:00
tomkat83
2c0312a035 Fix music libraries being scanned twice 2016-03-17 15:18:57 +01:00
tomkat83
40c742e71e Attempt to increase music db stability 2016-03-17 15:06:04 +01:00
tomkat83
574d2e061e Fix potential crash for fast sync 2016-03-17 14:30:47 +01:00
tomkat83
908dfd2fe3 Fix getUnplayedMusicItems 2016-03-17 13:34:11 +01:00
tomkat83
9f8343113a Fixed some plex.tv token issue 2016-03-17 12:45:38 +01:00
tomkat83
71492af87f Fix removing Plex libraries on PMS side 2016-03-17 12:16:44 +01:00
tomkat83
95535ec9a8 Remove dump xml to log 2016-03-17 11:18:59 +01:00
tomkat83
3b55bc5c6b Fix merge conflicts 2016-03-17 11:17:30 +01:00
tomkat83
a16b2bdeb3 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-17 10:03:00 +01:00
angelblue05
0afd338cc7 Make profiling a decorator
You can call it before any functions/methods using @utils.profiling()
<-- you can specify the sort order of the results, by default it sorts
by cumulative. It will print the results straight into the Kodi log.
2016-03-17 02:55:00 -05:00
angelblue05
6495ed7aca Moved to read_embyserver 2016-03-17 00:56: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
ae7131a7c1 Fix log 2016-03-16 22:19:52 -05:00
tomkat83
09f0295e1c Sync theTVDB id for TV shows from Plex to Kodi 2016-03-16 18:47:57 +01:00
tomkat83
35bba8e581 Move validatePlayUrl 2016-03-16 18:33:18 +01:00
tomkat83
de810d1e1d Fixes to monitoring playback 2016-03-16 18:01:07 +01:00
tomkat83
7f674acbac Redesign Kodi monitor and player
Allows now to have playback initiated by Kodi - especially when using
direct paths
2016-03-16 17:02:22 +01:00
tomkat83
68ea41fe24 Fix direct path playback not being reported to PMS 2016-03-16 13:08:55 +01:00
tomkat83
769b741060 Fix direct play monitoring 2016-03-16 12:49:55 +01:00
tomkat83
32ddb6cb78 Custom smb path substitutions for direct paths 2016-03-16 12:26:31 +01:00
angelblue05
623c6cab85 Fix artists/music 2016-03-16 06:13:47 -05:00
tomkat83
fc29bd30b8 Fix network credentials dialog issues 2016-03-16 09:55:19 +01:00
angelblue05
1f8199c91f Remove incorrect log line 2016-03-15 17:29:09 -05:00
tomkat83
aaa8ada3ea Use direct paths - not yet working for music 2016-03-15 20:26:45 +01:00
tomkat83
cd930da509 Enable or disable server connection messages 2016-03-15 15:20:40 +01:00
tomkat83
dc723f6bb4 Abort playback correctly 2016-03-15 14:32:10 +01:00
tomkat83
76464a898f Video Node: recently added episodes 2016-03-15 14:19:56 +01:00
tomkat83
e7986e6289 Replicate Plex views in video nodes 2016-03-15 13:09:51 +01:00
tomkat83
aa40307408 Hotfix db comparison 2016-03-14 18:10:36 +01:00
tomkat83
037925a030 Prep On Deck 2016-03-14 17:47:05 +01:00
tomkat83
a4673b0377 Less logging for downloading in chunks 2016-03-14 15:01:38 +01:00
tomkat83
d8378584a2 Limit max number of items requested from PMS
Otherwise, slow NAS PMS may lead to timeouts - and thus empty libraries
2016-03-14 14:51:49 +01:00
tomkat83
d01cf199e5 New fix item episode thumbs not caching 2016-03-14 11:47:14 +01:00
tomkat83
f060a71237 Revert "Fix TV shows episode artwork not caching"
This reverts commit a2aac17fc4.
2016-03-14 11:16:48 +01:00
tomkat83
2f9b94d621 Enforce PMS authentication before playback start 2016-03-14 10:40:49 +01:00
tomkat83
6a1d3c9ab7 Renamed to Plex Companion 2016-03-14 10:14:12 +01:00
tomkat83
4771c71978 Remove some logging 2016-03-14 10:00:03 +01:00
tomkat83
c2f1bca6c2 Fix KeyError for library sync 2016-03-14 09:56:04 +01:00
tomkat83
872f17851f Fix TypeError for Plex Companion 2016-03-14 09:54:15 +01:00
tomkat83
a2aac17fc4 Fix TV shows episode artwork not caching 2016-03-13 16:20:13 +01:00
tomkat83
b79705719d Increase image caching timeouts to 5s 2016-03-13 16:12:25 +01:00
tomkat83
d300cc60d6 Fix tv show season posters not showing 2016-03-13 16:06:54 +01:00
tomkat83
53c07d4b50 Fix Recently Added
Plex time was not converted to Kodi time
2016-03-13 14:50:29 +01:00
tomkat83
22a0cfc6f0 Increase download timeout to 30s
Should take care of missing PMS replies if we request all elements of a
certain large library
2016-03-13 13:59:24 +01:00
angelblue05
7b94b76ef4 Prevent crash for missing seriesId
Apparently, that's a thing now, an episode without a seriesId.
2016-03-12 15:42:14 -06:00
angelblue05
4af994ed74 enumerate over backdrops 2016-03-12 15:14:07 -06:00
angelblue05
8072c8f7b2 Prep for emby connect 2016-03-12 13:56:02 -06:00
tomkat83
9097f06392 Fix librarysync key error 2016-03-11 14:47:41 +01:00
tomkat83
ae9d4924c2 Redesign fast sync 2016-03-11 14:42:14 +01:00
tomkat83
7a86909357 Redesigned incremential sync 2016-03-10 18:34:11 +01:00
tomkat83
b24fc0ea06 Make user switch always available 2016-03-10 16:04:01 +01:00
tomkat83
a3c2d21757 Fix userclient 2016-03-10 16:02:46 +01:00
tomkat83
d16b931486 Get rid of some unneccessary logs in lib sync 2016-03-10 13:10:56 +01:00
tomkat83
5be1e3a24a Fix KeyError in library sync 2016-03-10 12:47:30 +01:00
tomkat83
58d986f4ad Add traceback to library sync 2016-03-10 09:58:26 +01:00
tomkat83
a5d37caef0 Show dialog if some items could not be processed 2016-03-10 09:51:35 +01:00
tomkat83
0064029885 Dump XMLs of failed PMS items in the log 2016-03-10 09:30:20 +01:00
tomkat83
3ccc588945 Optimize notifications for library syncs 2016-03-10 08:51:24 +01:00
tomkat83
e7d96e9a00 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-10 08:12:20 +01:00
angelblue05
db4cb448b0 Adjust delete logic for entrypoint 2016-03-09 20:15:45 -06:00
angelblue05
a5d74c8a17 Add delete keymap entrypoint
RunPlugin(plugin://plugin.video.emby?mode=delete)
2016-03-09 17:05:35 -06:00
tomkat83
8b4cc4c33f Catch exceptions in itemtypes and log them 2016-03-09 18:36:36 +01:00
tomkat83
c8d6070682 Slightly increased download timeouts 2016-03-09 15:56:12 +01:00
tomkat83
b5bfad5719 Fix library sync paused 2016-03-09 15:53:46 +01:00
tomkat83
55b3d44899 Overhaul userclient
Again...
2016-03-09 15:37:27 +01:00
angelblue05
8bde429da4 Slight adjust for manual sync
Can't return value in __init__, instead calling a function to know if
manual sync succeeded or not.
2016-03-08 18:51:23 -06:00
tomkat83
e635f43845 Improve sync resiliance and GDM discovery
Improve sync resiliance to bad connections (e.g. behind a firewall)
2016-03-08 17:41:07 +01:00
tomkat83
e5e6f2208e Much shorter download timeouts
This should hopefully solve the stuck library sync
2016-03-08 15:28:59 +01:00
tomkat83
100421ce2d Connect to remote PMS 2016-03-08 14:50:43 +01:00
tomkat83
1ab657cd0b Change logging to show "Error" category 2016-03-08 14:02:01 +01:00
tomkat83
0cefee6cfe Reduce number of unsuccesful retries to 3 before telling user 2016-03-08 13:52:17 +01:00
tomkat83
56af183288 Correct encoding
Kodi dialogs take unicode
2016-03-08 13:00:03 +01:00
tomkat83
d5aae4934b Clean out library sync 2016-03-08 12:13:47 +01:00
tomkat83
b05ec9746a Remove obsolete check for method in processing metadata 2016-03-08 11:58:14 +01:00
tomkat83
8ab99b5036 Language strings for library sync 2016-03-08 11:47:46 +01:00
tomkat83
0b4736b01b Clean-up library sync loop 2016-03-08 11:20:11 +01:00
tomkat83
8e9b355473 New Setting to reset all PMS and the plex.tv connection 2016-03-08 09:20:06 +01:00
tomkat83
fdc8f53131 Sleep for a while in loops - drastically reduces CPU load 2016-03-08 08:43:12 +01:00
tomkat83
68e91b192b Setting to turn off constant background sync 2016-03-07 17:22:55 +01:00
tomkat83
e9e1de6e3d HTTPS! 2016-03-07 17:11:54 +01:00
tomkat83
a258f969ab Dedicated function to check whether directory exists 2016-03-07 16:30:50 +01:00
tomkat83
cbfa41de99 Fix refreshing playlists and videonodes 2016-03-07 16:16:57 +01:00
tomkat83
dc2ae721e6 Allow non-ASCI library names 2016-03-07 15:31:07 +01:00
tomkat83
c0f2067856 Don't log header if checking connection to a PMS 2016-03-07 14:10:47 +01:00
tomkat83
398ef64d96 More encoding fixes for dialogs 2016-03-07 13:38:45 +01:00
tomkat83
4996d7122f Bugfix: enforce PIN for protected users
Bugfix for Plex.tv bug: don't allow protected user to get a token if
pin= in url is omitted
2016-03-07 13:10:38 +01:00
tomkat83
c6503f8a8e Enable non-ASCI PMS server name and username 2016-03-07 13:01:45 +01:00
tomkat83
e0918ba7aa Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-07 09:54:01 +01:00
tomkat83
0afa304f52 utils.Window to return unicode in all cases 2016-03-07 09:47:30 +01: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
81aa96d540 Merge branch 'master' of https://github.com/MediaBrowser/plugin.video.emby 2016-03-04 17:20:26 -06:00
angelblue05
04acfb3200 Fix type folders in photos
If "photo album" has no pictures in it, it's returned as type "Folder"
2016-03-04 17:20:24 -06:00
marcelveldt
36007a1e7d preparation of videoextras 2016-03-04 22:00:24 +01:00
marcelveldt
455b7262fc Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2016-03-04 14:03:32 +01:00
marcelveldt
3c36af932a fix extrafanart for homescreen widgets 2016-03-04 14:03:15 +01:00
tomkat83
e784dab578 Overhaul userclient 2016-03-04 13:34:30 +01:00
angelblue05
b05033c9b8 Fix unicode and invalid handle 2016-03-04 03:00:25 -06:00
angelblue05
4895082079 Fix typo
Accidentally pasted over line
2016-03-03 23:54:53 -06:00
angelblue05
897780f059 Fix views
GroupedFolders sometimes return empty, even if the user's views are
grouped (seems like a bug). Added a failsafe.
2016-03-03 23:32:33 -06:00
tomkat83
4e44579c1f General bug squishing 2016-03-03 15:28:44 +01:00
tomkat83
c2ecdacec4 Settings overhaul. Also added many German translations 2016-03-03 14:00:48 +01:00
tomkat83
9e9f61f9ba Added refresh Playlist and videonodes. Removed some Setting topics 2016-03-03 10:11:32 +01:00
tomkat83
cd94266f49 Suspend library sync when TV show plays 2016-03-03 09:45:42 +01:00
tomkat83
cc3c55e038 Wait for lib sync to finish when switching user 2016-03-03 09:35:35 +01:00
tomkat83
2750c4b16d Delete Emby api.py 2016-03-03 09:19:25 +01:00
tomkat83
2cca08d9cf Attempt to fix Plex logo showing when user signs in 2016-03-03 09:13:42 +01:00
tomkat83
ccdaaf5b4e Fixed video nodes 2016-03-03 09:04:15 +01:00
tomkat83
c8004d3dbf Prevent sleep 2016-03-03 08:10:06 +01:00
tomkat83
7bda97b255 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-03 08:02:41 +01:00
angelblue05
2a107b45fe Prevent screensaver during sync
Initial, repair, manual syncs.
2016-03-02 18:25:17 -06:00
angelblue05
f16b5dfff6 Prevent errors during the view creation
For grouped folders only. Include the itemtype to make sure we can
correctly search the reference under the grouped view.
2016-03-02 14:50:08 -06:00
angelblue05
ab467e36f0 Fix unicode 2016-03-02 13:29:07 -06:00
tomkat83
89b0bc3796 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-02 19:01:55 +01:00
tomkat83
525c59c75b Attempt to fix video nodes.
Still getting

18:55:33 T:7956   ERROR: XFILE::CDirectory::GetDirectory - Error getting
library://video/Plex-1/1_sets.xml/
18:55:33 T:7956   ERROR:
CGUIMediaWindow::GetDirectory(library://video/Plex-1/1_sets.xml/) failed
2016-03-02 18:56:42 +01:00
tomkat83
91c5cb4608 Revert videonodes.py to Emby version 2016-03-02 17:29:20 +01:00
tomkat83
e10bc84bf3 Librarysync overhaul 2016-03-02 17:27:21 +01:00
angelblue05
77a553b7f7 Fix logic for nodes
Was accidentally overwriting freshly created nodes
2016-03-01 18:59:08 -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
e2a117ea97 Allow virtual season artwork 2016-03-01 12:53:26 -06:00
angelblue05
bd093e6783 Terminate thread if outdated
Temporary fix since 1.1.62 is incompatible. To be reconsidered when
minimum version changes again.
2016-03-01 10:49:16 -06:00
tomkat83
065169aa31 Try to prevent sleep from happening 2016-03-01 16:52:09 +01:00
tomkat83
47ad159a5f Add PMS collections to tv shows 2016-03-01 16:28:48 +01:00
tomkat83
e8f1382916 Add PMS collection tags to movies 2016-03-01 16:18:12 +01:00
tomkat83
9465939397 Simplify sync messages 2016-03-01 13:36:12 +01:00
tomkat83
edba27d11d Allow for Kodi music library update 2016-03-01 13:31:35 +01:00
tomkat83
a2251a3482 More merge conflicts 2016-03-01 12:10:09 +01:00
tomkat83
954e78db55 Allow for view deletion 2016-03-01 11:26:46 +01:00
tomkat83
4360b6b7de Merge conflicts 2016-03-01 10:40:30 +01:00
tomkat83
4704d8e983 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-01 10:10:11 +01:00
angelblue05
90c6b064c7 Delete cache during reset
Offer to delete cached artwork, and also drop tables in case we need to
modify the structure in the future.
2016-02-29 17:11:17 -06:00
angelblue05
dfa5c7b313 Add option to generate a new device Id 2016-02-28 23:20:59 -06:00
angelblue05
a0acdd6a7a Prevent crash caused by artwork deletion
Prevent database being locked from crashing process. Instead log it.
2016-02-28 21:39:00 -06:00
angelblue05
c4e936e985 Remove auto reset detection
Will review at a later time
2016-02-26 22:30:56 -06:00
angelblue05
03ac28272e Fix widget resume 2016-02-26 06:55:24 -06:00
angelblue05
e30e20104d Fix resume point
Move stop transcode and stop playback out of the currentposition,
runtime verification.
2016-02-25 17:46:12 -06:00
angelblue05
7ab8e3e231 Fix ssl verification 2016-02-24 22:45:25 -06:00
angelblue05
c3d78c871e Follow ordered views
This affects the node numbering.
2016-02-24 22:28:42 -06:00
angelblue05
dc7473bfae Fix typo 2016-02-24 18:39:21 -06:00
angelblue05
60a178165d Fix pictures 2016-02-24 18:34:50 -06:00
angelblue05
f394dc39dc Fix playlist/videonodes deletion
Using the view Id instead of actual name for folder creation, to prevent
deletion error (due to folder containing special characters).
2016-02-23 18:40:13 -06:00
angelblue05
dc74bf42aa Remove old saved views 2016-02-23 00:27:49 -06:00
angelblue05
81ea279319 Create video nodes/playlist using the id
Prevent errors with special characters that have no ascii replacement
2016-02-23 00:00:24 -06:00
angelblue05
9670e87049 Fix label for video nodes 2016-02-22 20:42:23 -06:00
angelblue05
e2ca6227c2 Fix root label for mixed content 2016-02-22 17:56:08 -06:00
angelblue05
3207f5a2c1 notification dialog follow progress on screen
For initial/manual/repair sync
2016-02-22 00:16:32 -06:00
angelblue05
7b5d24cd58 Fix subs 2016-02-21 19:03:55 -06:00
angelblue05
20ca36d95a Prevent sleep
Remove flag if initial sync terminates prematurely
2016-02-21 17:45:56 -06:00
angelblue05
6100faadda Try to prevent sleep from happening
During the initial sync or any major sync, manual or repair.
2016-02-21 17:43:46 -06:00
angelblue05
081b76e7b0 Version bump 2.2.3 2016-02-20 17:21:39 -06:00
angelblue05
bc1b975102 Fix typo 2016-02-19 20:26:48 -06:00
angelblue05
1388f4b27b Fix views duplicate at the root 2016-02-19 18:06:36 -06:00
angelblue05
2f3d9c4a60 Fix views
Alright get rid of the duplicate in the add-on entrypoint
2016-02-19 17:34:22 -06:00
angelblue05
663fe1f563 Fix dialog in manual sync 2016-02-19 15:50:19 -06:00
tomkat83
e7f7269a5b Merge conflicts 2016-02-19 20:03:06 +01:00
tomkat83
50d142ad0b Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-19 18:47:09 +01:00
tomkat83
70393b1b86 Fix URL tokens 2016-02-19 16:10:19 +01:00
tomkat83
9b6cdbafc2 Music works, put only via PMS IP saved in Kodi DB 2016-02-19 16:02:58 +01:00
tomkat83
a4e1a622e0 Fix KodiItemTypes 2016-02-19 12:31:55 +01:00
angelblue05
2ef213b4e3 Fix for proxy 2016-02-18 22:06:33 -06:00
angelblue05
38f432a282 Add missing artist link for music videos 2016-02-18 20:01:11 -06:00
angelblue05
06cd0e981c Hide manual sync when ran at start-up 2016-02-18 19:16:49 -06:00
angelblue05
c40aa46b64 Fix encoding error 2016-02-18 12:09:36 -06:00
angelblue05
8e9efe9734 Add autoclose to dialog
Delete after playback
2016-02-17 18:37:45 -06:00
angelblue05
52a5d35295 Update for strings 2016-02-17 02:13:37 -06:00
angelblue05
228501d99c Move removal to context menu
There was a typo in the delete as well.  Remove videolibrary.on.remove
due to potential issue if clean database runs and user is using plugin
paths.
2016-02-16 22:13:10 -06:00
angelblue05
8164c49bdf Fix live tv
It is transcoding, mark as such to delete ffmpeg process when playback
ends.
2016-02-14 00:26:42 -06:00
angelblue05
6c801c326c Fix typo 2016-02-13 23:29:01 -06:00
angelblue05
1bcba15cd9 Repair entries
For the video library. This is for the scenario where Kodi erases the
entry, but it still exists in the emby database.
2016-02-13 22:42:16 -06:00
angelblue05
03d016797c Allow popup time setting 0 to disable notification
For the newly added content notification
2016-02-12 17:23:07 -06:00
angelblue05
26836fb536 Remove skip deletion after playback
I think it must be a mistake on my part. Checking history, it looks like
a copy paste during the refactor.
2016-02-12 16:49:21 -06:00
angelblue05
d3f2969e80 Fix typo 2016-02-12 16:31:01 -06:00
angelblue05
54e998d579 Update skip delete message
Github wiki updated accordingly
2016-02-12 16:30:20 -06:00
tomkat83
bcbbb1b42f Plex Music!
Playing does not work yet, but Lib sync is up
2016-02-12 16:53:49 +01:00
tomkat83
f162b6ea8a Adjust librarysync notifications 2016-02-11 14:44:11 +01:00
tomkat83
fa8c6e49b8 Fix UpdateLibrary(video) 2016-02-11 14:07:52 +01:00
tomkat83
e8900b0a4a Again, big clean-up 2016-02-11 14:03:04 +01:00
tomkat83
c451a236e7 More cleanup of librarysync 2016-02-11 12:56:57 +01:00
tomkat83
5334a38754 Cleaning up librarysync 2016-02-11 12:54:15 +01:00
tomkat83
413e48e19c Fix userdata not correctly syncing 2016-02-11 12:44:12 +01:00
tomkat83
28517b509a Small improvements lib sync 2016-02-11 10:56:01 +01:00
tomkat83
8217932985 Removed websockets 2016-02-11 10:43:11 +01:00
tomkat83
a64e36cf69 Threaded Plex Companion Timeline messages, due to PMS missing Content-Length header args in the response 2016-02-11 10:35:16 +01:00
tomkat83
39f1d0c367 Fix dbid not found if playQueue sent 2016-02-11 10:30:29 +01:00
tomkat83
99129e5a78 Connection close, not keep-alive 2016-02-10 16:15:57 +01:00
tomkat83
5a4f4a9b71 Revert "Fix to Plex Companion response not conform to HTTP standards"
This reverts commit 531dba40bf.
2016-02-10 13:51:14 +01:00
tomkat83
ea63801a2b Adjust Plex Companion playQueues being passed to PlexKodiConnect to use playlist playall 2016-02-10 13:50:04 +01:00
tomkat83
531dba40bf Fix to Plex Companion response not conform to HTTP standards
content length is wrong, causing thread to lock for several seconds
2016-02-10 13:02:58 +01:00
tomkat83
97b8083562 Fix embydb 2016-02-10 11:00:32 +01:00
tomkat83
75644de696 added GetEmbyDB to get to emby_db more securely 2016-02-10 10:04:49 +01:00
tomkat83
9beac817fe Increase lib thread stability 2016-02-10 09:14:31 +01:00
tomkat83
9d50e8ef30 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-10 09:09:36 +01:00
angelblue05
afcc92686e Remove duplicate logging 2016-02-09 22:55:28 -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
tomkat83
bea9e48bd9 Overhaul playbackutils. Again 2016-02-08 19:40:58 +01:00
tomkat83
0eed5a9155 Revert playbackutils to original, was a pain 2016-02-08 15:53:46 +01:00
tomkat83
581e38a729 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-08 14:32:17 +01:00
angelblue05
b12009f422 New throttle - will require testing 2016-02-08 02:36:09 -06:00
tomkat83
f968d2eef8 Improve setPartNumber 2016-02-07 18:05:59 +01:00
tomkat83
c9d8d8d5c6 Change thread stops to use window property instead of xbmc monitor 2016-02-07 17:26:44 +01:00
tomkat83
300b5d11ad Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-07 13:42:40 +01:00
tomkat83
0ef03c73bb Clean up window properties after playing an item 2016-02-07 13:35:03 +01:00
tomkat83
02fa0eb7cb Updated logging 2016-02-07 13:26:28 +01:00
tomkat83
0f14019e5b Overhaul Plex Companion 2016-02-07 12:38:50 +01:00
angelblue05
5e6e606031 Make the transcode h265 more robust
To prevent any errors, since the setting used to be different.
2016-02-06 23:06:05 -06:00
angelblue05
da66d61f6c Revert "OnSettings adjust logic"
This reverts commit dfd5479d8e.
2016-02-05 16:17:37 -06:00
angelblue05
dfd5479d8e OnSettings adjust logic
For playback mode changes, do not update the window prop
2016-02-05 15:49:25 -06:00
angelblue05
0d76729302 Fix tag contains to tag is 2016-02-05 14:30:32 -06:00
angelblue05
256d98c6f3 Fix datetime error
Known kodi/python issue where datetime.strptime throws a Nonetype error
for no reason, after being used once.
2016-02-04 19:09:47 -06:00
Shaun
d75af5009b fix map error when new server plugin is not installed 2016-02-05 10:02:57 +11:00
tomkat83
125daea6ef Transcoding up 2016-02-04 20:23:04 +01:00
tomkat83
e148090c3c Resume should finally work as expected 2016-02-04 15:57:24 +01:00
tomkat83
0f6494aa3e Revert "Redesign building Kodi playback list"
This reverts commit 095eba1a74.
2016-02-04 15:06:34 +01:00
tomkat83
22250b1485 Small Fix resume playing 2016-02-04 13:33:16 +01:00
tomkat83
0578020cb9 Revert "Deactivate fast sync for now"
This reverts commit fd8d6007db.
2016-02-04 13:28:24 +01:00
angelblue05
748c65efe7 Validate strings for translation 2016-02-04 06:22:33 -06:00
tomkat83
332885a5a4 Fix merge conflicts 2016-02-04 13:18:06 +01:00
tomkat83
5aa88bdca8 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-04 13:08:57 +01:00
tomkat83
095eba1a74 Redesign building Kodi playback list 2016-02-04 12:59:36 +01:00
angelblue05
c2dace4c1e Add control over notification time for new content
Video and music library
2016-02-04 05:42:17 -06:00
angelblue05
4df6bb68d3 Fix typo in manual sync 2016-02-04 04:06:28 -06:00
angelblue05
6b00eb466e Adjust sources.xml
switch to adding only smb:// as suggested on forums
2016-02-04 03:41:39 -06:00
Shaun
95ed199218 use retention date from server 2016-02-04 17:10:20 +11:00
angelblue05
452df0614d Update labels for settings + modify h265 transcode
This convert the setting into convert H265 for resolution and higher
(for example: 480p and higher)
Also prepare for string translation
2016-02-03 23:08:00 -06:00
angelblue05
c4608b38e1 Fix resume when using play-to 2016-02-03 19:06:12 -06:00
angelblue05
dc12f05ba8 Fix indentation
Somehow using tabs rather than spaces
2016-02-03 16:43:29 -06:00
tomkat83
ea1bc0a5bd Fix resume time Plex Companion 2016-02-03 15:05:59 +01:00
tomkat83
fd8d6007db Deactivate fast sync for now 2016-02-03 14:51:15 +01:00
tomkat83
69d282fa01 Minimize download logging 2016-02-03 14:48:08 +01:00
tomkat83
bf45cd5e13 Fix userdata 2016-02-03 14:44:11 +01:00
tomkat83
4b2e069bff Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-03 13:06:27 +01:00
tomkat83
c63e4c1bc4 Redesign playbackutils 2016-02-03 13:01:13 +01:00
angelblue05
823c5f28b1 Adding additional logging
During playlist creation
2016-02-03 04:17:00 -06:00
angelblue05
b54f4d54e1 Convert to string
Prep for translation
2016-02-02 19:13:42 -06:00
Shaun
20a762e051 reset the keep_running when run forever is called 2016-02-02 18:06:10 +11:00
angelblue05
3c237bafe3 Fix typo in bluray
For direct paths
2016-02-01 19:29:43 -06:00
tomkat83
ef904fcd6c Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-01 10:36:09 +01:00
tomkat83
fa0003a5eb Overhaul PlexAPI. Only using XMLs now, no JSONs 2016-02-01 10:33:33 +01:00
angelblue05
a2e6a362c5 Adjust for manual sync at start up 2016-01-31 23:12:44 -06:00
Shaun
0aa4ffd1bc WebSocket send ping to server every 10 sec 2016-02-01 11:40:33 +11:00
angelblue05
e4f4900499 Add extra verification for playback
Prevent false detection of widget playback if happen to be on home and
resuming with Play-to emby function.
2016-01-31 17:28:41 -06:00
tomkat83
dc44f1a879 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-31 17:18:10 +01:00
tomkat83
6aa3f62b79 Plexcompanion 1st version for entrypoint.py, playbackutils.py, PlexAPI.py 2016-01-31 16:13:40 +01:00
angelblue05
ff98b7fa30 Fix bluray playback 2016-01-31 02:10:00 -06:00
angelblue05
56fa1a01cf Resume widget fix
Was adding an additional item to the playlist when it was not needed
2016-01-30 22:49:31 -06:00
angelblue05
0cc6d36caa Fix music album + logging 2016-01-30 20:49:10 -06:00
tomkat83
87f9c9ef61 Revert lib thread changes 2016-01-30 08:43:28 +01:00
angelblue05
2928fd175e Fix typo 2016-01-29 23:14:59 -06:00
angelblue05
363b458514 Fix newly added album/songs
Since we process a dictionary, we can't really control the order it's
being processed in. Audio is being added before the album, so added an
album verification at song level.
2016-01-29 20:40:23 -06:00
angelblue05
c37a9efdf3 Fix deviceId not generating
Change the logic around xbmcvfs.File() since it doesn't causes an error
but instead returns an empty string.
2016-01-29 18:13:13 -06:00
angelblue05
d3dfef4991 Revert "Revert deviceId changes"
This reverts commit ba7e369835.
2016-01-29 17:53:52 -06:00
angelblue05
ba7e369835 Revert deviceId changes
Broke the deviceId generating part of the code since xbmcvfs.File
doesn't cause an error, but instead returns an empty string.
2016-01-29 17:52:00 -06:00
tomkat83
8912a0b601 Overhaul Part 1 2016-01-29 20:07:21 +01:00
tomkat83
99895ec49f Redesign library sync loops 2016-01-27 20:41:28 +01:00
tomkat83
40c8b6f683 Moved many functions to PlexFunctions.py 2016-01-27 16:33:02 +01:00
tomkat83
e5311981b4 Small fixes 2016-01-27 15:14:30 +01:00
tomkat83
42bd570187 Plex home user switch working 2016-01-27 12:18:54 +01:00
tomkat83
0d4c8ae53e Added logging decorator 2016-01-26 17:20:13 +01:00
tomkat83
aa849f7457 Added decorators for threads 2016-01-26 15:13:03 +01:00
tomkat83
079f43c644 User switch fix, part 1 2016-01-25 10:36:24 +01:00
tomkat83
613e033b48 Fix playing trailers directly via Plex Companion 2016-01-24 16:12:28 +01:00
tomkat83
b2663da584 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-24 14:28:11 +01:00
xnappo
250a893eee Convert seektime to str. 2016-01-23 12:51:39 -06:00
xnappo
07d03781a2 Lower lever changes for Krypton
Not modifying utils.py yet, just putting in low level version
placeholders and minor music rating change for Krypton change.
2016-01-23 09:45:31 -06:00
tomkat83
e0330c1a28 Fixed plex companion headers and resume point 2016-01-23 15:53:24 +01:00
tomkat83
58020021fa Merge conflicts 2016-01-23 12:05:56 +01:00
tomkat83
c98e7ad60c Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-23 11:55:31 +01:00
tomkat83
6efd9a52be Plex instead of Emby references in librarysync 2016-01-23 11:45:14 +01:00
angelblue05
049c304f8b Clear property
So artwork can be deleted when needed, after the initial sync has
completed
2016-01-23 02:32:51 -06:00
angelblue05
6653b1a929 Move manual sync to own class
It's better to separate the code to gain more control over the manual
sync rather than working around the full sync and doing "if compare" all
over the place.
2016-01-23 02:29:30 -06:00
angelblue05
1d6556fb44 Add refresh for videonodes
To fix home video nodes.
2016-01-22 17:12:23 -06:00
angelblue05
55d841b0b3 Temp removal of encoding in window prop
Causing errors in report back, etc. Will have a look after the new
version is released.
2016-01-22 16:51:48 -06:00
angelblue05
04d7ac2f01 Missing reference to rating
Was it moved by accident?
2016-01-22 16:49:59 -06:00
angelblue05
395140262d Revert "Remove encode for playutils"
This reverts commit a4a1be97f5.
2016-01-22 15:59:31 -06:00
angelblue05
a4a1be97f5 Remove encode for playutils
Since we encode in utils now.
2016-01-22 15:30:33 -06:00
tomkat83
5576ef97ca Plex companion logging 2016-01-22 17:34:26 +01:00
tomkat83
0d2664320b Cleaned librarysync 2016-01-22 17:03:24 +01:00
tomkat83
06dd13eb07 Merge conflicts 2016-01-22 16:32:36 +01:00
tomkat83
80e1957d25 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-22 15:57:22 +01:00
tomkat83
48ba7f0869 Plex Companien (Plexbmc helper) version 0.1 2016-01-22 15:37:20 +01:00
marcelveldt
01db164dc9 do not create playlists for homevideos or photos 2016-01-22 11:41:12 +01:00
marcelveldt
333d6b2831 fix subnodes for homevideos and photos 2016-01-22 11:10:42 +01:00
angelblue05
3caa2ae3a7 Re-add decode to unicode
Then convert to utf-8, then ascii for the auth header.
2016-01-21 19:19:30 -06:00
marcelveldt
af4b3bdd9e additional comments 2016-01-22 01:08:08 +01:00
marcelveldt
5176233a33 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2016-01-21 23:46:04 +01:00
marcelveldt
0363804c8e fix music sync when directstream enabled 2016-01-21 23:45:51 +01:00
angelblue05
c28b43451f Revert useless unicode changes
Now that the device name is normalized without special characters.
2016-01-21 16:34:35 -06:00
angelblue05
c54108cfa7 Normalize device name
Server is unable to display unicode correctly for device names. Luke is
aware of this.
2016-01-21 16:32:30 -06:00
angelblue05
65be0b6262 Fixing unicode bug for device name
Removing decode to unicode, because we use it for the downloadutils. We
need it in utf-8, not unicode.
2016-01-21 14:35:24 -06:00
angelblue05
f3c8ba7077 New transcode method for subs
Extract subtitles and append them to the player, rather than burning
them (burning them would result in playback failure 80% of the time)
2016-01-21 11:10:06 -06:00
marcelveldt
cf94305743 prevent possible unicode error in window method 2016-01-21 11:15:31 +01:00
marcelveldt
a5d4c881e1 remove redundant debug logging 2016-01-21 11:10:48 +01:00
marcelveldt
8e544b4dad more improvements to music tags - add checksum when writing tags to files 2016-01-20 21:17:23 +01:00
marcelveldt
435982b741 fix typo 2016-01-20 20:44:19 +01:00
marcelveldt
79644ca3e8 additional fix to prevent doubled updated 2016-01-20 20:35:43 +01:00
marcelveldt
ae06548c9d fix: redundant userdata update for music rating
add settings for music ratings import/export
2016-01-20 20:21:56 +01: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
Shaun
bfb893ad8e use standard progress dialog for progress
and add cancel
2016-01-19 18:59:05 +11:00
angelblue05
d14ecfdc5e Adjust playlist props
Instead of using clearProperties, clear individually.
2016-01-18 21:54:02 -06:00
angelblue05
f3f8c76197 Fix progress dialog 2016-01-18 19:54:20 -06:00
angelblue05
60f68610f4 Close the kodi cursor earlier
In case music doesn't complete correctly.
2016-01-18 17:47:16 -06:00
marcelveldt
6f72dfffe9 one more fix for the musictags 2016-01-18 21:16:11 +01:00
marcelveldt
11cf78de36 fix unicode error in urlencode 2016-01-18 20:56:10 +01:00
marcelveldt
2661c54938 fix entrypoints 2016-01-18 20:48:44 +01:00
marcelveldt
58533e1c44 fix videonodes and playlists 2016-01-18 20:17:14 +01:00
marcelveldt
3421bf88e1 add support for embedded covertart in music files
fix typo in music tags code
2016-01-18 19:38:53 +01:00
marcelveldt
eab0b7d3d9 remove widgetreload. Is entirely handled by skinhelper now.
leaving it in means doubled widget refreshes = slower
2016-01-18 17:12:57 +01:00
marcelveldt
5640408523 fix crash on sync when song rating is null in db (if user didn't reset the db)
resync is advised however to make sure the rating gets scraped initially
2016-01-18 16:31:07 +01:00
marcelveldt
72d279a3a9 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2016-01-18 12:05:16 +01:00
marcelveldt
eae4fea76a more unicode fixes: os.path functions use unicode depending on the OS 2016-01-18 12:05:05 +01: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
marcelveldt
2bd1d139c1 unicode fixes
fix for users who have redirected kodi data folders (replace open with xbmcvfs.file)
2016-01-18 10:00:32 +01:00
marcelveldt
ca0906aaaf remove redundant logging 2016-01-18 09:47:22 +01:00
marcelveldt
b0120aefd5 fix: return emby nodes in skinshortcuts dialog 2016-01-18 09:45:39 +01:00
angelblue05
ee414472e0 Correct encoding
Everything xbmc returns is already in utf-8
2016-01-16 18:28:30 -06:00
angelblue05
2e5c0aa8f2 Fix music crash 2016-01-16 16:31:42 -06:00
Shaun
30a9074f71 fix percentages on thread clean up updates 2016-01-16 17:55:04 +11:00
Shaun
9e2f789e53 add a thread pool option to the image cache 2016-01-16 14:08:01 +11:00
marcelveldt
82f117222a fix exception in getSongTags when rating is none 2016-01-15 15:31:55 +01:00
tomkat83
e859a807bc Add plexbmc.helper 2016-01-15 12:12:52 +01:00
angelblue05
d7d5e8b6e1 Force transcode 720/h265 2016-01-15 03:56:53 -06:00
tomkat83
accd8f4ac4 Merge conflict playbackutils 2016-01-15 10:10:44 +01:00
tomkat83
c1c19cbc68 Merge conflicts sync 2016-01-15 10:04:47 +01:00
tomkat83
332e64729a Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-15 09:12:08 +01:00
tomkat83
0f73bf1840 Enable library sync threads to crash correctly 2016-01-15 08:53:16 +01:00
angelblue05
fa826c2791 Fix websocket not restarting
Didn't realise the method and class variable had the same name.
2016-01-15 01:26:54 -06:00
tomkat83
40c02395a2 Added UpdateUserdata to Movies and TV Shows 2016-01-14 16:17:24 +01:00
tomkat83
eddfa23a71 Plex home user switch finally working 2016-01-14 14:47:34 +01: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
tomkat83
6e8bd3e7da Plex.tv sign in with 4 digit PIN 2016-01-14 10:20:19 +01:00
angelblue05
5c9e571936 Remove boxset forced sync. Manual sync is available for that purpose. 2016-01-13 15:47:31 -06:00
tomkat83
1f8eb7f2ab Trying to change Plex.tv sign in process 2016-01-13 14:56:44 +01:00
marcelveldt
0bc17ec277 small fix for photo support 2016-01-13 13:24:26 +01:00
angelblue05
10606f733d Fix crash during initial sync for songs 2016-01-12 23:09:55 -06:00
angelblue05
993ef282e7 Fix reset
Fixes if there's a crash, unable to reset
2016-01-12 22:52:49 -06:00
angelblue05
b9ba092e12 H265 rectification 2016-01-12 19:38:18 -06:00
marcelveldt
8e2cae3b13 fix small typos
add delete option to context menu
2016-01-13 01:26:07 +01:00
marcelveldt
b24e881f18 finished homevideos and photos 2016-01-13 01:03:35 +01:00
tomkat83
79f95100c5 Switch user v01 2016-01-12 17:23:55 +01:00
tomkat83
9103f0516f Small fixes 2016-01-12 15:53:06 +01:00
tomkat83
b2a9f1a453 Update logging to handly empty PMS responses 2016-01-12 14:25:12 +01:00
tomkat83
b26b679dc1 Mark movie as watched/unwatched 2016-01-12 14:14:49 +01:00
tomkat83
ca731ba41e Pass resume point back to PMS 2016-01-12 13:57:26 +01:00
tomkat83
4c54a7c319 Changed plugin hook from emby to plexkodiconnect 2016-01-12 12:14:18 +01:00
tomkat83
57e6d40af2 Plex trailers directly playable now 2016-01-12 11:47:48 +01:00
tomkat83
0b38176fa9 Fixed initial sync 2016-01-12 10:30:28 +01:00
tomkat83
4332d08292 Cleaned multi threading 2016-01-12 09:50:15 +01:00
marcelveldt
ee9f08080e work in progress - move home videos to plugin listing 2016-01-11 22:20:34 +01:00
tomkat83
1697e38342 Switch to xbmc.sleep 2016-01-11 20:24:14 +01:00
marcelveldt
b7f0f869eb fix null pointer 2016-01-11 19:26:38 +01:00
tomkat83
eb1c2cf64c No sync if updatelist is empty 2016-01-11 17:42:42 +01:00
tomkat83
5e8fd41938 Checksum for season 2016-01-11 17:37:01 +01:00
marcelveldt
0817085ada Add contextmenu for emby settings (used to update ratings)
Add ratings sync for music files (get rating details from music files and sync back to emby)
2016-01-11 16:53:41 +01:00
tomkat83
3b2176574a Video nodes finally working 2016-01-11 15:56:56 +01:00
tomkat83
21fed2dc63 Update videonodes 2016-01-11 14:54:16 +01:00
tomkat83
a959ee118c Fixes regarding video node sync 2016-01-11 14:38:01 +01:00
tomkat83
c854ee621e videonodes v0.1 2016-01-11 09:57:45 +01:00
tomkat83
5645e451cc Cleaning up logs 2016-01-11 08:10:36 +01:00
tomkat83
de3a058463 Sped up initial sync 2016-01-11 07:55:22 +01:00
tomkat83
9f3db90a7c TV Shows sync up and running 2016-01-10 15:16:59 +01:00
tomkat83
08a0c38704 Resolving merge conflict 2016-01-10 12:38:49 +01:00
tomkat83
0c444beab0 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-10 12:36:15 +01:00
angelblue05
2e4e983acd hevc transcode - direct stream skip 2016-01-09 21:30:24 -06:00
angelblue05
86caf21af4 HEVC transcode
Still waiting on user feedback on this one.
2016-01-09 21:25:17 -06:00
angelblue05
b465fe5c08 Revert "Add HEVC transcode setting"
This reverts commit 86f4039b89.
2016-01-09 21:11:11 -06:00
angelblue05
86f4039b89 Add HEVC transcode setting 2016-01-09 19:41:00 -06:00
tomkat83
b6128fe48c Merge conflict 2016-01-09 16:18:57 +01:00
tomkat83
7e09253477 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-09 16:18:04 +01:00
tomkat83
5da6b4153e TV shows sync v0.1 2016-01-09 16:14:02 +01:00
angelblue05
950ae74939 Undo useless changes to music
The problem was in Items class, not the Music class.
2016-01-09 05:13:17 -06:00
angelblue05
f99efb2a83 Add settings monitor
Prompt for reset if playback mode change is detected
2016-01-09 04:53:04 -06:00
angelblue05
b61b8ae894 Failsafe incase view is named after existing tag
After the initial sync already completed.
2016-01-09 03:03:39 -06:00
angelblue05
77dd006f21 1.1.72 - Fix typo 2016-01-08 20:13:52 -06:00
angelblue05
222f6e06cb Open music cursor for albumartist 2016-01-08 12:56:21 -06:00
angelblue05
b11e9c2902 Fix grouped view 2016-01-08 12:25:22 -06:00
tomkat83
b3f588fd71 Fixed int instead of str in ThreadedShowSyncInfo() 2016-01-07 20:36:20 +01:00
tomkat83
194467091a Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-07 20:32:48 +01:00
tomkat83
81f4b514fa New abstract function GetAndProcessXMLs() to be called by all itemtypes while syncing 2016-01-07 20:31:25 +01:00
tomkat83
8c18879271 Switch to threaded Movie metadata processing 2016-01-07 17:27:48 +01:00
marcelveldt
fc810f7b32 fix extrafanart issues 2016-01-06 23:22:10 +01:00
shaun
5ce7e3407d fix video node window path 2016-01-06 20:08:16 +11:00
marcelveldt
6adc422936 fix next episodes emby node 2016-01-06 08:59:41 +01:00
marcelveldt
9468adfbe3 fix smart shortcuts compatability 2016-01-06 08:51:46 +01:00
tomkat83
e86b8c2358 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-05 17:28:27 +01:00
tomkat83
cef41188e0 Movies now direct playing. Trailers playing but always transcoding 2016-01-05 16:05:20 +01:00
angelblue05
ade63ae22f Fix typo and remove default value for network creds 2016-01-04 23:06:47 -06:00
angelblue05
2c7a0c0b65 Define the music cursor
Make sure we use the proper cursor for music when using the incremental
sync. Fix for artist table not found database error.
2016-01-04 21:58:45 -06:00
angelblue05
22f71efaf5 Fix view order bug
Make sure we get the default grouped view and not a view, when we are
looking at grouped folders.
2016-01-04 21:48:30 -06:00
tomkat83
93ad4ae0cb Movie with multiple parts now working 2016-01-03 19:17:59 +01:00
tomkat83
1970e00b16 Playbackutils now cycles correctly over XML reply; trailers thus working 2016-01-03 15:41:12 +01:00
tomkat83
7f9dfca2d6 Trailers up. BUT: first trailer is repeated indefinitely 2016-01-03 13:36:00 +01:00
tomkat83
e0ccaf16ad Fix getting Metadata for streaming 2016-01-02 09:28:31 +01:00
tomkat83
3e1d3ff1cc Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-02 08:58:13 +01:00
angelblue05
84532ce3f8 Remove "!" from prompts 2016-01-01 23:38:26 -06:00
angelblue05
77de12bec8 Fix albums with same name 2016-01-01 23:24:28 -06:00
tomkat83
a134259cb5 Fix resume and runtime 2016-01-01 20:36:02 +01:00
tomkat83
5c3605ddd1 Less logs if movie diff found 2016-01-01 15:07:45 +01:00
tomkat83
5c35ce651b Add Addonname to user selection dialog 2016-01-01 14:50:51 +01:00
tomkat83
bc65b6082d Direct playing movie works 2016-01-01 14:40:40 +01:00
angelblue05
227bb3eb42 Add fix for missing key 2015-12-31 22:19:36 -06:00
angelblue05
7a19f010dc Correct reversed settings 2015-12-31 17:16:16 -06:00
tomkat83
681e57b350 Fix getting Stream metadata 2015-12-31 12:46:41 +01:00
tomkat83
927c8bf36f Sped up sync 2015-12-31 11:42:10 +01:00
tomkat83
9ad059e31f Merge remote-tracking branch 'MediaBrowser/master' 2015-12-31 10:55:08 +01:00
tomkat83
3fe10ba851 Switched metadata processing from JSON to XML 2015-12-31 10:53:22 +01:00
angelblue05
8b2bd3e30b Forgot to add filters
For collections and trailers
2015-12-30 21:39:10 -06:00
tomkat83
f2294569e6 Syncing Movie pictures now finally works
Had to add Plex credentials to URL
2015-12-30 16:37:30 +01:00
tomkat83
1e7acfc927 Moving getallartworks to PlexAPI 2015-12-30 15:57:55 +01:00
tomkat83
5ea126624c Merge 2015-12-30 13:42:37 +01:00
tomkat83
25f5d65343 Movie sync working. 2015-12-30 13:25:37 +01:00
angelblue05
39ac41647e Fix AirsAfterSeason 2015-12-30 03:21:49 -06:00
angelblue05
08354b693e Fix specials ordering 2015-12-29 19:32:41 -06:00
angelblue05
50c71c70d4 Fix update music 2015-12-29 17:46:42 -06:00
tomkat83
54a20f0b13 Before recoding Plexmovies function 2015-12-29 14:13:32 +01:00
tomkat83
1b254fdd37 Fix missing to ask for Plex username 2015-12-29 10:50:50 +01:00
tomkat83
d82774cfa9 Small fixes 2015-12-29 10:36:16 +01:00
tomkat83
a64e0cea2d Websocket URL 2015-12-29 08:38:51 +01:00
tomkat83
8214a858bc Merge remote-tracking branch 'MediaBrowser/master' 2015-12-29 07:24:51 +01:00
angelblue05
18c493909d Fix encoding for nodes 2015-12-28 17:58:01 -06:00
tomkat83
88f649d36d Movie Sync Alpha version 2015-12-28 18:47:16 +01:00
tomkat83
488c1a0a19 Merge remote-tracking branch 'MediaBrowser/master' 2015-12-28 13:13:26 +01:00
tomkat83
43765a6675 Fixes 2015-12-28 13:10:05 +01:00
tomkat83
ce6a9ca926 Fix getting user artwork 2015-12-28 11:04:28 +01:00
angelblue05
445469302f Fix delete
Remove verification - option is only for deletion after playback.
2015-12-28 03:54:46 -06:00
tomkat83
92eac70c0b Small fixes user authorization 2015-12-28 10:35:27 +01:00
tomkat83
8604fab2d4 Fixes to loading user 2015-12-28 09:17:17 +01:00
tomkat83
557c3f03a1 Code for Plex home not being used (1 user only) 2015-12-28 09:00:43 +01:00
tomkat83
d6ef04a1ce Merge remote-tracking branch 'MediaBrowser/master' 2015-12-28 08:40:34 +01:00
angelblue05
e4fb2de7c2 Prevent deleting artwork during initial sync 2015-12-27 22:51:47 -06:00
angelblue05
a7131c2867 Correct typo 2015-12-27 22:47:49 -06:00
angelblue05
601f578892 Fix dialog 2015-12-27 17:06:50 -06:00
angelblue05
e475d3366d Fix transcode h265 2015-12-27 17:04:40 -06:00
tomkat83
48a248ff59 Plex home user authentication done! 2015-12-27 17:12:46 +01:00
tomkat83
6ea38c7dfb Start user authentication 2015-12-27 16:27:49 +01:00
tomkat83
b8395b8396 Get user details AFTER other settings 2015-12-27 15:12:56 +01:00
tomkat83
f53e7e0ac2 Fix username adding (admin) 2015-12-27 14:45:51 +01:00
tomkat83
dd1e873b20 Choose Plex user. Connection fixes 2015-12-27 14:42:54 +01:00
tomkat83
01f4833042 Allow for http type "OPTIONS" 2015-12-27 13:56:07 +01:00
tomkat83
4667e4ed64 No uppercase addon name. That's ugly 2015-12-27 13:51:13 +01:00
tomkat83
6c40455ac6 Trying to fix SSL issues. Seems to be a Kodi request issue for very first calls?!?
still get "[Errno 8] _ssl.c:510: EOF occurred in violation of protocol"
2015-12-27 13:20:53 +01:00
tomkat83
2d84c39be5 added getServerId to allow for Plex machineIdentifier 2015-12-27 12:23:59 +01:00
tomkat83
72b3b49b6e brought downloadutils.py up to speed 2015-12-27 12:21:25 +01:00
tomkat83
ed1915ec7e Get plex login in initialsetup.py 2015-12-27 12:14:06 +01:00
tomkat83
e6db2e1b96 Added PlexAPI.py. Adjusted settings.xml 2015-12-27 12:09:07 +01:00
tomkat83
962fe6c605 Renamed to plugin.video.plexkodiconnect. Adjusted addon.xml 2015-12-27 11:49:14 +01:00
angelblue05
a116db491c Add limit to request from server 2015-12-27 01:05:51 -06:00
angelblue05
493459de33 Fix artwork cache
Still looking into the delay with extra fanart scenario
2015-12-26 20:07:13 -06:00
angelblue05
f472f44a40 Fix missing import 2015-12-26 17:50:38 -06:00
angelblue05
0b6b5861c7 Fix missing pdialog 2015-12-26 16:23:29 -06:00
angelblue05
c125414991 Correct path for deviceid 2015-12-26 12:39:54 -06:00
angelblue05
8d219b64b3 Revert "Correct path for deviceid"
This reverts commit 67c4c33a5b.
2015-12-26 12:29:38 -06:00
angelblue05
67c4c33a5b Correct path for deviceid 2015-12-26 12:19:42 -06:00
angelblue05
a5e9fb1698 Add force refresh playlist
To correct missing tag bug.
2015-12-26 03:42:13 -06:00
angelblue05
7b3aae2d83 Fix fanart 2015-12-26 03:09:47 -06:00
angelblue05
7b2d67a8bf Fix typo 2015-12-26 01:50:32 -06:00
angelblue05
47976c81be Fix typo 2015-12-26 01:22:25 -06:00
angelblue05
8f8cdbaa88 Fix typo 2015-12-25 21:56:15 -06:00
angelblue05
0e78089aad Fix people
Scenario where actor doesn't have a role defined in the metadata.
2015-12-25 21:41:28 -06:00
angelblue05
9959806f5b Fix boxset 2015-12-25 21:36:46 -06:00
angelblue05
a7a82f4ebb Fix AR 2015-12-24 18:02:31 -06:00
angelblue05
17913241a1 Fix trailer 2015-12-24 16:45:18 -06:00
angelblue05
0e15daa37a Fix user image 2015-12-24 16:16:58 -06:00
angelblue05
163881e79f Fix typo 2015-12-24 15:16:47 -06:00
angelblue05
3007f8fdac Fix typo 2015-12-24 15:07:06 -06:00
angelblue05
69884a1b54 Readd with lowercase name 2015-12-24 14:07:00 -06:00
angelblue05
9855ac4c94 Remove to readd 2015-12-24 14:06:31 -06:00
angelblue05
08f9add813 Revert "Replace"
This reverts commit f28c9fe069.
2015-12-24 13:56:11 -06:00
angelblue05
f28c9fe069 Replace
Seems I have to rename the filename to lowercase manually.
2015-12-24 13:54:34 -06:00
angelblue05
3f6fe0a9e7 Version 1.1.63
alpha ready for beta testing
2015-12-24 13:51:47 -06:00
angelblue05
0200df3225 Fix key error 2015-12-05 19:43:41 -06:00
marcelveldt
7b9a601735 fix issue with nextepisodes node tag filter 2015-12-04 11:10:11 +01:00
angelblue05
9f7f81fd55 Correct typo 2015-12-02 16:55:20 -06:00
angelblue05
3384124f9c Adjust delete cached artwork
If fails, move on instead.
2015-12-02 16:51:30 -06:00
angelblue05
73d3974e39 Convert Force transcode to an option
Only for 1080p/H265
2015-12-02 16:47:07 -06:00
angelblue05
d07816d7fb Correct typo 2015-12-02 05:00:00 -06:00
angelblue05
d57f8ddde3 Force transcode 1080p/h265 2015-12-02 04:58:20 -06:00
angelblue05
988d62c9ac Fix cursor staying open after marking as watched 2015-12-01 00:53:59 -06:00
angelblue05
4e2cd67946 Fix for connection
In case status is good, but server is unreachable.
2015-11-25 17:20:06 -06:00
Shaun
fc8c41ccf3 remove some save last sync calls 2015-11-24 15:20:12 +11:00
marcelveldt
3e1efdf824 add recommended and random nodes 2015-11-23 18:45:42 +01:00
Shaun
3c9aa10587 add messaging to sync thread exit 2015-11-20 13:52:06 +11:00
angelblue05
faa376a520 Version bump 1.1.60
Stable release
2015-11-12 16:32:02 -06:00
angelblue05
66a9a85fc4 Direct path setup
Add a caution note.
2015-11-09 21:01:31 -06:00
angelblue05
7dbc1339bb Fix directors 2015-11-09 19:59:45 -06:00
angelblue05
4da967a65c fix sources.xml
argument not available on older python versions
2015-11-08 08:31:49 -06:00
angelblue05
3431b5d28d Use fallback artists
If album artists is missing
2015-11-08 05:42:53 -06:00
angelblue05
6156557b7d Follow kodi track# convention
disc#*2**16 + track#
2015-11-08 00:20:40 -06:00
angelblue05
9f4584d83f Fix albumartist 2015-11-06 22:40:08 -06:00
angelblue05
d03d24d078 Making sync process more robust
Central commit, central force update kodi library. This is to make sure
we don't have a kodi videoscan running at the same time as our syncing
process, in order to prevent the dreaded "database is locked" error.
2015-11-05 21:11:42 -06:00
angelblue05
5a39208aa3 Correcting sources
With elementetree instead
2015-11-03 07:22:03 -06:00
im85288
c10cee3cb3 jarvis music db bump 2015-11-03 11:07:31 +00:00
angelblue05
158008415f Prevent invalid paths
Strm file scenario
2015-11-03 02:27:59 -06:00
angelblue05
6ba664037e Adjust new ask to play trailer setting
Ask only if there should be trailers to be played.
2015-10-26 08:49:13 -05:00
marcelveldt
a5562e896b fix crash on playback when music sync is not enabled 2015-10-25 02:13:13 +02:00
marcelveldt
4c43139765 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-10-24 10:53:59 +02:00
angelblue05
d5c1bec4c6 Add music video artist link 2015-10-23 20:00:34 -05:00
marcelveldt
6950505341 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-10-23 21:06:55 +02:00
marcelveldt
138a495906 close handle to file 2015-10-23 21:06:35 +02:00
angelblue05
dbf6a350c7 Fix direct path
By the time the initial setup went thru, the class was already loaded.
Instead, load the settings in the instance.
2015-10-23 02:21:12 -05:00
angelblue05
bcee7dde76 First try at fixing singles issue for music 2015-10-23 01:45:52 -05:00
angelblue05
1893e79014 Add option to ask to play trailers 2015-10-22 23:09:01 -05:00
angelblue05
22b62133eb Kodi database scan
Prevent writing to database when the kodi database scan is running.
2015-10-22 21:55:32 -05:00
angelblue05
540745e24a Fix kodi exception
For music report playback, verify that the type we are about to process
is actually a song, otherwise we get a lot of exceptions that file is
not playing.
2015-10-22 19:46:29 -05:00
angelblue05
56ef721836 Fix artwork for albums
Boxrear is poster, primary is thumb instead of primary being thumb and
poster and boxrear is poster.
2015-10-22 17:49:38 -05:00
angelblue05
d0bf205331 Database warning
Warn the user visually of the database not found error.
2015-10-21 22:44:40 -05:00
angelblue05
6a9eddd413 Fix unicode error
Since we are not using self.logMsg, this is needed incase the path
contains unicode characters (window username)
2015-10-21 16:30:52 -05:00
angelblue05
ca2b2745db Take into account coverart settings
To disable coverart
2015-10-21 02:40:02 -05:00
angelblue05
54f39fa58e Support report playback for music 2015-10-20 04:18:13 -05:00
angelblue05
a0347ce03d Fix error for playback report
Take into account TypeError (nonetype), depending on the player used, it
might not return a result.
2015-10-19 00:40:19 -05:00
angelblue05
6849c22414 Support emby tags for music videos 2015-10-18 21:15:49 -05:00
angelblue05
069379ae59 Studios modification
Kodi only takes in one studio to display the studio logo. All of the
studios are still process, but only the first one will be added in the
movie table.
2015-10-18 20:54:57 -05:00
im85288
5a481e7779 jarvis music db bump 2015-10-18 14:17:13 +01:00
angelblue05
a841b68ee0 Ignore channels
Now that they are being integrated in views
2015-10-17 18:22:41 -05:00
angelblue05
eabf94623a Allow dateAdded to be updated
For movies, music videos, episodes.
2015-10-16 17:38:25 -05:00
angelblue05
a3d7369576 Disable warning in downloadutils
For insecure ssl connections
2015-10-15 17:11:44 -05:00
angelblue05
0295291450 Fix missing argument 2015-10-15 16:47:45 -05:00
im85288
79e79eddd1 Set and Clear additional user images for use in skins 2015-10-14 19:58:32 +01:00
angelblue05
e781e9e02d Add parent album to artwork
For parent images
2015-10-14 08:46:46 -05:00
angelblue05
d8ae0b695c Fix typo 2015-10-13 12:22:22 -05:00
angelblue05
46d8c1d4c2 Extend the artwork method
To grab parent artwork
2015-10-13 10:40:21 -05:00
angelblue05
13501b42d1 Adding support for Boxrear artwork
For albums.
2015-10-13 06:42:15 -05:00
angelblue05
b7cf3bc15a Fix for missing fanart for albums
Re-added old method for fanart specifically.
2015-10-13 06:24:23 -05:00
angelblue05
5a2b8b7cfd Fix delete settings 2015-10-13 05:41:28 -05:00
angelblue05
582949e79c Fix error caused by idSeason
Will properly skip the episode in the event the actual season is missing
it's number.
2015-10-13 05:05:03 -05:00
angelblue05
48654801e5 Fix double report progress
Removed stack implementation. Working with playlist and setresolvedurl.
2015-10-13 03:00:32 -05:00
xnappo
9970a770c4 Add check for season 0 as server now returns this 2015-10-12 13:45:23 -05:00
angelblue05
32ad6cf684 Fix for collections
Filter out trailers channel
2015-10-12 12:44:20 -05:00
angelblue05
0fd88210b4 Fix syntax causing error on Android 2015-10-12 12:22:51 -05:00
angelblue05
4061d0b7e9 Fix lag at start up
Prevent lag before displaying welcome message.
2015-10-12 11:31:02 -05:00
angelblue05
ddd334f285 Fix playback
Intros, additional parts, playlists should now be fully functional... I
hope...
2015-10-12 11:20:50 -05:00
im85288
dfedf545ba allow option to select direct paths at startup 2015-10-12 16:29:05 +01:00
angelblue05
2d636d5b2d Fix artwork
Prevent artwork type not supported from syncing
2015-10-11 23:41:55 -05:00
im85288
75a877ee9e jarvis support 2015-10-11 23:50:46 +01:00
im85288
45a840e12e jarvis support 2015-10-11 22:03:59 +01:00
angelblue05
d5f3db078f Readjust playback using playlists
Instead of fighting against Kodi, work with already set playlist and
adding items to it. Added extra comments to help understand.
2015-10-11 09:25:10 -05:00
angelblue05
5f3f45e404 Fix playcount 2015-10-08 20:11:06 -05:00
angelblue05
06ad9ab18c New artwork method implement
Old method still available for backward compatibility
2015-10-08 04:18:56 -05:00
angelblue05
6c4242abeb Revert "Update artwork method"
This reverts commit 3928b3edb7.
2015-10-07 19:49:18 -05:00
angelblue05
3928b3edb7 Update artwork method
In preparation for extra fanart
2015-10-07 19:39:30 -05:00
angelblue05
91396d84e8 Preparation for new artwork method
Moved to cache texture to limit duplicated methods (video and music).
Update backdrop instantly, should not cause any issues this time since
it only triggers if the url is different than the new one.
2015-10-05 06:02:43 -05:00
angelblue05
3605a48933 Fix for tv show is not found on server
When processing episodes, if the show failed to be added.
2015-10-04 06:40:39 -05:00
angelblue05
7d9fe89806 Prevent double marking as watched
Also removed the mark watched at: % setting. It is controlled by the
server itself.
2015-10-04 06:05:31 -05:00
angelblue05
43494ec053 getAllArtwork
Get all the artwork for an item at once.
2015-10-03 03:41:39 -05:00
angelblue05
8f75f96909 Fix typo 2015-10-02 19:28:32 -05:00
angelblue05
5d74dcedc4 Fix to follow emby views
To follow "my views" presentation
2015-10-02 02:08:21 -05:00
angelblue05
fe5ae9386a Support Emby tags 2015-10-01 22:30:11 -05:00
angelblue05
4ab6991968 Transcode revision, stack files, playback cleanup 2015-10-01 08:08:34 -05:00
angelblue05
0294957d14 Studios convert to Kodi compatible studios 2015-10-01 03:13:39 -05:00
angelblue05
86c4db78f9 Change dialog to notification for direct play
Still allow for playback, while letting the user know.
2015-09-30 18:19:34 -05:00
im85288
9cb84906b1 Merge remote-tracking branch 'origin/master' 2015-09-27 22:06:30 +01:00
im85288
0c0832421b rotten tomatoes removed 2015-09-27 22:06:22 +01:00
angelblue05
3954cdddd0 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-09-26 17:09:57 -05:00
angelblue05
142c5cad01 DTS-HD MA fix 2015-09-26 17:09:53 -05:00
im85288
dac614b284 video db bumped to version 97 for jarvis 2015-09-26 11:25:11 +01:00
angelblue05
a39784cb81 Fix profile switch v2
Make sure the threads are terminated correctly. This time, verify the
profile before anything else.
2015-09-24 06:59:26 -05:00
angelblue05
e0343891af Revert "Fix profile switching"
This reverts commit 0e61825579.
2015-09-24 06:48:43 -05:00
angelblue05
0e61825579 Fix profile switching
Make sure the threads are properly terminated.
2015-09-24 06:16:19 -05:00
angelblue05
9d86604800 Support strm file playback regardless of method 2015-09-17 16:00:58 -05:00
angelblue05
cb9aeebd3d Fix music in initial set up wizard
Reverse the logic since music is enabled by default.
2015-09-16 16:12:42 -05:00
angelblue05
1c4bf024fb Fix for intro
Not very pretty but this should prevent loop when enabling intros
2015-09-16 11:57:08 -05:00
angelblue05
05e421415f Revert "Fix for intro"
This reverts commit 773fa19762.
2015-09-16 11:29:51 -05:00
angelblue05
df685030d3 Revert "Final fix for intros"
This reverts commit 97d4a99897.
2015-09-16 11:29:39 -05:00
angelblue05
97d4a99897 Final fix for intros 2015-09-16 10:28:22 -05:00
angelblue05
3a7afedb6c Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-09-16 10:07:34 -05:00
angelblue05
773fa19762 Fix for intro 2015-09-16 10:07:30 -05:00
im85288
c5d5e87574 drop emby only if it exists...which should be most of the time :) 2015-09-16 16:00:54 +01:00
im85288
84096ad022 fix playback intros 2015-09-16 15:52:54 +01:00
im85288
3a392ce27f assure to drop emby table on reset 2015-09-16 09:52:48 +01:00
im85288
0a6dd94eff add library monitor to assist with embyskinhelper for data such as critcrating etc 2015-09-15 18:03:52 +01:00
angelblue05
0546dcc2f6 Move database log line
So it only prints one time.
2015-09-15 11:26:32 -05:00
angelblue05
ea941ed6b4 Fix for add people 2015-09-15 07:48:42 -05:00
xnappo
5496cb0667 Switch to local code for version check 2015-09-10 21:27:36 -05:00
im85288
b0592d3b02 support new jarvis version of music db 54 2015-09-10 17:16:18 +01:00
angelblue05
c92454bb92 Support mixed content and undefined collection
Undefined collection - when rich presentation is disabled.
2015-09-08 13:36:49 -05:00
angelblue05
09966b25bb Option to sync specials ordering
False by default, since not everyone likes displaying them within
seasons.
2015-09-07 10:30:25 -05:00
angelblue05
c698e39bb2 Prevent loop if user decides not to reset db yet 2015-09-07 04:12:28 -05:00
xnappo
5592429863 Missed a line at merge 2015-09-06 12:32:07 -05:00
xnappo
76bec3e846 Add library version tracking 2015-09-06 12:28:00 -05:00
shaun
2b9e352d72 user server time, add max items setting 2015-09-06 15:44:23 +10:00
im85288
5a5ff2871c bumped video db version for Jarvis 2015-09-05 10:56:00 +01:00
shaun
b923eed55d move data access to inside the try 2015-09-05 18:35:46 +10:00
angelblue05
3591d085af Follow up fix for encoding 2015-09-05 02:18:24 -05:00
Shaun
53cc2c9c74 ad some limits to the inc sync counts atm its 1K 2015-09-05 16:58:39 +10:00
angelblue05
30ea23aea0 Fix for externalsubs - direct paths 2015-09-02 23:00:29 -05:00
im85288
0eee08f0bd bumped video db version for Jarvis 2015-09-01 19:20:18 +01:00
Shaun
fc0442e0ed remove all movies from box set before updating to cacth movies that have been removed
only sync box sets that have changed for inc sync
2015-09-01 23:02:55 +10:00
angelblue05
63bba9d450 Fix for new rating
UR - Not rated
2015-08-31 22:13:42 -05:00
angelblue05
efd6b95408 Fix for dialog error when 401 2015-08-30 20:17:09 -05:00
angelblue05
67e2256c62 Change logging level for database checks 2015-08-28 03:13:06 -05:00
angelblue05
fc1344b7da Add option to sync empty tv shows 2015-08-25 22:21:31 -05:00
angelblue05
de9fe79ab8 Add setup dialog
For music - to enable and if direct stream should be used.
2015-08-24 06:44:23 -05:00
angelblue05
1691fd5e8b External subtitles
Add external subtitles as tracks for direct play and direct stream.
Important to note, when direct streaming, the tracks are defined as
Unknown(external). There's no way to correct this.
2015-08-24 05:55:37 -05:00
angelblue05
475a671d08 Set central window property
Always have the latest properties and will clean up the code. Will
centralize the rest of the code a bit later.
2015-08-24 02:39:19 -05:00
angelblue05
e09c209a6b Music library
make it seemless - dependant on alternate ip to be enabled to add
pathsubstitution.
2015-08-22 11:17:54 -05:00
angelblue05
64e413b9d1 Fix db not scanning in after reset
Only affected by reset via add-on settings. Because the settings dialog
is open, when it closes, it overwrites every settings. So in order to
prevent this, close any dialogs open before the reset actually happens.
2015-08-22 04:22:57 -05:00
angelblue05
41fa61ada9 Revert "Take into account item type for direct stream"
This reverts commit 53fbbffa75.
2015-08-20 20:51:54 -05:00
angelblue05
afa582057a Revert "Music library - remote"
This reverts commit 88632dad60.
2015-08-20 20:51:47 -05:00
angelblue05
53fbbffa75 Take into account item type for direct stream
Video and audio
2015-08-20 09:15:37 -05:00
angelblue05
e24d982c36 Prevent errors in reporting to server
For other media that are not movies and tv shows.
2015-08-20 07:27:29 -05:00
angelblue05
88632dad60 Music library - remote
Trying strm files to still have plugin paths. Will require restart
because I've added a new column to hold the full path for strm in the
event we need to delete them.
2015-08-20 06:42:40 -05:00
angelblue05
eae370c33f Fix for transcoding
Using AC3 instead of AAC because the sound quality was very degraded
with higher audio channels.
2015-08-19 08:26:03 -05:00
angelblue05
c3e70602c5 Fix potential local reference error 2015-08-18 23:40:03 -05:00
angelblue05
888e5f2989 Fix for userdata
Forgot the music check for the database check.
2015-08-17 18:24:07 -05:00
angelblue05
f290372c5d Added permanent users
When starting the Kodi session, will automatically add users to the
session.
2015-08-15 00:20:06 -05:00
angelblue05
db45faed24 Add userdata update only for music
Only songs have playcount and lastplayed
2015-08-14 22:16:38 -05:00
shaun
f87cdae256 add progress dialog to inc sync 2015-08-15 12:00:21 +10:00
angelblue05
0da02868c2 Comment out music userdata
Not ready yet, forgot to exclude it.
2015-08-14 05:33:40 -05:00
angelblue05
2e2448b823 Revert "Comment out music userdata as it's not ready yet."
This reverts commit 5b81da2d96.
2015-08-14 05:32:11 -05:00
angelblue05
5b81da2d96 Comment out music userdata as it's not ready yet. 2015-08-14 05:30:43 -05:00
angelblue05
c0f9948cf5 Convert settings to utils method for addon settings 2015-08-14 04:03:12 -05:00
angelblue05
811e91a0b5 In prep for userdata only modification
Speed up the process. Waiting for the insertion of the kodi_file_id in
the emby database table.
2015-08-12 05:18:07 -05:00
angelblue05
40b381de94 Set up for central addon settings
Please start using it for new methods. I will take care of changing
older ones.
2015-08-12 04:59:05 -05:00
Shaun
05be6eaa07 Move last sync run save time to after the updates happen 2015-08-11 09:14:22 +10:00
angelblue05
232e2d98ed Fix bug in incremental
Due to changes in parameter, requires the full item instead of the
itemId.
2015-08-09 21:18:26 -05:00
im85288
6ffd7fb491 added user image property for skins to use 2015-08-09 16:44:02 +01:00
angelblue05
1660a29e68 Improve network quality logging 2015-08-08 10:11:41 -05:00
angelblue05
2fc282175d Improve logging 2015-08-08 08:15:05 -05:00
angelblue05
7c4ea6ecea Quick follow up for mpaa
Incase other rating contain the NR. To avoid mix ups.
2015-08-08 07:18:53 -05:00
angelblue05
fee8b958de Adjust mpaa rating and quick fix for ratio 2015-08-08 07:16:51 -05:00
angelblue05
ef927d6b3b Metadata aspect ratio
Take it into consideration
2015-08-08 03:57:04 -05:00
angelblue05
ec6daa3a87 Fix playback key error
For real this time.
2015-08-07 22:29:27 -05:00
angelblue05
e7335b05a0 Fix error caused when starting from widget
.get to avoid key error. Didn't think about the playback error from
widgets.
2015-08-06 21:30:15 -05:00
Marcel van der Veldt
3b9d1ac02f Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-08-06 13:01:49 +02:00
Marcel van der Veldt
aacd72486e fixed nextepisodes updating by removing the caching 2015-08-06 13:01:33 +02:00
angelblue05
ecaaa11deb Added audio/sub selection for transcoding
Also fixed transcoding not terminating as it should and leaving the
ffmpeg running.
2015-08-06 03:09:45 -05:00
angelblue05
68245268ba Quick follow up
Account for when subtitles are disabled.
2015-08-05 23:56:47 -05:00
angelblue05
08285df00f Revert "Quick follow up"
This reverts commit 567da0114e.
2015-08-05 23:55:55 -05:00
angelblue05
567da0114e Quick follow up
Account for when subtitles are disabled.
2015-08-05 23:55:20 -05:00
angelblue05
abe60aa3b8 Added remote control - audio and subtitle streams
Fix the index of streams to properly reflect the correct ones.
2015-08-05 23:30:33 -05:00
Marcel van der Veldt
c7c35fd442 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-08-05 15:05:58 +02:00
Marcel van der Veldt
8e3eba858d fix extrafanart retrieval 2015-08-05 15:05:37 +02:00
Shaun
72ff484777 use new date param 2015-08-05 19:44:18 +10:00
angelblue05
e972ae2729 Clean up + encoding utf-8
Added message when server is restarting. Optional.
2015-08-05 03:40:54 -05:00
xnappo
7e281ecf13 Still allow full manual sync 2015-08-04 09:17:41 -05:00
angelblue05
021261617e Add season fanart 2015-08-04 04:45:26 -05:00
angelblue05
5dd607f6d2 Albums fix for latest added
Sort by date created so the result is the same as the server.
2015-08-04 03:45:23 -05:00
angelblue05
de0690833e Follow up - apply limit to the artists and albums 2015-08-04 02:12:58 -05:00
angelblue05
59aaa4d42b First attempt at fixing music
Pull the list of songs in batch of 200 items to prevent timeouts.
2015-08-04 01:07:39 -05:00
angelblue05
94055c952c Restore the 50 ids limit 2015-08-03 23:04:34 -05:00
angelblue05
a243b50f87 Revert itemtype change
Since .getItem no longer returns None but returns an empty dictionary.
2015-08-03 04:59:39 -05:00
angelblue05
3aa2598c79 Fix nodes - forgot the encoding
Also replace none with empty dictionary for getItem
2015-08-03 04:45:23 -05:00
shaun
d548ab6e27 add url encoding to time stamp 2015-08-03 18:36:35 +10:00
angelblue05
560abbcc5d Created normalize method for video nodes only
Since no modification can happen to the theme naming.
2015-08-02 19:28:13 -05:00
Marcel van der Veldt
a7310dc634 normalize paths in videonode building 2015-08-03 01:52:47 +02:00
shaun
c3e2d88784 Merge remote-tracking branch 'origin/master'
Conflicts:
	resources/lib/LibrarySync.py
2015-08-02 19:23:54 +10:00
shaun
ac80632644 fix silly bug with addon setting not being setup soon enough 2015-08-02 19:16:55 +10:00
angelblue05
6ff953df55 Fix error 2015-08-02 03:59:41 -05:00
shaun
6df36cd6a3 always rebuild the nodes and create sources on a startup sync 2015-08-02 16:24:26 +10:00
xnappo
50d83dee7e error handling 2015-08-01 22:10:43 -05:00
xnappo
59b7080b33 Use query by Id list for <50 items 2015-08-01 12:03:17 -05:00
xnappo
084d1fb493 Don't use incremental sync on first run 2015-08-01 10:49:28 -05:00
shaun
327d790095 added the last time sync run (-5 min) 2015-08-01 12:21:01 +10:00
shaun
368c474ce9 use the user changes function to register for user changes at startup 2015-08-01 10:53:33 +10:00
Shaun
9903b8d53d first cut at using the new server plugin to do start up sync 2015-08-01 10:26:22 +10:00
angelblue05
90c7d68d15 Fix for aspect ratio 2015-07-31 16:13:32 -05:00
im85288
541f440853 duration fix for streamdetails 2015-07-31 21:17:05 +01:00
angelblue05
ec5ad7d762 Version bump 1.1.18
Convert audio dts-hd ma to dts, because Kodi doesn't recognize it.
2015-07-31 07:51:11 -05:00
angelblue05
8763654a6d Quick fix for mpeg without profiles
apply xvid flag by default.
2015-07-31 06:34:34 -05:00
Marcel van der Veldt
44ab16d1f0 fix for missinf ParentBackdropImageTags 2015-07-31 13:30:52 +02:00
Marcel van der Veldt
46918b914e fixes for music sync 2015-07-30 21:23:50 +02:00
angelblue05
f7605802d3 adjust log
so users can understand there's no season number assigned.
2015-07-28 20:08:13 -05:00
angelblue05
32f239c2d8 Prevent error in the event the type is not yet defined
I saw the error, if the item is added to the server and there's no type
assigned yet while the server finishes up the library scan.
2015-07-28 20:03:05 -05:00
Marcel van der Veldt
f7c25be2b1 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-07-29 02:52:14 +02:00
Marcel van der Veldt
619ea2d876 fix for playcount sync 2015-07-29 02:51:57 +02:00
angelblue05
4f677ea310 Aspect ratio fix
Handle missing aspect ratio with closest value. Also defined codecs such
as dvix, xvid and avc1.
2015-07-28 01:43:15 -05:00
Marcel van der Veldt
2968638220 fixed strange bug in music sync 2015-07-28 02:29:21 +02:00
Marcel van der Veldt
62d9ae5b65 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-07-28 01:16:33 +02:00
Marcel van der Veldt
64b9594bb7 small fix for episode adds 2015-07-28 01:16:24 +02:00
angelblue05
2b79b471f0 Quick follow up music video section
Playcount returns an integer or None, using dateadded/created method in
API()
2015-07-27 17:58:43 -05:00
Marcel van der Veldt
d174f4793f fixes for the path changes
fixed issue with musicvideos sync
some small glitches resolved
2015-07-28 00:35:33 +02:00
Marcel van der Veldt
214dc1ed87 fixed issue with recently added episodes Entry
support for Kodi 16 in entrypoints creation
2015-07-27 19:41:01 +02:00
Marcel van der Veldt
9c639d47ca added profiling to default.py to measure speed improvements
added caching to nextup widget generation
2015-07-27 18:48:00 +02:00
angelblue05
6264090741 Adjustment for xvid and avc1
To test
2015-07-27 07:22:39 -05:00
angelblue05
cd618131e7 Fix for aspect ratio
Comparing to Kodi, seems to give the same results now.
2015-07-27 06:02:10 -05:00
angelblue05
929786302c Renamed sources to Emby. 2015-07-27 04:24:00 -05:00
angelblue05
e3a81da2a5 Correct the merging 2015-07-26 07:09:09 -05:00
angelblue05
076a998f67 Fix for nfs playback 2015-07-25 06:57:39 -05:00
angelblue05
5e5dd51be1 Correct typo 2015-07-25 00:13:09 -05:00
angelblue05
5ac746750e Fix log error 2015-07-24 22:49:20 -05:00
im85288
6e66f60331 added option to exclude theme videos on sync 2015-07-24 12:52:33 +01:00
im85288
7f21c61753 support for kodi jarvis 2015-07-24 12:29:41 +01:00
angelblue05
335035d6f2 Correct media flags 2015-07-24 02:52:36 -05:00
angelblue05
9d866f9fc9 Quick follow up
Including additional logging.
2015-07-23 04:02:41 -05:00
angelblue05
4a6c5c10ac Correction to the http dialog
However still unsure there's a bug. The only way the dialog will show up
is if xbmcvfs.exists() returned false. Still waiting for someone to post
a debug log.
2015-07-23 03:18:17 -05:00
angelblue05
097d48c2c4 Revert "Corrected the http dialog"
This reverts commit 5a87c90058.
2015-07-23 02:30:04 -05:00
angelblue05
5a87c90058 Corrected the http dialog
However still unsure there's a problem. The reason why the message pops
up is that xbmcvfs.exists() returned false. Still waiting on someone to
post debug.
2015-07-23 00:34:59 -05:00
angelblue05
1c5bbe0b71 Additional logging for the watched status
This in combination with the websocket message should be enough for us
to know where the problem lies.
2015-07-22 22:06:17 -05:00
angelblue05
682f9418af Fix playback play from http and remember error
Still waiting for someone to post a log to troubleshoot the actual play
from http issue some people seem to be experiencing.
2015-07-22 20:36:41 -05:00
im85288
542679a0f0 change music db to not have helix as default 2015-07-22 14:24:24 +01:00
angelblue05
2bfe377378 Clean up
Also fix settings not saving if reset was initiated.
2015-07-22 08:16:08 -05:00
angelblue05
56c261279c Cache image only when new or modified
Prevent caching image when it is unchanged.
2015-07-21 01:26:17 -05:00
angelblue05
c61a17d48d Resume fix
Forgot to remove old piece of code that interfered with resume point on
homescreen. Also added another verification to removed any Kodi created
bookmark as it messes with plugin paths bookmark.
2015-07-21 01:12:06 -05:00
angelblue05
cbebcbd818 Fix for the aspect ratio error
Missing default value to not fail at the if statement.
2015-07-20 20:26:40 -05:00
angelblue05
7f9f357e37 Fix for merge - part of 1.1.15
Still finding things that didn't follow in the merge... :(
2015-07-20 01:48:43 -05:00
angelblue05
9bb587bc66 Fix for merge - part of 1.1.15
Report playstate change when it happens.
2015-07-20 01:36:58 -05:00
angelblue05
60bc0bfcaf Quick follow up 2015-07-19 23:36:15 -05:00
angelblue05
1cda4ac30e Resume revert
Instead of seeking to position, now using setProperty('StartOffset') to
launch playback at the position we want.
2015-07-19 23:25:59 -05:00
angelblue05
4e7cbc56ba Fix for merge
Create sources, fix for user pref login bug, create a dummy bookmark for
homescreen, remove workaround for resume point
2015-07-19 20:35:14 -05:00
angelblue05
d974c4ed7c Fix getloglevel error that occurs sometimes
During fresh install where settings might not be created yet.
2015-07-18 04:07:58 -05:00
angelblue05
0c54257de6 fix for the merge that didn't follow
Media path fix, and clean up of writeKodiVideoDB. Fix for library sync
for deletes.
2015-07-18 03:08:05 -05:00
xnappo
3589c4b05d Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-07-15 18:39:05 -05:00
angelblue05
56deac31b3 Add support for cast order in Helix 2015-07-15 18:33:21 -05:00
xnappo
0e32e254e3 Merge branch 'clean-up' 2015-07-15 18:32:56 -05:00
im85288
708b042af6 fix cast order - isengard only 2015-07-15 21:05:12 +01:00
xnappo
0b9b5d3e64 Expand offer delete to movies (optionally) 2015-07-04 10:04:04 -05:00
angelblue05
851856eb52 Merge remote-tracking branch 'origin/master' into clean-up 2015-06-30 01:58:07 -05:00
angelblue05
26448574d4 Add default value for mediatype
The cover art should only affect primary posters for video library,
nothing else.
2015-06-29 13:14:54 -05:00
angelblue05
b6668ac6af Revert "Revert "Revert "Revert "Support alternate address""""
This reverts commit 62ea6b0eb8.
2015-06-29 11:45:03 -05:00
angelblue05
4e802623c3 Revert "Revert "First attempt at supporting cover art""
This reverts commit fadc3e0e49.
2015-06-29 11:44:55 -05:00
angelblue05
62ea6b0eb8 Revert "Revert "Revert "Support alternate address"""
This reverts commit 385c3cae7e.
2015-06-29 11:43:38 -05:00
angelblue05
fadc3e0e49 Revert "First attempt at supporting cover art"
This reverts commit c71e5eb293.
2015-06-29 11:43:29 -05:00
angelblue05
c71e5eb293 First attempt at supporting cover art
With option under Extras
2015-06-29 11:40:29 -05:00
angelblue05
385c3cae7e Revert "Revert "Support alternate address""
This reverts commit ef926f94e2.
2015-06-29 09:09:29 -05:00
angelblue05
ef926f94e2 Revert "Support alternate address"
This reverts commit 193ae44417.
2015-06-29 08:51:14 -05:00
angelblue05
9635d2f0d3 Revert "getdirectory error"
This reverts commit ff3041d104.
2015-06-29 07:39:45 -05:00
angelblue05
77bf9a7056 Merge remote-tracking branch 'origin/master' into clean-up 2015-06-28 22:10:37 -05:00
angelblue05
193ae44417 Support alternate address
For the same server, can switch from local to remote by enabling the
option.
2015-06-28 21:41:05 -05:00
angelblue05
5f9dc42950 Fix fail paste 2015-06-28 08:36:44 -05:00
angelblue05
986d60d370 remove reset of updateItem list 2015-06-28 08:33:58 -05:00
angelblue05
e3412912ac Move websocket library to library sync
This allows the websocket to properly communicate, since it's not busy
doing incremental syncs anymore.
2015-06-28 07:08:06 -05:00
angelblue05
dc3dbb202a Merge remote-tracking branch 'origin/master' into clean-up 2015-06-27 23:37:40 -05:00
angelblue05
e4647a90b2 Remove librarysync import
Prevent import error loop
2015-06-27 20:02:00 -05:00
angelblue05
00bf5434dc Fix season poster update
Caused incremental to freeze
2015-06-27 01:07:49 -05:00
Shaun
a1a2901e93 fix the movie addon path 2015-06-27 14:23:27 +10:00
shaun
5717aa8053 Fix the direct path handeling, if path has an issue dont add the item 2015-06-27 09:48:18 +10:00
angelblue05
ff3041d104 getdirectory error
modified script listing by setting folder=false (do not resolve with
listing).
2015-06-24 22:24:02 -05:00
im85288
42f8d91ace added a warn on sync where tvtunes cannot set the settings file. 2015-06-24 18:05:52 +01:00
Marcel van der Veldt
feb6c73fc3 fix texture cache stuff 2015-06-24 10:02:34 +02: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
b6f70fc5bf Attempt at fixing database locked
Hopefully close before cachetexture will fix the issue.
2015-06-23 20:14:38 -05:00
angelblue05
5f356b9147 Revert "Attempt at fixing database locked"
This reverts commit 0e7c8b5959.
2015-06-23 20:12:39 -05:00
angelblue05
0e7c8b5959 Attempt at fixing database locked
Hopefully, the close before cachetexture will fix the issue.
2015-06-23 19:43:51 -05:00
im85288
f946f7ba69 tv tunes now accepts both music/video themes in the same nfo 2015-06-22 20:18:00 +01:00
im85288
6e56d259d4 merged normalize string changes from tvtunes addon 2015-06-20 18:05:54 +01:00
im85288
5e53884030 re-added fix for unicodes 2015-06-20 16:28:52 +01:00
im85288
5e130bf6fd added theme video support 2015-06-20 15:59:00 +01:00
angelblue05
2abee11c6b Fix for unicode error
The normalize_string method needs utf-8 encoding, not unicode.
2015-06-19 09:02:29 -05:00
angelblue05
3118434c47 Watched status
Moved away from Json RPC for DB write instead.
2015-06-19 07:20:31 -05:00
angelblue05
142908d56d Force refresh fanart
The only thing cached into texture13.db I believe fanart was the last
thing that wasn't changing when modified in Emby.
2015-06-19 05:53:22 -05:00
angelblue05
ae07e1b4c6 another attempt at Theme music
For illegal characters - following the same pattern as TV Tunes to make
sure we match 100%
2015-06-19 03:10:41 -05:00
angelblue05
678efedd30 Change to theme music
Apparently CleanName is not CleanFileName... Using Kodi's built in
method instead.
2015-06-18 21:11:48 -05:00
angelblue05
83080815ba Revert db change 2015-06-18 05:42:57 -05:00
angelblue05
aa156a5a63 Add artwork to All-season
Turns out All-season is -1.
2015-06-18 05:10:49 -05:00
angelblue05
494e326413 Season artwork update
When changing artwork
2015-06-18 03:03:44 -05:00
angelblue05
9c1f8476aa Database follow up
When upgrading Kodi, it will leave the old database in the folder. As to
not conflict, use the higher database version number.
2015-06-17 21:34:45 -05:00
angelblue05
fc7916c69b Quick correction for youtube trailer 2015-06-17 03:19:08 -05:00
angelblue05
56c2c9aef2 Added tv tunes compatibility
Automatically set the proper path for tv tunes
2015-06-17 01:57:09 -05:00
angelblue05
7b041d8795 Fix for filename
using utils cleanname and encoding for special characters
2015-06-17 01:32:59 -05:00
angelblue05
079adfb619 Revert "Fix ratio poster"
This reverts commit 0dc19eb87f.
2015-06-17 01:13:21 -05:00
angelblue05
591214590e Added support for youtube trailers 2015-06-17 00:35:07 -05:00
angelblue05
874aab05d5 Revert "Added support for youtube trailers"
This reverts commit ac95b1ce23.
2015-06-17 00:32:10 -05:00
angelblue05
ac95b1ce23 Added support for youtube trailers 2015-06-17 00:26:12 -05:00
angelblue05
ce312bd2c8 Quick follow
To make sure it doesn't pick up the temp file Kodi creates which is the
same name as the database.
2015-06-16 21:27:50 -05:00
angelblue05
0b0d1aaacc Revert "Quick follow up"
This reverts commit 7f2610642b.
2015-06-16 21:11:50 -05:00
angelblue05
7f2610642b Quick follow up
Prevent from picking up the temp journal file Kodi creates.
2015-06-16 20:24:54 -05:00
angelblue05
3c1ce16da0 Use proper DB path
without guessing.
2015-06-16 19:32:42 -05:00
angelblue05
0dc19eb87f Fix ratio poster
1000*1500 Should be correct with and without cover art.
2015-06-16 18:39:12 -05:00
im85288
58ab6432f6 remove beta support and use latest as default so that future changes
hopefully are not needed
2015-06-16 20:38:36 +01:00
angelblue05
aa745f1fcc Put library sync in own thread
Reviewed service for utf-8
2015-06-16 00:53:01 -05:00
angelblue05
91b9d3167d Attempt at supporting Isengard Beta 2 2015-06-15 19:41:40 -05:00
angelblue05
cce246e106 Caused error with special chars 2015-06-15 13:42:34 -05:00
angelblue05
b68ef6df84 Disable audio-subs pref
Temporarily to re-work.
2015-06-13 17:54:48 -05:00
shaun
38c063ddc5 increase logging verbosity for WebSocket message errors 2015-06-13 11:22:51 +10:00
shaun
fd9c3d42d8 import WriteKodiMusicDB 2015-06-13 11:21:21 +10:00
shaun
5fa7387e99 with direct paths make sure a path was returned 2015-06-13 11:20:40 +10:00
im85288
d0325ba737 added stream language and subtitle language to streamdetails 2015-06-12 20:49:07 +01:00
Marcel van der Veldt
c71634d18c prevent errors on empty results 2015-06-12 10:02:11 +02:00
angelblue05
4d28f2a878 Follow up for audio subs pref 2015-06-11 03:17:48 -05:00
angelblue05
983978dc33 Support multiple theme songs 2015-06-11 01:59:44 -05:00
angelblue05
95558edd4e Quick follow up
Forgot the launch menu item.
2015-06-11 00:59:15 -05:00
angelblue05
a6497ce6c7 First attempt at supporting theme music 2015-06-11 00:46:47 -05:00
angelblue05
4d8b4b7ffa Fix bug
not working because it was missing ?format=json
so silly....
2015-06-09 15:09:55 -05:00
angelblue05
f547a4bb4c Fix bug 2015-06-09 05:43:48 -05:00
angelblue05
0dc4f91908 Audio and subs auto selection
Now supports Direct stream, Transcoding and Direct path
2015-06-09 05:30:01 -05:00
angelblue05
3fcdbe0bb8 Tweaking audio subs pref some more 2015-06-08 20:19:56 -05:00
angelblue05
ad6626c086 Refining
People seem to set invalid paths as path subs, this should allow direct
streaming to allow instead. To be tested.
2015-06-08 03:11:04 -05:00
angelblue05
cf17e957bb Quick follow up
The usual revision.
2015-06-08 02:31:13 -05:00
angelblue05
de928ec669 Audio and subtitles automatically set for playback
Currently only available for direct play. Unsure if this works with
direct paths. To find out.
2015-06-07 22:48:28 -05:00
im85288
75828e7eec fix for intros/cinema mode bug 2015-06-06 17:19:53 +01:00
im85288
033c2540e9 fix for logic when using preferences, it was saving all the time, now it
only saves when save is pressed
2015-06-06 14:08:39 +01:00
im85288
ad594ff472 user preferences 2015-06-06 12:05:14 +01:00
angelblue05
69064b4579 Officially fix the os.path.exists
By getting rid of it, and using xbmcvfs instead. Ha!
2015-06-06 01:06:33 -05:00
shaun
f5e80ac448 dont do the exists check when useDirectPaths is true 2015-06-06 11:55:11 +10:00
angelblue05
bef482c680 Changed back to encode
Will review why it works under Windows, but not any other platform... :)
2015-06-05 19:50:32 -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
im85288
8f8f39bb75 added support for intros 2015-06-05 15:46:17 +01:00
angelblue05
23e039fd43 In preparation of audio/subs pref 2015-06-05 06:57:57 -05:00
angelblue05
20ac3c9465 Log Level instant change
I grew tired of restarting Kodi everytime....so I made it so the log
level changes on the stop without restarting Kodi. Also removed NextUp
import and added the downloadUtils 200 response to help debug in the
future.
2015-06-05 05:12:09 -05:00
angelblue05
5f7f08079c Change logic for server online
Removed server offline from websocket. At least, until we can figure out
why the websocket constantly disconnect from the server for some users.
2015-06-04 05:37:10 -05:00
angelblue05
e37a55bc07 Fix unicode path
for os.path.exists path.decode('utf-8') does the trick. Fingers crossed.
2015-06-02 19:22:33 -05:00
angelblue05
073a83f592 Added logging for Direct play 2015-06-02 16:26:23 -05:00
im85288
4cbb648dc4 nextup info removed 2015-06-01 09:12:09 +01:00
im85288
44286e2764 moved out next up play logic to seperate addon 2015-06-01 01:16:55 +01: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
angelblue05
795430daff Websocket Server online check modification
This is in place, in the hopes to prevent a false "Server unreachable"
error, created by a random int is not be iterated. Will be revisited
once this elusive error is resolved.
2015-05-29 16:42:19 -05:00
xnappo
6a0b9a4934 Fix info for direct play with password on network 2015-05-28 09:57:15 -05:00
xnappo
1915e685b0 Fix non-direct TV show and Music video path 2015-05-28 06:53:07 -05:00
angelblue05
13e54b5a9e Mute logging 2015-05-26 22:42:14 -05:00
xnappo
f4ea4927c3 Minor fixes for direct path
Fix toplevel tvshows path so info screen shows
Some KodiMonitor fix from Shaun
2015-05-26 18:12:13 -05:00
xnappo
698e1edb02 Transcode path fix 2015-05-25 11:53:53 -05:00
xnappo
03cf43179a Added playback reporting for direct paths 2015-05-25 11:49:06 -05:00
xnappo
54a647d866 Option to use direct paths 2015-05-25 09:23:52 -05:00
angelblue05
c25c2fc1bb No longer necessary. 2015-05-24 23:29:42 -05:00
xnappo
bdea60fba3 Revert "First attempt - fix for slow playback start"
This reverts commit 9197e274d2.
2015-05-24 22:59:57 -05:00
angelblue05
ced36a8de5 Switch order for watched
I have been testing for the past two days. it seems to work better this
way.  That is until marcelveldt has time to go over this :) Thanks, and
I'm off!
2015-05-24 00:56:31 -05:00
angelblue05
9197e274d2 First attempt - fix for slow playback start
Removing the json call, might cause lock up on low end devices and/or
slow playback start.
2015-05-23 17:51:41 -05:00
angelblue05
703d7b3492 Prevented starting from beginning 2015-05-23 04:43:14 -05:00
im85288
801c08bd4d added votecount and tagline for movies 2015-05-23 01:23:36 +01:00
Joachim Davik
73beda7db6 Added Ignore Specials setting for Next Episodes 2015-05-22 10:33:39 +02:00
angelblue05
6582523c55 Added logging for websocket
No handlers could be found for logger "root" - this allows to see the
actual error.
2015-05-21 20:41:11 -05:00
angelblue05
45434f42ee Minor adjustment to API playcount
If Emby item is played but playcount is zero, instead import playcount
as 1 to match playstate.
2015-05-20 04:45:43 -05:00
xnappo
b556707ce6 Fix for multiple OnWake messages 2015-05-19 21:03:53 -05:00
angelblue05
d6a1a3e919 Minor adjustments
Added logging for netflix style next up and increased webclient message
time to 4 seconds instead of 2.
2015-05-18 17:21:07 -05:00
angelblue05
f3dfeb7653 Force playstate to appear immediately
Just incase there's something holding the process. To be reviewed at a
later time.
2015-05-17 22:04:24 -05:00
angelblue05
0a948d59f6 Moving the watchdog to service.py 2015-05-17 07:11:50 -05:00
angelblue05
e685c99b5a unicode 2015-05-17 06:27:28 -05:00
angelblue05
813af6bf84 Another attempt, frikkin unicode 2015-05-17 05:52:21 -05:00
angelblue05
e50939aa53 Another attempt at solving unicode
Attempt at solving this damn unicode..... For me, it works but I don't
know about anyone else.
2015-05-17 04:47:08 -05:00
angelblue05
d0bee543a1 Reset resume on mark watched and unwatched
Emby behavior for manually marking watch state
2015-05-17 02:50:33 -05:00
angelblue05
f422e076a8 Follow up, Version bump 0.1.88
Added Emby behavior in Kodi - when marking unwatched, also erase any
resume point.
2015-05-17 02:08:18 -05:00
angelblue05
ddb7ec4bbd Second attempt at fixing playcount situation
This should also reflect the actual Emby playcount. The websocket didn't
echo, but what I did is kill the echo caused by the video library update
after userdata change happens.
2015-05-17 00:37:53 -05:00
angelblue05
2aefab1545 Fix unicode error once and for all
Turns out to keep a variable that's unicode and keep working with that
variable as unicode, need to do unicode(variable). Reincoding using
.encode('utf-8') is not the same!!  Added extra logging for the future
to help debug direct play.
2015-05-16 20:21:49 -05:00
xnappo
26befdb859 Typo fix 2015-05-16 14:57:44 -05:00
xnappo
08a94a5427 Commit not needed if using same connection 2015-05-16 11:04:09 -05:00
xnappo
9041f16ff9 Clean up shows emptied by web socket 2015-05-16 10:58:48 -05:00
angelblue05
7454b022f7 Seek playback
Reflect more accurately in the dashboard
2015-05-16 03:52:30 -05:00
angelblue05
52994a65a2 Revert "Last one, promise!"
This reverts commit 513362eb2b.
2015-05-16 03:47:06 -05:00
angelblue05
513362eb2b Last one, promise!
Make seeking reflect more accurately when reporting to dashboard
2015-05-16 03:45:41 -05:00
angelblue05
c847bbbdd2 Revert "Last one, promise!"
This reverts commit 4446bcd313.
2015-05-16 03:44:11 -05:00
angelblue05
4446bcd313 Last one, promise!
Makes seeking reflect more accurately. I found that why the type the
reportplayback is called, the service loop didn't update the
currentPosition yet.
2015-05-16 03:35:37 -05:00
angelblue05
bdfef9f8b7 SendString - General command
It just clicked in my mind that "send string" can be used to input to
keyboard dialogs in kodi. Awesome :)
2015-05-16 02:11:41 -05:00
angelblue05
79e4bd8a6a Fix watched feedback and added General command
Everything in the remote control is supported except for audiostream and
subtitleindex. Turns out the watched playcount bug was indeed a
feedback, so to prevent this I'm skipping the first message that has the
itemId right after marking watched.
2015-05-16 01:31:08 -05:00
angelblue05
05777a0f23 Small adjustment for the direct play failed
Just a different, more appropriate presentation.
2015-05-14 01:05:52 -05:00
angelblue05
e32c27685b Quick follow up 2015-05-14 00:11:15 -05:00
angelblue05
17ebed7d3d Missed a line 2015-05-14 00:10:20 -05:00
angelblue05
11e4a70e25 Reworked the userclient with possibilities
Revoked token was actually broken, handle access schedule better,
restart/start properly. This is to stabilize things.
2015-05-13 23:48:35 -05:00
angelblue05
696586e952 Revert "Revert "Retrying retrieving sessionId""
This reverts commit 585b1ac64e.
2015-05-13 13:49:27 -05:00
angelblue05
585b1ac64e Revert "Retrying retrieving sessionId"
This reverts commit a303f73273.
2015-05-13 13:30:56 -05:00
angelblue05
a303f73273 Retrying retrieving sessionId
But only after capabilities have been posted, instead of before.
2015-05-13 13:23:33 -05:00
xnappo
4f46debd31 Revert parental control - breaking change
I don't have any restrictions set up and this completely breaks the
addon for me...
2015-05-12 22:24:18 -05:00
angelblue05
8973bca9bf Tweak for parental control
In case the server is also offline while access is restricted.
2015-05-12 19:55:46 -05: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
025fd31da8 a little more error handling added 2015-05-12 18:16:30 +02:00
xnappo
e44d2a4b3d Force a full sync when items added (for now) 2015-05-12 07:14:38 -05:00
angelblue05
de527327a5 Another follow up
Use a while loop instead.
2015-05-12 03:16:34 -05:00
angelblue05
354f0905f6 Support Parental control - access schedule
I had to reorganize the service.py loop a bit for this to work.
Logically the top level inside the while loop should be if the user is
authenticated.
2015-05-12 02:34:03 -05:00
shaun
a3b500061a add back in the service monitor watchdog 2015-05-12 10:10:33 +10:00
im85288
0923b649e7 backdrop fix for albums/songs 2015-05-11 14:02:34 +01:00
angelblue05
684167a031 Follow up for unicode 2015-05-10 08:07:06 -05:00
angelblue05
df665343c5 Fix unicode failed playback
Failing due to window prop, doh!
2015-05-10 07:39:16 -05:00
im85288
f7a65c6763 added role for actors for kodi 15 2015-05-10 13:28:42 +01:00
Marcel van der Veldt
4063be6e99 fixed music runtime calculation 2015-05-10 02:30:47 +02:00
Marcel van der Veldt
ad00392a68 fix main entry point: not respond to other addons requests 2015-05-09 21:26:01 +02:00
Marcel van der Veldt
4a3200f6df just some more safety checks for the music import
musicbrainzID is unique in Kodi while it's not in emby ?
2015-05-09 19:16:49 +02:00
xnappo
833e2b553f Really remove all 'pending' code 2015-05-09 07:26:33 -05:00
Marcel van der Veldt
eb636def38 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-09 12:53:39 +02:00
Marcel van der Veldt
5b6c72150c some fixes for video nodes and isengard 2015-05-09 12:53:23 +02:00
angelblue05
7a1d4c2558 Fix for unicode path
Seems os.path.exists needs utf-8 encoding or else it blows up.
2015-05-09 05:04:13 -05:00
angelblue05
0ad7ed3c18 Added support for webclient message
Both "send message" and "send text"
2015-05-09 02:17:58 -05:00
angelblue05
3b3f9f7bba First attempt at supporting split movies. 2015-05-09 01:44:02 -05:00
Marcel van der Veldt
93f28836d5 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-09 03:16:14 +02:00
Marcel van der Veldt
1e61c9edc8 (finally) fixed the video node sublevels filtered on tagname with episodes 2015-05-09 03:16:03 +02:00
xnappo
4d77401512 Close database after delete 2015-05-08 19:01:25 -05:00
im85288
858f811362 fix import error and new default nextupinfo 2015-05-08 19:54:43 +01:00
xnappo
e45b59c487 Add offer delete for episode option 2015-05-08 12:40:36 -05:00
Marcel van der Veldt
68c7c7ac64 fixed nextup node 2015-05-08 19:10:58 +02:00
Marcel van der Veldt
b6af96f8c0 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-08 19:05:27 +02:00
Marcel van der Veldt
684d8604ca removed iteminfo dialog stuff because that is never going to work with this addon
fix for wrong entries in episodes widgets/submenus
2015-05-08 19:05:10 +02:00
xnappo
b3619201c1 Re-implement delete
Also restores accidently removed items
2015-05-08 11:23:22 -05:00
Marcel van der Veldt
105d863979 fixed error in incrementalsync 2015-05-08 15:46:07 +02:00
Marcel van der Veldt
25ae3cea76 add safety check for album adds 2015-05-08 13:16:21 +02:00
Marcel van der Veldt
4b190bab34 fix for music sync in Kodi Isengard
fix for directplay check in music path - should support remote streaming now
2015-05-08 12:21:11 +02:00
Marcel van der Veldt
77c8f6862e added percentage to progress dialog on sync 2015-05-08 12:05:15 +02:00
angelblue05
e592df0a36 Hide hidden users from addtosession list 2015-05-07 22:29:54 -05:00
Marcel van der Veldt
599fd4e2ac playback fixed (fow now) 2015-05-08 03:04:46 +02:00
Marcel van der Veldt
27b13d6509 final attempt to get the unlinked artist correctly shown up 2015-05-08 02:56:43 +02:00
Marcel van der Veldt
7fde54514e Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-08 02:44:50 +02:00
Marcel van der Veldt
acef00f2bb fix for missing artists links in kodi 2015-05-08 02:44:32 +02:00
angelblue05
68077d5578 Minor follow up 2015-05-07 19:38:27 -05:00
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
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
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
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
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
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
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
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
3343d2bbdd fix getVideoBitRate default value
setting VideoBitrate to > 2147483647 causes a RequestBindingException on
the server.
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
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
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
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
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
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
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
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