mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
update nfo writer
This commit is contained in:
parent
08899c47a8
commit
2e0076e03f
@ -283,11 +283,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!process.WaitForExit(5000))
|
|
||||||
{
|
|
||||||
StopProcess(processWrapper, 100, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
return mediaInfo;
|
return mediaInfo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -258,7 +258,14 @@ namespace MediaBrowser.Providers.Movies
|
|||||||
{
|
{
|
||||||
foreach (var person in movieData.casts.crew)
|
foreach (var person in movieData.casts.crew)
|
||||||
{
|
{
|
||||||
resultItem.AddPerson(new PersonInfo { Name = person.name.Trim(), Role = person.job, Type = person.department });
|
// Normalize this
|
||||||
|
var type = person.department;
|
||||||
|
if (string.Equals(type, "writing", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
type = PersonType.Writer;
|
||||||
|
}
|
||||||
|
|
||||||
|
resultItem.AddPerson(new PersonInfo { Name = person.name.Trim(), Role = person.job, Type = type });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user