isamert / empv.el

An Emacs media player, media library manager, radio player, YouTube frontend
GNU General Public License v3.0
107 stars 19 forks source link

YouTube query produces always empty results #16

Closed Panadestein closed 1 year ago

Panadestein commented 2 years ago

Hi, thanks for this very interesting package. I was giving it a try, and everything works smooth except for the empv-youtube command. It seems to be a json error, though. Indeed, if I activate the debugging mode and issue the command with a random query, I get the following error:

(empv) Error while reading JSON :

followed by a long json string. I have a very simple config:

(use-package empv
  :straight (:type git
             :host github
             :repo "isamert/empv.el")
  :config
  (setq empv-invidious-instance "https://invidious.tiekoetter.com/api/v1"))

Do you have any hints on what could be the problem, or how to further debug? I am on Emacs 29.0.50.

isamert commented 2 years ago

Can you send the JSON itself that is printed? Also did you try using a different invidious instance? Probably the instance is returning a broken response.

isamert commented 1 year ago

Feel free to reopen the issue if you are still having this issue on the latest main branch. Closing it for now.