[webif] Web interface

Just tried it again, same thing (processing request....). I think it might be something to do with the "Web page: Object Error" window that pops up first time. I should try refreshing the web interface (except the package manager isn't working - there's a hole in my bucket, dear Liza dear Liza) so I suppose I'm best off reloading 1.02.20 and then 1.10 over it and bringing in all the packages again.

Yes, I've seen that object error once before..

If you're comfortable enough with it, telnet in then do a manual package update:

Code:
humax# opkg update
humax# opkg upgrade webif

Reloading the release firmware then the mod over the top won't actually change anything.
 
Reloading the release firmware then the mod over the top won't actually change anything.
Really? Even though it's gone up from 1.09 to 1.10? When you click to download the rest of the package, doesn't it fetch the latest stuff too?
 
It won't prompt you to download the webif again since you already have it installed.
 
Hmm. I'm OK to break out a command prompt (once I get a Telnet client installed - do I have one already I don't know about?), but I'm thinking about the less technically competent. Do you think perhaps the initial installer on the minimal web page should refresh the packages, regardless of what's there already?

The other thing is: what is actually causing my problem? Will it be cured by updating webif? (The problem being that my package manager seems to be broken so I can't update the package manager.)
 
@Black Hole
Is this the same problem I raised in this thread (see post #409)? I've found that the update button freqently 'breaks' the package manager, but running the upgrade command via telnet seems to resolve the problem. It's a valid concern, though, for users who don't want to mess with console commands.
 
The other thing is: what is actually causing my problem? Will it be cured by updating webif? (The problem being that my package manager seems to be broken so I can't update the package manager.)

I don't know what's causing the problem yet. The web interface just runs the package commands in the background so should produce the same results as the command line. Hopefully the command line output will shed some light.

PuTTY (http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe) is probably the best free telnet client. Windows does have one too but it isn't installed by default with Windows 7 (see http://technet.microsoft.com/en-us/library/cc771275(WS.10).aspx)
 
@Black Hole
Is this the same problem I raised in this thread (see post #409)? I've found that the update button freqently 'breaks' the package manager, but running the upgrade command via telnet seems to resolve the problem. It's a valid concern, though, for users who don't want to mess with console commands.

Yup; had the same issues on mine.. and running them via telnet afterwards didn't work.. I had to delete the lock file & then stuff started working again.
 
0.6.5
  • New scheduled recordings are placed into a temporary holding table until reboot (with mod 1.11 they will be synchronised across during boot before the humax software starts up);
  • Progress bar shown during reboot (rather than error page!);
  • Fix more symbolic link cases in media browser.
 
BTW, I've added screenshots of the web interface (and iPhone/smartphone skin) to the wiki for people who like to see what they're getting before they take the plunge :)

http://wiki.hummy.tv/wiki/Web_Interface_Screenshots

http://wiki.hummy.tv/wiki/Smartphone_Web_Interface_Screenshots

Thanks for the screenshots. I can click through to the Web Interface screenshot, but the first link doesn't work for me. Is it just me, or is the link broken?

Ignore - it's working now
 
Further to my previous posts on this subject, I now have the "updates" tab spontaneously showing me Webif 0.6.4-1 (it's 0.6.5 now isn't it?), the "update list" button still doing the same, and if I actually click the "update" button all hell breaks loose (object error... object error... object error). Eventually I managed to click through them all and terminate the "processing" pop-up.
 
Yep. Package update in webif not working here either. As before, rebooting the box and updating the package list via telnet sorted it. Upgrading webif (in webif) appeared to do nothing - stuck on 'processing' - but after hitting Close, it is now showing 0.6.5.
 
I got the same object error bug the other night, but I was messing with other stuff so put it down to that.
I think some of my folders such as /tmp had become read only for some reason.
Anyway, after updating via telnet it was back to normal.
 
I'm still having trouble - I suppose I'll have to bite the bullet and fire up Telnet (after I review what's been said so far). As it happens there's an item in the latest PCPlus about enabling the telnet client in Win7. I tried reinstalling 1.02.20 and then 1.10, but as you said it went straight to the full web page instead of the downloader page, and I still have the Object Error problem stopping me seeing an updated package list. However, somehow I now have Webif 0.6.5 listed as installed. I think we could do with a method to force it back to the start-up page.

On a different tack, in the Browse Media Files section, would it be possible to identify the DLNA URL for each file, on hover or a right click option or something? And copy it? I realise we don't need it as such with download functionality, but the trick is to identify the files after they've been downloaded when they are given the mediaID as their name (alternative to looking through the SQL dump).
 
Don't know if the W7 telnet client is as awkward as the one in Vista, but I'd suggest puTTY as a very easy and effective alternative. No installation needed - just run the exe.
 
I'm at work so can't quickly check, but if the web interface doesn't allow easy renaming of the program title, then I'd like to add that as a feature request. The auto-filer script does a good job, but sometimes I want to override what it's renamed them to, plus other people might not be running that script. Be handy if we could use the web interface to do some quick renames (not of the physical file.. but the title).

It already does this. Nice!

I guess one thing that would be good is to extend the display to include the title as well as the filename.. it'd make it faster for me to go down the list and see what needs renaming. Might have a stab at that myself if I get time.
 
If anyone wants to alter the display of media so that the actual title of the program is displayed before the filename, then this is how to add it;

FTP to this folder: /mnt/hd2/mod/var/mongoose/cgi-bin/
Edit the file: browse.jim

At line 70, which reads puts "<img class=va border=0 src=/img/$img.png>, paste a new line after it which reads;

Code:
puts "<font color=black><b>[$ts get title]</b></font>"

You'll then get a display which looks like this... it's a bit crude, but I don't have time to do it much more nicely & it's fit for what I need it to do. Plus anyone else reading this now knows a bit more about how to modify the web interface themselves :)

6yubw1s6fsra4kij23co.png
 
Back
Top