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
254 stars 31 forks source link

OMDB series not showing up in series search results on iOS #151

Closed BrianBatchelder closed 5 months ago

BrianBatchelder commented 5 months ago

Describe the bug When I search for "The Boys" on my Mac using advanced search and OMDbAPI, the series is found. When I do the same on iOS, nothing is found. OMDbAPI key is present in both settings.

To Reproduce Do as described.

Expected behavior The series should be found regardless of compute platform.

Screenshots If applicable, add screenshots to help explain your problem.

Occurs on

Plugin version 0.7.0

Additional context Add any other context about the problem here.

BrianBatchelder commented 5 months ago

I was able to get the following from the iOS console:

[Log] editing toolbar disable loading on mobile (x2) [Debug] MDB | advencedSearchModal closed with code 0 [Debug] MDB | api manager queried with "The boys " [Log] MDB | api "OMDbAPI" queried by Title [Error] Failed to load resource: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection. (www.omdbapi.com, line 0) (http://www.omdbapi.com/?s=The%20boys%20&apikey=74c8af7b) [Warning] TypeError: Load failed

If you google "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection", you'll find lots of hits, like this one. Most probably won't solve your problem, as they are app-level settings. You'll probably just have to use https:

mProjectsCode commented 5 months ago

the current dev version already uses https, but I forgot to release it

mProjectsCode commented 5 months ago

should be fixed in 0.7.1

BrianBatchelder commented 5 months ago

Confirmed. Fixed in 0.7.1