-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vuiet-info-playing-track-album works once #73
Comments
I am also getting [error] request--callback: peculiar error: 400
[error] request-default-error-callback: http://ws.audioscrobbler.com/2.0/ error
Error running timer ‘vuiet--scrobble-track’: (wrong-type-argument stringp t) I am not sure if this is relevant. |
Hello Marco, Does it happen on all albums or on a specific one? |
not 100% sure, but It looks like it's happening on all the albums |
I do get a similar error for scrobbling, regardless of how I play the song,
Scrobbling is just the process of saving what you've listened to last.fm (for history purposes). It does not affect the player, though. Just to be sure we're not confusing things, the |
Hello and happy new year @mihaiolteanu ! 🎉 A more significant "scenario" can be:
Hope that clears it up. Thanks! |
Hello Marco, Unfortunately I cannot reproduce this issue. Both Does Mihai |
@mihaiolteanu it does for a short time.
And after this error occurs:
and then |
And then, sometimes. Thanks a lot man for the support |
Do copy/paste the return info from Yes, you could use edebug (you eval the function with C-u C-M-x to enable debugging, C-x C-e to disable it) on Edit: updated the command to enable debugging on a particular function |
I was able to obtain Debugger entered--Lisp error: (wrong-type-argument stringp nil)
edebug(error (wrong-type-argument stringp nil))
split-string(nil "=" nil)
s-split("=" nil)
vuiet--track-from-youtube-url(nil)
vuiet--mpv-playing-track()
#f(compiled-function (event) #<bytecode 0xc3c6b15c7b6d574>)(((event . "file-loaded")))
run-hook-with-args(#f(compiled-function (event) #<bytecode 0xc3c6b15c7b6d574>) ((event . "file-loaded")))
mpv--tq-process-buffer((nil #<process mpv-socket> . #<buffer tq-temp-mpv-socket>))
mpv--tq-process-buffer((nil #<process mpv-socket> . #<buffer tq-temp-mpv-socket>))
mpv--tq-filter((nil #<process mpv-socket> . #<buffer tq-temp-mpv-socket>) "{\"event\":\"audio-reconfig\"}\n{\"event\":\"file-loaded\"}...")
#<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_25>(#<process mpv-socket> "{\"event\":\"audio-reconfig\"}\n{\"event\":\"file-loaded\"}...")
edebug--recursive-edit(before)
edebug--display-1(nil 0 before)
edebug--display(nil 0 before)
edebug-debugger(0 before nil)
edebug-before(0)
(edebug-after (edebug-before 0) 1 (vuiet-info-playing-track-album))
(closure (t) nil (edebug-after (edebug-before 0) 1 (vuiet-info-playing-track-album)))()
edebug-default-enter(edebug-anon14 nil (closure (t) nil (edebug-after (edebug-before 0) 1 (vuiet-info-playing-track-album))))
edebug-default-enter(edebug-anon14 nil (closure (t) nil (edebug-after (edebug-before 0) 1 (vuiet-info-playing-track-album))))
edebug-enter(edebug-anon14 nil (closure (t) nil (edebug-after (edebug-before 0) 1 (vuiet-info-playing-track-album))))
(progn (edebug-enter 'edebug-anon14 nil #'(lambda nil (edebug-after (edebug-before 0) 1 (vuiet-info-playing-track-album)))))
(let ((print-level nil) (print-length nil)) (progn (edebug-enter 'edebug-anon14 nil #'(lambda nil (edebug-after (edebug-before 0) 1 (vuiet-info-playing-track-album))))))
(setq elisp--eval-defun-result (let ((print-level nil) (print-length nil)) (progn (edebug-enter 'edebug-anon14 nil #'(lambda nil (edebug-after (edebug-before 0) 1 (vuiet-info-playing-track-album)))))))
elisp--eval-defun()
#<subr eval-defun>(nil)
edebug--eval-defun(#<subr eval-defun> (4))
apply(edebug--eval-defun #<subr eval-defun> (4))
#f(advice edebug--eval-defun :around #<subr eval-defun>)((4))
ad-Advice-eval-defun(#f(advice edebug--eval-defun :around #<subr eval-defun>) (4))
apply(ad-Advice-eval-defun #f(advice edebug--eval-defun :around #<subr eval-defun>) (4))
eval-defun((4))
funcall-interactively(eval-defun (4))
command-execute(eval-defun) while doing does it help? 🤔 Edit: this is my
|
Oh, one other note. (setq vuiet-youtube-dl-command "yt-dlp")` as a |
Yes, I've officially switched to yt-dlp too with the latest commit. Ok, either mpv integration issue or the track is not added to the list properly, Can you eval (that is,
(this should return the youtube watch id, like and
(this should return the name of the song for that id, saved previously by vuiet) |
This is the return value of and (vuiet--track-from-youtube-url
(mpv-get-property "filename"))
#s(vuiet-track "Tiromancino" "Come l'aria" "4:47") Maybe it's the apostrophe? If you have other debugging hints please share. I would be glad to help. |
The edebug output from above says the Well... |
I can live with it, but yes, it's weird 🤷🏾♂️ |
Hey there, I was able to collect a little bit more info: I did:
PS: Hope you like the song! |
eheh. ;) By the way, what |
mpv 0.36.0 |
Hello @mihaiolteanu 👋🏾
First of all thank you for this wonderful program, I am really enjoying it!
if I invoke
vuiet-info-playing-track-album
to see the current playing trackvuiet
initially opens the correct buffer.After another track is played, I see in the
*Messages*
buffer these error messages:And if I re-invoke
vuiet-info-playing-track-album
it brings me to the previous track. Always that one.I installed the package via MELPA, should I point to the git version?
Thanks in advance!
The text was updated successfully, but these errors were encountered: