Commit graph

4085 commits

Author SHA1 Message Date
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
croneter
5b7595c681 Rework widgets and listitems 2019-03-10 18:00:04 +01:00
croneter
4ea77370e8 Beta version bump 2.7.5
- Includes a migration!
2019-03-10 13:27:27 +01:00
croneter
c99cead6f5 Ignore all file events for playlists caused by PKC 2019-03-10 13:22:38 +01:00
croneter
8c51ee5c7a Ignore all websocket playlist messages caused by PKC 2019-03-10 13:22:38 +01:00
croneter
62ecefdcca Less logging 2019-03-10 11:25:02 +01:00
croneter
c69176d4a1 Fix some KeyErrors when playing songs 2019-03-09 16:19:29 +01:00
croneter
349829a754 Fix PKC not synching new items if an older Kodi db is present 2019-02-26 17:41:35 +01:00
croneter
c17dda40dd
Merge pull request #744 from croneter/fix-theme-log-entries
Fix PKC trying to initialize playqueues over and over again
2019-02-24 11:27:03 +01:00
croneter
33cae69cc4 Fix PKC not starting due to a higher version Kodi database 2019-02-24 11:19:35 +01:00
croneter
36c78b0d6e Fix PKC trying to initialize playqueues over and over again 2019-02-23 08:53:37 +01:00
croneter
a9ff70fac7 Fix PKC not exiting correctly due to a call to xbmc.getCondVisibility 2019-02-22 08:11:58 +01:00
croneter
fa9ca95e2e Remove obsolete check for Kodi profile switch 2019-02-21 09:15:29 +01:00
croneter
2c12f2e705 Update to new style Python class 2019-02-21 08:47:52 +01:00
croneter
3c9eb71324 Fix websocket threads not exiting correctly 2019-02-21 08:47:36 +01:00
croneter
f63ef92b8f
Merge pull request #735 from croneter/update-translations
Update translations
2019-02-16 19:06:22 +01:00
croneter
78def504bc
Merge pull request #732 from croneter/fix-typeerror
Fix rare TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' on playback startup
2019-02-16 19:05:50 +01:00
croneter
2942300f10
Merge pull request #731 from croneter/improve-db
Improve plex db lookups by creating better db indicees
2019-02-16 19:05:36 +01:00
croneter
a45cb02bc0 Update translations 2019-02-16 19:04:01 +01:00
croneter
4a83aae573 Fix TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' 2019-02-16 17:59:03 +01:00
croneter
056150a2da Improve plex db lookups by creating better db indicees 2019-02-16 14:05:09 +01:00
croneter
823f6b6e3f Fix KeyError: u'kodi_type' 2019-02-16 12:17:56 +01:00
croneter
94da14744d Fix PKC crashing on recreating the database 2019-02-08 15:33:29 +01:00
croneter
d8aada43a6
Merge pull request #714 from croneter/version-bump
Beta version bump 2.6.8
2019-02-08 15:20:25 +01:00
croneter
a9bfae2b13
Merge pull request #715 from croneter/codacy
Implement Codacy suggestions
2019-02-08 15:20:11 +01:00
croneter
7a0b9c8fca
Merge pull request #713 from croneter/fix-collections
Fix processing of collections in special cases
2019-02-08 15:20:00 +01:00
croneter
80f3542737
Merge pull request #712 from croneter/fix-videos-disappearing
Fix movies or shows disappearing in fringe cases
2019-02-08 15:19:50 +01:00
croneter
da1cb6e3d7
Merge pull request #717 from croneter/fix-playlists
Fix rare case where thousands of identical playlists could be generated
2019-02-08 15:19:37 +01:00
croneter
a0d6674f7e
Merge pull request #711 from croneter/fix-unresponsive
Fix PKC becoming unresponsive
2019-02-08 15:19:23 +01:00
croneter
d617535a05 Beta version bump 2.6.8 2019-02-08 15:18:41 +01:00
croneter
873c9e74f5 Fix rare case where thousands of identical playlists could be generated 2019-02-08 15:15:52 +01:00
croneter
e6cd80a7dd Implement Codacy suggestions 2019-02-08 13:52:33 +01:00
croneter
1a1e4b113d Prompt user to select libraries to sync upon changing PMS 2019-02-08 13:24:14 +01:00
croneter
50d770718d Choose which Plex libraries PKC should sync 2019-02-08 13:24:14 +01:00
croneter
6447281404 Fix processing of collections in special cases 2019-02-08 13:02:55 +01:00
croneter
f98e2df42f Fix movies or shows disappearing in fringe cases 2019-02-08 13:01:10 +01:00
croneter
cd728b4c32 Fix PKC becoming unresponsive 2019-02-08 12:59:12 +01:00
croneter
3b18a92ab4 Fix PKC becoming unresponsive 2019-02-08 12:58:53 +01:00
croneter
05a6700d55
Merge pull request #708 from croneter/improve-playerror-messages
Improve error messages when playback failes
2019-02-06 16:16:09 +01:00
croneter
c7eab63960 Improve error message when playback failes 2019-02-06 16:14:14 +01:00
croneter
1787e51c7c Zentrally register threads and introduce a way to wait for their suspension 2019-02-06 14:19:10 +01:00
croneter
63201db07d
Merge pull request #707 from croneter/version-bump
Beta version bump 2.6.6
2019-02-05 18:59:53 +01:00
croneter
d8796a174e
Merge pull request #706 from croneter/fix-pms-logs
Optimize headers for communication with PMS to appear like a Plex Media Player
2019-02-05 18:59:43 +01:00
croneter
6bf0cf4894
Merge pull request #705 from croneter/improve-sync-dialog
Improve sync dialog
2019-02-05 18:59:28 +01:00
croneter
950a2de0f5
Merge pull request #704 from croneter/fix-slow-sync
Greatly speed up sync for episodes, especially for large libraries
2019-02-05 18:59:16 +01:00
croneter
74dc249a37 Enforce database reset 2019-02-05 18:57:50 +01:00
croneter
9208cf2cb3 Optimize headers for communication with PMS to appear like PMP 2019-02-05 18:52:10 +01:00
croneter
01c0c36244 Increase batch size for playstates by a factor 10 2019-02-05 16:54:40 +01:00
croneter
ca16f73637 Make sure we're not showing an item's title while synching playstate 2019-02-05 15:48:24 +01:00
croneter
4786372490 Improve sync dialog for Estuary by switching item's title and sync count 2019-02-05 15:48:02 +01:00
croneter
2234e49cf8 Greatly speed up episode sync for large libraries 2019-02-05 15:32:50 +01:00
croneter
e65c9d6c94 Increase sync processing batch size from 200 to 500 2019-02-05 13:21:08 +01:00
croneter
0e16eb703a Do not allow insecure HTTPS websocket connections for Kodi Leia in any case 2019-02-05 13:10:00 +01:00
croneter
7b21caceae Allow websocket redirects 2019-02-05 13:09:59 +01:00
croneter
bf6e52bf20
Merge pull request #698 from croneter/improve-logging
Improve logging
2019-02-04 16:23:49 +01:00
croneter
664470df6a
Merge pull request #697 from croneter/fix-extras
Fix extras not playing
2019-02-04 16:23:36 +01:00
croneter
edb72fba36
Merge pull request #696 from croneter/hide-ssl-setting
Hide "Verify SSL certificate" setting for Kodi 18 Krypton
2019-02-04 16:23:23 +01:00
croneter
426318a552 Update translations 2019-02-04 16:21:52 +01:00
croneter
76004f1aa6 Improve logging 2019-02-04 16:15:58 +01:00
croneter
20225f12b4 Fix extras not playing 2019-02-04 12:51:16 +01:00
croneter
8169907192 Hide "Verify SSL certificate" setting for Kodi 18 Krypton 2019-02-04 10:30:55 +01:00
croneter
b206d1a99f Update German strings 2019-02-03 20:50:21 +01:00
croneter
2b0d63da6f
Merge pull request #691 from croneter/change-user
Show logged in Plex home user in the settings and allow changing it
2019-02-03 20:32:06 +01:00
croneter
033919d09b
Merge pull request #690 from croneter/fix-music
Fix music items getting deleted on startup
2019-02-03 20:31:53 +01:00
croneter
f90b470f5b Never ignore SSL certificate errors for Kodi >= 18 - just like Kodi 2019-02-03 20:28:50 +01:00
croneter
ae3f24f6ca
Merge pull request #687 from croneter/manual_ip
Improve dialog to manually enter PMS IP and port
2019-02-03 20:25:48 +01:00
croneter
a7222af648
Merge pull request #686 from croneter/fix-resume
Fix playback not starting at the beginning
2019-02-03 20:24:04 +01:00
croneter
2c77bd28af Implement Codacy suggestions 2019-02-03 20:22:41 +01:00
croneter
662ed1bdfc Show logged in Plex home user in the settings and allow changing it 2019-02-03 19:12:35 +01:00
croneter
8f8ccd1daf Fix music items getting deleted on startup 2019-02-03 17:20:36 +01:00
croneter
01609e4d72 Better inform the user if problems arise with manual PMS IP input 2019-02-03 16:44:37 +01:00
croneter
1071d75857 Improve dialog to manually enter PMS IP and port 2019-02-03 10:53:19 +01:00
croneter
09c2ad1b80 Fix playback not starting at the beginning 2019-02-02 20:50:01 +01:00
croneter
6c8b17d7b8 Fix PKC crashing on Xbox 2019-02-02 15:58:07 +01:00
croneter
7f0abcee7d
Merge pull request #673 from croneter/pr_improve_dialogs
Improve pop-up "Searching for PMS"
2019-02-02 13:43:34 +01:00
croneter
cb97734cf9
Merge pull request #671 from croneter/pr_fix_futurewarning
Fix FutureWarning
2019-02-02 13:43:24 +01:00
croneter
0de47c7b3e
Merge pull request #670 from croneter/pr_attributeerror
Fix artwork caching AttributeError: 'ImageCachingThread' object has no attribute 'cancel'
2019-02-02 13:43:09 +01:00
croneter
10e6caf3cd
Merge pull request #669 from croneter/pr_fix_delete
Fix PKC not deleting all the items it should
2019-02-02 13:42:58 +01:00
croneter
1d17dd867c
Merge pull request #668 from croneter/pr_sequence_item
Fix playlist sync: sequence item 0: expected string or unicode
2019-02-02 13:39:47 +01:00
croneter
b858373aeb Also show a pop-up if PKC searches for changed PMS address on PKC startup 2019-02-02 13:24:31 +01:00
croneter
65fe1ed399 Show info pop-up "Searching for PMS" until PKC displays the results 2019-02-02 13:02:45 +01:00
croneter
fb9c560ccd Fix FutureWarning 2019-02-02 11:34:16 +01:00
croneter
996adc2c03 Fix artwork caching AttributeError 2019-02-02 11:30:03 +01:00
croneter
3a9fcacd5c Fix PKC not deleting all the items it should 2019-02-02 11:24:55 +01:00
croneter
d09d2e6aaf Fix playlist sync: sequence item 0: expected string or unicode 2019-02-02 10:53:10 +01:00
croneter
fdbe42a05a Fix keyError sessionKey for weird PMS messages 2019-02-02 10:42:57 +01:00
croneter
dfeba07ab6
Merge pull request #648 from croneter/user_fix
Fix TV sections not being deleted e.g. after user switch
2019-01-30 18:27:12 +01:00
croneter
5f72d50ed0
Merge pull request #647 from croneter/less_dialogs
Don't show a library sync error pop-up when full sync is interrupted
2019-01-30 18:23:46 +01:00
croneter
ae7eaadd1e
Merge pull request #645 from croneter/http_direct_paths
Fix to correctly escape paths
2019-01-30 18:23:30 +01:00
croneter
c388789fbd Add error notification is full sync is unsuccessful 2019-01-30 18:05:28 +01:00
croneter
a39127af1c Update translations 2019-01-30 17:57:21 +01:00
croneter
4e10a9da8b Force database reset 2019-01-30 17:40:20 +01:00
croneter
8cb4e5f8fc Fix to cleanly delete all songs and albums 2019-01-30 15:54:19 +01:00
croneter
624fe87fd1 Fix to cleanly delete all episodes and seasons 2019-01-30 15:54:19 +01:00
croneter
a279cf5198 Fix deleting entire Plex library sections
Typo plex_type - section_type
2019-01-30 15:54:13 +01:00
croneter
dcff85e203 Fix TV sections not being deleted e.g. after user switch 2019-01-30 10:58:20 +01:00
croneter
5298370413 Don't show an error pop-up if full sync is interrupted 2019-01-30 09:34:38 +01:00
croneter
5f1241adde Fix to correctly escape paths 2019-01-29 13:52:23 +01:00
croneter
d10011cc50
Merge pull request #641 from croneter/update_translations
Update translations
2019-01-29 08:27:14 +01:00
croneter
b5d0e4f428
Merge pull request #640 from croneter/fix_kodi_fileid
Fix KeyError: u'kodi_fileid' for some Plex websocket messages
2019-01-29 08:27:05 +01:00
croneter
a09dfd2b0d Update translations 2019-01-29 08:16:56 +01:00
croneter
3450bc5294 Don't lock Plex DB when processing websocket messages 2019-01-29 08:09:42 +01:00
croneter
91fe4f827d Fix KeyError: u'kodi_fileid' for some Plex websocket messages 2019-01-29 08:05:15 +01:00
croneter
8f2a0c3742
Merge pull request #636 from croneter/update_translations
Update translations
2019-01-28 20:22:17 +01:00
croneter
0278e16de0
Merge pull request #635 from croneter/fix_slow_playback_startup
Hopefully fix slow playback startup just after Kodi startup
2019-01-28 20:22:05 +01:00
croneter
9ec9278888
Merge pull request #633 from croneter/revamp_direct_paths
Better, safer way to enter network credentials for Direct Paths
2019-01-28 20:21:48 +01:00
croneter
77ca3c428e
Merge pull request #632 from croneter/path_exists
Fix check whether a direct path is accessible
2019-01-28 20:21:38 +01:00
croneter
ee805301a3
Merge pull request #630 from croneter/operationalerror
Fix OperationalError: no such table on database reset
2019-01-28 20:21:25 +01:00
croneter
06964fab7d
Merge pull request #627 from croneter/missing_items
Fix 'NoneType' object has no attribute 'execute' when Plex artwork is not synced and an item is deleted
2019-01-28 20:21:14 +01:00
croneter
96db37c588
Merge pull request #626 from croneter/optimize_logging
Log whether Plex artwork is synced to Kodi
2019-01-28 20:21:03 +01:00
croneter
1d95ef69b5 Update translations 2019-01-28 20:12:43 +01:00
croneter
652a43e05c Reduce batch size for processing playstate to 10% 2019-01-28 18:11:44 +01:00
croneter
e04c74392f Don't lock DBs when messing with the playqueue 2019-01-28 18:05:40 +01:00
croneter
a79ff338cc Clarify setting for Addon Paths and Direct Paths 2019-01-28 14:43:59 +01:00
croneter
2ad95f4cd1 Clarify and move setting for network credentials 2019-01-28 14:43:59 +01:00
croneter
907b22a60f Remove obsolete setting 2019-01-28 14:43:59 +01:00
croneter
cffebf2f65 Better, safer dialogs to enter network credentials 2019-01-28 14:43:58 +01:00
croneter
097cc79c5a Make Plex dialog larger 2019-01-28 14:43:58 +01:00
croneter
4be8b3da9b Add comment about need to have sources.xml and passwords.xml set-up 2019-01-28 09:23:10 +01:00
croneter
25aacc8495 Fix check whether a file exists 2019-01-28 09:22:36 +01:00
croneter
a3d2c5530c Fix OperationalError: no such table on database reset 2019-01-27 13:31:59 +01:00
croneter
aa2b1e5e15 Always open a connection to the Kodi texture DB 2019-01-27 09:27:12 +01:00
croneter
4779f3e994 Log whether Plex artwork is synced to Kodi 2019-01-27 08:33:15 +01:00
croneter
352402bc35 Revert "Refresh Kodi view only once on full syncs"
This reverts commit b86a6549ac.
2019-01-26 17:18:48 +01:00
croneter
cb563ba020 Fix strings containing formatting information 2019-01-26 11:51:27 +01:00
croneter
69cb09e009 Replace cPickle communication with JSON 2019-01-26 08:43:51 +01:00
croneter
211d3d6a5a Revert "Use highes available protocol for cPickle"
This reverts commit 32d8083b60.
2019-01-25 17:30:03 +01:00
croneter
2ee3d86c27 Revert "Don't use class attributes for cPickle"
This reverts commit e181b4cac2.
2019-01-25 17:29:59 +01:00
croneter
32d8083b60 Use highes available protocol for cPickle 2019-01-25 15:43:45 +01:00
croneter
e181b4cac2 Don't use class attributes for cPickle
See https://docs.python.org/2/library/pickle.html#what-can-be-pickled-and-unpickled
2019-01-25 15:43:17 +01:00
croneter
5de91ff9b5 Fix KodiVideoDB object has no attribute kodiconn
- Partially fixes #593
- Fixes #614
2019-01-23 10:00:49 +01:00
croneter
d6246a1cab Fix local variable 'set_api' referenced before assignment 2019-01-22 08:52:04 +01:00
croneter
9e6b841296 Begin a new transaction when database was locked
- Hopefully fixes #593
2019-01-19 17:53:35 +01:00
croneter
7527f38c3f Revert "Wait even longer to try to write to Kodi DB"
This reverts commit 9f0d0026e6.
2019-01-19 17:12:45 +01:00
croneter
f821134ed3 Add link for more sqlite info 2019-01-19 17:06:52 +01:00
croneter
5b5af1ceed Fix browsing to show from info dialog
- Fixes #603
- Increases dependency on plugin.video.plexkodiconnect.tvshows to 2.0.8
2019-01-19 16:56:10 +01:00
croneter
9f0d0026e6 Wait even longer to try to write to Kodi DB
- Hopefully fixes #593
2019-01-19 09:35:32 +01:00
croneter
04da3572cb Fix rare KeyError if user is playing something somewhere else 2019-01-19 09:22:00 +01:00
croneter
5f79e944ab Fix browsing to show from info dialog 2019-01-17 20:33:46 +01:00
croneter
5dd346b657 Fix crash on startup-sync due to missing albums 2019-01-17 19:58:07 +01:00
croneter
e4af13bbd5 Try even longer to write to Kodi database
- Partially fixes #593
2019-01-17 19:30:55 +01:00
croneter
3b9fce7470 Fix some items rarely not being synced 2019-01-17 18:05:02 +01:00
croneter
889b6094d9 Ignore playstate updates for full sync time stamps croneter committed 2019-01-17 17:49:00 +01:00
croneter
b86a6549ac Refresh Kodi view only once on full syncs 2019-01-17 17:36:26 +01:00
croneter
3e3aa49d0d Fix playback start: Don't lock databases when starting playback
- Partially fixes #599
2019-01-16 17:13:23 +01:00
croneter
e255958b57 Fix playback not starting for really large libraries
- Partially fixes #599
2019-01-14 18:22:31 +01:00