Commit graph

1997 commits

Author SHA1 Message Date
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