[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using authinfo for libre.fm streaming
From: |
Yoni Rabkin |
Subject: |
Re: Using authinfo for libre.fm streaming |
Date: |
Wed, 07 Apr 2021 11:13:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
"Kevin J. McCarthy" <kevin@8t8.us> writes:
> I was trying to set up libre.fm streaming today. I stored my
> user/password in ~/.authinfo.gpg, but after invoking
> emms-librefm-stream and typing a URL, emacs printed the error "null
> username".
>
> I poked around the source a bit, and it looks like the libre.fm
> scrobbler code has helper functions emms-librefm-scrobbler--username
> and emms-librefm-scrobbler--password that look in authinfo first and
> fall back to the variables, but the stream code just directly
> references the variables.
>
> Would it be possible to change the libre.fm stream code to use those
> helpers, or something similar as appropriate?
I've made that change and pushed it to the Savannah git repo. Can you
test it there before I update Emms on ELPA?
--
"Cut your own wood and it will warm you twice"