tomkat83
|
456959b676
|
Move method to function
|
2017-05-29 17:05:22 +02:00 |
|
tomkat83
|
ad5744f435
|
Fix for Windows usernames with non-ASCII chars
- Fixes #286
|
2017-05-20 20:24:47 +02:00 |
|
tomkat83
|
f7da47f2d5
|
Rename Plex user id
|
2017-05-17 16:15:16 +02:00 |
|
tomkat83
|
9ae68b66f7
|
Add state for Plex username
|
2017-05-17 16:14:17 +02:00 |
|
tomkat83
|
bfe174dc09
|
Add state for Plex user ID
|
2017-05-17 15:57:30 +02:00 |
|
tomkat83
|
8ae68a7158
|
Add state for direct paths
|
2017-05-17 15:42:12 +02:00 |
|
tomkat83
|
6804fcf543
|
Only set advancedsettings tweaks if Music enabled
|
2017-05-17 15:07:16 +02:00 |
|
tomkat83
|
f3edcecd7d
|
Remove obsolete tweaks for advancedsettings.xml
|
2017-05-17 14:51:18 +02:00 |
|
tomkat83
|
06727fca71
|
Fix thread methods
|
2017-05-17 13:55:24 +02:00 |
|
tomkat83
|
a63b90dd5f
|
Revert "Revert "Code refactoring: avoid window vars in loops""
This reverts commit b6197231fa .
|
2017-05-17 10:09:50 +02:00 |
|
tomkat83
|
b6197231fa
|
Revert "Code refactoring: avoid window vars in loops"
This reverts commit 6629fb41e3 .
|
2017-05-14 16:41:22 +02:00 |
|
tomkat83
|
6629fb41e3
|
Code refactoring: avoid window vars in loops
|
2017-05-12 12:52:12 +02:00 |
|
tomkat83
|
fd84d97a46
|
Use xbmcvfs exists instead of os.path.exists
- Partially fixes #296
|
2017-05-11 19:26:13 +02:00 |
|
tomkat83
|
722c3c1821
|
Fix TypeError, but for real now
- Fixes #290
|
2017-05-07 14:05:25 +02:00 |
|
tomkat83
|
cbb44e4ccf
|
Major music overhaul: Direct Paths should now work!
- Remember to always use Direct Paths with Music ;-)
- Fixes #84
|
2017-05-06 17:04:09 +02:00 |
|
tomkat83
|
d7bd6b0d13
|
Function to grab all Plex libraries from PMS
|
2017-05-06 09:45:21 +02:00 |
|
tomkat83
|
ee85db4570
|
Smarter function to set advancedsettings.xml values
|
2017-05-06 09:35:05 +02:00 |
|
tomkat83
|
b2cd6e1156
|
Avoid xbmcvfs entirely; use encoded paths
- Fixes #286
|
2017-05-03 20:30:33 +02:00 |
|
tomkat83
|
89fec3b971
|
Merge branch 'master' into develop
|
2017-04-14 14:45:54 +02:00 |
|
tomkat83
|
150b45d5cc
|
Hotfix: Revert Cache missing artwork on PKC startup
- Should fix #239, #269
- Seems like another Kodi process messes with the artwork caches,
delaying the PKC one for minutes
|
2017-04-12 18:52:54 +02:00 |
|
tomkat83
|
e64746f277
|
Huge music overhaul
- Fixes #254
|
2017-04-02 17:02:41 +02:00 |
|
tomkat83
|
95fd016bd7
|
Code refactoring of download in chunks
|
2017-04-01 18:28:02 +02:00 |
|
tomkat83
|
84f7aba5d1
|
Try to skip new PMS items we've already processed
|
2017-02-26 18:04:54 +01:00 |
|
tomkat83
|
3cd76fa291
|
Fix screensaver not toggling back after full sync
- Fixes #197
|
2017-02-05 14:10:14 +01:00 |
|
tomkat83
|
874e9a8fc5
|
Update playstates and userratings only once
|
2017-02-02 16:28:25 +01:00 |
|
tomkat83
|
5799612879
|
Fix Typo
|
2017-02-02 16:21:37 +01:00 |
|
tomkat83
|
15a39f9e64
|
Shut down libsync thread correctly
|
2017-02-02 14:49:14 +01:00 |
|
tomkat83
|
34c9cc35a5
|
Rename safety margin for background sync
|
2017-02-02 12:35:08 +01:00 |
|
tomkat83
|
01426de7ca
|
Increase logging
|
2017-02-02 12:28:57 +01:00 |
|
tomkat83
|
f2c7578a25
|
Overhaul of fanart sync download
|
2017-02-02 12:27:21 +01:00 |
|
tomkat83
|
b3b53c4cac
|
Background sync: wait till PMS says its finished
|
2017-02-02 09:32:00 +01:00 |
|
tomkat83
|
4b5d15fc15
|
Fix additional artwork not downloading
|
2017-02-01 20:09:17 +01:00 |
|
tomkat83
|
1cc0f8a6c6
|
Get missing fanart on Kodi startup
|
2017-02-01 19:56:06 +01:00 |
|
tomkat83
|
6eb786416d
|
Add notification upon Plex library deletion
|
2017-02-01 19:02:32 +01:00 |
|
tomkat83
|
524a36d9eb
|
Fix deleting items after Plex library removal
|
2017-02-01 18:55:22 +01:00 |
|
tomkat83
|
2055879458
|
Store Plex library in our database for reference
|
2017-02-01 12:33:37 +01:00 |
|
tomkat83
|
86434bab34
|
Delete items of a removed Plex library
|
2017-02-01 12:16:35 +01:00 |
|
tomkat83
|
16e6fc5ca4
|
Prepare DB for selective Plex library sync
|
2017-02-01 10:41:44 +01:00 |
|
tomkat83
|
3871af77e6
|
Delete duplicate code
|
2017-02-01 10:22:19 +01:00 |
|
tomkat83
|
289690813a
|
Early compatibility with Kodi 18 Leia
|
2017-01-29 13:40:34 +01:00 |
|
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
|
81747a668a
|
Cache missing artwork on PKC startup
|
2017-01-20 18:41:56 +01:00 |
|
tomkat83
|
45ccc3ff3f
|
Only do maintainViews once
|
2017-01-20 15:32:19 +01:00 |
|
tomkat83
|
314ba8c0c1
|
Do a video node refresh on startup
|
2017-01-20 14:53:20 +01:00 |
|
tomkat83
|
2836f707c5
|
Merge branch 'develop'
|
2017-01-09 21:29:45 +01:00 |
|
tomkat83
|
1b03486ecf
|
Fix unnecessary syncs for music
|
2017-01-08 12:48:57 +01:00 |
|
tomkat83
|
0a2f1bc01b
|
Fix KeyError for librarysync
|
2017-01-07 20:20:18 +01:00 |
|
tomkat83
|
e90f48cc8e
|
Rename plex database fields; abstract types
|
2017-01-07 20:11:48 +01:00 |
|
tomkat83
|
ad80fdfe1d
|
Rename embydb_functions to plexdb_functions
|
2017-01-04 20:57:16 +01:00 |
|
tomkat83
|
266ad70605
|
Rename database to plex.db
|
2017-01-04 20:09:09 +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
|
6b64f3b66c
|
Fix playstate updates due to PMS websocket change
- Fixes #162
|
2016-12-17 18:38:24 +01:00 |
|
tomkat83
|
0b54c4eee3
|
Fix library AttributeError
|
2016-12-04 18:25:26 +01:00 |
|
tomkat83
|
aca7c3ee4e
|
Revert "Profile sync"
This reverts commit c539d436be .
|
2016-12-04 12:40:29 +01:00 |
|
tomkat83
|
c539d436be
|
Profile sync
|
2016-12-04 12:40:24 +01:00 |
|
tomkat83
|
f02bb4a873
|
Index Kodi database actor names to speed up sync
|
2016-12-04 12:26:25 +01:00 |
|
tomkat83
|
d1da07a8bf
|
Speed up replacing Plex paths
|
2016-12-03 15:43:23 +01:00 |
|
tomkat83
|
21da5707a0
|
Revert "Try sqlite3 in-memory fullsync, might be faster"
This reverts commit 0046f34729 .
|
2016-12-03 13:56:53 +01:00 |
|
tomkat83
|
0046f34729
|
Try sqlite3 in-memory fullsync, might be faster
|
2016-12-03 13:56:46 +01:00 |
|
tomkat83
|
666ea9bc31
|
Sync new PMS items first
|
2016-12-03 13:07:41 +01:00 |
|
tomkat83
|
b0cde71fe3
|
If aborting fullsync, reset Kodi screensaver
|
2016-12-03 12:04:13 +01:00 |
|
tomkat83
|
073dea6745
|
Fix for not getting tv show additional fanart
|
2016-11-17 12:21:31 +01:00 |
|
tomkat83
|
332640cf48
|
Revert "Don't double-update playstate of a playing item"
This reverts commit 7e2a11ea28 .
|
2016-11-08 20:55:02 +01:00 |
|
tomkat83
|
bcc46e4ea1
|
New contextmenu: force playback from PMS
- Visible if using direct paths
- You will be able to correctly play videos with several parts, media
streams or versions
- Fixes #78
|
2016-11-06 12:15:41 +01:00 |
|
tomkat83
|
2557260002
|
Remove deleted PMS items immediately
|
2016-10-23 16:55:28 +02:00 |
|
tomkat83
|
18e6135afd
|
Process background sync every 5 seconds
|
2016-10-23 16:48:59 +02:00 |
|
tomkat83
|
45a9f8081b
|
Less logging
|
2016-10-23 16:15:57 +02:00 |
|
tomkat83
|
23384c5d9e
|
Fix art not caching efficiently
|
2016-10-17 23:15:05 +02:00 |
|
tomkat83
|
5437f1a355
|
Ommit Plex DVR status messages
- Hopefully fixes #110
|
2016-10-11 18:52:59 +02:00 |
|
tomkat83
|
c02a95cc59
|
Streamline code
|
2016-10-11 18:37:47 +02:00 |
|
tomkat83
|
4b0583b1c9
|
Prevent IndexError on unknown PMS ids
|
2016-10-11 18:35:11 +02:00 |
|
tomkat83
|
d069fc7c48
|
Fix IndexError on deleting items
|
2016-10-11 18:28:07 +02:00 |
|
tomkat83
|
219cdd9fba
|
Revert "Download one item at a time"
|
2016-09-25 19:18:27 +02:00 |
|
tomkat83
|
7e2a11ea28
|
Don't double-update playstate of a playing item
|
2016-09-17 20:36:53 +02:00 |
|
tomkat83
|
9c74fd4a98
|
Fix backgroundsync KeyError
|
2016-09-17 19:12:32 +02:00 |
|
tomkat83
|
703f2fb37d
|
Fix setting to cache all textures to Kodi
|
2016-09-17 14:48:40 +02:00 |
|
tomkat83
|
83029b7560
|
Shorten for loop
|
2016-09-17 09:55:06 +02:00 |
|
tomkat83
|
daf23fcc55
|
Merge while loops
|
2016-09-17 09:48:38 +02:00 |
|
tomkat83
|
4d7af7912d
|
Use file settings instead of window settings
|
2016-09-16 17:47:09 +02:00 |
|
tomkat83
|
a3d643c643
|
Use some file settings instead of window settings
- In case the user changes something while PKC is running
|
2016-09-16 17:42:39 +02:00 |
|
tomkat83
|
c9dd44f498
|
Don't try to get fanart for episodes, seasons
|
2016-09-11 17:59:00 +02:00 |
|
tomkat83
|
4cfb8c4610
|
Fix OperationalError for Kodi DB
- Fanart sync is too taxing, needs to be done after regular syncs
|
2016-09-11 17:51:00 +02:00 |
|
tomkat83
|
c3010645bc
|
New PKC setting to look for missing fanart
|
2016-09-11 12:15:26 +02:00 |
|
tomkat83
|
7c86270ece
|
Don't do daily lookup of fanart
|
2016-09-11 11:47:55 +02:00 |
|
tomkat83
|
5cf77d3292
|
Revert "Don't look for fanart twice on fresh system"
This reverts commit cb4e084305 .
|
2016-09-11 11:46:42 +02:00 |
|
tomkat83
|
cb4e084305
|
Don't look for fanart twice on fresh system
|
2016-09-11 11:32:18 +02:00 |
|
tomkat83
|
7b578603ca
|
Fix TypeError
|
2016-09-11 11:29:51 +02:00 |
|
tomkat83
|
751e55b9d5
|
Get fanart for background sync items
|
2016-09-11 11:12:25 +02:00 |
|
tomkat83
|
5346426bd7
|
Revert "Fix processing of complicated PMS messages"
This reverts commit fb7905e0b6 .
|
2016-09-11 10:43:16 +02:00 |
|
tomkat83
|
fb7905e0b6
|
Fix processing of complicated PMS messages
|
2016-09-11 10:42:40 +02:00 |
|
tomkat83
|
ddf4e89165
|
Prevent KeyError
|
2016-09-11 10:39:40 +02:00 |
|
tomkat83
|
1370bda432
|
Improve logging
|
2016-09-11 10:36:28 +02:00 |
|
tomkat83
|
3e261a75e2
|
Prevent errors if changing setting
|
2016-09-11 10:20:29 +02:00 |
|
tomkat83
|
bcb3b49507
|
Quit ProcessFanartThread quicker
|
2016-09-11 10:14:29 +02:00 |
|
tomkat83
|
2fbdd54324
|
Speed up sync - download art in the background
|
2016-09-10 19:49:03 +02:00 |
|
tomkat83
|
497d71cacc
|
Optimize sleep for librarysync threads
|
2016-09-10 11:27:27 +02:00 |
|
tomkat83
|
339eaaa13a
|
Fix log errors
|
2016-09-04 16:57:06 +02:00 |
|
tomkat83
|
3f16991ba3
|
Add missing function
|
2016-09-04 16:43:39 +02:00 |
|
tomkat83
|
044f1a5550
|
Don't import read_embyserver
|
2016-09-02 17:32:03 +02:00 |
|
tomkat83
|
bb96dda1d4
|
Merge conflicts librarysync.py
|
2016-09-01 19:07:28 +02:00 |
|
tomkat83
|
8119acfa52
|
Revert "New setting to lower #PMS items to cache"
This reverts commit d039840c80 .
|
2016-08-18 16:54:41 +02:00 |
|
tomkat83
|
d039840c80
|
New setting to lower #PMS items to cache
- Should fix #91
|
2016-08-16 18:17:11 +02:00 |
|
croneter
|
445b97a2ac
|
Merge pull request #81 from milaq/fullsyncmessage
sync: dont force show "full library sync finished"
|
2016-08-11 22:29:03 +02:00 |
|
tomkat83
|
a2693b3485
|
Optimize player and playlist instances
|
2016-08-07 15:33:36 +02:00 |
|
milaq
|
ca1a101975
|
sync: dont force show "full library sync finished"
if the user deselects "show library sync progress" positive sync messages shouldnt be shown at all
|
2016-08-01 16:26:26 +02:00 |
|
tomkat83
|
eff7d7b68b
|
Use 1 PKC xbmc.player instance
|
2016-07-23 18:06:47 +02:00 |
|
tomkat83
|
8a2fdec248
|
Don't let PMS crash: download one item at a time
- PMS can currently not handle concurrent connections asking for
metadata (several PKC threads)
- Might also fix #75
|
2016-07-17 13:57:50 +02:00 |
|
tomkat83
|
fcf6948735
|
Improvements to resume points
- Plex sometimes tells time in milliseconds instead of seconds
- Fixes #49
|
2016-06-05 18:39:26 +02:00 |
|
tomkat83
|
7402d076b0
|
Revert "Fix PKC resume points set way too high"
This reverts commit e9f7c49587 .
|
2016-06-05 17:57:30 +02:00 |
|
tomkat83
|
5d8b423bd6
|
Groundworks for Plex photos
|
2016-06-04 18:48:22 +02:00 |
|
tomkat83
|
e9f7c49587
|
Fix PKC resume points set way too high
- Fixes #49
|
2016-06-04 16:04:25 +02:00 |
|
tomkat83
|
9901935b83
|
Background sync: don't try to process infinitely
|
2016-05-31 19:30:12 +02:00 |
|
tomkat83
|
a92146abc2
|
Remove emby references
|
2016-05-31 08:06:42 +02:00 |
|
tomkat83
|
42f24e1688
|
Correctly update views on server switch
|
2016-05-29 16:58:54 +02:00 |
|
tomkat83
|
e80f38c690
|
Initialize Kodi DBs only once
|
2016-05-29 16:52:38 +02:00 |
|
tomkat83
|
c47fc7f25f
|
Fix PKC not telling Kodi timing
- Episodes should now correctly be marked as watched
|
2016-05-16 21:07:17 +02:00 |
|
tomkat83
|
5bf1a5a8e0
|
Fix new episodes not being detected
- Set standard safety margin to 60 seconds. Otherwise, you might get
many screen refreshes
- Fixes #23
|
2016-05-12 21:46:50 +02:00 |
|
tomkat83
|
df38786638
|
Account for string.encode() not allowing args
- E.g. Android TV
|
2016-05-07 13:15:02 +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 |
|
tomkat83
|
2d2dd0fa12
|
Fix KeyError: 'librarySectionID' during syncPMStime
|
2016-04-17 13:44:45 +02:00 |
|
tomkat83
|
c5b76d1a38
|
New setting: I own this PMS
- Needed if someone enters PMS IP manually, would not catch this info
otherwise
- Background: needed to choose correct background sync procedure
|
2016-04-15 09:44:42 +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
|
a594daeb68
|
Assume its us playing if the PMS is not ours
|
2016-04-13 15:27:02 +02:00 |
|
tomkat83
|
98f52d3b5e
|
ProcessMetadata thread: sleep now unnecessary
|
2016-04-13 12:23:36 +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
|
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
|
d3e27d9797
|
Use Plex library for timesync
- No need for Kodi elements
|
2016-04-08 10:52:15 +02:00 |
|
tomkat83
|
55cbf5824d
|
Kill sync threads if library gets suspended
- E.g. user switch
|
2016-04-08 09:24:28 +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
|
2ec6bff388
|
Update playstate if owner plays for single user PMS
|
2016-04-07 17:37:53 +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
|
ae51e43145
|
Use 1 xbmcgui dialog instance in librarysync
|
2016-04-07 15:33:01 +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 |
|
tomkat83
|
9dec68f6d9
|
Do background sync while playing
But no full sync
|
2016-03-29 19:45:32 +02:00 |
|
tomkat83
|
c401cd9835
|
No websocket message logging
|
2016-03-28 14:43:35 +02:00 |
|
tomkat83
|
43a7886eae
|
Fix time sync for Music items
|
2016-03-28 10:51:38 +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
|
5949988b68
|
Plex websockets - groundworks 2
|
2016-03-24 18:52:02 +01:00 |
|