Skip to content

Open Library - "Create Media DB entry by id" using /books/ID stopped working. #234

@code77

Description

@code77
  • The Plugin is up to date
  • Obsidian is up to date (Obsidian version: 1.10.6)

Describe the bug
"Create Media DB entry by id" using /books/ID stopped working.

Taking the example from the plugin documentation ("Fantastic Mr. Fox")

  • /works/OL45804W (this works)
  • /books/OL3567303M (this stopped working)

To Reproduce
Trigger "Create Media DB entry by id" using /books/OL3567303M as the ID

Expected behavior
This should fetch a specific edition of "Fantastic Mr. Fox" the "/books/" URL looks like this https://openlibrary.org/books/OL3567303M/

Screenshots
TypeError: Cannot read properties of undefined (reading 'title') at so.getById (plugin:obsidian-media-db-plugin:39:5046) at async eval (plugin:obsidian-media-db-plugin:85:8475) at async en.openIdSearchModal (plugin:obsidian-media-db-plugin:85:2837) at async tn.createEntryWithIdSearchModal (plugin:obsidian-media-db-plugin:85:8422)

Occurs on

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Plugin version
0.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions