Run a batch file on the server? (1 Viewer)

TommySharp

MP Donator
  • Premium Supporter
  • January 15, 2007
    322
    7
    44
    Auckland
    Home Country
    New Zealand New Zealand
    Hey Cheezy!

    Would it be feasible to add a feature to iPimp whereby we can run a batch file on the iPimp web server machine or client using the web interface?
     

    TommySharp

    MP Donator
  • Premium Supporter
  • January 15, 2007
    322
    7
    44
    Auckland
    Home Country
    New Zealand New Zealand
    No one got any ideas on how this might be possible? Maybe not even using iPimp?

    I just need a way to run a batch file on my TVServer from my iPhone.

    Possible uses...
    - Stop and restart the tvserver service remotely
    - etc etc

    Regards,
     

    cheezey

    Community Plugin Dev
    August 26, 2004
    1,560
    312
    56
    West Yorks, UK
    Home Country
    United Kingdom United Kingdom
    The difficulty is the context in which iPiMP runs, it runs as a windows service with no access to the current logged on users console session which you'd need to run a batch file. The one example you quoted above is already available in iPiMP (TV Server Status -> TV Service Status, then use the Stop & Start buttons). If you've other specific suggestions then I can look at adding them.
     

    TommySharp

    MP Donator
  • Premium Supporter
  • January 15, 2007
    322
    7
    44
    Auckland
    Home Country
    New Zealand New Zealand
    Hey Cheezy, thanks for the reply.... The main thing I'm trying to do is run a batch file on my server that stops my wifi security cameras from recording and then another batch file to start them up again. The software that I use for managing the cameras doesn't have any form of nice iPhone interface.

    I suppose a good mp use might be to manual kick off a batch file that downloads tv guide info? This is something all us new zealanders have to use...

    Regards,
     

    Users who are viewing this thread

    Similar threads

    I did a check of MP 1.36 x64 on Win11 and I can confirm, that the TV server correctly detects running MediaPortal.exe process.
    I did a check of MP 1.36 x64 on Win11 and I can confirm, that the TV server correctly detects running MediaPortal.exe process.
    Hi, I am using MP in a client-only setup including DVB-S card for over 10 years now. And regularily scheduling records waking up...
    Replies
    9
    Views
    1K
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the stations but if I rescan it on the same card it just keeps updating the 1 channel. My brain is melting.........
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the...
    Having great fun with this still. I have a fairly good PC setup, Ryzen 5 8500g, Msi Pro 650M-P with 32GB of RAM with a TBS 6281 and...
    Replies
    2
    Views
    551
    Thanks, will test that next time.
    Thanks, will test that next time.
    I don't know how many of you are aware of this, however, it may be that AnyDVD HD has finally come to an end. Their web site can no...
    Replies
    14
    Views
    4K
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    932
    Judging by the source code, 1.20 has DB version 61, and 1.33 has DB version 62. That is, one column has been added: symbolRateMultiplier
    Judging by the source code, 1.20 has DB version 61, and 1.33 has DB version 62. That is, one column has been added...
    Hi I have a TV server 1.12 on a dedicated box, utilizing 2 DVB-C cards and newcs. I want to keep that installation. However one of...
    Replies
    9
    Views
    1K
    Top Bottom