LogoManager 1.0.0.1 [23-11-2015] | Page 2

Discussion in 'MediaPortal 1 Plugins' started by Edalex, May 31, 2013.

  1. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,433
    Likes Received:
    2,506
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,171 / 13
    Home Country:
    France France
    Show System Specs
    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).


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,903
    Likes Received:
    709
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,223 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    OK, add this code to config:
    Code (Text):
    1.             <Package>
    2.                 <Name>Logo TNT Francais</Name>
    3.                 <CountryName>France</CountryName>
    4.                 <CountryName_Eng>France</CountryName_Eng>
    5.                 <BaseURL>http://logo-france-mediaportal.googlecode.com/svn/trunk/</BaseURL>
    6.                 <Designs />
    7.                 <Logos_TV>TNT/PNG/CARRE/</Logos_TV>
    8.                 <Logos_Radio>/TNT/PNG/CARRE/</Logos_Radio>
    9.                 <Mapping_AltURL />
    10.             </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]
    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
     

    Attached Files:

    Last edited: June 1, 2013
    • Like Like x 1
  4. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,903
    Likes Received:
    709
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,223 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    @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
     
  5. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,433
    Likes Received:
    2,506
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,171 / 13
    Home Country:
    France France
    Show System Specs
  6. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,433
    Likes Received:
    2,506
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,171 / 13
    Home Country:
    France France
    Show System Specs
    My channels don't appear on Logo List
    Code (Text):
    1. [2013-06-01 11:50:35,283] [Log  ] [11     ] [DEBUG] - select idGroup, groupName, sortOrder from ChannelGroup where groupName like ?groupName;
    2. [2013-06-01 11:50:35,307] [Log  ] [11     ] [INFO ] - [LogoManager] match for  Chérie FM not found
    3. [2013-06-01 11:50:35,307] [Log  ] [11     ] [INFO ] - [LogoManager] match for 67 - Mélody not found
    4. [2013-06-01 11:50:35,307] [Log  ] [11     ] [INFO ] - [LogoManager] match for 59 - NRJ Hits (bas débit) not found
    5. [2013-06-01 11:50:35,307] [Log  ] [11     ] [INFO ] - [LogoManager] match for 59 - NRJ Hits not found
    6. [2013-06-01 11:50:35,307] [Log  ] [11     ] [INFO ] - [LogoManager] match for 59 - NRJ Hits HD not found
    7. [2013-06-01 11:50:35,307] [Log  ] [11     ] [INFO ] - [LogoManager] match for 39 - AB 1 (bas débit) not found
    8. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 28 - RTL9 (bas débit) not found
    9. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 25 - Chérie 25 (bas débit) not found
    10. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 25 - Chérie 25 HD not found
    11. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 24 - RMC Découverte (bas débit) not found
    12. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 24 - RMC Découverte HD not found
    13. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 21 - L'Equipe 21 HD not found
    14. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 72 - Clubbing TV HD not found
    15. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 72 - Clubbing TV (bas débit) not found
    16. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for  Europe 1 not found
    17. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for  France Inter not found
    18. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for RMC Info not found
    19. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for RTL not found
    20. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 80 - BFM Business (bas débit) not found
    21. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 80 - BFM Business HD not found
    22. [2013-06-01 11:50:35,308] [Log  ] [11     ] [INFO ] - [LogoManager] match for 79 - TV5 Monde not found
    23. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 79 - TV5 Monde (bas débit) not found
    24. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 78 - BeBlack (bas débit) not found
    25. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 76 - Just4Talent (bas débit) not found
    26. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 74 - OFIVE (bas débit) not found
    27. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 19 - France Ô not found
    28. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 17 - D17 not found
    29. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 15 - BFM TV (bas débit) not found
    30. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 10 - TMC not found
    31. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 7 - Arte (bas débit) not found
    32. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 7 - Arte not found
    33. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 7 - Arte HD not found
    34. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 5 - France 5 not found
    35. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 5 - France 5 HD not found
    36. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 3 - France 3 (bas débit) not found
    37. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 3 - France 3 not found
    38. [2013-06-01 11:50:35,309] [Log  ] [11     ] [INFO ] - [LogoManager] match for 3 - France 3 HD not found
    39. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 2 - France 2 (bas débit) not found
    40. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 2 - France 2 not found
    41. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 10 - TMC (bas débit) not found
    42. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 11 - NT1 (bas débit) not found
    43. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 15 - BFM TV not found
    44. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 15 - BFM TV HD not found
    45. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 14 - France 4 (bas débit) not found
    46. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 14 - France 4 not found
    47. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 14 - France 4 HD not found
    48. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 13 - La Chaîne Parlementaire (bas débit) not found
    49. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 13 - La Chaîne Parlementaire not found
    50. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 12 - NRJ 12 (bas débit) not found
    51. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 12 - NRJ 12 not found
    52. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 12 - NRJ 12 HD not found
    53. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 11 - NT1 not found
    54. [2013-06-01 11:50:35,310] [Log  ] [11     ] [INFO ] - [LogoManager] match for 2 - France 2 HD not found
    55. [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.
    56. [2013-06-01 11:50:35,331] [Log  ] [MPMain  ] [DEBUG] - WindowManager: route LogoManager.LogoManagerPlugin:757278->MediaPortal.Dialogs.GUIDialogNotify:2016
    57.  
    58.  
     
  7. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,903
    Likes Received:
    709
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,223 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    @azzuro script looks like this :oops:
    Code (C):
    1.             string[] texts = System.IO.Directory.GetFiles(@"D:\Documents and Settings\Дмитрий\Мои документы\Visual Studio 2010\Projects\logo-france-mediaportal\TNT\PNG\CARRE");
    2.             XmlTextWriter writer = new XmlTextWriter(@"D:\Documents and Settings\Дмитрий\Мои документы\Visual Studio 2010\Projects\LogoDownloader\LogoDownloader\FrenchRepository.xml", Encoding.UTF8);
    3.             writer.WriteStartDocument(true);
    4.             writer.Formatting = Formatting.Indented;
    5.             writer.Indentation = 2;
    6.             writer.WriteStartElement("Mappings");
    7.             string sat = "";
    8.             foreach (string t in texts)
    9.             {
    10.                     writer.WriteStartElement("Channel");
    11.                     writer.WriteStartElement("Item");
    12.                     writer.WriteStartAttribute("Name");
    13.                     writer.WriteString(newt.Substring(0,newt.Length-4));
    14.                     writer.WriteEndAttribute();
    15.                     writer.WriteStartElement("Satellite");
    16.                     writer.WriteEndElement();
    17.                     writer.WriteEndElement();
    18.                     writer.WriteStartElement("File");
    19.                     writer.WriteString(newt);
    20.                     writer.WriteEndElement();
    21.                     writer.WriteEndElement();
    22.             }
    23.             writer.WriteEndElement();
    24.             writer.WriteEndDocument();
    25.             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
    None of Items in LogoMapping.xml has such names so no match was found
     
  8. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,240
    Likes Received:
    4,982
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,396 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Just testing this.
    After applying the changed package, the topbar is gone. Only restart of MP restores the topbar ;)
     
    • Like Like x 1
  9. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,903
    Likes Received:
    709
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,223 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    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: June 1, 2013
  10. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    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.
     
    • Like Like x 1
    • Informative Informative x 1
  11. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,903
    Likes Received:
    709
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,223 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    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 (C):
    1.             File.Delete(GUIGraphicsContext.SkinCacheFolder + @"\packedgfx2.bxml");
    2.             GUITextureManager.Clear();
    3.             GUITextureManager.Init();
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!