MePo Tools - Download ClearArt/CDArt/ClearLogos, Music Video clips and more! (10 Viewers)

Guzzi

Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    @sweborn
    Set, but was not able to set it up. Can you send me a database with movies. And I'll do it for support.
    ... I'd recommend using API to get info, as this avoids to handle all possible problems with DB locations, configuration, settings, etc.
    Code:
                // get all movies
                ArrayList myvideos = new ArrayList();
                BaseMesFilms.GetMovies(ref myvideos);
                List<MFMovie> MovieList = (from MFMovie movie in myvideos select movie).ToList();
    or "latest media" request, setting number of days big enough:
    Code:
        /// <summary>
        /// returns the most recent movies based on conditions
        /// </summary>
        /// <param name="type">most recent type</param>
        /// <param name="days">number of days to look back in database</param>
        /// <param name="limit">number of results to return</param>
        /// <param name="unwatchedOnly">only get unwatched episodes (only used with recent added type)</param>
        public static List<MFMovie> GetMostRecent(MostRecentType type, int days, int limit, bool unwatchedOnly)
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    @Guzzi
    How use API from Delphi?
    ah, sorry, didn't check your source code - was just assuming you're using VB or C# ;-).
    Have no experience with delphi at all, so no idea if it is possible to use C# dlls from there...
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    ah, sorry, didn't check your source code - was just assuming you're using VB or C# ;-). Have no experience with delphi at all, so no idea if it is possible to use C# dlls from there...
    Nothing will parse database file, which tells the user. I need out of it, only the name and imdb id.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    @sweborn
    A preliminary version is running all but FakeCD, once they learn how, and where are stored fanart picture, that will work.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    @sweborn
    Release: (Build 126) - Added MyFilms support! Try It!

    mp1.png mp2.png
    mp3.png mp4.png

    1. Select Checkbox: [X] MyFilms support
    2. Select MyFilms XML Database
    3. Press [Fill] button
    4. Try it!
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    @sweborn
    Added monitor mode for the XML database. Checked seems to work. Download post #328

    Code:
      09-09-2013 14:51:16.750 Database: DB\MyFilms\MinaFilmer.xml found. Getting data for monitoring.
    I 09-09-2013 14:51:16.892 Movie tt0478167 !Test The Butcher found
    I 09-09-2013 14:51:16.893 Movies mode:
      09-09-2013 14:51:16.893 - Random flag: True
      09-09-2013 14:51:16.893 - HD flag: True
    I 09-09-2013 14:51:16.893 - Metod: Single
      09-09-2013 14:51:16.893 - Proxy: 10.1.80.80:3128
      09-09-2013 14:51:16.893 - Get fanart.tv URLs for tt0478167 !Test The Butcher
      09-09-2013 14:51:17.293  no fanart.tv ClearArt picture for tt0478167 !Test The Butcher
      09-09-2013 14:51:17.293  no fanart.tv ClearLogo picture for tt0478167 !Test The Butcher
      09-09-2013 14:51:17.293  no fanart.tv CD picture for tt0478167 !Test The Butcher
      09-09-2013 14:51:17.294 - Fake: Movies mode.
      09-09-2013 14:51:17.294  Fake: Mask - {%nm}\*.jpg - {!Test.The.Butcher}\*.jpg
      09-09-2013 14:51:17.294  Random files find: D:\Work\Programming\Delphi\MePoTools\thumbs\MyFilms\Fanart\{!Test.The.Butcher}\*.jpg
      09-09-2013 14:51:17.294  Fake: Execute D:\Downloads\FakeCD\fakecd.cmd "D:\Work\Programming\Delphi\MePoTools\thumbs\MyFilms\Fanart\{!Test.The.Butcher}\{video} [1758518611].jpg" "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt0478167.png" MVM "!Test The Butcher" "" "" NTSC 2-Channel Stereo ""
      09-09-2013 14:51:21.946  Fake: Execution completed successfully. [00:00:04]
    I 09-09-2013 14:51:21.948 Download complete. Missing: 3 Download: 1
    I 09-09-2013 14:51:21.951 Movie tt0478167 !Test The Butcher download complete.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom