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
Trakt
Add scrobble support for Live TV / Recorded TV
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="ltfearme" data-source="post: 846124" data-attributes="member: 52219"><p>Yes, its done in .Net. Here is the full line of code used by the expression:</p><p>[CODE]</p><p>Match regMatch = Regex.Match(info.Title, @"^(?<title>.+?)(?:\s*[\(\[](?<year>\d{4})[\]\)])?$");</p><p>[/CODE]</p><p> </p><p>We could add a setting for this so it can be customizable by advanced users, all we need is to be able to get <strong>title</strong> and <strong>year</strong>...the rest of the string can be ignored. We can also update the default once agreed it would suit everyone.</p></blockquote><p></p>
[QUOTE="ltfearme, post: 846124, member: 52219"] Yes, its done in .Net. Here is the full line of code used by the expression: [CODE] Match regMatch = Regex.Match(info.Title, @"^(?<title>.+?)(?:\s*[\(\[](?<year>\d{4})[\]\)])?$"); [/CODE] We could add a setting for this so it can be customizable by advanced users, all we need is to be able to get [B]title[/B] and [B]year[/B]...the rest of the string can be ignored. We can also update the default once agreed it would suit everyone. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Trakt
Add scrobble support for Live TV / Recorded TV
Contact us
RSS
Top
Bottom