Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| da34bd940e | |||
| 54efde4073 | |||
| 02cfa15582 | |||
| 0e171d794c | |||
| d5f2384375 | |||
| 816b3f5c2e | |||
| a234388552 | |||
| 30d38bd5c6 | |||
| 9f49fe2e99 | |||
| f720a0fca2 |
+3
-3
@@ -2,10 +2,10 @@ ARG DOTNET_VERSION=3.1
|
|||||||
ARG FFMPEG_VERSION=latest
|
ARG FFMPEG_VERSION=latest
|
||||||
|
|
||||||
FROM node:alpine as web-builder
|
FROM node:alpine as web-builder
|
||||||
10.5.1
|
ARG JELLYFIN_WEB_VERSION=10.5.2
|
||||||
RUN apk add curl git \
|
RUN apk add curl git \
|
||||||
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
|
&& git clone --branch release-10.5.z --single-branch https://github.com/jellyfin/jellyfin-web.git \
|
||||||
&& cd jellyfin-web-* \
|
&& cd jellyfin-web \
|
||||||
&& yarn install \
|
&& yarn install \
|
||||||
&& yarn build \
|
&& yarn build \
|
||||||
&& mv dist /dist
|
&& mv dist /dist
|
||||||
|
|||||||
+4
-4
@@ -6,10 +6,10 @@ ARG DOTNET_VERSION=3.1
|
|||||||
|
|
||||||
|
|
||||||
FROM node:alpine as web-builder
|
FROM node:alpine as web-builder
|
||||||
10.5.1
|
ARG JELLYFIN_WEB_VERSION=10.5.2
|
||||||
RUN apk add curl git \
|
RUN apk add curl git \
|
||||||
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
|
&& git clone --branch release-10.5.z --single-branch https://github.com/jellyfin/jellyfin-web.git \
|
||||||
&& cd jellyfin-web-* \
|
&& cd jellyfin-web \
|
||||||
&& yarn install \
|
&& yarn install \
|
||||||
&& yarn build \
|
&& yarn build \
|
||||||
&& mv dist /dist
|
&& mv dist /dist
|
||||||
@@ -39,7 +39,7 @@ COPY --from=qemu /usr/bin/qemu-arm-static /usr/bin
|
|||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg curl && \
|
&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg curl && \
|
||||||
curl -ks https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add - && \
|
curl -ks https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add - && \
|
||||||
curl -s https://keyserver.ubuntu.com/pks/lookup?op=get\&search=0x6587ffd6536b8826e88a62547876ae518cbcf2f2 | apt-key add - && \
|
curl -ks https://keyserver.ubuntu.com/pks/lookup?op=get\&search=0x6587ffd6536b8826e88a62547876ae518cbcf2f2 | apt-key add - && \
|
||||||
echo 'deb [arch=armhf] https://repo.jellyfin.org/debian buster main' > /etc/apt/sources.list.d/jellyfin.list && \
|
echo 'deb [arch=armhf] https://repo.jellyfin.org/debian buster main' > /etc/apt/sources.list.d/jellyfin.list && \
|
||||||
echo "deb http://ppa.launchpad.net/ubuntu-raspi2/ppa/ubuntu bionic main">> /etc/apt/sources.list.d/raspbins.list && \
|
echo "deb http://ppa.launchpad.net/ubuntu-raspi2/ppa/ubuntu bionic main">> /etc/apt/sources.list.d/raspbins.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
|||||||
+3
-3
@@ -6,10 +6,10 @@ ARG DOTNET_VERSION=3.1
|
|||||||
|
|
||||||
|
|
||||||
FROM node:alpine as web-builder
|
FROM node:alpine as web-builder
|
||||||
10.5.1
|
ARG JELLYFIN_WEB_VERSION=10.5.2
|
||||||
RUN apk add curl git \
|
RUN apk add curl git \
|
||||||
&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
|
&& git clone --branch release-10.5.z --single-branch https://github.com/jellyfin/jellyfin-web.git \
|
||||||
&& cd jellyfin-web-* \
|
&& cd jellyfin-web \
|
||||||
&& yarn install \
|
&& yarn install \
|
||||||
&& yarn build \
|
&& yarn build \
|
||||||
&& mv dist /dist
|
&& mv dist /dist
|
||||||
|
|||||||
@@ -2914,29 +2914,30 @@ namespace Emby.Server.Implementations.Data
|
|||||||
private string GetOrderByText(InternalItemsQuery query)
|
private string GetOrderByText(InternalItemsQuery query)
|
||||||
{
|
{
|
||||||
var orderBy = query.OrderBy;
|
var orderBy = query.OrderBy;
|
||||||
if (string.IsNullOrEmpty(query.SearchTerm))
|
bool hasSimilar = query.SimilarTo != null;
|
||||||
|
bool hasSearch = !string.IsNullOrEmpty(query.SearchTerm);
|
||||||
|
|
||||||
|
if (hasSimilar || hasSearch)
|
||||||
{
|
{
|
||||||
int oldLen = orderBy.Count;
|
List<(string, SortOrder)> prepend = new List<(string, SortOrder)>(4);
|
||||||
if (oldLen == 0 && query.SimilarTo != null)
|
if (hasSearch)
|
||||||
{
|
{
|
||||||
var arr = new (string, SortOrder)[oldLen + 2];
|
prepend.Add(("SearchScore", SortOrder.Descending));
|
||||||
orderBy.CopyTo(arr, 0);
|
prepend.Add((ItemSortBy.SortName, SortOrder.Ascending));
|
||||||
arr[oldLen] = ("SimilarityScore", SortOrder.Descending);
|
|
||||||
arr[oldLen + 1] = (ItemSortBy.Random, SortOrder.Ascending);
|
|
||||||
query.OrderBy = arr;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
if (hasSimilar)
|
||||||
{
|
|
||||||
query.OrderBy = new[]
|
|
||||||
{
|
{
|
||||||
("SearchScore", SortOrder.Descending),
|
prepend.Add(("SimilarityScore", SortOrder.Descending));
|
||||||
(ItemSortBy.SortName, SortOrder.Ascending)
|
prepend.Add((ItemSortBy.Random, SortOrder.Ascending));
|
||||||
};
|
}
|
||||||
|
|
||||||
|
var arr = new (string, SortOrder)[prepend.Count + orderBy.Count];
|
||||||
|
prepend.CopyTo(arr, 0);
|
||||||
|
orderBy.CopyTo(arr, prepend.Count);
|
||||||
|
orderBy = query.OrderBy = arr;
|
||||||
}
|
}
|
||||||
|
else if (orderBy.Count == 0)
|
||||||
|
|
||||||
if (orderBy.Count == 0)
|
|
||||||
{
|
{
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public int? TotalBitrate { get; set; }
|
public int? TotalBitrate { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public ExtraType? ExtraType { get; set; }
|
public ExtraType? ExtraType { get; set; }
|
||||||
|
|
||||||
@@ -2883,7 +2884,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
|
|
||||||
public IEnumerable<BaseItem> GetExtras(IReadOnlyCollection<ExtraType> extraTypes)
|
public IEnumerable<BaseItem> GetExtras(IReadOnlyCollection<ExtraType> extraTypes)
|
||||||
{
|
{
|
||||||
return ExtraIds.Select(LibraryManager.GetItemById).Where(i => i != null && extraTypes.Contains(i.ExtraType.Value));
|
return ExtraIds.Select(LibraryManager.GetItemById).Where(i => i?.ExtraType != null && extraTypes.Contains(i.ExtraType.Value));
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<BaseItem> GetTrailers()
|
public IEnumerable<BaseItem> GetTrailers()
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ namespace MediaBrowser.Model.Net
|
|||||||
{ ".m3u8", "application/x-mpegURL" },
|
{ ".m3u8", "application/x-mpegURL" },
|
||||||
{ ".mobi", "application/x-mobipocket-ebook" },
|
{ ".mobi", "application/x-mobipocket-ebook" },
|
||||||
{ ".xml", "application/xml" },
|
{ ".xml", "application/xml" },
|
||||||
|
{ ".wasm", "application/wasm" },
|
||||||
|
|
||||||
// Type image
|
// Type image
|
||||||
{ ".jpg", "image/jpeg" },
|
{ ".jpg", "image/jpeg" },
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("10.5.1")]
|
[assembly: AssemblyVersion("10.5.2")]
|
||||||
[assembly: AssemblyFileVersion("10.5.1")]
|
[assembly: AssemblyFileVersion("10.5.2")]
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# We just wrap `build` so this is really it
|
# We just wrap `build` so this is really it
|
||||||
name: "jellyfin"
|
name: "jellyfin"
|
||||||
version: "10.5.1"
|
version: "10.5.2"
|
||||||
packages:
|
packages:
|
||||||
- debian-package-x64
|
- debian-package-x64
|
||||||
- debian-package-armhf
|
- debian-package-armhf
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
jellyfin (10.5.2-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream version 10.5.2; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.5.2
|
||||||
|
|
||||||
|
-- Jellyfin Packaging Team <packaging@jellyfin.org> Sun, 22 Mar 2020 12:06:40 -0400
|
||||||
|
|
||||||
jellyfin (10.5.1-1) unstable; urgency=medium
|
jellyfin (10.5.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream version 10.5.1; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.5.1
|
* New upstream version 10.5.1; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.5.1
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: jellyfin
|
Name: jellyfin
|
||||||
Version: 10.5.0
|
Version: 10.5.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The Free Software Media Browser
|
Summary: The Free Software Media Browser
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@@ -159,6 +159,8 @@ fi
|
|||||||
%systemd_postun_with_restart jellyfin.service
|
%systemd_postun_with_restart jellyfin.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 22 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
|
||||||
|
- New upstream version 10.5.2; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.5.2
|
||||||
* Sun Mar 15 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
|
* Sun Mar 15 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
|
||||||
- New upstream version 10.5.1; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.5.1
|
- New upstream version 10.5.1; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.5.1
|
||||||
* Fri Oct 11 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
|
* Fri Oct 11 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
|
||||||
|
|||||||
Reference in New Issue
Block a user