4:3 skin ::: aMPed 2.0 final (3 Viewers)

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
New release see first post.
 

moh

Portal Member
February 12, 2006
49
1
Home Country
Germany Germany
Hi,

Thanks for the tip about weather condition. I tried the blah blah blah technique and it didn't wrap on me! Go figure.

Hmpf. Today I got another 'wrapped weather condition' - so I started some deeper investigation.

The problem is the MP-RSSTicker Plugin, have a look:



A linebreak is explicitely inserted if the condition string gets too long - so it's not an issue of the view, it's just a hardcoded feature :-/

As you can also see I had to disassemble the plugin, because I was unable to find the sources. We should ask the developer (Sambal, https://forum.team-mediaportal.com/plugins-47/rss-ticker-43603/) to fix this - maybe we have luck. Or maybe it's possible to sanitize the string in the view (no clue, you are the mp gui geeks ;))...
When there's no other solution I could change the corresponding part and try to recompile a hotfix.

Thanks & Regards,
moh
 

moh

Portal Member
February 12, 2006
49
1
Home Country
Germany Germany
Hi joz,
removed the corresponding part in the sources and rebuilt a new release. Tested with aMPed 1.0.1, nor more linebreaks/wrappings.

A attached the fixed DLL.

I don't know if Sambal still maintains this plugin, maybe the string sanitizing should be made configurable via MP-plugin-settings dialog.

Testcase:
Open MP with enhlish locale, make a mental note of the weather condition and close MP. Choose another locale ant change the corresponding localization (MP\language\string_*.xml) to something thats 15++ chars long and contains spaces. Open MP with the changed locale and look at the weather condition.

behaviour (old plugin):
The condition gets wrapped, one or more linebreaks are inserted, you'll see a multi-line condition.

behaviour (fixed plugin):
The condition won't get wrapped, the condition is displayed in one line.

Regards,
moh
 

Attachments

  • 20090227112430 - MP-RSSTicker - Changes.png
    20090227112430 - MP-RSSTicker - Changes.png
    14.1 KB
  • MP-RSSTicker.zip
    30.6 KB

ledge

Portal Member
November 22, 2008
9
1
Home Country
New Zealand New Zealand
Just wanted to say a big thanks for making this skin, finally I don't have to squint at my pitiful 21" TV. My missus si really happy too, you have made mida portal go from fantastic to fucking brilliant. Nice one!:D
 

ledge

Portal Member
November 22, 2008
9
1
Home Country
New Zealand New Zealand
:D ledge, do not hold out on the feedback ;)

Actually I have a problem now ;)

I just noticed that my recorded tv and tv schedules aren't showing, but I am using a svn release from 23 Jan, would I be right in assuming that this will probably be the problem?
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Hey ledge,

This skin is currently build against MP 1.0 final so it could be the cause. Could you please tell us if you use TVServer or just TVClient?
Dadeo has done work on both but uses TVClient so it's hard for him to test tvserver pages.

By aren't showing what do you mean? Black screen, no buttons to get there or something else? Maybe a screenshot would help.
I do not use TV whatsoever myself.
 

happy

MP Donator
  • Premium Supporter
  • February 6, 2009
    282
    5
    Explorer :D
    Home Country
    United Kingdom United Kingdom
    if it helps, my recording shows and other bits show fine using this skin, using mp final havent come across anything that doesnt work yet :D
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    Ledge, I believe you are right, this is an issue with the SVN release (from what I have read elsewhere). We wanted everything working in MP 1.0 first but I hope to test out the TV section with SVN soon so we are ready for MP 1.0.1. I'll try and find a way to get it to work for both. As Joz said, please do let us know if you using TV Server or Inbuilt Engine.
     

    Users who are viewing this thread

    Top Bottom