mProjectsCode / obsidian-media-db-plugin

A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.
GNU General Public License v3.0
255 stars 31 forks source link

Empty preview #101

Closed davidanaxagoras closed 7 months ago

davidanaxagoras commented 1 year ago

Describe the bug Media DB Preview dialogue is empty and does not display any cancel or ok button.

To Reproduce Steps to reproduce the behavior:

  1. Bring up Media DB search with command pain or by clicking on button in ribbon
  2. Search for any game title. In this example, "Limbo"
  3. Choose Limbo (2010) from search results
  4. Click OK
  5. The "Media DB preview" box will appear but it is completely empty. No preview and no cancel or ok buttons.

Expected behavior Expected a preview of DB information and ability to click ok or cancel.

Screenshots

Screen Shot 2023-07-28 at 11 13 44 AM

Occurs on

Plugin version 0.5.2

Additional context Searching for movies and series works as expected. Even clicking on a search result "Limbo" that is a movie will bring up a preview, but not for game.

I have verified that my API works with the test link in my email. I have also replaced the test link title with the title number for Limbo and gotten a correct result. For some reason it is not coming through in the plugin preview.