Bugzilla – Bug 521
/html/controller.html broken for some button modes
Last modified: 2008-12-18 11:55:07 UTC
When I go to /html/remote.html, which is the frameset I get some download notification. Apparently my browser does not display status.txt, rather wants me to decide what to do with it. I have Firefox 0.9.3 on Windows 2K. I think the mime-type is set wrong? Is it realted to the graphics update?
This is not related to the upgrade. Firefox shows the status.txt as being of mime type application/octet-stream which it would expect to download instead of display. it shoudl be set to text/html, and it appears to be so from the log, which I'll attach shortly.
Created attachment 114 [details] log of remote.html reponse
And now it also gives "HASH(0x12345)". broken.
status.txt request causes a call to Display::Display::curLines, which now returns a hash of parsed lines for some, text for others. seems to highlight an interesting issue. I'll have to look at $client->renderOverlay and see if we've somehow handled different line results in different ways.
Created attachment 362 [details] use parselines use parselines to grabe the text for line1 and line2. Seems to be working with graphics players at least. should be global.
test display fixed in svn r2684. controller.html still broken for some modes.
Created attachment 374 [details] use ir commands, fill timestamp in processURL just for the heck of it, controller.html can now use ir commands since they are more generic. Small patch to http.pm adds the needed timestamp if processing status.txt with ir commands in the query.
does anyone actually USE this? If it was just for demo purposes, I would think softsqueeze more than covers the need. Given that even with patching the irtime, this page cannot deal with repeat or hold button mappings. Perhaps this is best removed as a web page, leaving the status.txt processing behind as part of the CLI.
Created attachment 1242 [details] replacement file, uses javascript to send ir with timecode Just for fun, I went back to look at this. The solution is fairly simple using javascript. This replacement file sends the ircode along with the current time so that the server will be able to interpret the IR into a button for each mode.
committed to trunk at change 7457. calling this one done.
This bug appears to have been fixed in the latest release! If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look. Make sure to include the version number of the software you are seeing the error with.
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.