Commit graph

3152 commits

Author SHA1 Message Date
mcarlton00
881c0e947a
Merge pull request #232 from TrueTechy/year-error-handling
Mitigation for #216 for invalid year
2020-03-17 21:33:45 -04:00
Abby Gourlay
9cb0f63749 Left an import in the clipboard 2020-03-18 01:20:22 +00:00
Abby Gourlay
1df9f15859 Resolved suggestions 2020-03-18 01:18:19 +00:00
Deniz
021f31ad5c Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/tr/
2020-03-17 14:51:45 -04:00
Deniz
53b44e1db7 Added translation using Weblate (Turkish) 2020-03-17 13:45:09 -04:00
mcarlton00
a7ef2f6243
Merge pull request #221 from TrueTechy/cleanup-connection-manager
Cleanup connection manager
2020-03-16 09:05:26 -04:00
Abby Gourlay
37a836dd57 Changed function return type 2020-03-16 12:36:06 +00:00
Mednis
71b282f8a1 Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/lv/
2020-03-16 04:01:09 -04:00
Abby Gourlay
5c93a06e9b Added mitigation for #216 for when the year data from the server is invalid 2020-03-15 01:27:07 +00:00
Abby Gourlay
3bff962cad Removed web server for image caching 2020-03-14 22:37:09 +00:00
Abby Gourlay
a044c1fd29 Fixed API parameter bad optimisation 2020-03-14 21:53:15 +00:00
Abby Gourlay
48ed8ad74c Implemented Suggestions 2020-03-12 22:20:18 +00:00
Mednis
2f9fb660cb Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/lv/
2020-03-09 22:39:17 -04:00
Mednis
6ada1ab07b Added translation using Weblate (Latvian) 2020-03-09 20:16:08 -04:00
tlpwka
5c14b798b3 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/ru/
2020-03-08 20:08:17 -04:00
Abby Gourlay
068a842184 Removed profilling code accidentally commited 2020-03-08 18:08:30 +00:00
Abby Gourlay
36cd765c21 Updated debug logging for sanitising user data 2020-03-08 16:29:15 +00:00
Abby
3cd3069d57
Merge pull request #226 from mcarlton00/version-0.5.1
Version bump for 0.5.1
2020-03-08 15:01:43 +00:00
mcarlton00
500fd5ce02 Version bump for 0.5.1 2020-03-08 10:59:00 -04:00
Abby
0c25cd04be
Merge pull request #224 from mcarlton00/xml-unicode
Fix ascii errors
2020-03-08 14:56:11 +00:00
Matt
0cff79e3c8 Fix logic around checking existing video directory 2020-03-07 10:12:49 -05:00
Matt
fcc6e942ab Use correct xml library for kodi 2020-03-07 08:36:30 -05:00
Matt
bb0a539074 Rework xml unicode handling 2020-03-06 23:38:43 -05:00
Abby Gourlay
298c8b6f25 Renamed function for better clarity 2020-03-06 22:57:13 +00:00
WWWesten
c4419fb90b Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/ru/
2020-03-06 14:45:52 -05:00
mcarlton00
183c05919e
Merge pull request #219 from mcarlton00/0.5.0-version-bump
Version bump for 0.5.0
2020-03-04 15:58:39 -05:00
mcarlton00
dd921d1f47 Version bump for 0.5.0 2020-03-04 11:11:11 -05:00
Adam Bokor
f2b91fddc2 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/hu/
2020-02-29 06:29:23 -05:00
Adam Bokor
50e18fdfe1 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin Kodi
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-kodi/hu/
2020-02-29 04:10:16 -05:00
Adam Bokor
c6ebe44b76 Added translation using Weblate (Hungarian) 2020-02-29 04:05:13 -05:00
Abby
4806379a25
Merge pull request #209 from druscoe/reduce_execute_and_fetch_one_calls
Reduce execute and fetch one calls
2020-02-27 23:30:10 +00:00
Abby
e4a364e3bf
Merge pull request #215 from itsthejoker/library-clarifications
Remove duplicated code and rename UpdatedWorker class
2020-02-27 23:23:59 +00:00
Abby
9b9ea98aae
Merge pull request #214 from mcarlton00/deleting-libraries-is-bad-mmmkay
Fix re-running library updates
2020-02-27 23:12:31 +00:00
Joe Kaufeld
12a373d030 remove duplicated code and rename UpdatedWorker class
Signed-off-by: Joe Kaufeld <joe@grafeas.org>
2020-02-26 22:49:42 -05:00
Matt
e6101b404a Fix music video scanning 2020-02-26 21:05:38 -05:00
Matt
de95807323 Run library updates properly with current items 2020-02-26 20:59:02 -05:00
Abby
43f0c57ffd
Merge pull request #211 from mcarlton00/once-more-with-feeling
More getitem cleanup in library
2020-02-26 23:07:12 +00:00
Abby
589a1896db
Merge pull request #212 from mcarlton00/bad-dates-are-bad
Validate date is not the default as it's invalid and throws errors when trying to parse it
2020-02-26 18:42:24 +00:00
Matt
7efc6f9b6a Fix variable names 2020-02-25 20:25:47 -05:00
Matt
1d02fccce6 Prevent harmless errors about bad dates from the server 2020-02-25 20:19:59 -05:00
Matt
4e37aa9bbf Finish getitem cleanup in library 2020-02-25 18:39:50 -05:00
Abby
f874951cf0
Merge pull request #207 from mcarlton00/py3-library-fixes
Make commands python 2/3 compatible
2020-02-24 19:17:08 +00:00
Chuddah
e23d2e1f7b Forgot to remove unexecuted code. 2020-02-23 19:31:41 +00:00
Chuddah
6fe450da4d Attempt number 2 on a larger dataset; the people table.
Note: This has a previously applied optimization of using a local cache.

Before:
```
458570   66.934    0.000   66.934    0.000 {method 'execute' of 'sqlite3.Cursor' objects}
246771   58.075    0.000   58.075    0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
```

After:
```
368883   66.220    0.000   66.220    0.000 {method 'execute' of 'sqlite3.Cursor' objects}
157084   58.160    0.000   58.160    0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
```

Once again, the number of calls to execute and fetchone are reduced but
the total time spent executing each is relatively stable.
2020-02-23 18:27:12 +00:00
Chuddah
0a69894320 Attempt to reduce the number of calls to execute and fetchone.
Profiling has shown that there are many calls to sqlite3.execute and
fetchone which takes a signicant amount of time. A simple way of
reducing these is to swap the 2-stage init of table row data into a
unified add.

Applying this to add_set and add_country yielded these results:

Before changes
```
281784    7.054    0.000    7.054    0.000 {method 'execute' of 'sqlite3.Cursor' objects}
127443    1.114    0.000    1.114    0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
```

After changes
```
281714    7.492    0.000    7.492    0.000 {method 'execute' of 'sqlite3.Cursor' objects}
127373    1.217    0.000    1.217    0.000 {method 'fetchone' of 'sqlite3.Cursor' objects}
```

Note: The total time of fetchone has actually increased. I am hoping
this was an abnormality on my machine and the actual reduction in the
number of calls will permantly reduce this total time.
2020-02-23 18:00:38 +00:00
Matt
19ec48cd5b Use six library instead of checking sys version 2020-02-23 00:07:44 -05:00
Matt
5479ba2775 Make commands python 2/3 compatible 2020-02-22 23:23:14 -05:00
mcarlton00
0e4458fa75
Merge pull request #193 from druscoe/inefficeint_usage_of_json_dumps_in_debug_output
Replaced debug output of json.dumps with an indirection to lazy __str__.
2020-02-22 14:50:49 -05:00
Chuddah
de493d13dd Moved JsonDebugPrinter to existing utils module 2020-02-22 15:04:28 +00:00
mcarlton00
4d4f45cd42
Merge pull request #202 from druscoe/threaded_http_gets
Parallelize multiple http GETs
2020-02-20 20:12:29 -05:00