"Media notes" plugin fails to start

What I’m trying to do

I cannot launch the plugin called “Media notes” made by @jemstelos. It fails with the following console info:

Plugin failure: media-notes TypeError: Cannot read properties of undefined (reading 'length')
    at app.js:1:843011
    at GM (app.js:1:843083)
    at UT (app.js:1:1183451)
    at MediaNotesPlugin.renderPlayerInView (plugin:media-notes:26567:63)
    at eval (plugin:media-notes:26673:12)
    at Array.forEach (<anonymous>)
    at MediaNotesPlugin.onload (plugin:media-notes:26671:52)

Things I have tried

  • Obsidian is installed on a Mac
  • I have stopped all plugins and only enabled “Media notes” plugin
  • I have downloaded the Obsidian .dmg and overridden the existing installation

I am clueless, can you please help me?

  1. Are all your community plugins also up to date?

  2. There is an issue on the plugin Github page. It’s a different error, but a suggested solution was to close all notes, and then load the plugin. I have no idea if that will work in your situation, but worth a try: Plugin won't load · Issue #37 · jemstelos/obsidian-media-notes · GitHub

@rigmarole
Thanks! Now “Media notes” work again!

1 Like

Unfortunately, the problem came back, so I still have it. And I do not have extra info other than the exception snippet from the original post.

Hello, I still have the problem, the proposed solution did not work. I have done extra troubleshooting to narrow it down, but I still need help, please. This is what I did:

  • Shutdown Obsidian
  • I have renamed the file ./obsidian/community-plugins.json
  • I have renamed the directory ./obsidian/plugins
  • Launched Obsidian
  • Made sure there were no notes opened
  • I then installed “Media notes” plugin
  • … and it failed to start see screenshot below

Please help :pray:

You’ll probably want to add your comments and information to the open bug on Github. Let them know you tried that fix and it worked (temporarily?) and now doesn’t.

Otherwise, I don’t know if there is any help to be had here.

2 Likes

I have added my input to this issue in Github:

2 Likes

I would like to ask, please, how to better reach out to the devs of the library and/or the Obsidian community, about this plugin failign to start. I have issued a bug in Github (see above) and at least another person mentioned he has the same issue.

I have the feeling that this is not just a two-people problem, and also that this library is fairly popular. So… What am I doing wrong? How can I finally reach out to more people and get help on the issue?

Thanks!

Possibly you can’t. Community plugins are free, and sometimes they are side projects of busy people. There is no guarantee for support. And depending what you mean by “reach out to more people”, attempting to get more attention for the bug could be against “Campaigning” in our community code of conduct, so please be mindful of that.

You’ve reported the issue. Now I think you’ll just have to be patient, or find an alternative method.

2 Likes

Since you need this plugin so much, have a look at some options:

First solution:

Don’t update Obsidian all times, just bc there’s a new version out: exceptions made for security fixes or features you can’t live without. We probably agree, previous versions of Obsidian weren’t that “bad”!
To downgrade, get a package from here

Second solution:

Try similar plugins, like Media extended
Other plugins might not work as expected but at least timestamps work again.

Third solution:

Probably the best way would be to write your own script / plugin and take inspiration from existing plugins.

1 Like

Thank you for the guidance on the code of conduct, and the alternatives. I guess I will have to try some alternatives to that plugin, such a pity.