MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Quality Assurance (Bugreports) » Archive » Bug Reports » 0.2.2.0 Final and SVN Builds


0.2.2.0 Final and SVN Builds Post bugs you have found in 0.2.2.0 final or any SVN-Snapshot here.

Reply
 
Thread Tools Display Modes
Old 2007-05-18, 16:54   #1 (permalink)
 
Join Date: Dec 2006
Age: 29
Posts: 39
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default Time of the tv shows right to left - hebrew

TV-Server Version:
MediaPortal Version: 2.2.0 + SVN
MediaPortal Skin: Blue Two
Windows Version: Vista 32bit
CPU Type: AMD 3500+
HDD: WD 200GB
Memory: 2Gb DDR
Motherboard: MSI
Motherboard Chipset:
Motherboard Bios:
Video Card: ATI X1150
Video Card Driver: Omega 7.2
Sound Card: Realtek HD Audio
Sound Card AC3:
Sound Card Driver:
1. TV Card: Hauppauge 150
1. TV Card Type: Analog
1. TV Card Driver: 2.6xx
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
Satelite/CableTV Provider: YES
HTPC Case: Leantek
Cooling: Coolermaster fans
Power Supply:
Remote: MCE version 2
TV: Metz, Hyundai
TV - HTPC Connection: Component

Hello,

In any skin - when using hebrew as a language - the time of tv shows in the channel info screen is shown right to left - supposed to be - 17:50 - and it shows 05:71, evrything else is displayed correctly

Thank you
logictester is offline   Reply With Quote
Old 2007-05-18, 19:08   #2 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,765
Thanks: 130
Thanked 133 Times in 93 Posts

Country:

My System

Default

Please supply a screenshot about what you refer to as "channel info screen".
__________________
rtv is online now   Reply With Quote
Old 2007-05-19, 00:56   #3 (permalink)
 
Join Date: Dec 2006
Age: 29
Posts: 39
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

Hi
Thanks for your reply
here are the images - one from blue two and one from revision skins (green is correct, red is incorrect)
Attached Thumbnails
time-tv-shows-right-left-hebrew-print2.jpg  time-tv-shows-right-left-hebrew-print1.jpg  
logictester is offline   Reply With Quote
Old 2007-05-22, 12:48   #4 (permalink)
 
Join Date: Dec 2006
Age: 29
Posts: 39
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

Hello

Any progress on this? could you maybe point me to where the txt is need to be changed

Thanks again
logictester is offline   Reply With Quote
Old 2007-05-22, 14:19   #5 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,765
Thanks: 130
Thanked 133 Times in 93 Posts

Country:

My System

Default

In TVOSD.cs there's a function: "void ShowPrograms()"

Code:
        // On TV Now
        if (tbOnTvNow != null)
        {
          strTime = String.Format("{0} ", prog.StartTime.ToString("t", CultureInfo.CurrentCulture.DateTimeFormat));
          tbOnTvNow.Label = strTime + prog.Title;
          GUIPropertyManager.SetProperty("#TV.View.start", strTime);

          strTime = String.Format("{0} ", prog.EndTime.ToString("t", CultureInfo.CurrentCulture.DateTimeFormat));
          GUIPropertyManager.SetProperty("#TV.View.stop", strTime);
          GUIPropertyManager.SetProperty("#TV.View.remaining", Utils.SecondsToHMSString(prog.EndTime - prog.StartTime));
        }
if you e.g. edit the line to "tbOnTvNow.Label = prog.Title;" you will remove the faulty time.

Then you could edit the skin, add a new "label" control with "#TV.View.start" and "#TV.View.stop" to use the times of the progressbar on top.

I currently cannot think of a solution which will keep everything as before and fixes your issue without breaking every other skin out there
__________________
rtv is online now   Reply With Quote
Old 2007-05-23, 11:06   #6 (permalink)
 
Join Date: Dec 2006
Age: 29
Posts: 39
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

ok, could you please point me to where do i find the .cs file?
logictester is offline   Reply With Quote
Old 2007-05-25, 18:53   #7 (permalink)
Portal Member
 
Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

HELLO
being Hebrew user myself and after logictester ask for my help in this issue this is what i got

this is not skin but issue the skin area that are responsible to the configuration in this part of mp is inside the skin folder in the file TVOSD.xml

