[webif] Web interface

aber1

Member
af123,

Well back on-air so to speak, with the ext3 file system now checked and repaired (I think?!).

Tested the current installed version of webif(0.5.9-1) which was now looking good :) before moving onto 0.6.1, but have got problems with it :(......

E-mail sent to you with details of upgrade and errors contained - help! :eek:
 

Drutt

Active Member

Feature request: Setting up external smb shares via the web interface.

One of the things I have found most useful with the modified firmware is mounting an external smb share automatically on the humax. This allows me to browse, playback and manage (copy to the Humax, create folders, delete watched programs etc) with the humax remote. Even though I'm only using a wirelessG access point, it is almost as responsive with seeking/ FF/RW as a recording on the box (unlike DLNA where seeking doesn't even work half the time). Resume positons are also stored.

I thought it would be nice for people how aren't into messing about with telnet, if this could be configured via the web interface. The name/ip + share name could be added to the settings screen, and the mount of the network drive added as a service...
 
Feature request: Setting up external smb shares via the web interface.

One of the things I have found most useful with the modified firmware is mounting an external smb share automatically on the humax. This allows me to browse, playback and manage (copy to the Humax, create folders, delete watched programs etc) with the humax remote. Even though I'm only using a wirelessG access point, it is almost as responsive with seeking/ FF/RW as a recording on the box (unlike DLNA where seeking doesn't even work half the time). Resume positons are also stored.

I thought it would be nice for people how aren't into messing about with telnet, if this could be configured via the web interface. The name/ip + share name could be added to the settings screen, and the mount of the network drive added as a service...
+1 for this, please.
 
OP
af123

af123

Administrator
Staff member
Feature request: Setting up external smb shares via the web interface.

That's a prime plugin candidate, I've added it to the list.
For now, I'd imagine that most people who are using it would be happy to create their own startup script.
 
OP
af123

af123

Administrator
Staff member
Do you think there could be a way to select a file from the web interface and tell the humax to play it?

Never say never, but I don't think it would be easy. Almost everything the Humax does is in hardware so we'd need to work out how to interact with that, and we don't have access to the documentation for the platform...

Also, some sort of log of what's happened on the box would be handy to have available from the web page too if that's at all possible. Would help me with my random reboot issue too.

There isn't much native logging... I'll add this to the todo list (to look at) as well..
 

aber1

Member
Can you try 0.6.1-1 ?

af123,

Webif upgraded with no error messages :) .

Had a quick look see and functions now working (i.e. BrowseMF and Settings)

'perc' getting set now - it's the first time I've seen the percentage used and the pie chart !! :):).......Is the pie chart supposed to overlap the header bar so much? - nearly twice its width?!

I know I need to enable 'Scheduling' with a file created, but I don't see the option on the screens(?).

Will look more in-depth soon.

Thanks.
 
OP
af123

af123

Administrator
Staff member
......Is the pie chart supposed to overlap the header bar so much? - nearly twice its width?!

It should look something like this:

topbar.png


(although blue instead of green on the HD)
 

aber1

Member
It should look something like this:

Sorry, but being the first time that I'd seen it, it looked a bit oversized. I know it's a bit esoteric and cosmetic, but I think it should be slightly smaller, or say moved up to be in-line with the top of Freeview icon?

But there again.....:).....and yes it is blue on the HD.
 
EPG Feature Request : Would it be possible to add information in the programme details somewhere to display any dates that the particular programme is repeated (if it is repeated) ?

A different box I had before the Hummy had this option and it was very useful. If for example you change to a programme part way through and would like to see the whole of it some time, or, when scheduling a lot of recordings in a narrow time period you can tell at a glance what options you've got.
 

James

Member
As a thought (mainly because I'm now going through a huge program after I'd writen it and changing virtually every line :) ) would it not be a good idea now to think about making this 'multi-language' ? The way i'm implimenting this is to simply make a table in a database for translations and then instead of hard writing the menu titles etc into the page have it look them up in the database - then you don't need to worry about doing all the translation work as people will just update the database for you for their language and 'hopefully' send in translation tables over time - just a thought - but I'm sure it would have been easier if I had done this from the start and not now 2 years later!
 

