Logo on IPTV Channels

2 575 просмотров
Перейти к первому непрочитанному сообщению

ethnicTV

не прочитано,
30 нояб. 2012 г., 11:09:3530.11.2012
– stalker-m...@googlegroups.com
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? 

Thanks for the help.



Aleksey Zhurbitsky

не прочитано,
1 дек. 2012 г., 05:34:4901.12.2012
– Stalker Middleware on behalf of JDVU

Logos are not displayed on the STB. They are used only for API.

30.11.2012 18:09 пользователь "ethnicTV, Stalker Middleware" <stalker-middleware+noreply-APn2w...@googlegroups.com> написал:
--
Вы получили это сообщение, поскольку подписаны на группу 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.
 
 

orioni

не прочитано,
13 мая 2013 г., 15:20:5113.05.2013
– stalker-m...@googlegroups.com
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

AL Firansi

не прочитано,
14 мая 2013 г., 10:19:4114.05.2013
– stalker-m...@googlegroups.com
Very good job Orioni
thank you very much for sharing this great info 
cheers mate

AL Firansi

не прочитано,
14 мая 2013 г., 10:56:0714.05.2013
– stalker-m...@googlegroups.com
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:

orioni

не прочитано,
14 мая 2013 г., 11:13:1314.05.2013
– stalker-m...@googlegroups.com
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 

French Team

не прочитано,
14 мая 2013 г., 11:55:5614.05.2013
– Stalker Middleware on behalf of orioni
thanks for your quick reply Orioni,
I don't know what I did wrong but cant see any logo
so I'm gonna resize one in png and see what will happen



Le 14/05/2013 16:13, orioni, Stalker Middleware a écritО©╫:
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?О©╫

Thanks for the help.



--
О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫, О©╫О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ "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.
О©╫
О©╫

orioni

не прочитано,
14 мая 2013 г., 13:35:3814.05.2013
– stalker-m...@googlegroups.com
dont forget to reboot the STB 
so it loads the new JS file
О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫, О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫О©╫О©╫О©╫ stalker-middleware+unsub...@googlegroups.com.

French Team

не прочитано,
14 мая 2013 г., 15:02:4514.05.2013
– Stalker Middleware on behalf of orioni
yes you were right
i just rebooted and now works fine
thx Orioni
--
Вы получили это сообщение, так как подписаны на группу "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.
 
 

Milen Minev

не прочитано,
14 мая 2013 г., 16:56:4114.05.2013
– stalker-m...@googlegroups.com
Actually this looks pretty good.

I wish those patches find a way in official distribution.

PlayinCS

не прочитано,
14 мая 2013 г., 19:11:0414.05.2013
– stalker-m...@googlegroups.com
Great Orioni! how it works on other grapghic resolutions?

thanx

Aleksey Zhurbitsky

не прочитано,
15 мая 2013 г., 03:33:0415.05.2013
– stalker-m...@googlegroups.com
We can add this feature as an option, which will be disabled by default.

orioni

не прочитано,
16 мая 2013 г., 00:06:2516.05.2013
– stalker-m...@googlegroups.com
i jsut did it for 720 and presumably it will be the same file used for 1920 
for others you`ll have to check since the middleware does resize the logo for all possible resolutions  and put the files in different folders ( for 720 the file is on misc/logos/320 ) 

regards

Milen Minev

не прочитано,
17 мая 2013 г., 17:40:3017.05.2013
– stalker-m...@googlegroups.com
It will be great. I think most ppl will enable it.

Cezar O

не прочитано,
22 июл. 2013 г., 06:25:5522.07.2013
– stalker-m...@googlegroups.com
This function is so great. How to fix one small bug?

When go to Movieclub or Radio channel previous logo is still show. Example, last TV channel watch ABC channel, and when go radio channels it show logo of ABC channel.

How to add code to clear it ?

Thanks to you.

Aleksey Zhurbitsky

не прочитано,
22 июл. 2013 г., 06:30:1222.07.2013
– stalker-m...@googlegroups.com
Thanks, we will fix it.

Aleksey Zhurbitsky

не прочитано,
22 июл. 2013 г., 06:48:1022.07.2013
– stalker-m...@googlegroups.com
What version of the portal are you using? Is it official patch (for channel logo)?


On Monday, July 22, 2013 1:25:55 PM UTC+3, Cezar O wrote:

Cezar O

не прочитано,
29 июл. 2013 г., 06:04:0029.07.2013
– stalker-m...@googlegroups.com
Hi,

It is code above in this thread from Orioni.

I not try oficial patch

Thanks.

Marcos Amador Bonilla

не прочитано,
7 янв. 2015 г., 09:13:1007.01.2015
– stalker-m...@googlegroups.com
he held his help. I tried to make all the changes and have failed to work.

attached files to see if I can help.



I thank you in advance what can help me



layer.list_720.css
player.js
layer.list.css
layer.list_480.css

joe nikita

не прочитано,
3 июл. 2016 г., 09:01:4703.07.2016
– Stalker Middleware
i'm using stalker middleware (v 5.0.1)
my logo format files png 96 96 pixels maximum 16KB and I try 96 96 pixels 1MB here my


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

JDVU

не прочитано,
3 июл. 2016 г., 10:27:5003.07.2016
– Stalker Middleware
Permission denied!!!!! 
chmod -R 777 /var/www/stalker_portal/misc

воскресенье, 3 июля 2016 г., 16:01:47 UTC+3 пользователь joe nikita написал:

iptvhelp

не прочитано,
3 июл. 2016 г., 10:44:1703.07.2016
– Stalker Middleware
How do I upload using ftp instated of administrator panel

joe a

не прочитано,
3 июл. 2016 г., 13:31:1903.07.2016
– Stalker Middleware on behalf of JDVU
Thanks it works great!!


Date: Sun, 3 Jul 2016 07:27:50 -0700
From: stalker-middleware+APn2wQffQ14AR...@googlegroups.com
To: stalker-m...@googlegroups.com
Subject: Re: add Logo on IPTV Channels not working
--
Вы получили это сообщение, поскольку подписаны на одну из тем в группе "Stalker Middleware".
Чтобы отменить подписку на эту тему, перейдите по ссылке https://groups.google.com/d/topic/stalker-middleware/AZOJmeYpi7M/unsubscribe.
Чтобы отменить подписку на эту группу и все ее темы, отправьте письмо на электронный адрес stalker-middlew...@googlegroups.com.
Чтобы отправлять сообщения в эту группу, отправьте письмо на электронный адрес stalker-m...@googlegroups.com.
Чтобы посмотреть обсуждение на веб-странице, перейдите по ссылке https://groups.google.com/d/msgid/stalker-middleware/0f70d75f-e37a-4288-9336-d3a17fc95175%40googlegroups.com.
Чтобы настроить другие параметры, перейдите по ссылке https://groups.google.com/d/optout.

joe nikita

не прочитано,
3 июл. 2016 г., 16:58:4003.07.2016
– Stalker Middleware
Thanks it works great!!
Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений