LogoManager 1.0.0.3 [27-11-2022] (5 Viewers)

Vasilich

Portal Pro
August 30, 2009
3,394
1,170
Germany, Mayence
Home Country
Russian Federation Russian Federation
it is internal thread so not everyone has access to it.
pls replace your d:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\log4net.config with attached one and test again
 

Attachments

  • log4net.zip
    700 bytes

Vasilich

Portal Pro
August 30, 2009
3,394
1,170
Germany, Mayence
Home Country
Russian Federation Russian Federation
can you check if you have spaces at the end of some channel names (esp. for those having "match not found" entries in the log) ? e.g. "HTB " instead of "HTB"
 

Vasilich

Portal Pro
August 30, 2009
3,394
1,170
Germany, Mayence
Home Country
Russian Federation Russian Federation
can it be that you have several HTB channels?
Code:
[2013-08-06 09:27:32,882] [Log	] [7		] [INFO ] - [LogoManager] match for НТВ  not found
 

Arturas1976

MP Donator
  • Premium Supporter
  • January 5, 2008
    246
    40
    Vilnius
    Home Country
    Lithuania Lithuania
    Of course they are :) Trocolor is adding space at the end and HTB+ is not, but channels are duplicated. But some is not duplicated - Ekran is not, Kinoreis also. And they have no space at the end. So two problems.
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    @Edalex
    is there any reason NOT to doing space truncating for channel names?
    we need to decide how we handle channels with spaces at the end:
    1. truncate right spaces. Pros: no need to edit mapping file. Cons: we cannot differ between channels with spaces and without them.
    2. edit mapping file. Pros and cons - as in 1 but swapped.
    3. we can do kinda fallback: first search for non-truncated name, and if found - use it. If not found - then truncate and search again. Pros: no need to edit files, can distinguish between channels. Cons: none?
     
    Last edited:

    Arturas1976

    MP Donator
  • Premium Supporter
  • January 5, 2008
    246
    40
    Vilnius
    Home Country
    Lithuania Lithuania
    I would say that with or without spaces channels are the same, just not to miss that in the end could appear HD, if it is not a problem then ok.
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    @Edalex
    is there any reason NOT to doing space truncating for channel names?
    we need to decide how we handle channels with spaces at the end:
    1. truncate right spaces. Pros: no need to edit mapping file. Cons: we cannot differ between channels with spaces and without them.
    2. edit mapping file. Pros and cons - as in 1 but swapped.
    3. we can do kinda fallback: first search for non-truncated name, and if found - use it. If not found - then truncate and search again. Pros: no need to edit files, can distinguish between channels. Cons: none?

    One main reason - TVPlugin doesn't truncate ending spaces during logo file matching and TVServer doesn't truncate ending spaces during importing new channels into database. So logo without ending space will not match channel with space.
    @Vasilich But maybe we can match them without spaces and then add space to logo file in the end.
    @Arturas1976 Please give me your export.xml from tvserver (TVServer Configuration (SetupTV.exe) - Import/Export - Export)
    I didn't finish russian mapping I'm afraid. All were channels with ending spaces.
    Also we could discuss plugin in russian here https://forum.team-mediaportal.com/threads/Плагин-для-скачивания-логотипов.117540/
     
    Last edited:

    Users who are viewing this thread

    Top Bottom