Esempio n. 1
0
        public List <MovieMetaMovieModel> SearchMovieByTitle(string Title)
        {
            var search = new OfdbSearch().SearchByTitle(Title);

            var result = new List <MovieMetaMovieModel>();

            foreach (var s in search)
            {
                result.Add(new MovieMetaMovieModel()
                {
                    MetaEngine = "ofdb",
                    Title      = s.Title,
                    Reference  = s.EngineId,
                    Year       = s.Year,
                    ImgUrl     = "http://www.ofdb.de/" + s.CoverImage
                });
            }

            return(result);
        }
Esempio n. 2
0
        public List <MovieMetaMovieModel> SearchMovieByEngineId(string EngineId)
        {
            var search = new OfdbSearch();

            return(search.SearchMovieByEngineId(EngineId));
        }
Esempio n. 3
0
        public List <MovieMetaMovieModel> SearchMovieByBarcode(string Barcode)
        {
            var search = new OfdbSearch();

            return(search.SearchMovieByBarcode(Barcode));
        }