Jfirth8187

Member
Oh no I've just updated to the latest version and I've lost my pie chart showing the disk usage. How do I fix this, I know how to update but this is not working, should I uninstall and reinstall?? if so what is the uninstall command?

Thanks, Jon.
 

Wallace

Traveler 34122
Wow! I have just installed the custom firmware, very easy to do. I am now on a steep learning curve. Thought I would try the webif. It's fantastic! Compliments to the chef, you have cooked up an excellent plugin. I have even managed to send an email to myself with my 'test' EPG searches. Painless.

Thank you.
 
OP
af123

af123

Administrator
Staff member
Oh no I've just updated to the latest version and I've lost my pie chart showing the disk usage..

Could you post the output of a couple of commands via telnet? Is this the HD or HDR? Thanks.

Code:
humax# df -h
humax# /mod/var/mongoose/include/diskspace.jim
 
OP
af123

af123

Administrator
Staff member
EPG Feature Request : Would it be possible to add information in the programme details somewhere to display any dates that the particular programme is repeated (if it is repeated) ?

Yes, good idea, shouldn't be too hard.
 
OP
af123

af123

Administrator
Staff member
As a thought (mainly because I'm now going through a huge program after I'd writen it and changing virtually every line :) ) would it not be a good idea now to think about making this 'multi-language' ?

I did think about it when building all of the packages, including the web interface, but adding i18n support means that everything gets bigger and while that isn't much of a problem for the web interface it isn't great for the binaries. Everything is deliberately compiled without i18n/nsl for that reason. Since this is a UK freeview box it is possibly less of a problem than for other systems..
 

Jfirth8187

Member
Hi, I ran the commands and got this. The problem lies on my HDR.

Code:
Lounge# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                15.6M    15.6M        0 100% /
tmpfs                    61.0M    24.0K    61.0M  0% /tmp
tmpfs                    61.0M        0    61.0M  0% /media
/dev/mtdblock1            2.0M    440.0K      1.6M  21% /var/lib/humaxtv
/dev/mtdblock2            2.0M      1.2M    812.0K  60% /var/lib/humaxtv_backup
/dev/sda1                7.4G      4.0K      7.4G  0% /media/drive1
/dev/sdb1              1011.8M    36.3M    924.1M  4% /mnt/hd1
/dev/sdb2                1.8T      1.4T    313.5G  82% /mnt/hd2
/dev/sdb3                9.8G    178.1M      9.2G  2% /mnt/hd3
/dev/sdb2                1.8T      1.4T    313.5G  82% /media/virtual
Lounge#
Lounge# /mod/var/mongoose/include/diskspace.jim

        <span style="float: right;
            background:url('/images/345_1_27_ST_USB_BG.png')
            no-repeat">
                <img src=/images/345_2_14_ST_HDD_01.png>
        </span>

        <span style="float: right">
                <br>
                Total space: 7.4G<br>
                Used: 4.0K (0%)
        </span>

Lounge#
Lounge#

Seems a little strange as I have 2Tb of space and 392Gb Free?

Thanks, Jon.
 
OP
af123

af123

Administrator
Staff member
It's picking up on the 8GB USB drive that was connected when it booted. On the HD model, that's the right drive (since there isn't an internal one) but on the HDR it's obviously wrong. Most people don't have an external drive connected during boot so in that case the internal HDR always appears first in the output from df. It's a definite bug which I will fix in the next update.
 
OP
af123

af123

Administrator
Staff member
0.6.2 - minor update, mainly bugfixes.
  • Fix diskspace pie chart (for good this time?);
  • Fix error with no plugins installed;
  • Scheduled recording list is now sortable (by clicking on column headers).
I've also updated the web server dependency to mongoose 3.0. It's faster and I've also patched it to display script errors in the browser which will make it easier to debug problems.
 
Top