| |||||||
| 0.2.2.0 Final and SVN Builds Post bugs you have found in 0.2.2.0 final or any SVN-Snapshot here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Join Date: Dec 2006 Age: 29
Posts: 39
Thanks: 3
Thanked 0 Times in 0 Posts
Country: | 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 |
| | |
| | #5 (permalink) |
| Portal Developer Join Date: Apr 2005 Location: Osnabruck
Posts: 2,765
Thanks: 130
Thanked 133 Times in 93 Posts
Country: | 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));
}
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 ![]() |
| | |
| | #7 (permalink) |
| Portal Member Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | 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 |
| | |
| | #8 (permalink) |
| Portal Member Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | 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 ![]() |
| | |
![]() |
| Bookmarks |
| Tags |
| hebrew, left, shows, time |
| Thread Tools | |
| Display Modes | |
| |
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 |