Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/c2a2746ccffd52ac85efad62f7048976a8d73eeb?style=split&whitespace=show-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Roksbox metadata generation when series certification is not available

pull/2/head
Mark McDowall 9 years ago
parent 2fa0729158
commit c2a2746ccf

@ -188,7 +188,18 @@ namespace NzbDrone.Core.Metadata.Consumers.Roksbox
details.Add(new XElement("actors", actors)); details.Add(new XElement("actors", actors));
details.Add(new XElement("description", episode.Overview)); details.Add(new XElement("description", episode.Overview));
details.Add(new XElement("length", series.Runtime)); details.Add(new XElement("length", series.Runtime));
details.Add(new XElement("mpaa", ValidCertification.Contains(series.Certification.ToUpperInvariant()) ? series.Certification.ToUpperInvariant() : "UNRATED"));
if (series.Certification.IsNotNullOrWhiteSpace() &&
ValidCertification.Contains(series.Certification.ToUpperInvariant()))
{
details.Add(new XElement("mpaa", series.Certification.ToUpperInvariant()));
}
else
{
details.Add(new XElement("mpaa", "UNRATED"));
}
doc.Add(details); doc.Add(details);
doc.Save(xw); doc.Save(xw);

Loading…
Cancel
Save