home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Agents of S.H.I.E.L.D. not identified
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 1032801" data-attributes="member: 18896"><p>New HTPC up and running, so was able to test expression and realize a fix was needed. By default MP-TVSeries ignores case, but for acronym detection to work properly I needed that enabled. Had to dig up reference, but found the code.</p><p> </p><p>Used the following to run a test with:</p><ul> <li data-xf-list-type="ul">56 random popular series with 1+ episodes each</li> <li data-xf-list-type="ul">Test file: "Marvel's Agents of S.H.I.E.L.D - S01E03 - The Asset.mp4"</li> </ul><p>No problems on test series and S.H.I.E.L.D was converted into "Shield" and properly found.</p><p> </p><p>Final Custom Replacement:</p><p> </p><p style="margin-left: 20px"><p style="margin-left: 20px">[<strong>x</strong>] Enabled</p> <p style="margin-left: 20px">[ ] Used As Tag</p> <p style="margin-left: 20px">[<strong>x</strong>] Run before matching</p> <p style="margin-left: 20px">[<strong>x</strong>] Is Regex</p> <p style="margin-left: 20px">Replace this..: <strong>(?-i)([A-Z])\.(?=[A-Z])</strong></p> <p style="margin-left: 20px">With this: <strong>${1}</strong></p> <p style="margin-left: 20px"></p> </p><p>Enjoy.</p></blockquote><p></p>
[QUOTE="RoChess, post: 1032801, member: 18896"] New HTPC up and running, so was able to test expression and realize a fix was needed. By default MP-TVSeries ignores case, but for acronym detection to work properly I needed that enabled. Had to dig up reference, but found the code. Used the following to run a test with: [LIST] [*]56 random popular series with 1+ episodes each [*]Test file: "Marvel's Agents of S.H.I.E.L.D - S01E03 - The Asset.mp4" [/LIST] No problems on test series and S.H.I.E.L.D was converted into "Shield" and properly found. Final Custom Replacement: [INDENT][INDENT][[B]x[/B]] Enabled [ ] Used As Tag [[B]x[/B]] Run before matching [[B]x[/B]] Is Regex Replace this..: [B](?-i)([A-Z])\.(?=[A-Z])[/B] With this: [B]${1}[/B] [/INDENT][/INDENT] Enjoy. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Agents of S.H.I.E.L.D. not identified
Contact us
RSS
Top
Bottom