moviemon icon indicating copy to clipboard operation
moviemon copied to clipboard

Search info about a single movie

Open iCHAIT opened this issue 8 years ago • 7 comments

Moviemon should provide a way to search for information about an individual movie on my machine.

Example -

When I run -

$ moviemon <movie-name>

It should give me all the relevant information about the movie that I passed in as argument.

An advance feature can be -

$ moviemon <movie-name> -i

Gives IMDB rating for this particular movie only.

or

$ moviemon <movie-name> -r

Gives the runtime for this particular movie only

We can do the same for all switches.

iCHAIT avatar Apr 29 '16 18:04 iCHAIT

The main issue here I think is passing the movie name as an argument. It is important to pass a valid movie name that exists on the machine and should match with the respective movie.

@dufferzafar thoughts?

iCHAIT avatar Apr 29 '16 18:04 iCHAIT

Doing an exact string match for the movie name is easy for the program, but hard for the user. We'll have to implement an approximate search algorithm, so a user can do: moviemon azkaban and it'll give the details of "Harry Potter and the Prisoner of Azkaban".

This of course is easier said than done. I think there must be some python library that provides this functionality.

dufferzafar avatar Apr 30 '16 04:04 dufferzafar

Yeah, something similar to what guessit does.

iCHAIT avatar Apr 30 '16 04:04 iCHAIT

Will this help our cause. Specifically this part?

iCHAIT avatar Apr 30 '16 05:04 iCHAIT

Yep @iCHAIT that's it! :smile_cat:

dufferzafar avatar Apr 30 '16 05:04 dufferzafar

Have you implemented this?

zygimantus avatar Oct 11 '16 19:10 zygimantus

No, I haven't yet.

PR appreciated 😄

iCHAIT avatar Oct 12 '16 05:10 iCHAIT