PictureOfTheDay MP2 Plugin (1 Viewer)

chefkoch

Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    I also installed this plugin now and it's working really good already. :) Switching providers easy and intuitive.

    However, it would be great to show the picture fullscreen right from the start, so not using the master-layouts provided by the (default) skin. issue #3
    This way pressing left/right could switch the days, and up/down switches the providers.
    The title, and description could be an overlay. There might no need for any focusable controls.
    The plugin can be left by pressing ESC or back button on remote.

    For mouse navigation arrows additional controls (buttons) could be added later which are visible only if mouse is used.

    In general the texts of Titanium a bit too small imo, but that's not related to this plugin only.

    Is the source code for the site providers also in the github repository? I was not able to find it.

    About storing the pictures/details:
    • Is the information of previous days kept locally? i.e. if the machine is disconnected from the internet or the Website removes older pictures.
      Maybe writing an the infos to one xml file per picture would be enough. So deleting a picture also deletes the xml file and done. (Or writing these infos to the Pictures' EXIF/IPTC tags, or both)
    • issue #2: The file names for the pictures are currently dd.mm.yyyy. Using the InvariantSortableDateFormat (yyyy-mm-dd) might also allow to browse the pictures chronological within Windows explorer.

    I also modified the wiki page about MP2 extensions a bit : http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/Extensions,
    moved the page from Missing Features (Concept) to this place and enriched it with some information: http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/Extensions/PictureOfTheDay

    I also added a link to xbmc's "The Big Picture" plugin: http://forum.xbmc.org/showthread.php?tid=97605
    Maybe this can be a an inspiration for further improvements.

    Like I said in the beginning: I like the plugin a lot (y) and I am pretty sure others will be as well.
     
    Last edited:

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    53
    Home Country
    Germany Germany
    Is the source code for the site providers also in the github repository? I was not able to find it.
    https://github.com/BigGranu/PictureOfTheDay_GUI.git

    The Navigation, I will update the next Time.

    But Today i have another Question.
    Some Sites have not one Picture of the Day, they have an Imageseries of the Day.
    Should I use the series then? That means something reworking. But I think it would be nice. ;)
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    65
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I grabbed the download from post #9 and installed it into MP2 from
    https://forum.team-mediaportal.com/...mpatibility-system.122599/page-6#post-1065345
    The plugin did not show up in MP2 and I found an exception in the logs

    [2014-02-21 18:19:01,004] [355 ] [Main ] [ERROR] - Error parsing plugin descriptor file 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\PictureOfTheDay\plugin.xml'
    System.ArgumentException: 'Plugin' element doesn't support an attribute 'PluginVersion'
    at MediaPortal.Common.Services.PluginManager.PluginDirectoryDescriptor.Load(String pluginDirectoryPath)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    The plugin did not show up in MP2 and I found an exception in the logs
    [2014-02-21 18:19:01,004] [355 ] [Main ] [ERROR] - Error parsing plugin descriptor file 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\PictureOfTheDay\plugin.xml'
    System.ArgumentException: 'Plugin' element doesn't support an attribute 'PluginVersion'
    at MediaPortal.Common.Services.PluginManager.PluginDirectoryDescriptor.Load(String pluginDirectoryPath)
    Why do you think I wrote this:
    Added first test build to first post. All contained plugins are working, all others won't be loaded until they made changes to plugin.xml.
    ?
    You can fix this yourself by modifying the plugin.xml:
    1. Remove "PluginVersion" here:like https://github.com/MediaPortal/Medi...Portal/Incubator/SQLiteDatabase/plugin.xml#L8
    2. Add https://github.com/MediaPortal/Medi...l/Incubator/SQLiteDatabase/plugin.xml#L10-L13
    3. Add CompatibleAPI="1" to all dependencies like https://github.com/MediaPortal/Medi...l/Incubator/SQLiteDatabase/plugin.xml#L20-L21
    The plugin compatibility changes are not yet finally accepted and will be made public and documented once it is ready
     

    Users who are viewing this thread

    Top Bottom