Commit graph

306 commits

Author SHA1 Message Date
tomkat83
579b52905e Code refactoring 2017-01-24 16:53:50 +01:00
tomkat83
8aba0d998d Code refactoring: put variables in one place 2017-01-24 16:04:42 +01:00
tomkat83
225776a145 Prevent OperationalError: database is locked
- Fixes #183
2017-01-20 16:00:17 +01:00
tomkat83
266ad70605 Rename database to plex.db 2017-01-04 20:09:09 +01:00
tomkat83
146f063fc9 Playqueues overhaul continued 2017-01-02 14:07:24 +01:00
tomkat83
0c2d4984ab Playqueues major haul-over 2016-12-27 17:33:52 +01:00
tomkat83
ad8b7c7d90 Merge Master 2016-12-20 16:13:19 +01:00
tomkat83
db02a001a8 Playlist major upgrade part 1 2016-12-03 11:50:05 +01:00
tomkat83
8d11fa2a90 Move KODILANGUAGE 2016-11-16 14:27:11 +01:00
tomkat83
02e8e3bf5c Fix not updating new user settings 2016-10-31 19:42:52 +01:00
tomkat83
e21c04e580 Fix smb credentials password not being url-encoded 2016-10-29 16:47:48 +02:00
tomkat83
e2776261c3 Initial Kodi context menu commit 2016-10-22 17:15:10 +02:00
tomkat83
a7820a9cf6 Try to prevent OperationalError: database is locked 2016-09-25 18:59:34 +02:00
tomkat83
ee6e441628 Fix log error 2016-09-04 17:14:52 +02:00
tomkat83
9dc691f558 Fix log error 2016-09-04 17:00:13 +02:00
tomkat83
13ca30c742 Cleanup utils.py 2016-09-02 19:31:27 +02:00
tomkat83
900290c75a Compatibility with latest Kodi Krypton. Fixes #80 2016-08-12 18:36:41 +02:00
tomkat83
a2693b3485 Optimize player and playlist instances 2016-08-07 15:33:36 +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
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
54c32adad6 Compatibility with latest Kodi Krypton
- Fixes #56
2016-06-19 15:01:25 +02:00
tomkat83
a92146abc2 Remove emby references 2016-05-31 08:06:42 +02:00
tomkat83
9786aab050 Fix UnicodeEncodeError for file paths
- Fixes #35
2016-05-15 16:33:53 +02:00
tomkat83
d01a8aafa1 Fix encoding and decoding 2016-05-07 22:17:12 +02:00
tomkat83
df38786638 Account for string.encode() not allowing args
- E.g. Android TV
2016-05-07 13:15:02 +02:00
tomkat83
496aa2593a Remove Emby reference from logs
- Fixes #24
2016-05-06 21:09:35 +02:00
tomkat83
d879a9d23c Additional artwork download from FanartTV! 2016-04-29 12:44:56 +02:00
tomkat83
b820953c52 Fix some merge conflicts 2016-04-26 14:41:58 +02:00
tomkat83
450437b812 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-04-26 13:53:19 +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
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
tomkat83
bf681f53c3 Fix smart playlists for Plex collections 2016-04-13 17:11:25 +02:00
Ian Mclaughlin
d95d854f70 Update utils.py
Add initial krypton support
2016-04-12 16:00:22 +01:00
tomkat83
24bb637606 Don't show Kodi popup when scanning Music 2016-04-08 13:57:55 +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
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
SpootDev
30dfe99e37 spelling 2016-04-03 19:54:36 -05:00
tomkat83
50b25ccf73 Fix TypeError with PMS item 'addedAt' missing 2016-04-02 10:43:50 +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
d915c4539e code reduce 2016-03-31 14:39:32 -05:00
tomkat83
7bb765bedd 'NameError: global name 'guidoc' is not defined' 2016-03-29 20:03:53 +02:00
tomkat83
6a2094d444 Backgroundsync using websockets 2016-03-27 16:57:20 +02:00
Gerald Dachs
2d6361d9d6 made it compatible to Krypton
initialize rating
2016-03-25 13:32:19 +01:00
tomkat83
d8deb4919e Shut down PKC correctly 2016-03-23 10:05:29 +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
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
tomkat83
fc29bd30b8 Fix network credentials dialog issues 2016-03-16 09:55:19 +01:00
tomkat83
aaa8ada3ea Use direct paths - not yet working for music 2016-03-15 20:26:45 +01:00
tomkat83
53c07d4b50 Fix Recently Added
Plex time was not converted to Kodi time
2016-03-13 14:50:29 +01:00
tomkat83
ae9d4924c2 Redesign fast sync 2016-03-11 14:42:14 +01:00
tomkat83
1ab657cd0b Change logging to show "Error" category 2016-03-08 14:02:01 +01:00
tomkat83
56af183288 Correct encoding
Kodi dialogs take unicode
2016-03-08 13:00:03 +01:00
tomkat83
b05ec9746a Remove obsolete check for method in processing metadata 2016-03-08 11:58:14 +01:00
tomkat83
a258f969ab Dedicated function to check whether directory exists 2016-03-07 16:30:50 +01:00
tomkat83
dc2ae721e6 Allow non-ASCI library names 2016-03-07 15:31:07 +01:00
tomkat83
c6503f8a8e Enable non-ASCI PMS server name and username 2016-03-07 13:01:45 +01:00
tomkat83
0afa304f52 utils.Window to return unicode in all cases 2016-03-07 09:47:30 +01:00
tomkat83
e784dab578 Overhaul userclient 2016-03-04 13:34:30 +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
tomkat83
e10bc84bf3 Librarysync overhaul 2016-03-02 17:27:21 +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
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
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
tomkat83
e8900b0a4a Again, big clean-up 2016-02-11 14:03:04 +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
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
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
tomkat83
5aa88bdca8 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-02-04 13:08:57 +01:00
angelblue05
6b00eb466e Adjust sources.xml
switch to adding only smb:// as suggested on forums
2016-02-04 03:41:39 -06:00
tomkat83
c63e4c1bc4 Redesign playbackutils 2016-02-03 13:01:13 +01:00
tomkat83
6aa3f62b79 Plexcompanion 1st version for entrypoint.py, playbackutils.py, PlexAPI.py 2016-01-31 16:13:40 +01:00
tomkat83
8912a0b601 Overhaul Part 1 2016-01-29 20:07:21 +01:00
tomkat83
40c8b6f683 Moved many functions to PlexFunctions.py 2016-01-27 16:33:02 +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
c98e7ad60c Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-23 11:55:31 +01: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
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
cf94305743 prevent possible unicode error in window method 2016-01-21 11:15:31 +01: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
tomkat83
332e64729a Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-15 09:12:08 +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
e86b8c2358 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-05 17:28:27 +01:00
angelblue05
ade63ae22f Fix typo and remove default value for network creds 2016-01-04 23:06:47 -06: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
7a19f010dc Correct reversed settings 2015-12-31 17:16:16 -06:00
tomkat83
962fe6c605 Renamed to plugin.video.plexkodiconnect. Adjusted addon.xml 2015-12-27 11:49:14 +01: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
69884a1b54 Readd with lowercase name 2015-12-24 14:07:00 -06:00