AtmoWin - improvement discussion (1 Viewer)

B

BassFan

Guest
That's indeed what i would expect, but unfortunately not working like that here (with 1.7 Pre Release).
? i use the same DLL and the same EXE and it work by me.
and yes used 1.7 Pre Prelease

but will be updated when he's back.
then i will wait :)

greets
 
B

BassFan

Guest
How Init and Stop AtmoLight..

Plugin load from MediaPortal.exe/Configuration.exe
1. checking if Atmolight enabled/disabled = disable then nothing will do
if enabled then
2. Load AtmoLight Settings
3. checking if Process Configuration available = true i do nothing
false then
4. Checking the new Settings-Flag StartAtmoWin if false i do nothing
true then
5. checking if Process atmowin available = true ConnectToAtmoWinA
false then
6. Start AtmoWinA.exe
7. ConnectToAtmoWinA
---------------------------------
Plugin stop
1. Destroy Com Object atmoCtrl
2. checking for processbyname "atmowina" if found then
3. Kill process AtmoWinA.exe
4. Refresh the traynotify so remove the icon from it after Kill process AtmoWinA.exe
---------------------------------
that is all
why then is not working by you?
any should wrong by Name.

greets
 
Last edited by a moderator:

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    that is all
    why then is not working by you?
    No clue, i'm already looking in logs, but haven't found anything useful yet.
    I can show you it's not working here on TeamViewer if you like.

    ** EDIT **
    So weird, just tried it again, and now it works!
    AtmoLightStop.PNG


    Bah, had the option 'Start with MP' checked, and then it closes fine.
    Here's the log with ONLY 'Exit with MP' checked, and manually started AtmoWin:
    AtmoLightStopFALSE.PNG


    There seems to be a difference in logs w/o 'Start with MP' checked.
     
    Last edited:
    B

    BassFan

    Guest
    that is all
    why then is not working by you?
    No clue, i'm already looking in logs, but haven't found anything useful yet.
    I can show you it's not working here on TeamViewer if you like.
    So weird, just tried it again, and now it works!
    View attachment 145818

    i have found the mistake.
    do you run AtmoWinA before, the Com Object is NULL
    and is NULL then i will never fired getprocessbyname so that can not work ;)

    here are a update.. should work now.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    do you find other Problem then tell me please..
    Well, you know me as 'problem finder' ;)

    This is the only situation it does NOT close AtmoWin, but i think we can't handle this becaues i think it's a missing connection.
    1. Only have 'Exit with MP' checked
    2. Start MP
    3. Start AtmoWin
    4. Exit MP
    But the next time you start MP (and have AtmoWin running since it didn't close, it attaches nicely to the process, so on the 2nd Exit, AtmoWin is also closed.
    I don't think we should worry about this, but might be good to know.

    My 'biggest problem' now is that i just received my LEDs, but don't have an Arduino yet to hook it up :D
     
    B

    BassFan

    Guest
    do you find other Problem then tell me please..
    Well, you know me as 'problem finder' ;)

    This is the only situation it does NOT close AtmoWin, but i think we can't handle this becaues i think it's a missing connection.
    1. Only have 'Exit with MP' checked
    2. Start MP
    3. Start AtmoWin
    4. Exit MP
    But the next time you start MP (and have AtmoWin running since it didn't close, it attaches nicely to the process, so on the 2nd Exit, AtmoWin is also closed.
    I don't think we should worry about this, but might be good to know.

    My 'biggest problem' now is that i just received my LEDs, but don't have an Arduino yet to hook it up :D

    Das ist Dummheit vom Anwender :D:ROFLMAO:
    MP initialisiert das Plugin beim start startest du AtmoWinA.exe im nachhinein dann kann und wird das niemals funktionieren.
    weil das IPlugin Interface (Initialisierung) dann nie wieder angesprochen wird.
    ----------------------------------------------------------
    This is stupidity by the users :D:ROFLMAO::p
    MP Initializes the plugin at the start you start AtmoWinA.exe in retrospect then and that will never work.
    because the IPlugin interface (initialization) is then never addressed.

    greets
     
    Last edited by a moderator:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    This is stupidity by the users
    I was expecting a reaction like that :D and i sort of agree ;)
    Keep in mind that a lot users don't look @ / know the processes in the background.
     
    B

    BassFan

    Guest
    This is stupidity by the users
    I was expecting a reaction like that :D and i sort of agree ;)
    Keep in mind that a lot users don't look @ / know the processes in the background.

    do you start the Server with Client, or start Client with Server? :LOL:

    Ein Client kann einen Dienst bei dem Server anfordern, welcher diesen Dienst bereitstellt.
    A client can request a service on the server, which provides this Service.
    Der Dienst kann nicht bereit gestellt werden wenn der Server = AtmoWinA.exe erst im nachhinein gestartet wird.
    The service can not be provided if the server = AtmoWinA.exe is started only in hindsight.

    @HomeY My 'biggest problem' now is that i just received my LEDs, but don't have an Arduino yet to hook it up
    do not cry, take time...;)

    greets
     
    Last edited by a moderator:

    Users who are viewing this thread

    Top Bottom