Commit graph

4230 commits

Author SHA1 Message Date
croneter
7d8802467f Ensure playlists are freshly synched on PKC version bump 2019-08-01 14:53:49 +02:00
croneter
26fa1ff909 Use file size and last modification time to compare Kodi playlist files instead of slow MD5 hash of file 2019-08-01 14:53:49 +02:00
croneter
dca1bb6835 Remove obsolete check 2019-08-01 14:51:45 +02:00
croneter
53f77a7a97 Add unicode representation to Playlist() class 2019-08-01 14:50:09 +02:00
croneter
a83cf93150 Separate function to wipe all synched Plex playlists 2019-08-01 14:48:42 +02:00
croneter
85e0909105 Fix potential playlist sync issues with dot in playlist name 2019-08-01 14:38:44 +02:00
croneter
9b98ee9ec3 Fix On Deck for shows not appending showname and season and episode number 2019-07-27 12:08:42 +02:00
croneter
640876f961
Merge pull request #936 from croneter/update-translations
Add new Lithuanian translations (thanks @egidusm)
2019-07-21 12:50:44 +02:00
croneter
45ce7ae932 Add new Lithuanian translations (thanks @egidusm) 2019-07-21 12:45:52 +02:00
croneter
4b598200b9 AttributeError: 'NoneType' object has no attribute 'attrib' on playback startup 2019-07-21 12:11:28 +02:00
croneter
61f13f516b
Merge pull request #932 from croneter/fix-companion
Fix casting to PlexKodiConnect always starting the first episode
2019-07-14 13:00:52 +02:00
croneter
024bf31b83
Merge pull request #930 from croneter/upnext
Support for the Up Next Kodi add-on
2019-07-14 13:00:37 +02:00
croneter
5438fe4388 Fix casting to PlexKodiConnect always starting the first episode 2019-07-14 12:57:20 +02:00
croneter
38977a8ca6 Support for the Upnext Kodi add-on 2019-07-14 12:09:25 +02:00
croneter
a43e0801b4 Rename video nodes for ondeck 2019-07-14 07:46:09 +02:00
croneter
3436035530 Provide more metadata for unsynced directory-like items like a show 2019-07-13 14:49:59 +02:00
croneter
84d4e5aa99
Merge pull request #922 from croneter/fix-path
Fix 'Plex.nodes.<id>.path' not linking directly to entire library
2019-07-13 10:32:44 +02:00
croneter
33d20f0d0b Fix Plex.nodes.<id>.path not linking directly to entire library 2019-07-09 07:54:17 +02:00
croneter
e718fd3276 Fix sections that are not synced not displaying correct menu 2019-07-09 07:37:18 +02:00
croneter
76cbd27ae3
Merge pull request #919 from croneter/fix-actor-image
Fix missing cast artwork if an actor also acted as director or writer for another movie. You will have to manually reset the Kodi DB.
2019-07-07 18:09:38 +02:00
croneter
868cecfe35 Fix missing cast artwork if an actor acts as director or writer 2019-07-07 18:05:56 +02:00
croneter
a5aa0c2594 Reset PKC video library XMLs on PKC update 2019-07-06 21:22:12 +02:00
croneter
fc237383aa Ensure correct Container.Type is set for PKC widgets 2019-07-06 21:20:23 +02:00
croneter
416c424f52 Fix PKC potentially marking a video as watched on startup; don't sync time with toggling video watch state but use PMS epoch time 2019-06-28 17:47:01 +02:00
croneter
5466bb759c
Merge pull request #910 from croneter/fix-playlists
Fix PKC creating thousands of playlists if a single Kodi playlist wasn't unique
2019-06-28 16:47:34 +02:00
croneter
eb3e655213 Cleanup due to wrong assumption that kodi playlist hash was unique 2019-06-28 15:54:55 +02:00
croneter
58ba03b94b Ensure faulty index on Plex DB is correctly recreated on PKC update 2019-06-28 15:46:40 +02:00
croneter
fb76f49fbd Fix PKC creating thousands of playlists if there are 2 identical Kodi playlists 2019-06-28 15:20:22 +02:00
croneter
f32a8c534f Fix FutureWarning 2019-06-25 18:12:46 +02:00
croneter
1f4baae970
Merge pull request #905 from croneter/update-translations
Update translations
2019-06-22 18:44:59 +02:00
croneter
2643798393 Update translations 2019-06-22 18:43:36 +02:00
croneter
671bbbd9a9 Fix Trakt add-on not recognizing id of tv shows 2019-06-22 18:34:12 +02:00
croneter
f506b971ce
Merge pull request #899 from croneter/fix-listitem
Fix for Kodi 17 Krypton TypeError on playback start: 'offscreen' is an invalid keyword argument for this function
2019-06-16 14:16:35 +02:00
croneter
c91f62108b
Merge pull request #898 from croneter/fix-skin
Fix widgets not being populated after very first PlexKodiConnect library sync
2019-06-16 14:16:20 +02:00
croneter
68cf59293f Fix for Kodi 17 Krypton TypeError on playback start: 'offscreen' is an invalid keyword argument for this function 2019-06-16 14:11:53 +02:00
croneter
67dfca32b5 Fix widgets not being populated after first PKC sync 2019-06-16 13:49:42 +02:00
croneter
b99b17d0f9 Don't restart Kodi if user chose to enter PKC settings on install 2019-06-15 16:01:02 +02:00
croneter
097eb9d077 Update translations 2019-06-14 20:38:48 +02:00
croneter
3627c9e6bb
Merge pull request #890 from croneter/widget-limit
Improve some PKC widgets
2019-06-14 20:03:06 +02:00
croneter
d4f23db945
Merge pull request #889 from croneter/fix-tvshows
Fix In Progress widgets being broken and tv shows showing up as completely watched
2019-06-14 20:02:46 +02:00
croneter
a463bd521f Add an additional, faster On Deck node for movies 2019-06-14 18:07:19 +02:00
croneter
0bf7ada6e3 Delete Plex video node files when migrating to PKC version 2.8.2 2019-06-14 12:46:37 +02:00
croneter
1c245683ad Introduce limits to the number of videos shown in PKC widgets to speed them up 2019-06-14 12:38:01 +02:00
croneter
12b84b42bb Fix In Progress widgets not displaying anything and all shows being marked as watched 2019-06-14 12:14:39 +02:00
croneter
a761a8987d Fix TypeError for Direct Paths: init() got an unexpected keyword argument ‘item’ 2019-06-14 11:11:00 +02:00
croneter
cd524cb978
Merge pull request #883 from croneter/fix-valueerror
Fix ValueError if casting to int/float
2019-06-12 20:05:37 +02:00
croneter
e433f6f719 Fix RuntimeError: Unknown exception thrown from the call "XBMCAddon::xbmcplugin::setResolvedUrl" 2019-06-12 19:59:16 +02:00
croneter
e08e9b0d32 Fix ValueError if casting to int/float 2019-06-12 13:17:17 +02:00
croneter
563e86c8db
Merge pull request #880 from croneter/playlist-sync-dialog
Add additional info dialog for PKC synching playlists
2019-06-12 13:04:04 +02:00
croneter
03a9f84b9e Fix rare UnicodeDecodeError on library sync 2019-06-12 13:02:29 +02:00
croneter
15f34e2859
Merge pull request #881 from croneter/update-translations
Update translations
2019-06-12 12:57:57 +02:00
croneter
15f6a2a919 Update translations 2019-06-12 12:34:02 +02:00
croneter
1cbd65861c Add additional info dialog for PKC synching playlists 2019-06-12 12:18:09 +02:00
croneter
d96ac192d1 Fix casting to int silently failing 2019-06-12 11:53:41 +02:00
croneter
a46cb731cf Refactor Plex API 2019-06-12 11:53:41 +02:00
croneter
8e8cf18c0a Add comment: potential fix Kodi to immediately resuming the video if the user restarted playback 2019-06-02 19:30:28 +02:00
croneter
6bd5b28e0c Fix playback when the same video is started again from a widget 2019-06-02 13:47:50 +02:00
croneter
3ba09e1ff0 Increase logging 2019-06-02 13:30:23 +02:00
croneter
d0c0ab2a56 Fix video thrown by Plex Companion not resuming 2019-06-02 13:12:04 +02:00
croneter
04d328de3e Improve video resuming behavior; add a resume dialog for playback startup via PMS 2019-06-02 13:12:03 +02:00
croneter
bcb89aed88 Also play trailers if user chose to resume movie from the beginning 2019-06-01 16:15:14 +02:00
croneter
ccb95a0169 Fix Kodi always playing the same file version of a video 2019-06-01 16:15:14 +02:00
croneter
9171169956 Another attempt to keep Kodi from crashing on playback startup 2019-05-30 14:24:18 +02:00
croneter
10c7c79035 Hopefully fix Kodi crashing on playback startup for good 2019-05-29 21:01:51 +02:00
croneter
3e7533d965
Merge pull request #845 from croneter/update-widgets
Refresh widgets only on homescreen to prevent cursor from jumping within libraries
2019-05-28 20:11:49 +02:00
croneter
59aa9f3a55
Merge pull request #844 from croneter/no-refresh
Don't refresh container when user chose to delete or refresh an item from the context menu
2019-05-28 20:11:24 +02:00
croneter
f993373a4f Revert "Merge pull request #841 from croneter/section-uuid"
This reverts commit edb9d6e2b0, reversing
changes made to a603bd33ae.
2019-05-28 18:42:04 +02:00
croneter
7e829c1bad Refresh widgets only on homescreen to prevent cursor from jumping within libraries 2019-05-01 08:56:11 +02:00
croneter
1a7a36820a Don't refresh container when use chose to delete or refresh an item 2019-05-01 08:35:32 +02:00
croneter
ab8089d3b1 Rename section.section_id to section.id 2019-04-27 11:52:42 +02:00
croneter
e76fd03915 Safe section uuid when synching 2019-04-27 11:52:42 +02:00
croneter
ab5ab966e4 Use section for sync process 2019-04-27 11:52:42 +02:00
croneter
6a292d29f6 Safe Plex library section uuid to plex.db instead of kodi tagid 2019-04-27 11:52:42 +02:00
croneter
cc854a120f
Merge pull request #837 from croneter/fix-lastplayed
Fix last-played node value to ensure a playcount greater than zero
2019-04-21 10:06:20 +02:00
croneter
5c11ab21ed
Merge pull request #834 from croneter/reload-skin
Reload skin on resetting PKC video nodes
2019-04-21 10:05:43 +02:00
croneter
9b45a84d7e Correctly clear window variables e.g. on user switch 2019-04-20 17:28:43 +02:00
croneter
453098ef4f Fix last played node value for playcount 2019-04-20 14:16:54 +02:00
croneter
0c60f984d1 Reload skin on resetting PKC video nodes 2019-04-17 16:19:57 +02:00
croneter
e554195228
Merge pull request #831 from croneter/fix-customization
Fix some appearance tweak settings
2019-04-14 14:56:14 +02:00
croneter
86c6e44ad6
Merge pull request #829 from croneter/fix-transcoding
Fix transcoding not working
2019-04-14 14:55:46 +02:00
croneter
203edf90f0
Merge pull request #828 from croneter/fix-4k
Fix 4k H265 not being transcoded
2019-04-14 14:55:35 +02:00
croneter
2791dc7b57
Merge pull request #827 from croneter/fix-nodes
Fix music and picture nodes pointing to video library
2019-04-14 14:55:19 +02:00
croneter
4dcf057631
Merge pull request #826 from croneter/fix-ne
Fix unequality when comparing sections
2019-04-14 14:55:06 +02:00
croneter
b6f2a23622 Shorten string 2019-04-14 14:50:43 +02:00
croneter
15c4da46a9 Reenable setting: recently added: don't show watched movies 2019-04-14 14:49:44 +02:00
croneter
b22ae7aee4 Don't show old setting "Number of PMS items to show in widgets" 2019-04-14 14:45:42 +02:00
croneter
5cc67f41e1 Reenable setting: recently added: don't show watched episodes 2019-04-14 14:41:14 +02:00
croneter
5263f49c46 Remove obsolete setting: Extend Plex TV Series "On Deck" 2019-04-14 14:23:51 +02:00
croneter
eb1214f0c7 New setting to reloade Plex video nodes 2019-04-14 14:20:03 +02:00
croneter
75a6ecd1cf Fix transcoding not working 2019-04-14 13:13:48 +02:00
croneter
9c4c6bf07f Fix 4k H265 not being transcoded 2019-04-14 11:37:03 +02:00
croneter
34f1c7d1b9 Fix music and picture nodes pointing to video library 2019-04-14 11:03:05 +02:00
croneter
65e377a49f Remove obsolete import 2019-04-14 10:29:08 +02:00
croneter
02a03bd0f2 Fix unequality when comparing sections 2019-04-13 12:51:14 +02:00
croneter
e93fd94a71 Fix Plex Companion logging error messages 2019-04-05 17:54:03 +02:00
croneter
b178526ca1
Merge pull request #819 from croneter/fix-kodi-crash
Attempt to fix rare Kodi crash on PKC exit
2019-04-05 17:13:09 +02:00
croneter
b1aceb1e90 Fix possible UnicodeEncodeError 2019-04-05 17:12:05 +02:00
croneter
11f636c4b9 Fix UnicodeEncodeError on playback startup 2019-04-05 17:12:05 +02:00
croneter
26689e16d4 Attempt to fix rare Kodi crash on PKC exit 2019-04-05 16:47:59 +02:00
croneter
bca657ab08
Merge pull request #807 from croneter/fix-unicode
Fixes to unicode
2019-03-30 17:50:30 +01:00
croneter
d5a7bab8db
Merge pull request #809 from croneter/cleanup
Cleanup code, remove some obsolet methods and functions
2019-03-30 17:50:11 +01:00
croneter
aadb22e531 Fix FutureWarning 2019-03-30 17:34:51 +01:00
croneter
c1bb083933 Cleanup plex_api.py 2019-03-30 17:32:42 +01:00
croneter
1ac19109ba Turn urllib and urlparse unicode-safe 2019-03-30 17:32:42 +01:00
croneter
b4d036ed6b Monkey patch xml.etree.ElementTree to always return unicode 2019-03-30 09:56:22 +01:00
croneter
d5781d0906 Remove obsolete method 2019-03-30 09:54:31 +01:00
croneter
88cc4e220c Remove obsolete method 2019-03-30 09:54:24 +01:00
croneter
5aa7e1d39b
Merge pull request #805 from croneter/update-translations
Update translations
2019-03-29 14:25:49 +01:00
croneter
068379c0eb
Merge pull request #802 from croneter/quick-fix-direct-paths
Fix UnicodeEncodeError for Direct Paths and some PKC video nodes
2019-03-29 14:25:37 +01:00
croneter
2c4fcfa581 Update translations 2019-03-29 14:24:28 +01:00
croneter
e1bdce2b99 Revert need to reset the Kodi DB 2019-03-29 14:03:46 +01:00
croneter
90f445cc75 Fix UnicodeEncodeError 2019-03-28 20:08:45 +01:00
croneter
2013b498d6 Add function to urlencode unicode 2019-03-28 20:07:40 +01:00
croneter
456897a3cc
Merge pull request #800 from croneter/fix-direct-music
Fix duplicate music entries for direct paths (forces a Kodi database reset!)
2019-03-28 14:04:53 +01:00
croneter
de80885aa5 Fix playback sometimes not being reported for direct paths 2019-03-28 13:48:50 +01:00
croneter
c308c06929 Fix duplicate music entries for direct paths (requires DB reset!) 2019-03-28 13:47:35 +01:00
croneter
de19813a85
Merge pull request #794 from croneter/fix-nfs-masterlock
Fix Kodi Masterlock for nfs paths (requires restart)
2019-03-26 18:49:50 +01:00
croneter
648d88b9b2
Merge pull request #791 from croneter/fix-widget-loading
Wait for PKC to authorize before loading widgets
2019-03-26 18:48:51 +01:00
croneter
c072f0f439
Merge pull request #790 from croneter/fix-startup
Fix TypeError on Kodi start
2019-03-26 18:48:34 +01:00
croneter
5a8eb0db4b Fix Kodi Masterlock for nfs paths (requires restart) 2019-03-26 18:00:35 +01:00
croneter
8a2ce01aee Wait for PKC to authorize before loading widgets 2019-03-25 20:54:55 +01:00
croneter
448714e6a2 Fix TypeError on Kodi start 2019-03-25 20:51:28 +01:00
croneter
d05c29776c Fix UnicodeDecodeError for libraries with non-ASCII paths 2019-03-25 17:47:42 +01:00
croneter
2c101d9145
Merge pull request #783 from croneter/fix-widgets
Fix node paths for skins
2019-03-21 20:35:14 +01:00
croneter
c996d51085 Fix video node path for widgets 2019-03-21 20:22:41 +01:00
croneter
7cb6c75f3b Fix adding of show title, season and episode number 2019-03-21 20:06:52 +01:00
croneter
9665f34ee6 Fix Typo 2019-03-20 19:19:57 +01:00
croneter
a8a229967c
Merge pull request #777 from croneter/fix-profile-switch
Fix PKC synching playstate to wrong user on profile switch. Be aware that Kodi profile switches are error-prone
2019-03-17 17:59:20 +01:00
croneter
58b15e69a9
Merge pull request #775 from croneter/fix-nodes
Fix nodes for skin use
2019-03-17 17:58:28 +01:00
croneter
392f3f6359
Merge pull request #774 from croneter/fix-unicode
Fix sync not working due to non-ASCII Plex library names
2019-03-17 17:58:15 +01:00
croneter
71af3d0ca6
Merge pull request #773 from croneter/fix-direct-paths
Fix playback sometimes not being reported for direct paths
2019-03-17 17:58:00 +01:00
croneter
b5b9dd51a5
Merge pull request #771 from croneter/fix-playlist-sync
Fix 'NoneType' object has no attribute 'kodi_path'
2019-03-17 17:57:49 +01:00
croneter
815cd20d39 Ensure Plex companion thread quits on time 2019-03-17 17:56:31 +01:00
croneter
9d07a58c50 Replace waitForAbort() with sleep() 2019-03-17 17:56:31 +01:00
croneter
d068c37c49 Fix PKC synching playstate to wrong user on profile switch
- BUT: Kodi profiles seem to be a mess!
2019-03-17 16:53:13 +01:00
croneter
ba4f1d15d6 Increase logging 2019-03-17 16:26:48 +01:00
croneter
3c70a84704 Catch all exceptions, just in case 2019-03-17 15:42:29 +01:00
croneter
37bbf61a63 Ensure that reference to threader is gone on shutdown 2019-03-17 15:33:42 +01:00
croneter
41483e6731 Add more exit points when synching 2019-03-17 15:31:02 +01:00
croneter
9a6485737f Fix 'all' video node not leading to all library items 2019-03-17 12:57:38 +01:00
croneter
a2b57909cb Hopefully fix On Deck video node not working 2019-03-17 12:57:38 +01:00
croneter
3d4642dc56 Fix sync not working due to non-ASCII Plex library names 2019-03-17 11:54:09 +01:00
croneter
68ca41545c Fix playback sometimes not being reported for direct paths 2019-03-17 11:41:43 +01:00
croneter
db0f7f283e Simplify code to get path and filename 2019-03-17 11:30:44 +01:00
croneter
eef0eda426 Fix 'NoneType' object has no attribute 'kodi_path' 2019-03-16 17:47:23 +01:00
croneter
c6e635b39b Fix float() argument must be a string or a number 2019-03-16 17:34:47 +01:00
croneter
7d040e37ae
Merge pull request #759 from croneter/version-bump
Beta version bump 2.7.5
2019-03-10 18:06:12 +01:00
croneter
bda58deb6e
Merge pull request #722 from croneter/widget_overhaul
Giant overhaul of widgets
2019-03-10 18:01:13 +01:00
croneter
86cde7c69a
Merge pull request #760 from croneter/fix-keyerror
Fix some KeyErrors when playing songs
2019-03-10 18:00:53 +01:00
croneter
e50c0c011e Allow searching the PMS 2019-03-10 18:00:05 +01:00