[Plugin][Alpha] MP Photo Slideshow (1 Viewer)

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,920
    9,273
    Lanzarote
    Germany Germany
    Country flag
    Tested this and it looks good so far (y)
    Nevertheless I have some questions:
    1. Where is the cache located? (searched the thumbs folder, but did not find it)
    2. The pictures shown are bad quality, and often the aspect ratio is wrong.
    Anything to do about this?
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    Unfortunately, animation will not be supported in the MP1 version of the plugin, as I haven't been able to find a good way to trigger the animation except on the first page load. It will be supported in the MP2 version at some point though. As far as support for panoramas go, I'm not sure the best way to handle this. Currently pictures are loaded based on whether they are horizontal or vertical. If we add a third category (panoramas), you really have to have a large collection of them to make it worthwhile. Personally I have thousands of photos but one panorama so it wouldn't work well at all for me.
    Yes, I have more of them ;-) My Sony NEX has a nice panorama automatic.
    If aninamtion is not possible what about scollling manually or do you have another idea about prasentation of panoramas?
    My thought would be rather than scrolling, I could add a third category where the width of the image is > 2 times the height. Then you would just need to create a template that also fit the requirement with at least one photo width being > 2 times the height. Does that make sense?[DOUBLEPOST=1381495970][/DOUBLEPOST]
    Tested this and it looks good so far (y)
    Nevertheless I have some questions:
    1. Where is the cache located? (searched the thumbs folder, but did not find it)
    2. The pictures shown are bad quality, and often the aspect ratio is wrong.
    Anything to do about this?
    1. The cache isn't so much a cache of thumbs, but rather a file that contains a list of all your photos with width and height (in program data). This allows for much quicker loading and searching.
    2. As far as quality goes, i'm not sure what I can do with that, all I do in the code is set the file name, Media Portal does the loading. With regard to aspect ratio photos are stretched to fit whatever size is determined in the template and only differentiated by width greater than height or height greater than width. All templates included should have a default aspect ratio of 4:3 which is supposed to be the default for most cameras. Any suggestions on a better way to do this?
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,920
    9,273
    Lanzarote
    Germany Germany
    Country flag
    All templates included should have a default aspect ratio of 4:3 which is supposed to be the default for most cameras. Any suggestions on a better way to do this?
    I think a lot of cameras use other aspect ratios than 4:3 ;)
    I use e.g. the 16:9 resolution in Full HD.
    To get the proper aspect ratio, we have in MP skin engine the property <keepaspectratio>yes</keepaspectratio>, so independently of the given witdth/height, MP scales correct inside that container ;)
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    All templates included should have a default aspect ratio of 4:3 which is supposed to be the default for most cameras. Any suggestions on a better way to do this?
    I think a lot of cameras use other aspect ratios than 4:3 ;)
    I use e.g. the 16:9 resolution in Full HD.
    To get the proper aspect ratio, we have in MP skin engine the property <keepaspectratio>yes</keepaspectratio>, so independently of the given witdth/height, MP scales correct inside that container ;)
    That makes perfect sense, it just won't work the way the plugin is currently built. I have some ideas on how to improve this, so let me see what I can come up with. I really would like to keep it so users can create their own templates, but maybe that won't be possible....
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    Version 1.0.0.3 released

    -Changed settings locations - MUST REBUILD CACHE, if you already created some of your own templates you'll need to copy these from the C:\ProgramData\Team Media Portal\MPSlideshowTemplates.xml to C:\ProgramData\MPPhotoslideshow folder
    -Photos now keep their aspect ratio and fit to a template based on certain aspect ratio ranges (see wiki)
    -New setting to enable/disable a template if you don't need it (eg. new panorama template)
    -Removed label position settings as these are now set programmatically (WIP - having a hard time getting these positioned right when keeping the aspect ratio)
    -Default label color is now white as they don't appear on the photos anymore but rather below
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,367
    4,994
    France - IDF
    France France
    Country flag
    your setup create an folder MPPhotoSlideshow on programdata/
    can you move it to program data / Team mediaportal / mediaportal ?
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    your setup create an folder MPPhotoSlideshow on programdata/
    can you move it to program data / Team mediaportal / mediaportal ?
    Not sure I understand the question, but the folder is created ProgramData/MPPhotoSlideshow on purpose, this allows me to let MP1 and MP2 versions of this plugin to share settings easily.[DOUBLEPOST=1381779546][/DOUBLEPOST]
    Unfortunately, animation will not be supported in the MP1 version of the plugin, as I haven't been able to find a good way to trigger the animation except on the first page load. It will be supported in the MP2 version at some point though. As far as support for panoramas go, I'm not sure the best way to handle this. Currently pictures are loaded based on whether they are horizontal or vertical. If we add a third category (panoramas), you really have to have a large collection of them to make it worthwhile. Personally I have thousands of photos but one panorama so it wouldn't work well at all for me.
    Yes, I have more of them ;-) My Sony NEX has a nice panorama automatic.
    If aninamtion is not possible what about scollling manually or do you have another idea about prasentation of panoramas?
    There is a panorama template in the latest version for you to try out.
     

    Pat Clark

    Portal Pro
    April 25, 2012
    264
    34
    Wisconsin
    United States of America United States of America
    Downloaded and installed. No error messages or anything weird. But plugin is not visible in MP config. .xml file in default skin is present, and .xml file in templates dir is present. Are there logs I can look at / send? (Config log has nothing.) How would one manually install?
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    Downloaded and installed. No error messages or anything weird. But plugin is not visible in MP config. .xml file in default skin is present, and .xml file in templates dir is present. Are there logs I can look at / send? (Config log has nothing.) How would one manually install?
    Check to see that the .dll was properly installed in the Program Files \ Team Media Portal \ Media Portal \ plugins \ windows directory. If it's not showing up in the configuration tool there should be something in the config file as to why it wasn't loaded (not sure why there isn't).
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    C Can the XmlTv Plugin handle 600+ channels? General 3
    M Online Video Plugin V.2.32 keine Installtion unter MediaPortal 1.22 ? TV / Streaming 3
    emphatic Pictures in the cloud - would a plugin be possible for services like Google Photos MediaPortal 1 Plugins 1
    C where is the Online Videos plugin General Support 1
    Similar threads

























    Top Bottom