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 pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also have been applied to the independent radio channels (different MUXes), the logs that I prepared for one of the development team does show a difference between channel 704 ("BBC Radio 4") and channel 731...
    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also...
    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
    10
    Views
    2K
    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
    758
    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
    859
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
    Replies
    9
    Views
    1K
    MP1 MP2 MP2 - V2.5 MP2 - V2.5 Server on Windows 11 Pro DE
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working after changing EPG from EPG Buddie to Clickfinder (TV Movie). The OS and the MP2.5 Server Software were installed several times new, but in general nothing changed. Are there any changes or setting needed for...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Replies
    0
    Views
    884
    Top Bottom