Code Monkey home page Code Monkey logo

moviesearchengine's People

Contributors

amoenus avatar viper3400 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

amoenus bionstt

moviesearchengine's Issues

Port to NetStandard 2.0

  • Port lib to netstandard 2.0
  • remove ofdbwebgw
  • separate nuget packages
  • integrate with appveyor
  • test with videodb webapi
  • test with legacy homweb
  • deploy to nuget.org
  • document changes

UriFormatException When Link Contains "plot" (but is not the plot)

The OFDB parser tries to get all links from the movie page, The one containing the word plot will lead to the complete plot page.

This looks normally like this:

<a href="plot/208113,453921,Thor"><b>[mehr]</b></a>

Eventually I've got a link which contains "plot" in but was not plot:

<a href="http://www.moviepilot.de/movies/plotzlich-papa" target="_blank">moviepilot.de - Plötzlich Papa</a>

This ends with a call to an empty URI and an UriFormatException

Refactor logging or return errors

In TheMovieDb API there is no logging at all. Ofdb has a bit old fashioned static logging. Logging could replaced with Microsoft.Logging and could be injected per DI.

At least, there is no error model at all. So the caller of the API doesn't know, why there is no result, just that there is no result.

TheMovieDbApi: Missing values in results

SearchMovieByTitle shall be enhanced with the following fields:

  • MetaEngine
  • Rating
  • Reference
  • OriginalTitle

SearchMovieById shall be enhanced with the following fields:

  • all from SearchMovieByTitle +
  • Runtime
  • ProductionCountry

TheMovieDb: Include details when searching for title

When searching just by title, the result does not contain all necessary information. To get i.e. the production countries it will be necessary to append another call with the id.

(In a way, this is valid for both of the engines, Ofdb and TheMovieDb. When using Ofdb some informations are just available after query the edition. Edition concept is unknown in TheMovieDb. So filling the generic interface model is not easy).

Further the call for movie search by title in TheMovieDbApi returns a paged result, while just the first 20 results where presented on the first page.

Saying all that,

  • we should just return the first 20 results
    • if the wanted result is not in there, one should refine the search
  • It should be applicable to append a detail search for those 20 result within the title search
  • This will come with the cost of 20 more calls to the API but with the value of having a mostly complete filled interface model

Remove Dependency to LibJFunxx

There is a dependcy to libjfunxx.dll. I think this is just because of some logging functions. I shoul get rid of this.

OFDB: Make url configurable

Base url to OFDB is hardcoded in different places. This can be centralized and at least the baseUrl shall be configurable.

Harden OfdbSearch.SearchMovieByEngineId

When using SearchMovieByEngineId it's assumed that there are two possible formats:

  1. 123456
  2. 123456;3426246

While the first one ist just the movie id, the second contains the edition, separated with the semicolon.

The case, that the value after the semicolon is null or unvalid is not covered. As well, the case, that the edition number doesn't exist any longer at ofdb or is not resolvable for other reasons is not covered.

In this cases the result should contain at least the informations form movie page - though the edition details will be missing.

OdfbParser: url changed

The url for ofdb.de changed from ssl.ofdb.de back to ofdb.de. This breaks the whole OFDB integration.

Create a NuGet Package

I should think about creating a NuGet Package.

  • Which files need to be delivered?
  • Which versioning should be used?

OFDB: Drop support

PLEASE USE THE TMDB INTERFACE OF THIS LIB!

Due to a redesign of OFDB it's not longer working with this library!

Me for myself, I meanwhile just use TMDB.

I always knew, the OFDB support was very brittle.

I decided to retire the OFDB support.

For now, I just disabled the unit tests.
Depending on some personal projects I'm currently thinking about removing the code
with a next major version.

Thanks for understanding.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.