Don't split playcount
This commit is contained in:
parent
ab5fb1b1f2
commit
eaaab10cf3
|
@ -392,7 +392,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
|||
var val = reader.ReadElementContentAsString();
|
||||
if (!string.IsNullOrWhiteSpace(val) && userData != null)
|
||||
{
|
||||
if (int.TryParse(val.Split(' ')[0], NumberStyles.Integer, UsCulture, out var count))
|
||||
if (int.TryParse(val, NumberStyles.Integer, UsCulture, out var count))
|
||||
{
|
||||
userData.PlayCount = count;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user