Commit Graph

1494 Commits

Author SHA1 Message Date
angelblue05 b65d6baad0 Sync season name for Jarvis or higher 2016-09-06 22:57:33 -05:00
angelblue05 21f8a62ebd Add utils dialog
Centralize for later, control icon, etc. Pylint.
2016-09-06 22:07:14 -05:00
angelblue05 9e9054865a Split setup into methods
Add additional logging for migration
2016-09-06 20:21:43 -05:00
angelblue05 334206b334 Fix user client loading user ordering 2016-09-06 17:43:15 -05:00
angelblue05 644783fae5 Update user login 2016-09-05 03:38:57 -05:00
angelblue05 8319f2f0df Fix typo 2016-09-04 23:45:11 -05:00
angelblue05 a658459862 suppress 401 error 2016-09-04 22:58:46 -05:00
angelblue05 3d31568518 Pylint + Fix initial setup for fresh installs 2016-09-04 22:33:34 -05:00
angelblue05 d36bb3d232 Migrate device id to different location
Moves the file outside of add-on folder so it persists reinstalls.
2016-09-04 21:20:47 -05:00
angelblue05 7b2a7d1e65 Expand video quality settings 2016-09-04 20:43:37 -05:00
angelblue05 69afc98638 Expand video quality bitrate selection
25/30/35 Mbps
2016-09-04 20:43:06 -05:00
angelblue05 c56f9a005c Fix plugin listing
Typo
2016-09-04 20:19:51 -05:00
angelblue05 e19e90e703 Review server offline
Add settings to disable offline server message
2016-09-04 19:28:30 -05:00
angelblue05 feda0cb9df Save serverId to settings 2016-09-04 19:14:25 -05:00
angelblue05 71abbd4129 Set username when using emby connect 2016-09-04 05:58:17 -05:00
angelblue05 e443286a96 Readjust settings ordering 2016-09-04 05:47:41 -05:00
angelblue05 e38bb21a25 Filter virtual episodes 2016-09-04 05:19:34 -05:00
angelblue05 6a2ea9a4dd Emby Connect (#58)
* Update with latest connect module

* Update string

* Change error behavior

* Add connectmanager

Handle dialogs for emby connect in one place

* Add user select dialog

* Add manual server dialog

* Add onAuthenticated

* Filter virtual episodes

* Update userclient with new methods
2016-09-04 05:18:31 -05:00
delphiactual 79c841bf32 fix getPlatform (#57)
xbmc.getCondVisibility('system.platform.linux') returns true in all the following cases: android, raspberry pi, and linux. By reordering the if statement this can be fixed.
2016-09-02 01:21:15 -05:00
angelblue05 95cd7b9844 Fix external subs error
In case it doesn't contain a language tag
2016-09-01 17:21:12 -05:00
angelblue05 53afbeea35 Fix single node for krypton 2016-08-31 16:30:25 -05:00
angelblue05 9453417da0 Adjust code 2016-08-30 00:26:57 -05:00
angelblue05 a331f7d43d Default to play from HTTP
Add download external subs option. With testing, we can determine if we
even need a second option or if it should be downloading by default as a
workaround to not being able to label external tracks when using url in
Kodi.
2016-08-30 00:22:54 -05:00
xnappo 00c0556300 Fix for Krypton 2016-08-28 16:49:01 -05:00
angelblue05 dbec225072 Revert "Reinstate airsbefore default value -1"
This reverts commit 1222d4d906.
2016-08-26 04:49:14 -05:00
angelblue05 1222d4d906 Reinstate airsbefore default value -1 2016-08-26 01:33:46 -05:00
angelblue05 d5ee31e76e Add Portuguese translation 2016-08-25 17:00:22 -05:00
angelblue05 9de0e69896 Fix spacing
(testing pylint)
2016-08-21 22:00:35 -05:00
angelblue05 965340db01 Fix logging and exception 2016-08-21 21:57:43 -05:00
angelblue05 8b9b0821c0 Pylint
(testing)
2016-08-21 21:51:23 -05:00
angelblue05 8cd4cb903e Add logging
Prevent error in event profiling modules are not part of the standard
python library
2016-08-21 16:28:26 -05:00
angelblue05 00fd67cab3 Fix typo 2016-08-18 01:41:18 -05:00
angelblue05 fd395083bd Fix navigation not waking up screen 2016-08-07 20:37:35 -05:00
angelblue05 51400fd828 Add JSONRPC class 2016-08-07 19:57:11 -05:00
angelblue05 3a859279ec Fix missing logging 2016-08-07 03:40:18 -05:00
angelblue05 2274565c0d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-08-06 14:16:20 -05:00
im85288 d582888ffb update video db version for krypton 2016-08-06 16:20:15 +01:00
marcelveldt 01800c0c3b fix for krypton compatability 2016-08-06 15:43:04 +02:00
angelblue05 f4a80a5ea8 Keep track of fast sync
If server plugin is not installed, automatically fall back to client
time.
2016-08-05 23:21:32 -05:00
angelblue05 46121656f8 Fix fail detection for tvshows
Due to missing end slash - for xbmcfvs.exists()
2016-08-03 18:35:55 -05:00
angelblue05 367440dc7f Add French translation 2016-07-31 15:40:03 -05:00
angelblue05 7d2ce335e8 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-31 15:30:36 -05:00
xnappo 133773d5b6 Krypton prep 2016-07-31 12:15:38 -05:00
angelblue05 54db63c378 Adjust logging for itemtypes not found 2016-07-30 19:19:07 -05:00
angelblue05 95066b0f77 Add German translation
Fix escape \' displaying
2016-07-30 16:17:35 -05:00
angelblue05 9344141a2c Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-29 04:12:35 -05:00
angelblue05 dc15d4d832 2.2.19 (#52)
Fix typo in logging
2016-07-29 04:12:30 -05:00
angelblue05 48f20295aa Catch keyerror
If advancedsettings.xml modifies the webserver, it seems to cause errors
in jsonrpc and will return invalid params. Bug in Kodi?
2016-07-25 21:58:49 -05:00
angelblue05 345090e933 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-25 17:40:04 -05:00
angelblue05 541afbb989 2.2.18 (#51)
Fix logging error (#51)
2016-07-25 17:36:43 -05:00
angelblue05 ea5ac3748a Log exception before dialog
Using logging module, it won't prevent the dialog from displaying.
2016-07-25 03:08:45 -05:00
angelblue05 e197208d3e 2.2.17 (#50)
* Add temporary setting to disable external subs for direct stream
* Fix crash when sleeping/waking up device
* Use the logging module. Moved logging to it's own file.
* Version bump 2.2.17
* Update README.md
2016-07-24 22:39:40 -05:00
angelblue05 5895831ba8 Clean up logging
Moved incremental log line to display only if there's actual items to
process.
2016-07-24 18:46:24 -05:00
angelblue05 76dfa1286c Update logging
Use the logging module. Moved logging to it's own file.
2016-07-24 03:59:48 -05:00
angelblue05 380fcdfc35 Fix unicode error 2016-07-22 18:34:26 -05:00
angelblue05 793bd66554 Fix crash when sleeping/waking up device 2016-07-22 17:10:35 -05:00
angelblue05 e97a3a616d Add temporary setting to disable external subs
For direct stream
2016-07-22 11:54:53 -05:00
angelblue05 f89d5c96f6 Transform database locked into a settings
Temporary settings, because it slows down the process since it's
auto-committing. Not everyone has database locked crashes. Permanent fix
is being worked on in the database branch.
2016-07-19 02:08:35 -05:00
angelblue05 d5baf0ceed Fix typo 2016-07-18 17:56:39 -05:00
angelblue05 cfb94b7bd0 Temp fix for database being locked 2016-07-18 15:47:42 -05:00
angelblue05 02ab4abe51 Fix not saving watched status
If delete after watched was enabled.
2016-07-18 14:42:33 -05:00
angelblue05 77b99210c1 Add error mode to logging 2016-07-17 18:27:54 -05:00
angelblue05 da7685b03f Try to fix import strptime bug
Clean up of downloadutils and utils.
2016-07-16 10:02:50 -05:00
angelblue05 06d71cf00d Fix typo 2016-07-15 19:17:32 -05:00
angelblue05 8b83ae8a00 Clean up downloadUtils 2016-07-15 19:02:30 -05:00
angelblue05 213f42f4a5 Update downloadUtils requests
Code reduction,  fix connections not being released.
2016-07-15 18:01:59 -05:00
angelblue05 15ac7fd0ca Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-04 14:22:24 -05:00
shaun 8f0343de2e dont auto fall back to http streaming if not selected
Dont fall back to http streaming if direct file playback is expected.
2016-07-04 20:34:58 +10:00
angelblue05 0fee1975d4 Clean up dialog 2016-07-03 22:45:20 -05:00
angelblue05 272a955d4d Remove useless control in dialog 2016-07-03 22:26:10 -05:00
angelblue05 efdafa2831 Remove unused import 2016-07-03 22:25:09 -05:00
angelblue05 b8ca6d3119 Emby connect - login dialog 2016-07-03 22:24:39 -05:00
angelblue05 5aca32c341 Prep for emby connect
xml, image, qrcode
2016-07-03 04:32:06 -05:00
angelblue05 6c8a95fabb Fix errors 2016-07-02 23:41:42 -05:00
angelblue05 af85505a99 Translation spanish 2016-07-02 23:40:55 -05:00
shaun a911249840 sync progress changes
add (if item count greater) for sync progress dialog
always show progress for full sync
2016-07-03 13:26:11 +10:00
kravone df2600f579 Revert "Faster XML processing and lower memory" 2016-06-29 21:15:26 +02:00
SpootDev 9a5bd10d40 celementtree 2016-06-28 18:28:01 -05:00
angelblue05 9a98e2995e Remove profiling 2016-06-28 17:24:36 -05:00
angelblue05 c0f0a1978f Preparation for centralized queries
To handle exceptions, etc.
2016-06-28 17:24:12 -05:00
angelblue05 16ea2e35c3 Translation - Russian,Swedish 2016-06-28 13:03:12 -05:00
angelblue05 237cb26dc8 Translation - Dutch 2016-06-28 12:45:54 -05:00
angelblue05 269205fe97 Remove profiling 2016-06-28 01:09:36 -05:00
angelblue05 6837144ba7 Revert changes - static=true 2016-06-27 23:55:14 -05:00
angelblue05 a84ba22908 Fix for music 2016-06-23 19:52:54 -05:00
angelblue05 2794789f05 Fix for channel not changing
To be reviewed.
2016-06-23 18:50:34 -05:00
angelblue05 da8bf3670d Fix conflicting import 2016-06-22 14:29:53 -05:00
angelblue05 b2d3b702d1 Revert incorrect modification
Only use is for None, nothing else. "is" is not "=="
2016-06-22 14:05:53 -05:00
angelblue05 03a1557eaf Fix typo 2016-06-21 15:26:42 -05:00
angelblue05 8423342371 Fix active listing 2016-06-20 21:23:36 -05:00
angelblue05 cb18f17dbe Fix typo 2016-06-20 21:21:24 -05:00
angelblue05 3e1aa94c78 Strings - translation 2016-06-20 20:57:29 -05:00
angelblue05 924c3a4a05 Fix arguments 2016-06-20 14:04:10 -05:00
angelblue05 48fbce2211 Fix typo 2016-06-20 13:59:55 -05:00
angelblue05 49157bbbea Fix logging typo 2016-06-20 13:58:17 -05:00
angelblue05 f47ead1ddc Fix logging 2016-06-19 23:09:07 -05:00
angelblue05 0efc37f646 String & remove like/dislike
To review: music rating since server does not have like/dislike anymore
2016-06-19 20:32:09 -05:00
angelblue05 313899c8e7 Fix typo 2016-06-19 20:17:10 -05:00
angelblue05 3c60eddf55 Add refresh item to context menu 2016-06-19 19:24:42 -05:00
angelblue05 a42ecfdbc2 Merge pull request #41 from delphiactual/patch-1
Fixed: Typo in strings.xml
2016-06-19 17:29:03 -05:00
angelblue05 f90349d6a8 Fix typo 2016-06-19 17:23:46 -05:00
delphiactual ad6e0bb7da Fixed: Typo in strings.xml 2016-06-19 15:47:59 -06:00
angelblue05 a8fd73740c Strings 2016-06-19 16:24:34 -05:00
angelblue05 aa3a6fa17f Centralize logging 2016-06-19 13:30:54 -05:00
angelblue05 354877d31c Centralized Logging 2016-06-18 19:48:19 -05:00
angelblue05 14b1339179 Fix typos 2016-06-18 13:56:56 -05:00
angelblue05 55998c796f Remove old log method 2016-06-17 22:05:18 -05:00
angelblue05 5658801f72 Centralized logging 2016-06-17 22:03:28 -05:00
angelblue05 02e7c2946b Centralize path validation
and logging
2016-06-17 16:42:48 -05:00
angelblue05 1dac1c4f4b Fix typo 2016-06-17 14:52:53 -05:00
angelblue05 9314c4a363 Centralized Logging 2016-06-16 16:24:07 -05:00
angelblue05 e7bdfacd47 Empty show
Prevent crash in the event RecursiveItemCount is missing. Sounds like a
server bug if it's missing from the api
2016-06-16 14:13:38 -05:00
angelblue05 b9d40d91a6 Fix SeriesName missing
Prevent crash from happening.
2016-06-16 00:49:54 -05:00
angelblue05 7a0f69e014 Centralized logging 2016-06-16 00:43:36 -05:00
angelblue05 417b8d3b22 Merge pull request #39 from NickSC/master 2016-05-11 01:06:28 -05:00
Nick ffb2b11d7c screensaver sync delay increased to 5 seconds 2016-05-11 15:35:35 +10:00
A69Tor 04377c5a9c Update playutils.py
Condense videoprofiles check
2016-05-06 19:16:07 -04:00
A69Tor 055366753a Update playutils.py
Remove debug log line
2016-05-06 18:57:19 -04:00
A69Tor 9d50c4f745 Update playutils.py
Modified Hi10P to get streams and parse profiles
2016-05-06 18:55:14 -04:00
A69Tor db8ddc16d2 Update settings.xml
Correct Bool for Transcode Hi10P
2016-05-06 18:00:52 -04:00
A69Tor 7bf0912a11 Update playutils.py
debug
2016-05-06 16:46:30 -04:00
A69Tor d99e7a1290 Update playutils.py 2016-05-06 16:41:37 -04:00
A69Tor 6cb056c987 Update playutils.py
Add in videoprofile check and force transcode for Hi10P
2016-05-06 16:24:23 -04:00
A69Tor 27f8771642 Update settings.xml
Add Force Transcode Hi10P setting
2016-05-06 16:05:17 -04:00
A69Tor 06c85ccc69 Update strings.xml
Add Force Transcode Hi10P
2016-05-06 16:04:39 -04:00
Nick a07f545d5a added option to perform sync when screensaver is deactivated 2016-04-29 15:48:09 +10:00
angelblue05 3dbdab79a9 Revert "Fix missing playurl/pathid references"
This reverts commit 601b36e9b3.
2016-04-26 03:51:24 -05:00
angelblue05 601b36e9b3 Fix missing playurl/pathid references
For movies and episodes
2016-04-25 20:56:42 -05:00
angelblue05 0007741bd3 Fix VoteCount 2016-04-23 19:14:21 -05:00
angelblue05 2e9d9eab65 Fix VoteCount 2016-04-23 19:11:29 -05:00
SpootDev accc452f4c Invalid path 2016-04-15 15:01:12 -05:00
angelblue05 881c693c39 Replace incorrect addon reference 2016-04-15 14:15:13 -05:00
angelblue05 aed9eee6a5 Fix ISO transcode
I don't know that iso transcode is possible, but at least it won't crash
due to emby not probing iso files anymore (no more media info detected)
2016-04-14 17:38:11 -05:00
angelblue05 308ac1a9d6 Update artwork.py 2016-04-13 19:37:02 -05:00
angelblue05 38933b9b2d Update artwork.py if webserver is disabled. 2016-04-13 06:00:50 -05:00
Ian Mclaughlin d95d854f70 Update utils.py
Add initial krypton support
2016-04-12 16:00:22 +01:00
spootdev b67a77c27b title fix 2016-04-06 22:22:34 -05:00
SpootDev 82bcec9819 type 2016-04-06 13:37:19 -05:00
SpootDev e0f33ffc12 missing self 2016-04-06 13:28:08 -05:00
SpootDev fa1c710821 semi colon 2016-04-06 13:24:02 -05:00
SpootDev d080c49821 cleanup 2016-04-04 16:21:05 -05:00
SpootDev d78c04d67f code reduce 2016-04-04 14:18:46 -05:00
SpootDev 30dfe99e37 spelling 2016-04-03 19:54:36 -05:00
SpootDev 398bd1644f type fix 2016-04-03 15:51:26 -05:00
SpootDev d436c8415d reserved word 2016-03-31 17:59:29 -05:00
SpootDev 03ad05bcfb code reduce 2016-03-31 17:42:49 -05:00
SpootDev b143f34fbf code reduce 2016-03-31 16:05:41 -05:00
SpootDev 8db97c5d3d code reduce 2016-03-31 15:25:45 -05:00
SpootDev 0d2efbed1f code reduce 2016-03-31 14:52:09 -05:00
SpootDev 372c61ef92 self.log 2016-03-31 14:48:52 -05:00
SpootDev 9da11785d6 unused field 2016-03-31 14:46:37 -05:00
SpootDev af69c9224e self kodi version 2016-03-31 14:39:39 -05:00
SpootDev d915c4539e code reduce 2016-03-31 14:39:32 -05:00
SpootDev 44d0af0ad8 code reduce 2016-03-31 13:55:25 -05:00
SpootDev 2748d21ff4 self.log 2016-03-31 13:40:47 -05:00
SpootDev 8a130fe810 code reduce 2016-03-31 13:35:23 -05:00
SpootDev c6ba6d6f51 url and log 2016-03-31 13:18:49 -05:00
SpootDev 1768bd0e4c code reduce and doutil to doutils fix for delete favorite 2016-03-31 13:13:26 -05:00
SpootDev a864f390d3 code reduce 2016-03-31 13:00:19 -05:00
SpootDev a80bb11349 reserved word type 2016-03-31 12:49:55 -05:00
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