<control>
<description>On tv NOW</description>
<id>36</id>
<type>textbox</type>
<width>474</width>
<height>24</height>
<posX>882</posX>
<posY>662</posY>
<align>left</align>
<font>font14</font>
<textcolor>ccffffff</textcolor>
<animation effect="fade" time="200">visiblechange</animation>
<animation effect="fade" time="200">windowopen</animation>
</control>
<control>
<description>On tv NEXT</description>
<id>37</id>
<type>textbox</type>
<width>474</width>
<height>24</height>
<posX>882</posX>
<posY>690</posY>
<align>left</align>
<font>font14</font>
<textcolor>ccffffff</textcolor>
<animation effect="fade" time="200">visiblechange</animation>
<animation effect="fade" time="200">windowopen</animation>
</control>
<control>

you can see that the section id of On tv NOW and On tv NEXT are 36 and 37
the text that come to this part is configured in the source code as rtv said in GUITVOSD.cs

you can find it here http://mediaportal.svn.sourceforge.n...SD.cs?view=log

you can see there that what feeding 36 and 37 are

[SkinControlAttribute(36)]
protected GUITextControl tbOnTvNow = null;
[SkinControlAttribute(37)]
protected GUITextControl tbOnTvNext = null;

and later in the code you can see the code that rtv post
now for what i tested the problem is cause by Hebrew characters combining with the time cause it to flip

since i'm not a programmer and don't have any C++ editor/compiler what i did was to change the skin in the part above to not take it's data from the code \
i changed the id number the title and add a label just like rtv suggested
for example

<control>
<description>On tv</description>
<id>46</id>
<type>textbox</type>
<width>474</width>
<height>24</height>
<posX>882</posX>
<posY>662</posY>
<align>left</align>
<font>font14</font>
<label>#TV.View.title #TV.View.start</label>
<textcolor>ccffffff</textcolor>
<animation effect="fade" time="200">visiblechange</animation>
<animation effect="fade" time="200">windowopen</animation>
</control>
<control>
<description>On tv later</description>
<id>47</id>
<type>textbox</type>
<width>474</width>
<height>24</height>
<posX>882</posX>
<posY>690</posY>
<align>left</align>
<font>font14</font>
<label>#TV.View.title #TV.View.stop</label>
<textcolor>ccffffff</textcolor>
<animation effect="fade" time="200">visiblechange</animation>
<animation effect="fade" time="200">windowopen</animation>
</control>
<control>


now by reversing the order of "#TV.View.title #TV.View.start" instead of "strTime + prog.Title" that came from the source now the output look normal except the time is in the left side instead of the right

16:00 test
instead of
test 16:00

of course it there is a another problem, if the program name containing number it will give wired result like

2 16:00 חלק
instead of חלק 2 16:00


but i guess it better than nothing

another option is to disable the #TV.View.start all together since in most skins its display anyway in another part of the screen

now i have small request for the developers among you
can you please compile the relevant dll with a small changes to the GUITVOSD.cs
one version with tbOnTvNow.Label = strTime + prog.Title;
and another version with tbOnTvNow.Label = prog.Title;
and upload the dll file for the hebrew users (both of us )
thanks

or if someone of the developer have another idea on how to fix it in a better way that will be great
alonz is offline   Reply With Quote
Old 2007-05-25, 19:36   #8 (permalink)
Portal Member
 
Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

no i figured out that my solution is not quite good
cause by disabling the the tbOnTvNow.Label and using label in the skin the name of the show is not dynamic any more
it will only show the name of the program thats now playing but if i move the next program i can see the description of the next program but the name of the current show

so the solution will have to come form the source code and not from the skin workaround

can someone please compile the GUITVOSD.cs
with tbOnTvNow.Label = strTime + prog.Title;
and another version with tbOnTvNow.Label = prog.Title;

please
alonz is offline   Reply With Quote
Old 2007-05-25, 20:11   #9 (permalink)
 
Join Date: Dec 2006
Age: 29
Posts: 39
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

pretty please?
and alonz - thanks for your help - hope someone will compile it for us
logictester is offline   Reply With Quote
Reply

Bookmarks

Tags
hebrew, left, shows, time

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time is displayed right to left - mini epg - Hebrew logictester Electronic Program Guide 4 2007-05-09 17:45
hebrew is displayed in left-to-right direction kl0012 General Support 3 2006-12-31 09:09
Unable to record 2 TV shows at the same time natrlhy General Support 4 2006-11-02 03:53
record 2 shows that end/start at the same time lar282 General Support 2 2006-08-24 16:09
Hebrew/Arabic (right to left) support - What's the status? Anonymous Improvement Suggestions 2 2005-06-06 18:47


All times are GMT +1. The time now is 13:56.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden