Commit Graph

62 Commits

Author SHA1 Message Date
MBR-0001
80ec624ad3
Update OpenSubtitles.cs 2022-01-10 15:25:25 +01:00
Bond_009
31c044b1f5 Minor improvements 2021-12-15 15:33:51 +01:00
MBR#0001
1406de0e9d
fix mess 2021-12-13 15:24:06 +01:00
MBR-0001
7746fd90e0
Replace %20 with + in SearchSubtitlesAsync
https://github.com/jellyfin/jellyfin-plugin-opensubtitles/issues/73#issuecomment-989088709
2021-12-13 15:14:48 +01:00
MBR#0001
cdacbb35e4
Remove string check 2021-12-07 15:19:54 +01:00
MBR#0001
de7daa7a9b
remove var url 2021-12-07 13:13:44 +01:00
MBR#0001
abf87985d7
remove unused/removed fields 2021-12-05 18:06:33 +01:00
MBR#0001
c7f6323df5
cleanup (2/2) 2021-12-05 18:05:11 +01:00
MBR#0001
f9f75e4fd6
502 handling & more cleanup (1/2) 2021-12-05 18:04:36 +01:00
Cody Robibero
0e7081776e Move OpenSubtitlesHandler project to folder 2021-11-17 17:40:33 -07:00
Cody Robibero
03ddcc86c5
Merge pull request #79 from jellyfin/dependabot/nuget/Microsoft.Extensions.Http-6.0.0 2021-11-17 17:14:16 -07:00
Cody Robibero
fe589b591b Remove duplicate reference 2021-11-17 17:13:09 -07:00
MBR-0001
ad9808841d
Improve download limit handling 2021-11-17 13:48:50 +01:00
MBR#0001
fdd14eb835
Remove trailing whitespace 2021-11-17 11:59:01 +01:00
MBR-0001
87c8e967dd
Merge branch 'master' into api-key 2021-11-17 11:03:39 +01:00
MBR#0001
6e46052738
Merge 2021-11-12 23:36:02 +01:00
Cody Robibero
31a477cc1e add official api key 2021-11-11 07:21:41 -07:00
Cody Robibero
6e63e52dc5 Fix build.yaml, fix new build errors 2021-11-10 21:18:07 -07:00
dependabot[bot]
939f871a45
chore(deps): bump Microsoft.Extensions.Http from 5.0.0 to 6.0.0
Bumps [Microsoft.Extensions.Http](https://github.com/dotnet/runtime) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Http
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 22:04:03 +00:00
MBR#0001
ea3ebeb834
Replace en-US CultureInfo with InvariantCulture 2021-11-01 23:58:12 +01:00
MBR#0001
6caa4e5ec8
Trim username, password and api key 2021-11-01 22:21:55 +01:00
MBR#0001
7481e761d6
Rename ApiKey to CustomApiKey 2021-11-01 21:30:34 +01:00
MBR#0001
bb373c07f1
API key changes (1/2) 2021-11-01 21:30:10 +01:00
MBR-0001
0010ee7e16
Merge branch 'jellyfin:master' into master 2021-11-01 21:04:00 +01:00
MBR#0001
b8337449a5
Use reset_time_utc in download response 2021-11-01 19:30:18 +01:00
Cody Robibero
36ef71c79e Merge branch 'master' into 10.8 2021-11-01 11:28:18 -06:00
MBR#0001
7ee208e0fd
Improve searching 2021-10-19 01:05:01 +02:00
MBR#0001
d8f009d6ae
Fix searching 2021-10-07 12:20:51 +02:00
MBR#0001
22e14ec035
Minor improvements 2021-10-06 21:19:54 +02:00
MBR#0001
f0a9282b1c
Remove comment 2021-10-06 19:45:35 +02:00
Cody Robibero
5bc590c267 10.8 support 2021-09-26 17:00:41 -06:00
MBR#0001
43f2ec78b5
language improvements 2021-09-27 00:22:52 +02:00
MBR#0001
7cdb9a55dc
logging improvements 2021-09-27 00:22:20 +02:00
Cody Robibero
a6a062ef0b Add analyzers, remove all warnings 2021-08-28 12:14:06 -06:00
MBR-0001
f5059a1454
Switch to new RESTful API (#54)
* add rest handler

* base

* 1st release

* code cleanup

* small fix

* store NextReset

* fixes

* cleanup

* logging

* fix logging

* additional check for pagination + moviehash_match

* clean up logging

* code cleanup

* search improvements

* Fix bugs and add hardcoded types

* More fixes

* Remove query since it makes hash matching more accurate

* Improve search with IMDb ID & shows now correctly query

* Remove log

* rename handler

* add login info validation

* small fixes

* Add length check

* Format

* Delete Jellyfin.Plugin.OpenSubtitles.sln.DotSettings.user

* cleanup & use temp api key if provided

* add support for both int & string in SearchResult

* strings

* change JsonElement to int

* code cleanup

* code cleanup

* add account message

* change exception type so it gets logged

* remove unnecessary using

* fix NRE in SearchSubtitlesAsync

* add debug logging & strings

* Use expiration time from JWT

* fix GET params order

* Move body serialization

* Add UpdateUserInfo

* Add back 429 logging

* Fix string formatting

* Replace OpenApiException

* Remove OpenApiException

* Change how download limit reset time is obtained

* Remove Util.OnHttpUpdate

* ApiController fixes & improvements

* Remove Swashbuckle reference

* string comparison

* Util improvements

* Convert fields to properties & add json attributes

* Remove unnecessary properties in ApiResponse

* Add link to API status

* Log more info when ComputeHash fails

* Catch correct exception type

* Use the new reset_time_utc

* code cleanup

* string formatting

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Refactor api key handling

* fix formatting error

* simplify query logging

Co-authored-by: Martijn <martijn@melchers.nu>
Co-authored-by: Martijn <martijnmelchers@gmail.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-08-28 19:23:32 +02:00
grafixeyehero
f4aa5c1e2c Bump version 2021-05-13 22:32:11 +03:00
grafixeyehero
3bd30df65b split scripts and update to es6
*
2021-05-13 22:04:52 +03:00
grafixeyehero
9a43cdb4c7 remove jQuery 2021-05-13 20:54:54 +03:00
crobibero
541d3818e5 Add analyzers 2021-03-14 08:18:34 -06:00
ConfusedPolarBear
851c8c61da
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-28 18:26:20 -06:00
Matt Montgomery
f87d95e1d3 Port to .NET 5.0 2020-11-28 00:07:57 -06:00
Odd Stråbø
224ac58ce4 Fix non-generic ILogger injection 2020-07-06 21:45:24 +02:00
Odd Stråbø
c105a54cca Bump version and targetAbi 2020-07-05 13:20:36 +02:00
Odd Stråbø
a5c0441a03 Update for 10.6.0 2020-06-30 14:57:41 +02:00
dkanada
e6b8cbdaf3 minor changes to build metadata 2020-05-26 22:43:12 +09:00
Odd Stråbø
2554d8fd21 Bump netstandard 2.0 -> 2.1 2020-03-25 04:51:34 +01:00
Bond_009
4efaebcb25 Increase version 2019-10-29 20:45:14 +01:00
Bond_009
a3221e34c1 Possible fix for #15 2019-10-27 11:56:55 +01:00
Trae
812ed859f8 Preventing too many requests being sent. 2019-10-03 11:13:43 -05:00
Joshua M. Boniface
b78842500e Bump versions to 5 2019-07-25 16:37:56 -04:00