- June 8, 2007
- 303
- 214
- Home Country
- Sweden
- Moderator
- #321
I'll see one of these days, I think nothing complicated about it.Here it is. It's using a xml database. I realy hope it can be used with MePo Tool.
Cool, tanks
I'll see one of these days, I think nothing complicated about it.Here it is. It's using a xml database. I realy hope it can be used with MePo Tool.
... I'd recommend using API to get info, as this avoids to handle all possible problems with DB locations, configuration, settings, etc.@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.
// get all movies
ArrayList myvideos = new ArrayList();
BaseMesFilms.GetMovies(ref myvideos);
List<MFMovie> MovieList = (from MFMovie movie in myvideos select movie).ToList();
/// <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)
Nothing will parse database file, which tells the user. I need out of it, only the name and imdb id.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...
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.