Commit Graph

29 Commits

Author SHA1 Message Date
Bond_009
f50a250cd9 Optimize Guid comparisons
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
2022-02-21 14:15:09 +01:00
Cody Robibero
a60cb280a3 Properly populate QueryResult 2022-01-20 08:53:06 -07:00
Dmitry Lyzo
60fe77c089
Remove unnecessary array allocation
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-01-16 13:34:52 +03:00
Dmitry Lyzo
5aa748058e Fix duplication of local trailers 2022-01-14 23:06:45 +03:00
Bond_009
cbfa355e31 Update StyleCop 2021-12-24 18:28:27 +01:00
cvium
b880dc8a4a Use our own Contains extension 2021-12-20 13:31:07 +01:00
Claus Vium
9a0618552b
Merge branch 'master' into what_could_go_wrong 2021-12-15 08:38:39 +01:00
Cody Robibero
32629cd7da Use BaseItemKind where possible 2021-12-12 06:11:27 -07:00
cvium
fde84a1e00 Refactor extras parsing 2021-12-07 15:24:57 +01:00
Bond_009
6f8ccab788 Move non-jellyfin extensions to separate project 2021-06-19 18:04:46 +02:00
crobibero
223b42aed3 Create BaseItemKind enum 2021-02-10 17:09:23 -07:00
Joshua M. Boniface
7457c4a95d
Merge pull request #4499 from crobibero/more-param
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
2020-11-20 12:34:18 -05:00
Greenback
e51ddd326c Fixes spelling. 2020-11-18 13:23:45 +00:00
crobibero
3cc0dd7e12 Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage. 2020-11-16 20:29:46 -07:00
crobibero
7fe8ca2b77 Merge remote-tracking branch 'upstream/master' into query-fields 2020-11-10 10:39:44 -07:00
crobibero
0dd2b169a3 Add ModelBinder to ItemFilter 2020-11-09 14:59:04 -07:00
crobibero
b22831f7e5 Add ModelBinder to ImageType 2020-11-09 14:53:23 -07:00
crobibero
11d69fd3b1 Make MrLinter happy 2020-10-29 11:36:45 -06:00
crobibero
372f0eb38a Remove AddItemFields 2020-10-29 11:17:13 -06:00
crobibero
b9406e5444 Merge remote-tracking branch 'upstream/master' into query-fields 2020-10-29 11:11:50 -06:00
crobibero
27e753ddb4 Convert image type string to enum. 2020-10-09 17:52:39 -06:00
crobibero
69360b749a Convert field string to enum. 2020-10-09 17:35:08 -06:00
crobibero
29fc882037 merge all attributes 2020-09-06 09:07:27 -06:00
crobibero
b64108923a Add missing references 2020-09-05 17:11:44 -06:00
crobibero
59d47ec3f5 Make all FromRoute required 2020-09-05 17:07:25 -06:00
crobibero
858aecd409 Fix all route for base url support 2020-08-04 12:48:53 -06:00
crobibero
5d34b07d1f Make query parameters nullable or set default value 2020-07-07 09:10:51 -06:00
crobibero
73bcda7eac Make all optional strings nullable 2020-06-27 10:50:44 -06:00
crobibero
8074c47d29 Move UserLibraryService.cs to Jellyfin.Api 2020-06-25 17:28:12 -06:00