Self Contained Web Server / Interface (2 Viewers)

jerma

Portal Member
October 7, 2007
8
5
Vaasa
Home Country
Finland Finland
Risu: nice job on the PG :) hope, that you get the goods out asap :D
 

Big_Kev

Portal Pro
June 8, 2007
338
186
Home Country
Found out that when viewing scheduled recording and there's &-mark on title it doesn't open showrecdetail correctly. It's rather obvious why it doesn't as &-mark has other meaning on URL.

If I manually change that &-mark from URL to %26 it works. So this should be done within webint for it to work (I have a workaround for this with javascript but would be better if it was done right in the beginning). There may be other similar problems but haven't tested, for example with %-marks? I think whole title should be URL-encoded anyways so we wouldn't run into trouble.

Not trying to be pain in the ass but would be great if we could also customize showrecorded (recorded shows) table like we can do with scheduled recordings and program guide.

Btw is there some !!!-tag for recording keep type on custom Scheduled Recordings table? I can get Record Once etc from !!!recordfreq!!! but is there some tag to display how long recording is kept? I'd like to make this one displayed on scheduled recordings -screen but can't find any way doing it on custom html.
I will look at this for you.

I am on Holidays this week, so it wont be until next week.

Regards
Kev
 

risu

MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    I will look at this for you.

    I am on Holidays this week, so it wont be until next week.
    Thanks, I'm afraid there's one more issue too. I found out that with custom html search doesn't work as it should. Difference with custom html and your default is that when custom html is used, there's "<td><table id="prog" width="100%">" missing in front of custom html and "</table></td>" after it. Sure these could be added to custom html fields but it could mess regular program guide again.

    Could you add those tags to tabledata sent when using custom html and search?
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    I will look at this for you.

    I am on Holidays this week, so it wont be until next week.
    Thanks, I'm afraid there's one more issue too. I found out that with custom html search doesn't work as it should. Difference with custom html and your default is that when custom html is used, there's "<td><table id="prog" width="100%">" missing in front of custom html and "</table></td>" after it. Sure these could be added to custom html fields but it could mess regular program guide again.

    Could you add those tags to tabledata sent when using custom html and search?
    No problem, will do next week...

    Thanks for all your input!

    Regards
    Kev
     

    Big_Kev

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

    New Version 0.1.2.9 with as many as risu's requests as I could manage today...

    New Features
    • Custom HTML for recorded programs - new tags !!!TimesWatched!!!, !!!RecordingId!!!, !!!Channel!!!, !!!KeepUntil!!!. Custom HTML replaces the <table id=recorded> tag and all of its contents (sits within the <td></td> tags for the main table cell)
    • New Tag for Scheduled Recordings - !!!KeepUntil!!!

    Fixes
    • Program titles in links are now URL encoded.
    • Removing all custom HTML lines now actually does revert back to standard HTML (as it was meant to).
    • Made changes to search results custom HTML - added <td><table id=prog> tags to program - custom HTML to sit between...

    Still working on conflicts and direct access to TV cards and documentation update...

    Regards
    Kev
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    At least searching is now fixed with custom html, didn't have time yet to look into other features. Oh and it reports itself as version 0.1.2.8 Beta instead of 0.1.2.9.. No big deal :) Will post my layout here as I get those new custom sections added.
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    Custom html for Recorded program entries doesn't work for me. If I enter something there, showrecorded shows up blank. When I remove HTML from manager, it works again.

    Also on webint manager right clicking on Custom HTML field for Recorded entries shows up the one for Scheduled programs on HTML Helper.
     

    Big_Kev

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

    New Version:

    New Features:
    • Conflict Resolution - Conflicts are now automatically resolved. The following logic is used...
      One less conflict than the number of enabled TV tuners is allowed (2 tuners will allow 1 conflict). If the conflict is caused by overlapping pre/post recording times, then these are reduced to resolve the conflict - down to 0 for consecutive programs on different channels. If the conflict can not be resolved (programs overlap not including pre/post times), a message is displayed and the schedule is not added.
      To help with manual conflict resolution, by adding the programs manually, the pre and post recording times are NO LONGER ADDED to manual recordings.

    • TV Card Access - There is a new page for TV card monitoring. It shows the current status of all TV cards on the machine where the web interface is installed. There is also the facility to stop the current card activity.
    Fixes:
    Custom html for Recorded program entries doesn't work for me. If I enter something there, showrecorded shows up blank. When I remove HTML from manager, it works again.

    Fixed...

    Also on webint manager right clicking on Custom HTML field for Recorded entries shows up the one for Scheduled programs on HTML Helper.

    Fixed...

    Please Note that the new install program will overwrite mainmenu.htm for both normal and PDA templates, so if you have made custom changes, BACK UP FIRST!

    RegAsm.exe is also run by the installer to register the TvLink.dll assembly for use with COM so the Web Interface can access the TvControl dll.
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    !!!KeepUntil!!! doesn't work on Recorded programs with custom HTML. Other than that, seems to work alright.

    Would be nice if custom layouts were selectable. There could be directory containing all custom layout directorys and webint manager would detect them and list them as selectable layouts on the same place where there's current horisontal, vertical, PDA etc views. This would need custom HTML to be loaded from separate files as webint starts.

    Also would like loading every file onto memory so they wouldn't have to be read separately from disk every time they are asked (we're talking about 1 meg here so it shouldn't be that bad). This would be done when webint service is starting up. Now I get little stuttering on MP if I load webpage from webint while watching TV and I'm suspecting it's because it's reading from disk. I can check this later with ramdisk. If that helps, loading files to RAM would also help.

    I've got bunch of other suggestions but I'd better just shut up so you can work on actual issues (if there's any) :)
     

    mmesh

    MP Donator
  • Premium Supporter
  • December 10, 2004
    65
    3
    Zagreb
    Home Country
    Croatia Croatia
    HTML Encoding

    Hello!

    Sorry if I apear a little pushy because I posted a similiar post some time ago...

    I was wondering if this web interface will support utf8 encoding in near future?

    Other than the problem with showing ascented caracters in TV guide this is one brilliant piece of code.
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom