---
title: "Comment by Fernando Brito on \"Making Connect the Stars\" | Hashnode"
description: "Im making an application thats was inspired by your game. It's an app that you type 2 different actors and it returns the shortest path between these 2 actors ("
url: "https://hashnode.com/posts/making-connect-the-stars/61d641436be3e31286ae6f9a/comment/670bc146609d18df5ab5841c"
---

[Discussion](https://hashnode.com/posts/making-connect-the-stars/61d641436be3e31286ae6f9a)

Comment [Making Connect the Stars](https://hashnode.com/posts/making-connect-the-stars/61d641436be3e31286ae6f9a)

[Fernando Brito](https://hashnode.com/@fernand029)

[Oct 13, 2024](https://hashnode.com/posts/making-connect-the-stars/61d641436be3e31286ae6f9a/comment/670bc146609d18df5ab5841c)

Im making an application thats was inspired by your game. It's an app that you type 2 different actors and it returns the shortest path between these 2 actors (kinda a hack to your game lol). Im having an issue. Im not being able to discard the documentaries when the api searches, how did you do it?

[Eric Bai](https://hashnode.com/@ericbai)

[Oct 15, 2024](https://hashnode.com/posts/making-connect-the-stars/61d641436be3e31286ae6f9a/comment/670bc146609d18df5ab5841c#reply-670de791465e795ecaf2211c)

Hi Fernando, that project sounds awesome! Telling you the shortest path is a feature request for Connect the Stars but I never got a chance to prioritize it.

For discarding documentaries, you can check a film's genres, and discard any documentaries (on TMDB, this is genre id 99). I filter these out after getting API results, I don't think there's a way to specify within the API query.
