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


    Write your reply...

    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
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I have an Idea for further improvement. As I am not too interested in advetisments, I am using comskip to mark times of ads, which is normally working, as it should but produces an error when trying to...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Replies
    0
    Views
    102
    can you share a link to that stream (pm if sensitive info is in it) or just record a couple of minutes and send that to me some way? maybe its something simple i can do... no promises though....
    can you share a link to that stream (pm if sensitive info is in it) or just record a couple of minutes and send that to me some...
    Hi all, I could use some help with the following; OS: Win11 24H2 TV server: 1.37.000.0|x64 (working with Mediaportal for maybe 20...
    Replies
    3
    Views
    163
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is "ACTION", the "cmdproperty" is the actual window id, but it makes sense that it is. Try this for yourself. First backup your working profile for the remote, then in the "Mapping" panel make a change to...
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is...
    I would like to be able to go directly to the Scheduled recordings window without having to first go to the home menu. I saw this...
    Replies
    1
    Views
    205
    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
    588
    Top Bottom