Logos are not displayed on the STB. They are used only for API.
--
Вы получили это сообщение, поскольку подписаны на группу Stalker Middleware.
Чтобы добавлять сообщения в эту группу, отправьте письмо по адресу stalker-m...@googlegroups.com.
Чтобы отменить подписку на эту группу, отправьте сообщение по адресу stalker-middlew...@googlegroups.com.
Просмотреть это обсуждение в Сети можно по адресу https://groups.google.com/d/msg/stalker-middleware/-/j8oC3QTwnL4J.
Подробнее о функциях можно узнать на странице https://groups.google.com/groups/opt_out.
this.info.title = create_block_element("osd_info_title", this.info['dom_obj']);//orioni ... add channel logo when INFO is pressed
this.info.logoKanali = create_block_element("osd_info_logo_kanali", this.info['dom_obj']); if (osd_title_match){
title = decodeURIComponent(osd_title_match[1].replace(/\+/g, '%20'));
} //orioni show logo on status bar when inside a channel and INFO is pressed START
if (item.hasOwnProperty('logo')){
if (item.logo!=''){
//display channel logo
this.info.logoKanali.innerHTML ='<img src="http://'+ stb.portal_ip +'/'+ stb.portal_path +'/misc/logos/320/' + item.logo + '">';
}else{
//display a default logo
this.info.logoKanali.innerHTML ='<img src="http://'+ stb.portal_ip +'/'+ stb.portal_path +'/misc/logos/ska_logo_kanali.png">';
}
}
//orioni show logo on status bar when inside a channel and INFO is pressed ENDSdiv.osd_info_logo_kanali{
float: right;
margin-right: 100px;
position: relative;
}
the "320" folder is created automatically when you set a logo for the channelО©╫also other folders are created like "240"О©╫
as for logo size , those are auto resized , and for the "320" its О©╫a 96x96 pixel
in order to not have distortion/stretching of the logo , i created a 96x96 image in photoshop and then uploaded that logo from the middleware channel logo interfaceО©╫
On Tuesday, May 14, 2013 4:56:07 PM UTC+2, AL Firansi wrote:
Hi Orioni,
could you tell us the logo size in px
I have noticed that you have created a folder called /320 to store all logos so i created same folder but was wondering what is the max size of each logo
cheers
On Monday, 13 May 2013 20:20:51 UTC+1, orioni wrote:
hi to allО©╫first congrats on the middlewareО©╫
2nd , i О©╫had the same requirements as ethnicTV so i modified some files to show the logo of each channel on the status bar (the bar that shows when you`re on a channel and press INFO on the remote )О©╫
here is how to do itО©╫
on the file О©╫/stalker_portal/c/player.jsО©╫
find the lineО©╫
this.info.title = create_block_element("osd_info_title", this.info['dom_obj']);
add below it thisО©╫
//orioni ... add channel logo when INFO is pressed
this.info.logoKanali = create_block_element("osd_info_logo_kanali", this.info['dom_obj']);
on the same file , inside the functionО©╫player.prototype.show_info = function(item){
find the line that hasО©╫
О©╫ О©╫ if (osd_title_match){
О©╫ О©╫ О©╫ О©╫ title = decodeURIComponent(osd_title_match[1].replace(/\+/g, '%20'));
О©╫ О©╫ }
and after that, but before try { add thisО©╫
О©╫//orioni show logo on О©╫status bar when inside a channel and INFO is pressed О©╫START
О©╫if (item.hasOwnProperty('logo')){
О©╫
О©╫if (item.logo!=''){
О©╫//display channel logo
О©╫this.info.logoKanali.innerHTML ='<img src="http://'+ stb.portal_ip +'/'+ stb.portal_path О©╫+'/misc/logos/320/' + item.logo + '">'; О©╫
О©╫}else{
О©╫//display a default logo
О©╫this.info.logoKanali.innerHTML ='<img src="http://'+ stb.portal_ip +'/'+ stb.portal_path О©╫+'/misc/logos/ska_logo_kanali.png">';
О©╫
О©╫}
О©╫}
О©╫ О©╫ //orioni show logo on О©╫status bar when inside a channel and INFO is pressed О©╫ENDS
on the respective CSS files ( in this case for 720p ) located at О©╫/stalker_portal/c/layer.list_720.cssО©╫add the following declarationО©╫
div.osd_info_logo_kanali{
О©╫ О©╫ float: right;
О©╫ О©╫ margin-right: 100px;
О©╫ О©╫ position: relative;
}
thats allО©╫here is how it shows on a channel with a logo setО©╫
here is the default logo О©╫that shows when a channel doesnt has a logo set from the middleware interface ( the text is an image itself saying "NO LOGO")О©╫
О©╫ О©╫ hope you`ll find it useful
bye
On Friday, November 30, 2012 5:09:35 PM UTC+1, ethnicTV wrote:
All,Just wondering the function of upload logoО©╫whenО©╫adding the IPTV Channels. I looked at the STB and did not see this logo.Is this a bug?О©╫
--
О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫, О©╫О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ "Stalker Middleware".
О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫, О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ https://groups.google.com/d/topic/stalker-middleware/AZOJmeYpi7M/unsubscribe?hl=ru.
О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫, О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫ stalker-middlew...@googlegroups.com.
О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫, О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ stalker-m...@googlegroups.com.
О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ https://groups.google.com/d/msgid/stalker-middleware/1a75c45d-59b0-46f6-81c5-5b27349f7e99%40googlegroups.com?hl=ru.
О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫: https://groups.google.com/groups/opt_out.
О©╫
О©╫
О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫, О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫ stalker-middleware+unsub...@googlegroups.com.
--
Вы получили это сообщение, так как подписаны на группу "Stalker Middleware".
Чтобы отказаться от подписки на эту тему, перейдите на страницу https://groups.google.com/d/topic/stalker-middleware/AZOJmeYpi7M/unsubscribe?hl=ru.
Чтобы отказаться от подписки на эту группу и все входящие в нее темы, отправьте электронное письмо на адрес stalker-middlew...@googlegroups.com.
Чтобы добавлять сообщения в эту группу, отправьте письмо по адресу stalker-m...@googlegroups.com.
Просмотреть это обсуждение в Сети можно по адресу https://groups.google.com/d/msgid/stalker-middleware/1bff1f0b-82c7-4195-98b3-1087667696c5%40googlegroups.com?hl=ru.
Настройки подписки и доставки писем: https://groups.google.com/groups/opt_out.
my log error
Warning: mkdir(): Permission denied in /var/www/stalker_portal/server/administrator/add_itv.php on line 568
Fatal error: Uncaught exception 'ImagickException' with message 'unable to open image `/var/www/stalker_portal/misc/logos/320/328.jpg': No such file or directory @ error/blob.c/OpenBlob/2638' in /var/www/stalker_portal/server/administrator/add_itv.php:584 Stack trace: #0 /var/www/stalker_portal/server/administrator/add_itv.php(584): Imagick->writeimage('/var/www/stalke...') #1 /var/www/stalker_portal/server/administrator/add_itv.php(514): handle_upload_logo(Array, 328) #2 {main} thrown in /var/www/stalker_portal/server/administrator/add_itv.php on line 584
Thanks in advance