Commit graph

1284 commits

Author SHA1 Message Date
SpootDev
047189b31b self.item 2016-03-31 12:46:51 -05:00
SpootDev
3c9c758bdd self.log 2016-03-31 12:41:06 -05:00
SpootDev
753f267fde code reduce 2016-03-31 12:37:48 -05:00
SpootDev
69b305a3c9 unused line 2016-03-31 12:35:18 -05:00
SpootDev
60b53bddf1 self log 2016-03-31 12:32:40 -05:00
SpootDev
16f3bbf3e4 self doutils 2016-03-31 12:12:02 -05:00
SpootDev
481af3823f self.xbmcplayer 2016-03-31 11:37:41 -05:00
SpootDev
e3d2a6ff72 self log 2016-03-31 11:35:41 -05:00
SpootDev
2e4b32d8fd cleanup 2016-03-31 11:30:52 -05:00
SpootDev
243a12c263 self log 2016-03-31 10:58:49 -05:00
SpootDev
065bff5215 exit loop 2016-03-31 10:55:21 -05:00
SpootDev
2e1a2328fd return data directly instead of creating new var 2016-03-31 10:51:48 -05:00
SpootDev
75414f5f07 self cursor 2016-03-31 10:48:10 -05:00
SpootDev
47beade09a reserved word type 2016-03-31 10:39:00 -05:00
SpootDev
98bee106cb self kodi 2016-03-31 10:34:53 -05:00
SpootDev
7e41f8b051 type reserved 2016-03-31 10:25:36 -05:00
SpootDev
a6a3da60f2 self cursor 2016-03-31 10:21:14 -05:00
SpootDev
6922eea15f break after set 2016-03-31 09:53:07 -05:00
SpootDev
a20dae1ee2 filter reserved 2016-03-31 09:45:20 -05:00
SpootDev
ce7a810874 type reserved 2016-03-31 09:43:52 -05:00
SpootDev
962cb44c49 unused 2016-03-31 09:39:35 -05:00
SpootDev
dfef62164f reserved word 2016-03-31 09:33:39 -05:00
SpootDev
ad156d3f6c log clean 2016-03-30 22:37:37 -05:00
SpootDev
b8a5f9c913 log self 2016-03-30 22:32:59 -05:00
SpootDev
0fc7fbd3b2 self.server 2016-03-30 22:24:00 -05:00
SpootDev
065b8d84f0 self.item 2016-03-30 22:01:37 -05:00
SpootDev
16fb22792f emby self 2016-03-30 21:45:43 -05:00
SpootDev
78b72ccdef vnodes 2016-03-30 21:29:24 -05:00
SpootDev
01265595f5 doutils 2016-03-30 21:28:08 -05:00
SpootDev
181824fef2 unused field 2016-03-30 21:22:55 -05:00
SpootDev
ef903f5c8a utils 2016-03-30 21:19:33 -05:00
SpootDev
bb8374e927 log cleanup 2016-03-30 21:17:09 -05:00
SpootDev
d8ba247d99 break out of loop after plugin found 2016-03-30 21:01:24 -05:00
SpootDev
828d47b533 spelling fix 2016-03-30 19:30:26 -05:00
angelblue05
7c6451e839 Fix to local trailers
For some reason, server reports local trailer, then querying may or may
not return a result
2016-03-26 16:52:33 -05:00
angelblue05
a7f70a3145 Fix channels
root doesn't have an item id - viewname defaults to none.
2016-03-23 19:50:58 -05:00
angelblue05
c1abe5d004 Use IsFolder key for channels 2016-03-19 03:27:38 -05: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
angelblue05
6495ed7aca Moved to read_embyserver 2016-03-17 00:56:26 -05:00
angelblue05
f33692f2f9 Move update user rating to read_embyserver
It's more appropriate
2016-03-16 23:17:44 -05:00
angelblue05
ae7131a7c1 Fix log 2016-03-16 22:19:52 -05:00
angelblue05
623c6cab85 Fix artists/music 2016-03-16 06:13:47 -05:00
angelblue05
0af7dfeae1 Remove translation
Until we have up to date ones.
2016-03-16 04:35:19 -05:00
angelblue05
1f8199c91f Remove incorrect log line 2016-03-15 17:29:09 -05:00
angelblue05
7b94b76ef4 Prevent crash for missing seriesId
Apparently, that's a thing now, an episode without a seriesId.
2016-03-12 15:42:14 -06:00
angelblue05
4af994ed74 enumerate over backdrops 2016-03-12 15:14:07 -06:00
angelblue05
8072c8f7b2 Prep for emby connect 2016-03-12 13:56:02 -06:00
angelblue05
db4cb448b0 Adjust delete logic for entrypoint 2016-03-09 20:15:45 -06:00
angelblue05
a5d74c8a17 Add delete keymap entrypoint
RunPlugin(plugin://plugin.video.emby?mode=delete)
2016-03-09 17:05:35 -06:00
angelblue05
8bde429da4 Slight adjust for manual sync
Can't return value in __init__, instead calling a function to know if
manual sync succeeded or not.
2016-03-08 18:51:23 -06:00
angelblue05
948015d433 Fix potential error due to timeout 2016-03-06 17:21:29 -06:00
angelblue05
ad0f33a09b Removed the verification for mixed content
Since OriginalCollectionType is now implemented server side.
2016-03-04 17:23:07 -06:00
angelblue05
81aa96d540 Merge branch 'master' of https://github.com/MediaBrowser/plugin.video.emby 2016-03-04 17:20:26 -06:00
angelblue05
04acfb3200 Fix type folders in photos
If "photo album" has no pictures in it, it's returned as type "Folder"
2016-03-04 17:20:24 -06:00
marcelveldt
36007a1e7d preparation of videoextras 2016-03-04 22:00:24 +01:00
marcelveldt
455b7262fc Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2016-03-04 14:03:32 +01:00
marcelveldt
3c36af932a fix extrafanart for homescreen widgets 2016-03-04 14:03:15 +01:00
angelblue05
b05033c9b8 Fix unicode and invalid handle 2016-03-04 03:00:25 -06:00
angelblue05
4895082079 Fix typo
Accidentally pasted over line
2016-03-03 23:54:53 -06:00
angelblue05
897780f059 Fix views
GroupedFolders sometimes return empty, even if the user's views are
grouped (seems like a bug). Added a failsafe.
2016-03-03 23:32:33 -06:00
angelblue05
2a107b45fe Prevent screensaver during sync
Initial, repair, manual syncs.
2016-03-02 18:25:17 -06:00
angelblue05
f16b5dfff6 Prevent errors during the view creation
For grouped folders only. Include the itemtype to make sure we can
correctly search the reference under the grouped view.
2016-03-02 14:50:08 -06:00
angelblue05
ab467e36f0 Fix unicode 2016-03-02 13:29:07 -06:00
angelblue05
77a553b7f7 Fix logic for nodes
Was accidentally overwriting freshly created nodes
2016-03-01 18:59:08 -06:00
angelblue05
4cdf5c3c4d Fix grouped views
Something changed in the emby returned paths so the verification was
failing. For now, we are getting one item from the media folder and
comparing using the user view to make sure we are referring to the
correct one with the tag name. Asked Luke for an api that would do this.
2016-03-01 18:00:19 -06:00
angelblue05
e2a117ea97 Allow virtual season artwork 2016-03-01 12:53:26 -06:00
angelblue05
bd093e6783 Terminate thread if outdated
Temporary fix since 1.1.62 is incompatible. To be reconsidered when
minimum version changes again.
2016-03-01 10:49:16 -06: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
dfa5c7b313 Add option to generate a new device Id 2016-02-28 23:20:59 -06:00
angelblue05
a0acdd6a7a Prevent crash caused by artwork deletion
Prevent database being locked from crashing process. Instead log it.
2016-02-28 21:39:00 -06:00
angelblue05
c4e936e985 Remove auto reset detection
Will review at a later time
2016-02-26 22:30:56 -06:00
angelblue05
03ac28272e Fix widget resume 2016-02-26 06:55:24 -06:00
angelblue05
e30e20104d Fix resume point
Move stop transcode and stop playback out of the currentposition,
runtime verification.
2016-02-25 17:46:12 -06:00
angelblue05
7ab8e3e231 Fix ssl verification 2016-02-24 22:45:25 -06:00
angelblue05
c3d78c871e Follow ordered views
This affects the node numbering.
2016-02-24 22:28:42 -06:00
angelblue05
dc7473bfae Fix typo 2016-02-24 18:39:21 -06:00
angelblue05
60a178165d Fix pictures 2016-02-24 18:34:50 -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
dc74bf42aa Remove old saved views 2016-02-23 00:27:49 -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
angelblue05
9670e87049 Fix label for video nodes 2016-02-22 20:42:23 -06:00
angelblue05
e2ca6227c2 Fix root label for mixed content 2016-02-22 17:56:08 -06:00
angelblue05
3207f5a2c1 notification dialog follow progress on screen
For initial/manual/repair sync
2016-02-22 00:16:32 -06:00
angelblue05
7b5d24cd58 Fix subs 2016-02-21 19:03:55 -06:00
angelblue05
20ca36d95a Prevent sleep
Remove flag if initial sync terminates prematurely
2016-02-21 17:45:56 -06:00
angelblue05
6100faadda Try to prevent sleep from happening
During the initial sync or any major sync, manual or repair.
2016-02-21 17:43:46 -06:00
angelblue05
081b76e7b0 Version bump 2.2.3 2016-02-20 17:21:39 -06:00
angelblue05
bc1b975102 Fix typo 2016-02-19 20:26:48 -06:00
angelblue05
1388f4b27b Fix views duplicate at the root 2016-02-19 18:06:36 -06:00
angelblue05
2f3d9c4a60 Fix views
Alright get rid of the duplicate in the add-on entrypoint
2016-02-19 17:34:22 -06:00
angelblue05
663fe1f563 Fix dialog in manual sync 2016-02-19 15:50:19 -06:00
angelblue05
2ef213b4e3 Fix for proxy 2016-02-18 22:06:33 -06:00
angelblue05
38f432a282 Add missing artist link for music videos 2016-02-18 20:01:11 -06:00
angelblue05
06cd0e981c Hide manual sync when ran at start-up 2016-02-18 19:16:49 -06:00
angelblue05
c40aa46b64 Fix encoding error 2016-02-18 12:09:36 -06:00
angelblue05
8e9efe9734 Add autoclose to dialog
Delete after playback
2016-02-17 18:37:45 -06:00
angelblue05
52a5d35295 Update for strings 2016-02-17 02:13:37 -06:00
angelblue05
228501d99c Move removal to context menu
There was a typo in the delete as well.  Remove videolibrary.on.remove
due to potential issue if clean database runs and user is using plugin
paths.
2016-02-16 22:13:10 -06:00
angelblue05
48332fdbb7 Update string for skip delete
Added use at your own risk and added other various strings
2016-02-16 01:05:58 -06:00
angelblue05
8164c49bdf Fix live tv
It is transcoding, mark as such to delete ffmpeg process when playback
ends.
2016-02-14 00:26:42 -06:00
angelblue05
6c801c326c Fix typo 2016-02-13 23:29:01 -06:00
angelblue05
1bcba15cd9 Repair entries
For the video library. This is for the scenario where Kodi erases the
entry, but it still exists in the emby database.
2016-02-13 22:42:16 -06:00
angelblue05
03d016797c Allow popup time setting 0 to disable notification
For the newly added content notification
2016-02-12 17:23:07 -06:00
angelblue05
26836fb536 Remove skip deletion after playback
I think it must be a mistake on my part. Checking history, it looks like
a copy paste during the refactor.
2016-02-12 16:49:21 -06:00
angelblue05
d3f2969e80 Fix typo 2016-02-12 16:31:01 -06:00
angelblue05
54e998d579 Update skip delete message
Github wiki updated accordingly
2016-02-12 16:30:20 -06:00
angelblue05
afcc92686e Remove duplicate logging 2016-02-09 22:55:28 -06:00
angelblue05
15e0f92092 Update video library fix
This is to stop music-only update from updating the video library for no
reason.
2016-02-09 22:50:31 -06:00
angelblue05
994a48df7e Review item throttle 2016-02-08 18:38:41 -06:00
angelblue05
1e3f590d99 Adjust doutils 2016-02-08 15:24:35 -06:00
angelblue05
b12009f422 New throttle - will require testing 2016-02-08 02:36:09 -06:00
angelblue05
5e6e606031 Make the transcode h265 more robust
To prevent any errors, since the setting used to be different.
2016-02-06 23:06:05 -06:00
angelblue05
da66d61f6c Revert "OnSettings adjust logic"
This reverts commit dfd5479d8e.
2016-02-05 16:17:37 -06:00
angelblue05
dfd5479d8e OnSettings adjust logic
For playback mode changes, do not update the window prop
2016-02-05 15:49:25 -06:00
angelblue05
47a0f99da0 Adjust video quality settings
To always display, even if play from http is disabled.
2016-02-05 14:38:39 -06:00
angelblue05
0d76729302 Fix tag contains to tag is 2016-02-05 14:30:32 -06: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
Shaun
d75af5009b fix map error when new server plugin is not installed 2016-02-05 10:02:57 +11:00
angelblue05
01ab7c7a29 Update strings.xml 2016-02-04 16:24:23 -06:00
angelblue05
748c65efe7 Validate strings for translation 2016-02-04 06:22:33 -06:00
angelblue05
b00bd7b1b7 Update term 2016-02-04 05:54:58 -06:00
angelblue05
c2dace4c1e Add control over notification time for new content
Video and music library
2016-02-04 05:42:17 -06:00
angelblue05
4df6bb68d3 Fix typo in manual sync 2016-02-04 04:06:28 -06:00
angelblue05
6b00eb466e Adjust sources.xml
switch to adding only smb:// as suggested on forums
2016-02-04 03:41:39 -06:00
Shaun
95ed199218 use retention date from server 2016-02-04 17:10:20 +11:00
angelblue05
452df0614d Update labels for settings + modify h265 transcode
This convert the setting into convert H265 for resolution and higher
(for example: 480p and higher)
Also prepare for string translation
2016-02-03 23:08:00 -06:00
angelblue05
c4608b38e1 Fix resume when using play-to 2016-02-03 19:06:12 -06:00
angelblue05
dc12f05ba8 Fix indentation
Somehow using tabs rather than spaces
2016-02-03 16:43:29 -06:00
angelblue05
823c5f28b1 Adding additional logging
During playlist creation
2016-02-03 04:17:00 -06:00
angelblue05
b54f4d54e1 Convert to string
Prep for translation
2016-02-02 19:13:42 -06:00
angelblue05
bfbc66457c Convert to string
Prep for translation
2016-02-02 17:49:22 -06:00
Shaun
20a762e051 reset the keep_running when run forever is called 2016-02-02 18:06:10 +11:00
angelblue05
3c237bafe3 Fix typo in bluray
For direct paths
2016-02-01 19:29:43 -06:00
angelblue05
a2e6a362c5 Adjust for manual sync at start up 2016-01-31 23:12:44 -06:00
Shaun
0aa4ffd1bc WebSocket send ping to server every 10 sec 2016-02-01 11:40:33 +11:00
angelblue05
e4f4900499 Add extra verification for playback
Prevent false detection of widget playback if happen to be on home and
resuming with Play-to emby function.
2016-01-31 17:28:41 -06:00
angelblue05
ff98b7fa30 Fix bluray playback 2016-01-31 02:10:00 -06:00
angelblue05
56fa1a01cf Resume widget fix
Was adding an additional item to the playlist when it was not needed
2016-01-30 22:49:31 -06:00
angelblue05
0cc6d36caa Fix music album + logging 2016-01-30 20:49:10 -06:00
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
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
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