Commit Graph

3040 Commits

Author SHA1 Message Date
mcarlton00 5fc60fce6b
Merge pull request #195 from druscoe/fix_empty_download_thread_list
Fix empty download thread list
2020-02-16 19:16:21 -05:00
mcarlton00 c25d06ac80
Merge pull request #194 from druscoe/bug_fixes
Dont modify a list as you are traversing it.
2020-02-16 19:10:00 -05:00
Chuddah 4649d2371f Keep adding threads until the user limit has been reached 2020-02-16 23:39:27 +00:00
Chuddah b878a0e433 Added download thread to the download_threads when created. 2020-02-16 22:56:46 +00:00
Chuddah b9817a5617 Revert "Replaced debug output of json.dumps with an indirection to lazy __str__."
This reverts commit 78fda95853.

Committed on the wrong branch.
2020-02-16 22:22:23 +00:00
Chuddah 7491000a13 Replaced debug output of json.dumps with an indirection to lazy __str__.
json.dumps is a processing intensive operation. This is being called
every time data is received from the server (most noticeably during
library updates) for debug logging. If the user has debug logging
disabled (the default option) then the user is still paying for
processing which is discarded.

The fix is to add a level of indirection where the dumps function is
only called if a string representation of the json is requested; ie.
when the debug string is evaluated.
2020-02-16 22:17:05 +00:00
Chuddah 78fda95853 Replaced debug output of json.dumps with an indirection to lazy __str__.
json.dumps is a processing intensive operation. This is being called
every time data is received from the server (most noticeably during
library updates) for debug logging. If the user has debug logging
disabled (the default option) then the user is still paying for
processing which is discarded.

The fix is to add a level of indirection where the dumps function is
only called if a string representation of the json is requested; ie.
when the debug string is evaluated.
2020-02-16 22:07:56 +00:00
Chuddah 85d4e660ef Dont modify a list as you are traversing it. The result is
implementation dependant although with CPython elements are
unintentionally skipped during iteration.

Basic CPython example:

>>> A = [1,2,3,4,5,6]
>>> for a in A:
...     A.remove(a)
>>> A
[2, 4, 6]
2020-02-16 18:41:14 +00:00
mcarlton00 94456ddcd8
Merge pull request #192 from mcarlton00/fix-remote-crash
Fix playlist paths
2020-02-15 11:22:18 -05:00
mcarlton00 0b3319a01a
Merge pull request #190 from mcarlton00/obj-error
Obj error
2020-02-15 11:21:57 -05:00
mcarlton00 c1b18ca1cd
Merge pull request #188 from mcarlton00/kodi19-websocket
Fix kodi 19 websocket control
2020-02-15 11:21:41 -05:00
NeroBurner 406f9bbab2 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/de/
2020-02-14 22:50:06 -05:00
mcarlton00 0bd378f9c9 Fix playlist paths 2020-02-14 20:15:14 -05:00
mcarlton00 ba6242dd93 Fixing indentation 2020-02-13 19:43:29 -05:00
mcarlton00 c6a701a4a3 Fix library object types 2020-02-13 19:39:38 -05:00
mcarlton00 e30e6dca8a Add link to magic string 2020-02-12 17:22:49 -05:00
mcarlton00 07c9fffab7 Fix kodi 19 websocket control 2020-02-11 23:09:55 -05:00
Libor Filípek 82910c6b2d Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/cs/
2020-02-10 14:17:50 -05:00
Libor Filípek 90293c3696 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/cs/
2020-02-09 07:17:49 -05:00
Libor Filípek 5e6e8836a1 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/cs/
2020-02-06 09:17:44 -05:00
Libor Filípek f6ec3bf495 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/cs/
2020-02-04 01:17:41 -05:00
DJSweder 0e5e6ec9b2 Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/cs/
2020-02-04 01:17:41 -05:00
Nutjob f4767eea86 Translated using Weblate (Italian)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/it/
2020-02-04 01:17:40 -05:00
Libor Filípek fdd19dd21b Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/cs/
2020-01-31 07:17:38 -05:00
Libor Filípek a486097767 Added translation using Weblate (Czech) 2020-01-28 18:38:57 -05:00
Philmo67 576395df7c Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-21 12:17:16 -05:00
Thoscellen 5203ab68ee Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-20 11:55:27 -05:00
Philmo67 7d75e35183 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-20 11:55:27 -05:00
Thoscellen bf69e2ff3e Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-20 11:54:59 -05:00
Philmo67 dbbc0c29cb Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-20 11:54:59 -05:00
NunzioArdi 611daee739 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-17 13:17:09 -05:00
Decoy7 9762e92e77 Translated using Weblate (Greek)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/el/
2020-01-15 09:17:07 -05:00
nextlooper42 14bba62cb7 Translated using Weblate (Slovak)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/sk/
2020-01-15 09:17:07 -05:00
Decoy7 8fb96e391d Added translation using Weblate (Greek) 2020-01-13 14:42:53 -05:00
Slobodan Simić 5e98d18620 Translated using Weblate (Serbian)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/sr/
2020-01-12 05:17:02 -05:00
Alexander Brissman 83fa1838a6 Translated using Weblate (Norwegian Bokmål)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/nb_NO/
2020-01-12 05:17:01 -05:00
dtorner fb49e7bd6c Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/es/
2020-01-12 05:17:00 -05:00
Philmo67 0d0e68d4a0 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-12 05:16:59 -05:00
Slobodan Simić ed807ec2dd Added translation using Weblate (Serbian) 2020-01-10 16:09:52 -05:00
Philmo67 704c9c9711 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-08 19:16:54 -05:00
Travis Longstocking 08b0cd306a Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/es/
2020-01-07 10:16:53 -05:00
Philmo67 1337d2b489 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-07 10:16:53 -05:00
Abby 42258c699a Removed unnecessary log messages and changed some to debug (#167) 2020-01-05 18:41:26 -05:00
Abby 896c2fe6ec
Merge pull request #172 from oddstr13/pr-kodi19-1
Added support for Kodi 19 (and Python 3)
2020-01-05 17:57:27 +00:00
Thoscellen 43b2a97e68 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2020-01-05 12:16:47 -05:00
tokiedokie 9b0902e61e Translated using Weblate (Japanese)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/ja/
2020-01-04 05:16:46 -05:00
Marcin Woliński 96186dbfed Translated using Weblate (Polish)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/pl/
2020-01-04 05:16:44 -05:00
Odd Stråbø 933a31ac23 Fixes for Kodi 18.5 (and Python2) 2020-01-04 05:17:51 +01:00
Odd Stråbø a51bf9c2cc Initial work on Kodi 19 (and Python 3) support 2020-01-04 03:32:30 +01:00
QIM78 898b0d1faf Translated using Weblate (French)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/fr/
2019-12-31 05:16:35 -05:00