mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
update active recordings
This commit is contained in:
parent
5e0f8fd8c4
commit
e441e2f53d
157 changed files with 568 additions and 654 deletions
|
|
@ -1028,9 +1028,9 @@ namespace Emby.Server.Implementations.Data
|
|||
var hasArtists = item as IHasArtist;
|
||||
if (hasArtists != null)
|
||||
{
|
||||
if (hasArtists.Artists.Count > 0)
|
||||
if (hasArtists.Artists.Length > 0)
|
||||
{
|
||||
artists = string.Join("|", hasArtists.Artists.ToArray());
|
||||
artists = string.Join("|", hasArtists.Artists);
|
||||
}
|
||||
}
|
||||
saveItemStatement.TryBind("@Artists", artists);
|
||||
|
|
@ -1908,7 +1908,7 @@ namespace Emby.Server.Implementations.Data
|
|||
var hasArtists = item as IHasArtist;
|
||||
if (hasArtists != null && !reader.IsDBNull(index))
|
||||
{
|
||||
hasArtists.Artists = reader.GetString(index).Split('|').Where(i => !string.IsNullOrWhiteSpace(i)).ToList();
|
||||
hasArtists.Artists = reader.GetString(index).Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
}
|
||||
index++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue