LCDSmartie plugin (3 Viewers)

high

Administrator
  • Team MediaPortal
  • August 31, 2004
    5,122
    5,530
    47
    Isselburg/NRW
    Home Country
    Germany Germany
    good Work, using a PalmIIIe for that is nice ,-)

    One small issue, when Smartie is running without MP (or closed between) the prog locks up until MP is restarted. Any chance to change that?
     

    AllenConquest

    Portal Pro
    January 9, 2005
    232
    0
    London, UK
    Wow! So much response. It's great! I love to see that people are actually finding the plugin useful. Let me try and address the last few posts together

    lugiber

    1. Easy to do and will be in next release
    2. The tetris data can be displayed individually using function5 the param1 set to any of the following:
    #tetris_score
    #tetris_lines
    #tetris_level
    #tetris_highscore
    3. Investigating - but I did miss it in your post.
    4. Are you going to make your config.ini file available for others? I can host it with the zip file if you want.

    The TV recording flag needs a change to the DLL written by samuel337. I'll see what I can do.

    cedriclocqueneux

    Maybe it wasn't made very clear, but at the moment LCDSmartie can't handle accented characters. So the only solution at the moment is to replace them with other characters that are a bit more sensible. The post from jf2020 shows the function that I have used. This replaces "é" with "e'"

    @[=high=]

    This shouldn't happen. Try the latest release of the code (v2.1).
     

    AllenConquest

    Portal Pro
    January 9, 2005
    232
    0
    London, UK
    Well I have put up another release (v2.2). This addresses the requests/issues raised by lugiber.

    • 1. The #percentage tag will now return "0" if nothing is playing
      2. Fixed bug with lockup when using function6 and function7 when MP not running.
    This may have also fixed the problem [=high=] was having.

    Give it a go and post more issues/requests.
     

    high

    Administrator
  • Team MediaPortal
  • August 31, 2004
    5,122
    5,530
    47
    Isselburg/NRW
    Home Country
    Germany Germany
    thx, the problem is fixed.

    I got a plugin fault on first mediaportal-start saying that core.dll isnt found in Team Mediaportal/mediaportal/ etc. Couldnt cause I dont use the normal directory. Does not seem to result in problems, still working and on secound start this error was gone.

    Now I must find a way to stabilize Smartie, hang up after 3-60min (not related to this plugin)... :cry:
     

    cedriclocqueneux

    Portal Pro
    March 14, 2005
    55
    0
    Chalons en Champagne (France)
    AllenConquest said:
    Maybe it wasn't made very clear, but at the moment LCDSmartie can't handle accented characters. So the only solution at the moment is to replace them with other characters that are a bit more sensible. The post from jf2020 shows the function that I have used. This replaces "é" with "e'"

    Yes, i have seen, but there is a problem: the function looks good, but i don't have "Video" on my VFD (if we remplace "é" by "e") but i have "Vide'o" -> why is there this ' ? It's this that i don't understand. Whit hte function of jf2020 it must be "Video" and not "Vide'o".
     

    tomtom21000

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,226
    120
    Germany
    cedriclocqueneux said:
    Yes, i have seen, but there is a problem: the function looks good, but i don't have "Video" on my VFD (if we remplace "é" by "e") but i have "Vide'o" -> why is there this ' ? It's this that i don't understand. Whit hte function of jf2020 it must be "Video" and not "Vide'o".

    I think this is very easy to see and to solve (allthough I know nothing about programming)

    It is the way the code says how the é should be replaced:

    input = input.Replace("È", "E'")
    input = input.Replace("É", "E'")
    input = input.Replace("Ê", "E")
    input = input.Replace("Ë", "E")
    input = input.Replace("ê", "e")
    input = input.Replace("ë", "e")
    input = input.Replace("è", "e'")
    input = input.Replace("é", "e'")

    See, the last two replacements differ from the others. It says e' instead of e for the others. Don´t know why this has been done the way it is, but it is as simple as that. take the ' out of the code and it will say e.
    Maybe the author thougt e' would look somewhat similar to é or è?

    Hope that helps

    tomtom

    Edit: Same goes for the first two like É and È
     

    AllenConquest

    Portal Pro
    January 9, 2005
    232
    0
    London, UK
    cedriclocqueneux said:
    AllenConquest said:
    Maybe it wasn't made very clear, but at the moment LCDSmartie can't handle accented characters. So the only solution at the moment is to replace them with other characters that are a bit more sensible. The post from jf2020 shows the function that I have used. This replaces "é" with "e'"

    Yes, i have seen, but there is a problem: the function looks good, but i don't have "Video" on my VFD (if we remplace "é" by "e") but i have "Vide'o" -> why is there this ' ? It's this that i don't understand. Whit hte function of jf2020 it must be "Video" and not "Vide'o".
    Look at this line
    input = input.Replace("é", "e'")
    the é is actually being replaced by e'. I could change this so it's replaced by e instead if that would be better. I assume the function was done like this so you could distinguish a é from ë for example. As I'm not a foreign speaker I'm not sure if this is an issue.
     

    cedriclocqueneux

    Portal Pro
    March 14, 2005
    55
    0
    Chalons en Champagne (France)
    Yes, it's that ! I didn't see the e' in the script ! :oops: It's here the problem !
    Can you delete the ' to have only "e" in your plugin ? The same thing for other caracters with the ' ? It will look better without the ' , i think all people will be ok with me.

    It will be great !
     

    AllenConquest

    Portal Pro
    January 9, 2005
    232
    0
    London, UK
    Version 2.3 is now available in the usual place. It includes new versions of ECP2Assembly.dll and ECP2Plugin.dll. These must be updated.

    The accented character replacement function has been updated as requested by cedriclocqueneux.

    The g_Player class has been fully exposed and a list of values for param1 can be found in the wiki documentation. This includes the IsTVRecording parameter value.[/list]
     

    Users who are viewing this thread

    Top Bottom