IRSS 1.5.0.116: MP1.6 and Newer - Unoficial Testing Version ( No support ) (4 Viewers)

djonline

Portal Member
June 17, 2010
33
1
MCE service driver still hungap and eat 100% one core after USB-MCE connect/disconnect, using last 1.5.0.81.[DOUBLEPOST=1407819873][/DOUBLEPOST]Also, on Windows 8.1 x64 with MCE remote volume buttons change system volume, not mediaportal/xbmc, and play/stop buttons not worked, but ch+/ch- and arros are ok.
 

Starwer

Portal Member
August 27, 2014
21
20
Eindhoven
Home Country
France France
Hi,
I found issue about IR Server Suite - Test Build 1.5.0.62 - Translator application.
I run it on Windows 7 Ultimate 64 bits, with the aim to handle a MCE remote.
I have problem in getting variables and if statement to work in the macros. I try to replicate the example there:
https://forum.team-mediaportal.com/threads/irss-is-awesome-translator-macro.89761/
I have enclosed the macros I used for that simple test:
- new : initialize the variable var_toto
- var test: should toggle var_toto between values 'hello' and 'bye'.
HEre follows the var test macro:
XML:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<macro>
  <item command="If: var_toto|==|hello|HELLO|BYE" />
  <item command="Label: HELLO" />
  <item command="Popup: label|Hello!|3" />
  <item command="Set Variable: var_toto|bye" />
  <item command="Goto Label: END" />
  <item command="Label: BYE" />
  <item command="Popup: label|Bye!|3" />
  <item command="Set Variable: var_toto|hello" />
  <item command="Label: END" />
</macro>
I observe the following isues:
  • the if statement is always true, whatever I put as a condition, unless I use the != condition, then it is always false.
  • not clear if I should use var_toto or just toto in the if statement GUI (I tried both but none of these worked)
  • if I try to save the variables to a file, the values are System.byte[]

    I just started to really love IRSS and Tranlator (especially because it revived my MCE remote and finally provided me wit ha blaster) but this issue is killing the app. If you have no time to fix that I would like to help, I'm a programmer myself.
 

Attachments

  • IR Server Suite - Test Build 1.5.0.62 - Translator Macro.zip
    567 bytes

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #66
    hello @Starwer
    thank you for your feedback. i'm not a dev. so i can't help more, than i can do. :unsure:
    you are the welcome for help solve this issue yourself ... :love:

    i think you know Git, and how export an "patch" file. if not, ask me ;)
     

    Starwer

    Portal Member
    August 27, 2014
    21
    20
    Eindhoven
    Home Country
    France France
    Hello @azzuro
    Thanks for replying so fast. I appreciate that. I understand that you're not a dev, but would you happen to know who is (are) the dev of this IRSS. Was-it @and-81 or did anybody else took over that ? It is not for bouncing back the bug, but more for exchanging on that Software.
    Anyway, I should say I'm antousiastic about collaborating on that project if someone should take this on.
    I'll first go to vacation so it's not for now. Then I plan to fix the issue and see where it brings me.
    I'm not too familiar with Git and patchs... I guess it's yet another revision-contol tool with its own terminology (I'm familiar with svn and DesSync). So, indeed, if you're willing to introduce this way-of-working to me, please do. ;)
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #68
    hey,
    the last active who work on irss is @chefkoch , but seems to be busy this months.
    git is more powerfull compared to svn
    you can find on wiki, the setup for MP
    go in vacation, when you come back we exchange on it.
     

    TheNoctambulist

    Portal Member
    January 27, 2013
    23
    32
    Home Country
    Australia Australia
    Hi,

    I found some free time this weekend and had a look into the disconnect/reconnect and macro problems.

    The macro problem was easy enough to reproduce, debug, and fix. There was a simple issue with how IRSS was attempting to replace environment variables in the if statements and when setting variable values. I have attached patch IrssVariablesAndIfStatements with a fix for the problem.

    I was unable to reproduce the problem of 100% CPU usage after disconnecting/reconnecting my MCE transceiver.

    I also recently started noticing intermittent weirdness with my previous suspend/resume fix where IRSS would sometimes stop working entirely the first time the computer was resumed after a reboot. Strangely, this only happened after reboots that were triggered by PowerScheduler++, but never if I rebooted the PC myself. I eventually tracked it down to a race condition caused by the suspend code still not finishing before the computer went to sleep. This meant that when the computer resumed the suspend code and resume code were running at the same time! I have attached patch IrssSuspendResumeUpdate with a fix for this problem.
     

    Attachments

    • IrssSuspendResumeUpdate.patch
      3.3 KB
    • IrssVariablesAndIfStatements.patch
      3.9 KB

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #70
    Aie,
    i have totally forget you ... (sorry )
    you can if you want have acces to my own Github repo, for push your change
     

    Users who are viewing this thread

    Top Bottom