Commit graph

1259 commits

Author SHA1 Message Date
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
marcelveldt
5640408523 fix crash on sync when song rating is null in db (if user didn't reset the db)
resync is advised however to make sure the rating gets scraped initially
2016-01-18 16:31:07 +01:00
marcelveldt
72d279a3a9 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2016-01-18 12:05:16 +01:00
marcelveldt
eae4fea76a more unicode fixes: os.path functions use unicode depending on the OS 2016-01-18 12:05:05 +01:00
angelblue05
08581dbc18 Add progress dialog for gathering
It's not very precise since we gather in batch, but better than nothing.
2016-01-18 03:24:00 -06: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
angelblue05
2e5c0aa8f2 Fix music crash 2016-01-16 16:31:42 -06:00
Shaun
30a9074f71 fix percentages on thread clean up updates 2016-01-16 17:55:04 +11:00
Shaun
9e2f789e53 add a thread pool option to the image cache 2016-01-16 14:08:01 +11:00
marcelveldt
82f117222a fix exception in getSongTags when rating is none 2016-01-15 15:31:55 +01:00
tomkat83
e859a807bc Add plexbmc.helper 2016-01-15 12:12:52 +01:00
angelblue05
d7d5e8b6e1 Force transcode 720/h265 2016-01-15 03:56:53 -06:00
tomkat83
accd8f4ac4 Merge conflict playbackutils 2016-01-15 10:10:44 +01:00
tomkat83
c1c19cbc68 Merge conflicts sync 2016-01-15 10:04:47 +01:00
tomkat83
332e64729a Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-15 09:12:08 +01:00
tomkat83
0f73bf1840 Enable library sync threads to crash correctly 2016-01-15 08:53:16 +01:00
angelblue05
fa826c2791 Fix websocket not restarting
Didn't realise the method and class variable had the same name.
2016-01-15 01:26:54 -06:00
tomkat83
40c02395a2 Added UpdateUserdata to Movies and TV Shows 2016-01-14 16:17:24 +01:00
tomkat83
eddfa23a71 Plex home user switch finally working 2016-01-14 14:47:34 +01:00
angelblue05
5112500f4d Fix missing mediasources
Also add a throttle to avoid crash if server connection times out.
2016-01-14 03:49:03 -06:00
tomkat83
6e8bd3e7da Plex.tv sign in with 4 digit PIN 2016-01-14 10:20:19 +01:00
angelblue05
5c9e571936 Remove boxset forced sync. Manual sync is available for that purpose. 2016-01-13 15:47:31 -06:00
tomkat83
1f8eb7f2ab Trying to change Plex.tv sign in process 2016-01-13 14:56:44 +01:00
marcelveldt
0bc17ec277 small fix for photo support 2016-01-13 13:24:26 +01:00
angelblue05
10606f733d Fix crash during initial sync for songs 2016-01-12 23:09:55 -06:00
angelblue05
993ef282e7 Fix reset
Fixes if there's a crash, unable to reset
2016-01-12 22:52:49 -06:00
angelblue05
b9ba092e12 H265 rectification 2016-01-12 19:38:18 -06:00
marcelveldt
8e2cae3b13 fix small typos
add delete option to context menu
2016-01-13 01:26:07 +01:00
marcelveldt
b24e881f18 finished homevideos and photos 2016-01-13 01:03:35 +01:00
tomkat83
79f95100c5 Switch user v01 2016-01-12 17:23:55 +01:00
tomkat83
9103f0516f Small fixes 2016-01-12 15:53:06 +01:00
tomkat83
b2a9f1a453 Update logging to handly empty PMS responses 2016-01-12 14:25:12 +01:00
tomkat83
b26b679dc1 Mark movie as watched/unwatched 2016-01-12 14:14:49 +01:00
tomkat83
ca731ba41e Pass resume point back to PMS 2016-01-12 13:57:26 +01:00
tomkat83
4c54a7c319 Changed plugin hook from emby to plexkodiconnect 2016-01-12 12:14:18 +01:00
tomkat83
57e6d40af2 Plex trailers directly playable now 2016-01-12 11:47:48 +01:00
tomkat83
0b38176fa9 Fixed initial sync 2016-01-12 10:30:28 +01:00
tomkat83
4332d08292 Cleaned multi threading 2016-01-12 09:50:15 +01:00
marcelveldt
ee9f08080e work in progress - move home videos to plugin listing 2016-01-11 22:20:34 +01:00
tomkat83
1697e38342 Switch to xbmc.sleep 2016-01-11 20:24:14 +01:00
marcelveldt
b7f0f869eb fix null pointer 2016-01-11 19:26:38 +01:00
tomkat83
eb1c2cf64c No sync if updatelist is empty 2016-01-11 17:42:42 +01:00
tomkat83
5e8fd41938 Checksum for season 2016-01-11 17:37:01 +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
3b2176574a Video nodes finally working 2016-01-11 15:56:56 +01:00
tomkat83
21fed2dc63 Update videonodes 2016-01-11 14:54:16 +01:00
tomkat83
a959ee118c Fixes regarding video node sync 2016-01-11 14:38:01 +01:00
tomkat83
c854ee621e videonodes v0.1 2016-01-11 09:57:45 +01:00
tomkat83
5645e451cc Cleaning up logs 2016-01-11 08:10:36 +01:00
tomkat83
de3a058463 Sped up initial sync 2016-01-11 07:55:22 +01:00
tomkat83
9f3db90a7c TV Shows sync up and running 2016-01-10 15:16:59 +01:00
tomkat83
08a0c38704 Resolving merge conflict 2016-01-10 12:38:49 +01:00
tomkat83
0c444beab0 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-10 12:36:15 +01:00
angelblue05
2e4e983acd hevc transcode - direct stream skip 2016-01-09 21:30:24 -06:00
angelblue05
86caf21af4 HEVC transcode
Still waiting on user feedback on this one.
2016-01-09 21:25:17 -06:00
angelblue05
b465fe5c08 Revert "Add HEVC transcode setting"
This reverts commit 86f4039b89.
2016-01-09 21:11:11 -06:00
angelblue05
86f4039b89 Add HEVC transcode setting 2016-01-09 19:41:00 -06:00
tomkat83
b6128fe48c Merge conflict 2016-01-09 16:18:57 +01:00
tomkat83
7e09253477 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-09 16:18:04 +01:00
tomkat83
5da6b4153e TV shows sync v0.1 2016-01-09 16:14:02 +01:00
angelblue05
950ae74939 Undo useless changes to music
The problem was in Items class, not the Music class.
2016-01-09 05:13:17 -06:00
angelblue05
f99efb2a83 Add settings monitor
Prompt for reset if playback mode change is detected
2016-01-09 04:53:04 -06:00
angelblue05
b61b8ae894 Failsafe incase view is named after existing tag
After the initial sync already completed.
2016-01-09 03:03:39 -06:00
angelblue05
77dd006f21 1.1.72 - Fix typo 2016-01-08 20:13:52 -06:00
angelblue05
222f6e06cb Open music cursor for albumartist 2016-01-08 12:56:21 -06:00
angelblue05
b11e9c2902 Fix grouped view 2016-01-08 12:25:22 -06:00
tomkat83
b3f588fd71 Fixed int instead of str in ThreadedShowSyncInfo() 2016-01-07 20:36:20 +01:00
tomkat83
194467091a Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-07 20:32:48 +01:00
tomkat83
81f4b514fa New abstract function GetAndProcessXMLs() to be called by all itemtypes while syncing 2016-01-07 20:31:25 +01:00
tomkat83
8c18879271 Switch to threaded Movie metadata processing 2016-01-07 17:27:48 +01:00
marcelveldt
fc810f7b32 fix extrafanart issues 2016-01-06 23:22:10 +01:00
shaun
5ce7e3407d fix video node window path 2016-01-06 20:08:16 +11:00
marcelveldt
6adc422936 fix next episodes emby node 2016-01-06 08:59:41 +01:00
marcelveldt
9468adfbe3 fix smart shortcuts compatability 2016-01-06 08:51:46 +01:00
tomkat83
e86b8c2358 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-05 17:28:27 +01:00
tomkat83
cef41188e0 Movies now direct playing. Trailers playing but always transcoding 2016-01-05 16:05:20 +01:00
angelblue05
ade63ae22f Fix typo and remove default value for network creds 2016-01-04 23:06:47 -06:00
angelblue05
2c7a0c0b65 Define the music cursor
Make sure we use the proper cursor for music when using the incremental
sync. Fix for artist table not found database error.
2016-01-04 21:58:45 -06:00
angelblue05
22f71efaf5 Fix view order bug
Make sure we get the default grouped view and not a view, when we are
looking at grouped folders.
2016-01-04 21:48:30 -06:00
tomkat83
93ad4ae0cb Movie with multiple parts now working 2016-01-03 19:17:59 +01:00
tomkat83
1970e00b16 Playbackutils now cycles correctly over XML reply; trailers thus working 2016-01-03 15:41:12 +01:00
tomkat83
7f9dfca2d6 Trailers up. BUT: first trailer is repeated indefinitely 2016-01-03 13:36:00 +01:00
tomkat83
e0ccaf16ad Fix getting Metadata for streaming 2016-01-02 09:28:31 +01: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
77de12bec8 Fix albums with same name 2016-01-01 23:24:28 -06:00
tomkat83
a134259cb5 Fix resume and runtime 2016-01-01 20:36:02 +01:00
tomkat83
5c3605ddd1 Less logs if movie diff found 2016-01-01 15:07:45 +01:00
tomkat83
5c35ce651b Add Addonname to user selection dialog 2016-01-01 14:50:51 +01:00
tomkat83
bc65b6082d Direct playing movie works 2016-01-01 14:40:40 +01:00
angelblue05
227bb3eb42 Add fix for missing key 2015-12-31 22:19:36 -06:00
angelblue05
7a19f010dc Correct reversed settings 2015-12-31 17:16:16 -06:00
tomkat83
681e57b350 Fix getting Stream metadata 2015-12-31 12:46:41 +01:00
tomkat83
927c8bf36f Sped up sync 2015-12-31 11:42:10 +01:00
tomkat83
9ad059e31f Merge remote-tracking branch 'MediaBrowser/master' 2015-12-31 10:55:08 +01:00
tomkat83
3fe10ba851 Switched metadata processing from JSON to XML 2015-12-31 10:53:22 +01:00
angelblue05
8b2bd3e30b Forgot to add filters
For collections and trailers
2015-12-30 21:39:10 -06:00
tomkat83
f2294569e6 Syncing Movie pictures now finally works
Had to add Plex credentials to URL
2015-12-30 16:37:30 +01:00
tomkat83
1e7acfc927 Moving getallartworks to PlexAPI 2015-12-30 15:57:55 +01:00
tomkat83
5ea126624c Merge 2015-12-30 13:42:37 +01:00
tomkat83
25f5d65343 Movie sync working. 2015-12-30 13:25:37 +01:00
angelblue05
39ac41647e Fix AirsAfterSeason 2015-12-30 03:21:49 -06:00
angelblue05
08354b693e Fix specials ordering 2015-12-29 19:32:41 -06:00
angelblue05
50c71c70d4 Fix update music 2015-12-29 17:46:42 -06:00
tomkat83
54a20f0b13 Before recoding Plexmovies function 2015-12-29 14:13:32 +01:00
tomkat83
1b254fdd37 Fix missing to ask for Plex username 2015-12-29 10:50:50 +01:00
tomkat83
d82774cfa9 Small fixes 2015-12-29 10:36:16 +01:00
tomkat83
a64e0cea2d Websocket URL 2015-12-29 08:38:51 +01:00
tomkat83
8214a858bc Merge remote-tracking branch 'MediaBrowser/master' 2015-12-29 07:24:51 +01:00
angelblue05
18c493909d Fix encoding for nodes 2015-12-28 17:58:01 -06:00
tomkat83
88f649d36d Movie Sync Alpha version 2015-12-28 18:47:16 +01:00
tomkat83
488c1a0a19 Merge remote-tracking branch 'MediaBrowser/master' 2015-12-28 13:13:26 +01:00
tomkat83
43765a6675 Fixes 2015-12-28 13:10:05 +01:00
tomkat83
ce6a9ca926 Fix getting user artwork 2015-12-28 11:04:28 +01:00
angelblue05
445469302f Fix delete
Remove verification - option is only for deletion after playback.
2015-12-28 03:54:46 -06:00
tomkat83
92eac70c0b Small fixes user authorization 2015-12-28 10:35:27 +01:00
tomkat83
8604fab2d4 Fixes to loading user 2015-12-28 09:17:17 +01:00
tomkat83
557c3f03a1 Code for Plex home not being used (1 user only) 2015-12-28 09:00:43 +01:00
tomkat83
d6ef04a1ce Merge remote-tracking branch 'MediaBrowser/master' 2015-12-28 08:40:34 +01:00
angelblue05
e4fb2de7c2 Prevent deleting artwork during initial sync 2015-12-27 22:51:47 -06:00
angelblue05
a7131c2867 Correct typo 2015-12-27 22:47:49 -06:00
angelblue05
601f578892 Fix dialog 2015-12-27 17:06:50 -06:00
angelblue05
e475d3366d Fix transcode h265 2015-12-27 17:04:40 -06:00
tomkat83
48a248ff59 Plex home user authentication done! 2015-12-27 17:12:46 +01:00
tomkat83
6ea38c7dfb Start user authentication 2015-12-27 16:27:49 +01:00
tomkat83
b8395b8396 Get user details AFTER other settings 2015-12-27 15:12:56 +01:00
tomkat83
f53e7e0ac2 Fix username adding (admin) 2015-12-27 14:45:51 +01:00
tomkat83
dd1e873b20 Choose Plex user. Connection fixes 2015-12-27 14:42:54 +01:00
tomkat83
01f4833042 Allow for http type "OPTIONS" 2015-12-27 13:56:07 +01:00
tomkat83
4667e4ed64 No uppercase addon name. That's ugly 2015-12-27 13:51:13 +01:00
tomkat83
6c40455ac6 Trying to fix SSL issues. Seems to be a Kodi request issue for very first calls?!?
still get "[Errno 8] _ssl.c:510: EOF occurred in violation of protocol"
2015-12-27 13:20:53 +01:00
tomkat83
2d84c39be5 added getServerId to allow for Plex machineIdentifier 2015-12-27 12:23:59 +01:00
tomkat83
72b3b49b6e brought downloadutils.py up to speed 2015-12-27 12:21:25 +01:00
tomkat83
ed1915ec7e Get plex login in initialsetup.py 2015-12-27 12:14:06 +01:00
tomkat83
e6db2e1b96 Added PlexAPI.py. Adjusted settings.xml 2015-12-27 12:09:07 +01:00
tomkat83
962fe6c605 Renamed to plugin.video.plexkodiconnect. Adjusted addon.xml 2015-12-27 11:49:14 +01:00