Opened 11 years ago

Closed 11 years ago

#2856 closed enhancement (worksforme)

Client PICON fix for @6644

Reported by: 1337#b007 Owned by: alno
Priority: trivial Component: Webinterface
Severity: low Keywords:
Cc: Sensitive: no

Description

Reason for enhancement

In clientpicon on userconfig.html, no picture, no extention, no file path!
http://www.streamboard.tv/oscam/changeset/6644

Possible impacts on other features

Add a new text input in webif named picon_path = /tmp/.oscam/imgs/
Extensions select type:
<select name="picon_ext">
<option value=".png">PNG</option>
<option value=".jpg">JPG</option>
....etc
</select>
and on finish in html output
<img class=\"clientpicon\" src=\"/tmp/.oscam/imgs/*CAID_*SRVID.(*ext)\">",

These is a just suggestion, and will be nice to have it ;)

Change History (3)

comment:1 by gf, 11 years ago

Isn't this already working? According to the commit message you set httptpl to the path where you want your picons and it loads the files from there.

comment:2 by 1337#b007, 11 years ago

in my case, these option never worked out.
i make this tiket to make things better and easy.. this httptpl i dont know how to works and i dont need to.

and other load problem
root@core:~# ldd oscam

librt.so.0 => /opt/lib/librt.so.0 (0x2aab0000)
libpthread.so.0 => /lib/libpthread.so.0 (0x2aaed000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ab40000)
libc.so.0 => /lib/libc.so.0 (0x2ab8f000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)

in webif works only in files edit but if button Save | button enable|disabled on reader or any other like these, the oscam in my router just load 100% and freeze for unlimited time, maybe for 5 min, maybe for 1h...i use latest varsion, and in any version the problem exist and no one report it. Its good to know for that ;)

in reply to:  2 comment:3 by Deas, 11 years ago

Resolution: worksforme
Status: newclosed

Replying to Mr.Valter:

in my case, these option never worked out.
i make this tiket to make things better and easy.. this httptpl i dont know how to works and i dont need to.

then you are doing something wrong. i use this on i686 and sh4 and it is working as expected. you should start reading how it is implemented and not just say "this httptpl i dont know how to works". if you want to make things better, go to the forum and discuss it there first.

http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.conf#httptpl

http://www.streamboard.tv/wbb2/thread.php?threadid=34240

http://www.streamboard.tv/wbb2/thread.php?threadid=34274

about the second problem - open a new ticket or better discuss it also in the forum first. nobody reported such a problem with the last revisions and i regulary edit on i686 and sh4 files via web-if (oscam.srvid, etc.) and it was never using 100% cpu. maybe your files are somehow corrupt.

Note: See TracTickets for help on using tickets.