PictureOfTheDay MP2 Plugin (1 Viewer)

BigGranu

Development Group
  • Team MediaPortal
  • February 7, 2013
    238
    172
    49
    Germany Germany
    Country flag
    http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/8_Contribute/z_MissingFeatures/PictureOfTheDay_plugin
    http://wiki.team-mediaportal.com/2_...bute/z_MissingFeatures/PictureOfTheDay_plugin
    Is anyone work on it?
    If not, I would start it. ;)

    I can create a Template(and a Example (or any more ;) )) for the .dll's.
    Each page is a .dll
    I can create a Inteface for the .dll's and i can create a smal Plugin,
    which can read data from the .dll's and import new .dll's from a Server.

    But, I can not create a screensaver from this Pictures or a BackgroundImage.
    For this, I needed help. :rolleyes:
     
    Last edited by a moderator:

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,130
    1,630
    Dresden / Munich / Maastricht
    Germany Germany
    Bada Bing !!!

    Damn awesome, that you are interested in it :)
    So writing down even the "simplest" ideas down in wiki and extending it from time to time when you get new ideas, seems to be worth it :) nice

    I also added some links / resources to the wiki page. A few weeks ago I noticed a MP1 plugin "astronomy picture of the day"
    Regarding the providers and scrapers and or server/gallery, maybe @offbyone can give some details whether party of onlinevideos can be reused somehow?
     
    Last edited:

    BigGranu

    Development Group
  • Team MediaPortal
  • February 7, 2013
    238
    172
    49
    Germany Germany
    Country flag
    I hate the idea, because my own scrapper (streams for webradio) uses the same Structure. :D
     

    BigGranu

    Development Group
  • Team MediaPortal
  • February 7, 2013
    238
    172
    49
    Germany Germany
    Country flag
    Befor i realy start, any Problems must be cleared.

    1. The Place of the Site.dll's.
    My Idea : A FTP where the plugin Can read and Download. But only Members can Upload.
    Must I create it on My Space or we have it?
    I will that the Plugin on each Start, is looking for new .ddl's.
    I want to create a Template, so that everyone can create simply a new Site.dll.

    2. The last Day Images
    My Idea : The Plugin can Save for a Userdefined Count of Days a Pictures.
    So, every Day a Picture.
    For this, the Plugin must each Day triggered in Background.
    MP2 has a trigger for every Day?

    3. What information should be collected?
    In the Moment : Imagetitel, Photographer, Category, Description and the Image.

     
    Last edited:

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,130
    1,630
    Dresden / Munich / Maastricht
    Germany Germany
    My Idea : A FTP where the plugin Can read and Download. But only Members can Upload.
    Must I create it on My Space or we have it?
    The place I offered you already via pm is available for that, feel free to use it. I gues a static xml url which contains the references to the other DLLs would be enough for that. However something more dynamic would also be good, but can be done later, maybe.

    About the usability:
    opening the plugin, maybe having a vertical list (scroll up / down) with the available providers and on the right (almost full screen) a horizontal list with the current pic and last days, might be cool.

    Even better would be if the current or a few of the current (or last days) pictures could be used as fanart in menu when being idle. Not sure if we might need a new "interface / api" here which is available for skins, but configurable by the user so he can define which plugins are able to set those fanarts for menu.

    An other integration point might be the screensaver, this way the plugin is also being used if it is not being used :D ;)
    But expect that's not possible currently. Not sure how much work it would require to make it configurable.
    Does anyone know the screensaver part?

    Nevertheless, thanks for being interested and giving it a try (y)
     

    BigGranu

    Development Group
  • Team MediaPortal
  • February 7, 2013
    238
    172
    49
    Germany Germany
    Country flag
    Thanks for the Informations.
    Now, I want to create the Update as a last Part.
    For Test's, we can manually copy the dll's to the Pluginfolder. ;)

    First, a have create a smal Projekt with a GUI to test and create Site.dll's.
    https://github.com/BigGranu/PictureOfTheDay_GUI.git
    It comes with a working dll for "National Geographic" and a Template. Mediaportal is not needed.

    Alternatively, I need more Links to Sites with a Daily Picture.

    Now, I will start with the Plugin.
    My Idea:
    The Plugin starts automatically with MP2 and load all in Background.
    It create a Folder in <Data> "PictureOfTheDay" with a Subfolder for each Site.
    In this all Pictures e.g. "01.10.2013.jpg" saved.
    Also it create in Settings one Settingsfile for all Sites with the Informations of a Pic and the Path into the <Data> folder.
    Then, each other Plugin (Fanart, Sreensaver, ..) can read the Settings and can use any available Image.

    Is it OK? Any other Ideas?
     

    BigGranu

    Development Group
  • Team MediaPortal
  • February 7, 2013
    238
    172
    49
    Germany Germany
    Country flag
    I have just begun.
    Copy this into the PluginFolder of MP2.
    The Update of the Picture, are only on startup MP2 or the Plugin.
    In the moment we have 3 Sites(Pictures each Day).
    You can select a Site and You can Delete a Piccture. No more. (Ok, and show the Picture)

    And Now? For the next steps I need help. :rolleyes:
    A UI Contributor is a nice Idea,but I cant create it. :(

    Here ist the Code.
     

    Attachments

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,399
    6,970
    Germany Germany
    Country flag
    I think you won't need an UIContributor, as it is only needed if you use a custom player. What we need here is:
    • We already have a Video-source property in BackgroundManagerModel which can be used as video background. If it is enabled, the background screen prefers video over the regular BackgroundBrush. So we would need to change skin's default-background.xaml to know your new model. Or we rework the BackgroundManagerModel to get a BackgroundImage property which can be set from other models (this way we would not introduce new dependencies to other plugins)
    • ScreenSaver: in principle the screensave is now a simple super layer which is shown on idle. But I also have seen some code from Albert in PartyMusicPlayer which does modify the way the screensaver is handled.
    We need to think a bit more about it.
     

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

    OP Similar threads Forum Replies Date
    mp2-ulrich [solved] MP 2.2.3 spielt nur manche Sender Allgemeines Support- und Diskussionsforum 2
    H MP2 database won't keep in synch with recordings General 8
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 68
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 4
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    CyberSimian MP2 synchronising of stoptime MediaPortal 1 Talk 5
    M Initial Setup MP2 (On Wndows 10) General 2
    R [solved] MP2 Client ist extrem langsam Allgemeines Support- und Diskussionsforum 5
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    T Amazon und Netflix in MP2 - Wie? Allgemeines Support- und Diskussionsforum 6
    J [solved] How to in MP2 General 19
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    Similar threads

























    Top Bottom