Self Contained Web Server / Interface (2 Viewers)

risu

MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    I think version 0.1.2.9 is last one which is worked somehow well on my system. After that I can't connect to web int after about 24 hours of installation. When I open manager on 2.0.0.06 I get Socket Error #10061 Connection refused so it could be a firewall issue also, but previous versions (pre 2.0.0.00) worked..

    EDIT

    If I manually kill the process MPWebInt.exe and start it again, it works! It just doesn't seem to work automatically on computer restart.

    Hmmm. now it works again flawlessy. I've been updating Tv-server quite often lately. It could also be a situtation where tv-server has been uninstalled and installed but web int hasn't been shutdown on the process. Even then after reboot web int doesn't wake up if it isn't shutted down and restarted. I'll test this next time I update tv-server.
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    [*]Program titles in links are now URL encoded.

    On current version, if you have a question mark ( ? ) on title you'll get into trouble. You can't open the show from scheduled programs.

    Problem is, web int doesn't put anything to !!!DetailLink!!! when there's ?-mark present on title.

    Also TV card status is broken on my system. I get table correctly (right amount of rows to amount of tuners) but table is totally empty.

    And custom html directory setting only works for html. If I link to .png or .jpg I don't get them unless they are located on the same directory with MP Web Interface.
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    Here's my custom layout

    I really haven't had much time to finish my custom layout so I'm just going to put here stuff I've done so far. So it's still W.I.P. It's a big mess and should have cleaned bunch of stuff but it works for me so it's like that.

    There's also still lots of things I would have wanted to do differently but there are limitations what can be easily done without bugging Big_Kev too much :) Files are designed for Firefox 2 but should work somehow also on IE6(fix for displaying transparent png-files included) and IE7.

    Layout is attached. Extract files directly where you've installed MP Web Interface and read readme.txt for further instructions!. It will overwrite only few pictures so using regular interface should be possible if you don't like this one. In case you want to backup those pictures, they are up.jpg, down.jpg, stopcard.jpg and recording.jpg.

    Also new features like remote control isn't supported, at least not yet. But you could easily add them by modding the files yourself if needed. Have fun!
     

    OgdenP

    Portal Pro
    August 12, 2007
    83
    4
    64
    Home Country
    I just gave this a try out and it looks very nice. Thanks Risu!

    Big_Kev, I'm getting some pretty funky things happening with the Web Server Manager while trialling the custom HTML. After cutting and pasting the code Risu provided into the Web Manager, then closing Manager and opening it again and then clicking Save, the HTML code is often messed up with an extra quote being thrown into the middle of the HTML code and the closing angle bracket (">") is lost. This messes up the display on the browser (of course).

    Secondly, I have found that an apostrophe in a program name gives the same symptom as Risu mentioned above about the question mark in a program name.
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    After cutting and pasting the code Risu provided into the Web Manager, then closing Manager and opening it again and then clicking Save, the HTML code is often messed up with an extra quote being thrown into the middle of the HTML code and the closing angle bracket (">") is lost. This messes up the display on the browser (of course).
    I can confirm this. Should have put a note for this so you guys don't wonder why it doesn't work if you can't figure that out yourselves. If I remember correctly, it's that editor that messes html code up at times. Simply copy/paste with keyboard shortcuts to HTML-section (without that right click to enter editor) should work.

    Also just found that there were few files I forgot to mod for more consistent look and those are the one confirming schedule was removed and other is window that comes after setting manual recording. No big deal really as those functions still work, I'll update those later.
     

    OgdenP

    Portal Pro
    August 12, 2007
    83
    4
    64
    Home Country
    After cutting and pasting the code Risu provided into the Web Manager, then closing Manager and opening it again and then clicking Save, the HTML code is often messed up with an extra quote being thrown into the middle of the HTML code and the closing angle bracket (">") is lost. This messes up the display on the browser (of course).
    I can confirm this. Should have put a note for this so you guys don't wonder why it doesn't work if you can't figure that out yourselves. If I remember correctly, it's that editor that messes html code up at times. Simply copy/paste with keyboard shortcuts to HTML-section (without that right click to enter editor) should work.
    I don't think it is quite as simple as just the editor being the problem (though this definitely does seem to have problems of its own). Just simply clicking save again after successfully inserting the code messes it up. No need to even open the editor.
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    After cutting and pasting the code Risu provided into the Web Manager, then closing Manager and opening it again and then clicking Save, the HTML code is often messed up with an extra quote being thrown into the middle of the HTML code and the closing angle bracket (">") is lost. This messes up the display on the browser (of course).
    I can confirm this. Should have put a note for this so you guys don't wonder why it doesn't work if you can't figure that out yourselves. If I remember correctly, it's that editor that messes html code up at times. Simply copy/paste with keyboard shortcuts to HTML-section (without that right click to enter editor) should work.
    I don't think it is quite as simple as just the editor being the problem (though this definitely does seem to have problems of its own). Just simply clicking save again after successfully inserting the code messes it up. No need to even open the editor.
    Hi Peter,

    You are correct... it is not that simple. It is more to do with the not so smart way I am storing the data.

    I will change it to a more robust method that does not have the quote marks etc.

    Regards
    Kev
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    New Version 0.2.0.07

    Just some small fixes...

    • Custom HTML now saves correctly
    • Better translation of special characters in URL for !!!DetailLink!!!
    Regards
    Kev
     

    Users who are viewing this thread

    Top Bottom