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

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    the best repo for French user, it not the mine !
    @FillR with more logos and already use Logocrator, but doesn't have repo, perhaps i propose to use my repo ( if it want).
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    OK, add this code to config:
    Code:
    			<Package>
    				<Name>Logo TNT Francais</Name>
    				<CountryName>France</CountryName>
    				<CountryName_Eng>France</CountryName_Eng>
    				<BaseURL>http://logo-france-mediaportal.googlecode.com/svn/trunk/</BaseURL>
    				<Designs />
    				<Logos_TV>TNT/PNG/CARRE/</Logos_TV>
    				<Logos_Radio>/TNT/PNG/CARRE/</Logos_Radio>
    				<Mapping_AltURL />
    			</Package>
    Rename FrenchRepository.xml to LogoMapping.xml and place it in root here http://logo-france-mediaportal.googlecode.com/svn/trunk/
    so link will be http://logo-france-mediaportal.googlecode.com/svn/trunk/LogoMapping.xml
    Since plugin supported only one folder as source I added TNT/CARRE[DOUBLEPOST=1370078402][/DOUBLEPOST]
    @FillR with more logos and already use Logocrator, but doesn't have repo, perhaps i propose to use my repo ( if it want).
    This plugin is not for using with LogoCreator but replacing it since it is applying designs on the fly.
    But it is using all its stuff like logo dimensions, designs. I think we even take some designs from french pack :D https://code.google.com/p/mediaportal-russian-logos/source/detail?r=28
    And for now it is not supporting grabbing new designs from online but accepts new ones dropped in Thumbs\Logomanager\designs folder
     

    Attachments

    • FrenchRepository.xml
      4.6 KB
    Last edited:

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    @msj33 Sorry I can't add Danish repo atm since it has only psd logos :(
    But it is using script for copying logos I'm familiar with when we tested Swedish logos So it will be possible to make good mapping ith providers names and withot dupes after adding png logos
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    My channels don't appear on Logo List
    Code:
    [2013-06-01 11:50:35,283] [Log	] [11	  ] [DEBUG] - select idGroup, groupName, sortOrder from ChannelGroup where groupName like ?groupName;
    [2013-06-01 11:50:35,307] [Log	] [11	  ] [INFO ] - [LogoManager] match for  Chérie FM not found
    [2013-06-01 11:50:35,307] [Log	] [11	  ] [INFO ] - [LogoManager] match for 67 - Mélody not found
    [2013-06-01 11:50:35,307] [Log	] [11	  ] [INFO ] - [LogoManager] match for 59 - NRJ Hits (bas débit) not found
    [2013-06-01 11:50:35,307] [Log	] [11	  ] [INFO ] - [LogoManager] match for 59 - NRJ Hits not found
    [2013-06-01 11:50:35,307] [Log	] [11	  ] [INFO ] - [LogoManager] match for 59 - NRJ Hits HD not found
    [2013-06-01 11:50:35,307] [Log	] [11	  ] [INFO ] - [LogoManager] match for 39 - AB 1 (bas débit) not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 28 - RTL9 (bas débit) not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 25 - Chérie 25 (bas débit) not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 25 - Chérie 25 HD not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 24 - RMC Découverte (bas débit) not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 24 - RMC Découverte HD not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 21 - L'Equipe 21 HD not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 72 - Clubbing TV HD not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 72 - Clubbing TV (bas débit) not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for  Europe 1 not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for  France Inter not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for RMC Info not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for RTL not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 80 - BFM Business (bas débit) not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 80 - BFM Business HD not found
    [2013-06-01 11:50:35,308] [Log	] [11	  ] [INFO ] - [LogoManager] match for 79 - TV5 Monde not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 79 - TV5 Monde (bas débit) not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 78 - BeBlack (bas débit) not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 76 - Just4Talent (bas débit) not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 74 - OFIVE (bas débit) not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 19 - France Ô not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 17 - D17 not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 15 - BFM TV (bas débit) not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 10 - TMC not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 7 - Arte (bas débit) not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 7 - Arte not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 7 - Arte HD not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 5 - France 5 not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 5 - France 5 HD not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 3 - France 3 (bas débit) not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 3 - France 3 not found
    [2013-06-01 11:50:35,309] [Log	] [11	  ] [INFO ] - [LogoManager] match for 3 - France 3 HD not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 2 - France 2 (bas débit) not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 2 - France 2 not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 10 - TMC (bas débit) not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 11 - NT1 (bas débit) not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 15 - BFM TV not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 15 - BFM TV HD not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 14 - France 4 (bas débit) not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 14 - France 4 not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 14 - France 4 HD not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 13 - La Chaîne Parlementaire (bas débit) not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 13 - La Chaîne Parlementaire not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 12 - NRJ 12 (bas débit) not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 12 - NRJ 12 not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 12 - NRJ 12 HD not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 11 - NT1 not found
    [2013-06-01 11:50:35,310] [Log	] [11	  ] [INFO ] - [LogoManager] match for 2 - France 2 HD not found
    [2013-06-01 11:50:35,327] [Log	] [MPMain  ] [INFO ] - [LogoManager] Generated 0 logos nfor TV group "All Channels" from Logo TNT Francais using Dark Glass design.
    [2013-06-01 11:50:35,331] [Log	] [MPMain  ] [DEBUG] - WindowManager: route LogoManager.LogoManagerPlugin:757278->MediaPortal.Dialogs.GUIDialogNotify:2016
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    @azzuro script looks like this :oops:
    Code:
    			string[] texts = System.IO.Directory.GetFiles(@"D:\Documents and Settings\Дмитрий\Мои документы\Visual Studio 2010\Projects\logo-france-mediaportal\TNT\PNG\CARRE");
    			XmlTextWriter writer = new XmlTextWriter(@"D:\Documents and Settings\Дмитрий\Мои документы\Visual Studio 2010\Projects\LogoDownloader\LogoDownloader\FrenchRepository.xml", Encoding.UTF8);
    			writer.WriteStartDocument(true);
    			writer.Formatting = Formatting.Indented;
    			writer.Indentation = 2;
    			writer.WriteStartElement("Mappings");
    			string sat = "";
    			foreach (string t in texts)
    			{
    					writer.WriteStartElement("Channel");
    					writer.WriteStartElement("Item");
    					writer.WriteStartAttribute("Name");
    					writer.WriteString(newt.Substring(0,newt.Length-4));
    					writer.WriteEndAttribute();
    					writer.WriteStartElement("Satellite");
    					writer.WriteEndElement();
    					writer.WriteEndElement();
    					writer.WriteStartElement("File");
    					writer.WriteString(newt);
    					writer.WriteEndElement();
    					writer.WriteEndElement();
    			}
    			writer.WriteEndElement();
    			writer.WriteEndDocument();
    			writer.Close();
    But it produces file in slightly wronf format since it is just thinks that all cahnnel name are equal to filename in repo. Right way is to take all logos and set several channels name for them
    My channels don't appear on Logo List
    None of Items in LogoMapping.xml has such names so no match was found
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    You mean you left plugin and applly changes?
    It means you drop skin cache and all could go wrong :unsure:
    This code was taken from MyRefresh as is :D
    BTW, I can't reproduce myself. Anyone can confirm this?
    Maybe test guru @HomeY?
     
    Last edited:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    BTW, I can't reproduce myself. Anyone can confirm this?
    Maybe test guru @HomeY?

    I can confirm the missing TopBar:

    Steps to reproduce:
    1. Enter plugin and grab some logos
    2. Clear cache
    3. Go to BasicHome and Topbar is gone.

    20-53-39.png

    No errors in logs.
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Ah Titan...
    Can confirm this now.
    BTW, all is OK in DefaultWide so I suggest to use it instead :D
    Why do skins acting different in MP since they have no c# code? :confused:
    VirtualKeyboard label is wiping out in DW but not in Titan.
    I really don't understand
    Code for clearing cache is
    Code:
    			File.Delete(GUIGraphicsContext.SkinCacheFolder + @"\packedgfx2.bxml");
    			GUITextureManager.Clear();
    			GUITextureManager.Init();
     

    Users who are viewing this thread

    Top Bottom