Shreshth-mehra / Obsidian-TV-Tracker

Movie and Tv show tracker plugin for Obsidian
MIT License
9 stars 0 forks source link

Loading... #1

Closed hermanjustinm closed 9 months ago

hermanjustinm commented 9 months ago

Stuck on "Loading..." on launch.

Occurs with and without setting arguments applied

react.development.js:209 Warning: Failed prop type: The prop xs of Grid can only be used together with the item prop. at Grid2 (plugin:tv-tracker:39666:22) at MovieGrid (plugin:tv-tracker:40576:20) at div at eval (plugin:tv-tracker:26017:49) at Container3 (plugin:tv-tracker:34667:23) at ReactView (plugin:tv-tracker:89527:20)

printWarning @ react.development.js:209

Shreshth-mehra commented 9 months ago

Thank you for bringing this up. I have identified the issue and have started work on it. Should be completed in a couple days. Meanwhile, please refer to the quick fix below

Quick fix - I have uploaded a folder called Template library to the github repo. Copy paste 1 or more files from this folder to the folder in your vault (This should be the same folder you have specified in the settings, please ensure this folder exists). Once you do this the plugin should load as expected. After you have added at least 1 movie/TV show of your choice using the add new button you can then remove this copy pasted file from the template library.

Bug explanation - Message you shared from the console is just a warning and is not causing this error. Instead, "Loading..." is shown when there are no movies to be displayed or are being currently loaded. As you can imagine, all new users will have their Movies folder empty and hence every new user should experience this issue. By adding any one movie/tv show title to the folder the app is allowed to load as expected.

Shreshth-mehra commented 9 months ago

This is now resolved in v1.0.1