Self Contained Web Server / Interface (2 Viewers)

Big_Kev

Portal Pro
June 8, 2007
338
186
Home Country
Version 0.1.0.12

Hi All,

New Features:
  • Manual Recording (On Main Menu "Add Manual Recording")- Enter Start date, start time, duration of recording and title (default title if left blank is "Manual Recording"). For Example: Start Date 20/9/07 Start time 23:30 duration 2:30 will record from 23:30 on the 20th to 02:00 on the 21st.
Changes:
  • Keyword Search now only returns columns with results.

Regards
Kev

Hi Kev,

I was wondering. are you still thinking about rewriting the webserver app. as an isapi.dll for IIS.

Regards, RR69
Yes, when this version is settled, I will port it to an ISAPI dll (I hope!)

Kev

Hey Kev,

Since you are developing this at a million miles per hour ;) perhaps you have some time to look at the TvScheduler service I just uploaded (https://forum.team-mediaportal.com/rule_based_tvscheduler_service-t26158.html) and check if it's doable for you to have your webinterface modified to run on top of that?

Cheers!
I will need to look a little further at this...

I am guessing from a quick glance that this app manipulates the recording schedule in MP based on its own rules/API etc. I presume it keeps its own schedule info and generates the MP scheduling entries as required.

I believe it could be done using the HTTP interface provided - building a web client into my app to send/receive the scheduling info - that would get over the "language barrier" as I am using C++.

Kev

Excellent work Kev,


2-on a search, it will display results in vertical format, even though I have the setup to display program guide in horizontal.

I am not sure about this as the results can span many days... Jarod is also looking at a possible better format for these results

4-edit the login form, so that fields user/pass can be saved.

Many thanks for this great program.
Not sure what you mean here... they save for me under FireFox. I may be mis-understanding your request.

:D Thanks for the other great suggestions - I have implemented these in version 0.1.0.12

Regards Kev

BK, you really are a machine :)

Are you in Melbourne? When I'm finally back home I want to buy you a beer ;-)

Thanks for the updates. You really did take only a few seconds to implement the changes I asked for.

I second that. I dont even have the time to try out each new version as you release it Kev! Kudos to you mate!

:D

If I didn't make so many mistakes, and leave so much stuff out in the first place... I would not need so many versions!

Kev
 

ronsonol

MP Donator
  • Premium Supporter
  • April 2, 2007
    178
    23
    Kingston
    Home Country
    Canada Canada
    You are a machine, just incredible - many thanks.

    4-edit the login form, so that fields user/pass can be saved.

    Many thanks for this great program.

    Not sure what you mean here... they save for me under FireFox. I may be mis-understanding your request.


    About the login form, I did mean saving the password, if it works for you then it must just be a problem with my internet explorer.
     

    skiingwiz

    Portal Member
    August 21, 2006
    6
    1
    One small suggestion: On the "Recorded Programs" page, it'd be nice if the available space could be shown in GB if there is enough of it. (Right now I see 190133MB and 204192MB in my two folders.)

    Great app!
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    Version 0.1.0.13

    Another Version!

    Blame Jarod.. it was his idea!

    New Features:
    • Translation for Messages Generated by the Web Server - In the Manager, there is a new tab for Translations. It has all of the words and phrases used by the Web Server internally (not in the HTML pages) so that you can translate warning messages etc. Just edit the grid directly and save the changes (and re-set the web server).

    Try making a few changes, saving, resetting etc. Then re-install to ensure your changes are not overwritten.

    The program that updates the translation file should only add new lines that do not exist, not change existing lines! It works on my setup, but it might pay to test first before spending time translating everything!

    Don't forget, you can translate the web pages by editing the html templates in the app directory.

    I would be interested in getting some translations back so I can set up some installs for different languages.

    Regards
    Kev
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Hey Kev,

    Since you are developing this at a million miles per hour ;) perhaps you have some time to look at the TvScheduler service I just uploaded (https://forum.team-mediaportal.com/rule_based_tvscheduler_service-t26158.html) and check if it's doable for you to have your webinterface modified to run on top of that?

    Cheers!
    I will need to look a little further at this...

    I am guessing from a quick glance that this app manipulates the recording schedule in MP based on its own rules/API etc. I presume it keeps its own schedule info and generates the MP scheduling entries as required.

    I believe it could be done using the HTTP interface provided - building a web client into my app to send/receive the scheduling info - that would get over the "language barrier" as I am using C++.

    Kev

    The TvScheduler service exposes everything over both a standard http:// web-service and a new net.tcp:// service. So talking to a web-service should definately be possible from C++.

    A quick search on Google turns up at least these two hits: http://icoder.wordpress.com/2007/06/15/consuming-a-wcf-service-using-wshttp-binding-from-a-c-client/ and http://blogs.msdn.com/madhuponduru/archive/2006/04/05/569400.aspx.

    To get an idea of the API you can browse to the web-service URL (like I included in my start-posting). Perhaps this already gives you an idea on how doable this would be for you?

    BTW, my service does not manipulate the recording schedule in MP, it's more the aim to let MP use the TvScheduler logic to know what it must record. So in essence the Schedule table in the MP database would not be used at all, nor would the Program table. Everything related to the guide and schedules is then contained in the TvScheduler sub-system. For example, I've provided an API to let MediaPortal insert program data it grabs from the DVB stream.

    Later!
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    The TvScheduler service exposes everything over both a standard http:// web-service and a new net.tcp:// service. So talking to a web-service should definately be possible from C++.

    A quick search on Google turns up at least these two hits: http://icoder.wordpress.com/2007/06/15/consuming-a-wcf-service-using-wshttp-binding-from-a-c-client/ and http://blogs.msdn.com/madhuponduru/archive/2006/04/05/569400.aspx.

    To get an idea of the API you can browse to the web-service URL (like I included in my start-posting). Perhaps this already gives you an idea on how doable this would be for you?

    BTW, my service does not manipulate the recording schedule in MP, it's more the aim to let MP use the TvScheduler logic to know what it must record. So in essence the Schedule table in the MP database would not be used at all, nor would the Program table. Everything related to the guide and schedules is then contained in the TvScheduler sub-system. For example, I've provided an API to let MediaPortal insert program data it grabs from the DVB stream.

    Later!
    Looks like I will have to install .NET 3 on this old clunker! I hope I've got enough space!

    I will have a look at those links.

    Kev
     

    jarod

    Portal Member
    June 4, 2007
    19
    8
    Home Country
    Germany Germany
    Hi, Kev

    incredible yesterday evening i thought a translation would be nice and when i wake up there is an new version including it.
    I do the German translation as soon as possible. (Don't want to make mistakes *gg*).

    Should i translate the html files too an send it to you?

    EDIT:
    I test the manual recording. No problem to add a schedule and record it. When i set a manual recording named "Test 1" without having epg on this channel the recording is named "manual" in Mediaportal. When the channel has epg the recording is named like the program currently running on that channel and not i.e. "Test 2".

    IT SEEMS THAT THIS IS AN PROBLEM OF MEDIAPORTAL NOT THE WEB INTERFACE. SORRY

    By the way... seems that manual recording where no epg is available don't have xml files.

    mfg Jarod
     

    jarod

    Portal Member
    June 4, 2007
    19
    8
    Home Country
    Germany Germany
    Translation

    Hi Kev,

    here is the German translation of the strings. Hope everything is correct.

    There are some typos in the English strings i thing. Always is written with two L's and sometimes in the strings "Every Time ... " you change the upper and lower case.

    MfG Jarod
     

    Users who are viewing this thread

    Top Bottom