Commit graph

2109 commits

Author SHA1 Message Date
tomkat83
7b0ec13297 Fix really ugly bug
- artwork queue was initiated and stuck in endless loop
2016-10-26 20:33:13 +02:00
Piotr Smolinski
2c6f751299 Propagated the pathid/fileid change
I moved the pathid/fileid resolution outside of create/update section
that it is shared by both flows. Then I added the idFile change to the
UPDATE statement and replaced emby_db.updateReference with
emby_db.createReference. The latter one is UPSERT type update, therefore
also safe here.
2016-10-24 23:37:29 +02:00
tomkat83
9869131464 Don't show delet context menu if now allowed by PMS 2016-10-23 19:38:21 +02:00
tomkat83
a0b8a9fa93 Monitor Kodi setting changes more closely 2016-10-23 17:10:34 +02:00
tomkat83
2557260002 Remove deleted PMS items immediately 2016-10-23 16:55:28 +02:00
tomkat83
18e6135afd Process background sync every 5 seconds 2016-10-23 16:48:59 +02:00
tomkat83
0b2ccde834 Message if PMS item could not be deleted 2016-10-23 16:37:26 +02:00
tomkat83
45a9f8081b Less logging 2016-10-23 16:15:57 +02:00
tomkat83
e2776261c3 Initial Kodi context menu commit 2016-10-22 17:15:10 +02:00
tomkat83
5ac807760b Fix movie year for Krypton (reset your Kodi DB!)
- Fixes #79
2016-10-18 20:47:45 +02:00
tomkat83
d71f6e8887 Remove obsolete lock 2016-10-18 20:32:16 +02:00
tomkat83
ec7d4efc80 Remove obsolete import 2016-10-18 20:01:41 +02:00
tomkat83
1bae637830 Adjust download threads to 1 for low powered devices 2016-10-18 19:49:11 +02:00
tomkat83
23384c5d9e Fix art not caching efficiently 2016-10-17 23:15:05 +02:00
tomkat83
a2e2d2f5f8 Revert "Log art caching"
This reverts commit 2b363b7a30.
2016-10-17 22:55:32 +02:00
tomkat83
2b363b7a30 Log art caching 2016-10-17 22:50:36 +02:00
tomkat83
1a4660571b Only start downloading art AFTER sync completed
- Will speed up sync
2016-10-17 22:48:01 +02:00
tomkat83
cd65a93989 Fix Kodi crashing on low powered devices
- Fixes #126
2016-10-17 22:34:15 +02:00
tomkat83
4274942d49 Revert "Don't set-up clips/trailers like other videos"
This reverts commit e4d736a670.
2016-10-16 16:44:41 +02:00
tomkat83
c747e915b1 Fix TypeError if no extras available
- Fixes #123
2016-10-13 11:27:31 +02:00
tomkat83
5437f1a355 Ommit Plex DVR status messages
- Hopefully fixes #110
2016-10-11 18:52:59 +02:00
tomkat83
c02a95cc59 Streamline code 2016-10-11 18:37:47 +02:00
tomkat83
4b0583b1c9 Prevent IndexError on unknown PMS ids 2016-10-11 18:35:11 +02:00
tomkat83
d069fc7c48 Fix IndexError on deleting items 2016-10-11 18:28:07 +02:00
tomkat83
0b7e6ec0a3 Compile regex only once 2016-09-25 19:21:12 +02:00
tomkat83
219cdd9fba Revert "Download one item at a time" 2016-09-25 19:18:27 +02:00
tomkat83
a7820a9cf6 Try to prevent OperationalError: database is locked 2016-09-25 18:59:34 +02:00
tomkat83
086d5c8901 Fix "Opening Stream..." dialog not closing
- Fixes #113
- See http://forum.kodi.tv/showthread.php?tid=155641
2016-09-25 18:46:10 +02:00
tomkat83
fe99fd1ec8 Remove obsolete import 2016-09-25 18:34:03 +02:00
tomkat83
c437821e3c Fix TypeError for manually entering PMS address
- Fixes #114
2016-09-25 17:35:40 +02:00
tomkat83
e4d736a670 Don't set-up clips/trailers like other videos
- Should fix PKC trying to tell the PMS where we are playing that item
2016-09-21 20:17:33 +02:00
tomkat83
b5b3b8380f Music sync: Fix ProgrammingError 2016-09-21 19:52:11 +02:00
tomkat83
b23bdfe65f Fix capitalization 2016-09-17 20:48:37 +02:00
tomkat83
7e2a11ea28 Don't double-update playstate of a playing item 2016-09-17 20:36:53 +02:00
tomkat83
2ca4ad7b6c Fix capitalization 2016-09-17 20:30:28 +02:00
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