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 Talk
Calling all MP New Zealanders (Both of you!!)
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="ArnoldGoat" data-source="post: 274957" data-attributes="member: 51533"><p>It's in the code. The problem is that you're then stuck with re-building MP Server after downloading an update to incorporate the change. The fix is a real bodge, so I wouldn't insult the developers by asking them to include it. The only real solution is to report it, with all that that entails with logs and so forth. Here's the bodge up, if you are into that sort of thing:</p><p></p><p>C:\MediaPortalServer\TVLibrary\TVDatabase\TvBusinessLayer\EpgDBUpdater.cs</p><p></p><p>around line 344 in version 18513</p><p></p><p> description=EvalTemplate(_descriptionTemplate, values);</p><p> int len=description.Length;</p><p> if (len > 1)</p><p> {</p><p> string rightD = description.Substring(len / 2, len / 2);</p><p> string leftD = description.Substring(0, len / 2);</p><p> if (leftD.Equals(rightD))</p><p> description = description.Remove(len/2);</p><p> }</p><p></p><p>I can't say I'm proud of the code, but it works, and might survive any other solution that appears.</p></blockquote><p></p>
[QUOTE="ArnoldGoat, post: 274957, member: 51533"] It's in the code. The problem is that you're then stuck with re-building MP Server after downloading an update to incorporate the change. The fix is a real bodge, so I wouldn't insult the developers by asking them to include it. The only real solution is to report it, with all that that entails with logs and so forth. Here's the bodge up, if you are into that sort of thing: C:\MediaPortalServer\TVLibrary\TVDatabase\TvBusinessLayer\EpgDBUpdater.cs around line 344 in version 18513 description=EvalTemplate(_descriptionTemplate, values); int len=description.Length; if (len > 1) { string rightD = description.Substring(len / 2, len / 2); string leftD = description.Substring(0, len / 2); if (leftD.Equals(rightD)) description = description.Remove(len/2); } I can't say I'm proud of the code, but it works, and might survive any other solution that appears. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Calling all MP New Zealanders (Both of you!!)
Contact us
RSS
Top
Bottom