Commit graph

2120 commits

Author SHA1 Message Date
9ae99de8dd Increase amount of logging 2019-07-09 22:05:28 +02:00
c321b266f0 Add more logging to views.py 2019-07-08 02:37:25 +02:00
0549a8b0ea Add file and line number to log output. 2019-07-08 02:33:32 +02:00
24ffc886f8
Merge pull request #32 from jmeacoe/master
Fix music syncing for Kodi 18 retaining Kodi 17 compatibility
2019-06-02 03:42:44 +02:00
jmeacoe
1f205cf8c1 spacing. 2019-05-29 17:46:44 -04:00
jmeacoe
b515642f62 fixes music syncing for kodi 18 while still usable by kodi 17.
Also removes the message in kodi 18 to scan media.
tested in kodi 17 and 18.
2019-05-28 18:46:40 -04:00
a3ae264cf7 Always use plaintext login
Fixes #22
2019-05-10 20:36:34 +02:00
James
5f0416d1ce Added a space to better follow style guidelines 2019-04-14 14:34:31 -04:00
James
9cb89156ee Added "Kodi Sync Queue" to plugins searched when attempting to use fast sync. 2019-04-11 21:20:28 -04:00
Vasily
d195c4e6d2
Merge pull request #7 from cvium/update_from_upstream_again
Update from upstream again
2019-02-05 23:46:31 +03:00
Vasily
79b23aba14
Apply suggestions from code review
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-02-05 13:11:33 +01:00
Claus Vium
3f0c1f4e05 Remove id check since it seems we don't need it 2019-02-04 22:28:02 +01:00
Claus Vium
a14cc6182f More rebranding 2019-02-04 18:30:00 +01:00
Claus Vium
6425a6539f Add missing underscore to http var 2019-02-04 18:27:31 +01:00
angelblue05
93dd35b64d Merge pull request #209 from libanp/develop
Fix version checks
2019-02-04 16:38:10 +01:00
angelblue05
2e2ca1c7aa Support server 3.x with Leia 2019-02-04 16:37:51 +01:00
angelblue05
8c1903d632 Reload objects mapping
Upon restarting service
2019-02-04 16:36:54 +01:00
Vasily
d3c6d9158a
Merge pull request #6 from cvium/fix_some_style_issues
Fix some style issues
2019-02-04 14:31:41 +03:00
Claus Vium
eefe7c6fd7 Fix some style issues and one bug where param was missing 2019-02-03 16:10:44 +01:00
Claus Vium
1e4a5d9fff Remove extra whitespace 2019-02-03 15:42:32 +01:00
angelblue05
7468818598 Fix manual server connection 2019-02-03 15:41:29 +01:00
Claus Vium
a0fb2207ac Remove donations 2019-02-02 22:29:12 +01:00
Claus Vium
8f4d2bfb89 Remove trailing whitespace 2019-02-02 21:31:06 +01:00
Claus Vium
995f871e19 Remove Connect as a login method option 2019-02-02 21:30:18 +01:00
Claus Vium
5fba6555a8 Remove automatic object updates 2019-02-02 21:26:29 +01:00
Claus Vium
5f720da986 Update icon url to jellyfin repo 2019-02-02 21:22:00 +01:00
Claus Vium
fd9cde6008 Fix some tuples 2019-02-02 18:28:50 +01:00
Claus Vium
233192863a Change emby to jellyfin in functions, variables etc. 2019-02-02 18:21:22 +01:00
Claus Vium
647636430f Remove more Connect 2019-02-02 15:41:24 +01:00
Claus Vium
481ee11301 Remove Connect 2019-02-02 14:51:59 +01:00
Claus Vium
59c1dd42e3 Change most string occurrences of Emby to Jellyfin (case sensitive) 2019-02-02 14:10:33 +01:00
Claus Vium
168bab2b01 Rebrand addon name and id and make it compatible with Jellyfin 2019-02-01 19:21:11 +01:00
angelblue05
633d87684d Update krypton objects 2019-02-01 09:16:04 -06:00
angelblue05
e966b613b0 Ensure userid is set for token 2019-02-01 03:09:21 -06:00
angelblue05
4ebcb05ed5 Update local krypton 2019-02-01 03:07:47 -06:00
angelblue05
c9d51690df Fix Kodi hangup on exit 2019-01-31 07:25:21 -06:00
angelblue05
0e30a28dcb Fix webservice being stalled
This time, it should work. Logging was causing the stall?!
2019-01-31 04:06:46 -06:00
angelblue05
c367deed4a Update translation
Dutch
2019-01-30 06:43:24 -06:00
angelblue05
158a736360 Update webservice with cherrypy
Fix playback issues that was causing Kodi to hang up
2019-01-30 06:43:14 -06:00
angelblue05
b2bc90cb06 Move libraries import 2019-01-30 06:42:06 -06:00
angelblue05
3ea6890c34 Filter webservice requests
Only proceed if the id is a number.
2019-01-27 14:49:35 -06:00
angelblue05
e5aea3fbdc Allow homevideos under videos
Pictures won't display correctly, but restore previous behavior
2019-01-27 09:17:40 -06:00
angelblue05
467c474f4d Fix profile masterlock
fix missing content if a master lock is set.
2019-01-26 02:23:44 -06:00
angelblue05
0818e627c1 Fix new indicator for sync
Missing for incremental syncs
2019-01-26 00:25:02 -06:00
angelblue05
7e7cf1489d Rework full sync into a context 2019-01-25 09:30:30 -06:00
angelblue05
f9db3c6134 Update window utils
Remove useless replace
2019-01-25 08:11:49 -06:00
angelblue05
98ffa9b503 Fix multi-server support 2019-01-25 07:02:27 -06:00
angelblue05
c940578ecf Add indicator for sync 2019-01-25 05:32:29 -06:00
angelblue05
3363df431c Update Krypton objects 2019-01-25 04:30:43 -06:00
angelblue05
8283204201 Fix header for requests
Encode to utf-8 to prevent errors if the device name is non-ascii
2019-01-25 00:22:54 -06:00
angelblue05
e42e7e5c90 Disable Audiobooks
Server doesn't have a set structure yet. This feature is broken atm.
2019-01-24 05:35:25 -06:00
Sebastian S
51e2880c09 added "playlists" to wnodes 2019-01-24 09:11:09 +01:00
angelblue05
48b2cf7315 Only run one full sync instance
Prevent user from launching multiple syncs and freezing the add-on.
2019-01-23 18:40:36 -06:00
angelblue05
50c2b8153e Fix string typo 2019-01-23 18:13:32 -06:00
angelblue05
ce9a72e756 Adjust subtitles behavior 2019-01-23 12:28:14 -06:00
angelblue05
e411da027e Adjust client api 2019-01-22 21:35:54 -06:00
angelblue05
2c70a30f57 Update translation
Dutch, Polish
2019-01-22 07:39:58 -06:00
angelblue05
654d0e5d93 Update Krypton objects 2019-01-22 07:34:16 -06:00
angelblue05
30f34729dc Remove unused strings 2019-01-21 08:31:05 -06:00
angelblue05
48911cb511 Add option to enable/disable service 2019-01-21 08:30:53 -06:00
angelblue05
6c250d180b Re-add texture to database discovery 2019-01-21 07:06:00 -06:00
angelblue05
357182ca82 Update database discovery 2019-01-21 07:01:34 -06:00
angelblue05
11b80271dd Ensure widgets get updated
Container.Refresh alone doesn't seem to work
2019-01-21 06:56:49 -06:00
angelblue05
4612826ac8
Merge pull request #156 from adam111316/patch-2
Fix force hi10p transcoding behavior
2019-01-20 06:07:18 -06:00
angelblue05
2226935f41 Version bump 3.1.45 2019-01-20 05:21:55 -06:00
angelblue05
ce9015c0a1 Fix compare sync 2019-01-20 04:49:15 -06:00
angelblue05
4b2a941c88 Use LastConnectionMode for server test 2019-01-20 04:46:18 -06:00
angelblue05
349b81757b Update translation
German, Italian
2019-01-20 01:31:21 -06:00
angelblue05
2bbd5bf3a9
fix db stuff (#164)
* Reload objects upon initial setup

* Fix database discovery

ignore db-journal
2019-01-20 01:21:37 -06:00
Sebastian S
2a4e42fba0 Fix case sensitive issue at calling the log function 2019-01-19 18:05:17 +01:00
Sebastian S
ff6bacf415 Don't clear playlist if busy spinner is active 2019-01-19 13:47:17 +01:00
Sebastian S
bb3a2370ef Clear playlist on player.onstop 2019-01-19 09:33:03 +01:00
adam111316
452015dbd4
Fix force hi10p transcoding behavior
Fixes the "Force Hi10p transcoding" option to only apply to h264 video codecs
2019-01-19 16:16:06 +08:00
angelblue05
c598c3b99c Version bump 3.1.44 2019-01-16 18:48:23 -06:00
angelblue05
c77b8a93d9 Fix playlist 2019-01-16 18:42:06 -06:00
Sebastian S
7e2fdede83 load all item details for playlists 2019-01-16 11:06:45 +01:00
Sebastian S
749d0e92e4 fixed video listitem issues for krypton 2019-01-15 07:42:43 +01:00
angelblue05
9b8574b6a6 Fix database discovery prompt 2019-01-14 22:33:41 -06:00
angelblue05
05e8a2eb5d Update Krypton objects 2019-01-14 17:51:18 -06:00
angelblue05
d555079221 Quiet webservice 2019-01-14 17:49:58 -06:00
angelblue05
ae51eabb41 Fix context transcode 2019-01-14 17:49:43 -06:00
Sebastian S
f6ffd31e2d Fixed transcode via context menu 2019-01-14 18:21:12 +01:00
angelblue05
d0c5cf5864 Fix database discovery 2019-01-14 04:51:14 -06:00
angelblue05
9cc8405a70 Add manage libraries
Too many entries
2019-01-14 03:16:50 -06:00
angelblue05
b80c5f7f57 Fix update generating duplicates 2019-01-14 02:59:47 -06:00
angelblue05
f617619430 Increase retry timeout 2019-01-14 02:05:37 -06:00
angelblue05
7332cfa4b2 Fix encode and params 2019-01-14 01:36:27 -06:00
angelblue05
6a6e9a597b Support songs without albums 2019-01-14 01:21:15 -06:00
angelblue05
40fa688526 Fix if server is selected but unavailable 2019-01-14 01:21:07 -06:00
angelblue05
3007e1d7cd Fix check update 2019-01-13 22:18:34 -06:00
angelblue05
ae0163d479 Update default sync indicator
Based on overall feedback
2019-01-13 16:31:34 -06:00
angelblue05
25ed1cb011 Fix service restart 2019-01-13 04:21:35 -06:00
angelblue05
5db5372db5 Add webservice for playback prep 2019-01-13 04:21:23 -06:00
angelblue05
2a689397e5 Fix discovery toggle 2019-01-11 22:46:14 -06:00
angelblue05
ff9120c847 Adjust database discovery
Compare loaded vs discovered to avoid loading old databases by accident.
2019-01-11 22:25:39 -06:00
angelblue05
73fefe057d Container optional playutils 2019-01-11 20:34:40 -06:00
angelblue05
ddc6b01055 Fix database discovery
Add table verification + date modified verification
2019-01-11 19:57:20 -06:00
angelblue05
844732d778 Fix db discovery
Ignore emby.db
2019-01-11 00:39:23 -06:00
angelblue05
b34b48fdc1 Fix dateutil import 2019-01-11 00:32:19 -06:00
angelblue05
1942f05559 Catch error for dateutil
In the event the server has some weird date that can't be converted
2019-01-10 20:36:20 -06:00
angelblue05
67377922a4 Quick fix for new library dateutil 2019-01-10 19:06:52 -06:00
angelblue05
556dffa3ce Update translation
New: Polish, Dutch Updated: German, French, Italian
2019-01-10 18:50:22 -06:00
angelblue05
299e8d3e83 Ensure previous playback terminated 2019-01-10 17:46:05 -06:00
angelblue05
23686f975f Add database discovery 2019-01-10 17:38:57 -06:00
angelblue05
d43b261f0b Add shortcut restart addon
Add notification
2019-01-09 16:46:27 -06:00
angelblue05
25dbfd3a0e Fix service restart 2019-01-09 15:46:22 -06:00
angelblue05
79e335f185 Prep for multi db version support 2019-01-08 19:51:18 -06:00
angelblue05
d0e4aa8e1a Fix string 2019-01-04 19:07:22 -06:00
angelblue05
358a029700 Prep convert to local time 2018-12-30 19:34:45 -06:00
angelblue05
47f7d99954 Add dateutil library 2018-12-30 19:30:50 -06:00
angelblue05
bf0ebbc487 Fix libraries being wiped
Catch errors to prevent false positive
2018-12-30 16:14:40 -06:00
angelblue05
753b441b5b Version bump 3.1.36 2018-12-22 02:54:50 -06:00
angelblue05
9c01340af4 Verify patch connection 2018-12-22 02:49:35 -06:00
angelblue05
5839075424 Fix patch
ugh sleep!!
2018-12-14 04:31:26 -06:00
angelblue05
3ea2ecc50d Fix patch
Allow dev mode to redownload zip
2018-12-14 03:54:29 -06:00
angelblue05
ed9374205f Fix RT string 2018-12-14 01:28:19 -06:00
angelblue05
4830780632 Update patch
Check for updates + dev = forced grab from github
2018-12-13 18:40:18 -06:00
angelblue05
7dfdf91279 Add developer mode 2018-12-13 18:24:44 -06:00
angelblue05
0926c0b5b4 Fix audio/sub change
Only for addon playback
2018-12-13 15:10:24 -06:00
angelblue05
3dc72287b3 Add setup RT 2018-12-13 04:41:34 -06:00
angelblue05
5d6e106ef3 Fix emby connect auth string
Was preventing proper device detection when using emby connect, play to, etc.
2018-12-10 15:15:25 -06:00
angelblue05
52192ce123 Add optional rotten tomatoes option 2018-12-02 01:37:54 -06:00
angelblue05
a4ba5ef712 Fix encoding error 2018-12-01 03:03:22 -06:00
angelblue05
4912022a7e Fix updates 2018-11-19 00:12:46 -06:00
angelblue05
ca0513e96a Add setting to sync during playback 2018-11-17 03:46:22 -06:00
angelblue05
a90610e928 Fix LiveTV 2018-11-16 03:42:36 -06:00
angelblue05
883c1741bf Add remove libraries, fix mixed libraries 2018-11-10 14:50:21 -06:00
angelblue05
a1851069ed Fix subtitles not following server settings 2018-11-09 18:13:08 -06:00
angelblue05
702ce0beac Adjust playback progress monitor
Only track progress report if the item is an emby item
2018-11-08 21:58:42 -06:00
angelblue05
085e243e86 Add silent catch for errors 2018-11-08 17:53:36 -06:00
angelblue05
3070740f52 Fix playback for server 3.6.0.61 2018-11-06 17:09:20 -06:00
angelblue05
1bace6f0c3 Add Italian translation 2018-11-04 18:39:16 -06:00
angelblue05
e1430c61f3 Version bump 3.1.33 2018-11-04 18:18:16 -06:00
angelblue05
f365078877 Follow emby settings for subtitles 2018-11-04 18:18:07 -06:00
angelblue05
d5f9b76020 Fix progress report
Silent RefreshProgress in websocket
2018-11-04 16:36:32 -06:00
angelblue05
05483c7406 Detect coreelect, etc 2018-11-02 16:26:29 -05:00
angelblue05
7eaaa933b7 Fix dynamic widgets 2018-11-01 01:39:44 -05:00
angelblue05
1a1a306831 Fix nextup 2018-11-01 01:39:02 -05:00
angelblue05
3a79341065 Ensure deliveryurl is an actual url 2018-10-24 04:09:33 -05:00
angelblue05
043a2574b1 Change default behavior of startup dialog
In case it is forced closed by Kodi, allow the sync to proceed
2018-10-24 03:55:53 -05:00
angelblue05
51f1acef96 Add logging and small fixes
Prepare userdata by date modified
2018-10-18 07:07:51 -05:00
angelblue05
98f4f11fc2 Add a verification onwake
Somehow, Kodi can trigger OnWake without first trigger OnSleep.
2018-10-15 21:14:21 -05:00
angelblue05
f8bf3b5151 Krypton update to support upnext 2018-10-15 06:40:28 -05:00
angelblue05
58e02cfbb7 Small service adjustment 2018-10-15 06:26:25 -05:00
angelblue05
c3fbdf082c Support up next 2018-10-15 06:26:11 -05:00
angelblue05
2212b621ff Update DE translation 2018-10-13 04:15:02 -05:00
angelblue05
3163b86fbb Update FR translation 2018-10-13 04:14:06 -05:00
angelblue05
66822b6d0a Fix update library
Only do the compare when user selects update library, also add a restart service option in the add-on settings > advanced
2018-10-13 03:53:22 -05:00
angelblue05
1174c685e9 Restart service upon check for updates
To reload the new objects module.
2018-10-13 03:51:10 -05:00
angelblue05
c76f19e42d Adjust for resume settings
With .55 the resume setting is set per library. Instead query server to see if the item is played to offer delete
2018-10-13 01:00:05 -05:00
angelblue05
0d5a89757f krypton update 2018-10-12 20:10:33 -05:00
angelblue05
bc07da703a Fix user settings
Due to api change in 3.6.0.55
2018-10-12 18:23:00 -05:00
angelblue05
a6f4a157a8 Fix inital sync leading to fast sync 2018-10-12 00:26:44 -05:00
angelblue05
403e5834e0 Update patch
Move patch from cache to addon_data. No longer need to restart Kodi to apply the first patch.
2018-10-11 20:24:33 -05:00
angelblue05
d251db8d1a Fix resume sync behavior
Allow to complete the startup sync in the event user backs out of resume sync
2018-10-10 16:42:46 -05:00
angelblue05
b4791b1412 Fix boxset refresh 2018-10-10 16:38:49 -05:00
angelblue05
e17445b574 Fix empty results due to error 500 2018-10-10 16:38:40 -05:00
angelblue05
45eb2aac60 Ensure all threads are terminated correctly 2018-10-08 22:35:40 -05:00
angelblue05
1147a3b2bf Adjust playback
Allow direct play for http streams
2018-10-08 21:12:59 -05:00
angelblue05
3d0de5d8b1 Fix regression to welcome message 2018-10-08 16:10:38 -05:00
angelblue05
d11cb32802 Fix emby database locked 2018-10-08 01:21:30 -05:00
angelblue05
98a6778764 Version bump 3.1.28 2018-10-07 18:23:21 -05:00
angelblue05
d893996cf4 Prep for audiobook transcode
Still need to implement universal for audio transcode
2018-10-07 18:20:47 -05:00
angelblue05
69395b0e80 Review library threads 2018-10-07 18:19:06 -05:00
angelblue05
30f066ede8 Prevent patch loop
Try once, then let it go, to avoid locking user in a restart loop
2018-10-07 18:18:37 -05:00
angelblue05
aef76725c8 Move welcome message to service 2018-10-07 17:55:34 -05:00
angelblue05
2c4ce7e7a4 Fix audiobooks back to video type
Add shortcuts. Audiobook can't be music type otherwise it break resume behavior and it won't play the right item. Has to be video type.
2018-10-06 21:29:51 -05:00
angelblue05
4ecd3fa2f6 Add force transcode settings 2018-10-06 18:44:15 -05:00
angelblue05
14c07ce42f Fix artwork for shortcuts on profile switch 2018-10-05 17:29:21 -05:00
angelblue05
3c9a97047e Fix resume sync
Now save progress, unless exited due to path validation
2018-10-05 17:16:10 -05:00
angelblue05
90ed66bc56 Fix content type for dynamic music 2018-10-05 01:39:49 -05:00
angelblue05
c42dddf563 Stop trying to get items if server offline 2018-10-05 00:11:20 -05:00
angelblue05
3b3be6cf62 Version bump 3.1.27 2018-10-05 00:00:53 -05:00
angelblue05
2ec188341c Fix slowness 2018-10-04 23:38:55 -05:00
angelblue05
586717c7a1 Remove content with update library
Now remove irrelevant content as well
2018-10-04 05:20:42 -05:00
angelblue05
c63bfd1346 content notification 2018-10-04 00:41:31 -05:00
angelblue05
969629ec37 Revise progress bar
Fix typos and subsetting
2018-10-03 23:01:29 -05:00
angelblue05
1290abf75a Add progress for updates 2018-10-03 22:36:57 -05:00
angelblue05
299e519cb7 Fix source selection for direct stream 2018-10-03 19:22:57 -05:00
angelblue05
a5ffd8871b Fix screensaver toggle 2018-10-03 19:05:16 -05:00
angelblue05
313585efff Prevent error from creating nodes
The addon automatically creates nodes at startup with prefilled information. Prevent errors in the event something goes wrong. It will fix itself down the line, after user has logged in.
2018-10-03 18:50:11 -05:00
angelblue05
40ac4a0e8c Check db version 2018-10-03 18:25:51 -05:00
angelblue05
949714f22a Adjust lock modification 2018-10-03 17:18:05 -05:00
angelblue05
66a8a5161a Fix local trailers 2018-10-03 01:35:21 -05:00
angelblue05
15620a743a Version bump 3.1.25 2018-10-03 00:27:28 -05:00
angelblue05
8d838d257e Fix library sync
Adjust lock, re-add screensaver deactivated during sync, prep compare sync, stop library updates from being processed before startup sync is completed
2018-10-03 00:12:30 -05:00
angelblue05
b8ea16ed46 Fix missing new artists 2018-10-02 18:33:25 -05:00
angelblue05
c250457c87 Fix potential error with checksum 2018-10-01 21:24:08 -05:00
angelblue05
fa58296c75 Fix server detection in monitor 2018-10-01 02:27:19 -05:00
angelblue05
dcd594cdb5 Adjust sleep behavior 2018-09-30 21:13:22 -05:00
angelblue05
f9e26e1c23 Plug in settings for threading 2018-09-30 19:37:00 -05:00
angelblue05
b35cd29bc2 Plug in settings for threading 2018-09-30 19:35:31 -05:00
angelblue05
026095722c Fix slowness 2018-09-30 18:44:42 -05:00
angelblue05
0dd54b019d Patch to support pre 3.6 libraries 2018-09-25 16:41:17 -05:00
angelblue05
285b242a7f Fix lastplayed 2018-09-25 04:07:13 -05:00
angelblue05
2a1a4b8a7c Fix boxsets 2018-09-25 00:19:52 -05:00
angelblue05
2148fd152e Fix show update 2018-09-23 21:51:46 -05:00
angelblue05
7e387a8652 Fix playback starting server connection instance 2018-09-23 21:43:48 -05:00
angelblue05
4b8ebf5656 Version bump 3.1.21 2018-09-23 17:37:30 -05:00
angelblue05
42e1c2ece3 Revert "Small fixes"
This reverts commit 9ec1fa3585.
2018-09-23 17:35:34 -05:00