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

TommySharp

MP Donator
  • Premium Supporter
  • January 15, 2007
    322
    7
    45
    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
    45
    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,559
    312
    57
    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
    45
    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

    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall rules were set to Public. I couldn't connect to the new TV Server from my old single-seat installation running 32-bit until I changed all MP-related firewall rules on the new machine to Private. Before I did...
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall...
    Server and client on modern uptodate Windows 11 desktop. Software is Server and Client version x86 1.38.003 Remote client on...
    Replies
    26
    Views
    2K
    As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that superficial knowledge of a subject can make people arrogant or foolish, suggesting one should either learn deeply or not at all. "Superficial", and "arrogant or foolish" would be me :eek: . However... I would...
    As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that...
    I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...
    Replies
    12
    Views
    4K
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue stemmed from the corruption of one or both of the mc2xml.dat and/or mc2xml.exe files, for an unknown reason. Consequently, even though the tvguide.xml file appeared to be updated, its content kept being an...
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue...
    I was having a problem with the EPG on MP2 1.4.1 (although it used to run without any issues for a while). So I installed MP2 1.5...
    Replies
    8
    Views
    2K
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    It is a bit of a long story! I successfully installed MP2 on my old PC as client/server with client on my laptop to confirm my...
    Replies
    2
    Views
    1K
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    650
    Top Bottom