mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-17 13:10:28 +01:00
add playback of in-progress recordings
This commit is contained in:
@@ -505,9 +505,10 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(val))
|
||||
{
|
||||
//var countries = val.Split('/')
|
||||
// .Select(i => i.Trim())
|
||||
// .Where(i => !string.IsNullOrWhiteSpace(i));
|
||||
item.ProductionLocations = val.Split('/')
|
||||
.Select(i => i.Trim())
|
||||
.Where(i => !string.IsNullOrWhiteSpace(i))
|
||||
.ToList();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
"imdbid",
|
||||
"imdb_id",
|
||||
"plotkeyword",
|
||||
//"country",
|
||||
"country",
|
||||
"audiodbalbumid",
|
||||
"audiodbartistid",
|
||||
"awardsummary",
|
||||
@@ -723,10 +723,10 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
writer.WriteElementString("tagline", item.Tagline);
|
||||
}
|
||||
|
||||
//foreach (var country in hasProductionLocations.ProductionLocations)
|
||||
//{
|
||||
// writer.WriteElementString("country", country);
|
||||
//}
|
||||
foreach (var country in item.ProductionLocations)
|
||||
{
|
||||
writer.WriteElementString("country", country);
|
||||
}
|
||||
|
||||
foreach (var genre in item.Genres)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user