mwheelerjr / mptvseries

Automatically exported from code.google.com/p/mptvseries
0 stars 0 forks source link

SkinSettings does not filter out new mediaportal skin functions correctly when reading properties from skin #500

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SkinSettings does not filter out new mediaportal skin functions correctly when 
reading properties from skin.

Regular Expression needs a bit of tweaking.

Original issue reported on code.google.com by damien.haynes@gmail.com on 5 Oct 2010 at 1:42

GoogleCodeExporter commented 9 years ago
Current expression is:
Regex reg = new Regex(@"#TVSeries\..+?(?=[\s<])");

Original comment by damien.haynes@gmail.com on 5 Oct 2010 at 1:42

GoogleCodeExporter commented 9 years ago

Original comment by damien.haynes@gmail.com on 5 Oct 2010 at 1:43

GoogleCodeExporter commented 9 years ago
Take this user case:
http://pastebin.com/1hVhfgLz

SkinSettings should read the following fields from this:
#TVSeries.Series.1.Blah
#TVSeries.Series.2.Blah
#TVSeries.Series.2.Test
#TVSeries.Series.1.Test

instead it reads the following:
#TVSeries.Series.1.Blah
#TVSeries.Series.1.Test,blah1)
#TVSeries.Series.2.Blah
#TVSeries.Series.2.Test,blah2)+string.contains(1.Test,blah1)

Original comment by damien.haynes@gmail.com on 5 Oct 2010 at 1:49

GoogleCodeExporter commented 9 years ago
Fixed r1250, thanks Rochess

Original comment by damien.haynes@gmail.com on 11 Oct 2010 at 4:07