Thank you so much for this wonderful project! I just installed it in a fresh VM (Ubuntu 22.04) and found that python3 api.py <someSpotifyUrl> complained it cannot find mutagen. This can be solved easily by either
Hi !
Song's filepath was not updated after the song being recorded, hence mutagen raising an error ... thanks for reporting the issue! This has been fixed.
Thank you so much for this wonderful project! I just installed it in a fresh VM (Ubuntu 22.04) and found that
python3 api.py <someSpotifyUrl>
complained it cannot findmutagen
. This can be solved easily by eitherpip3 install mutagen
orapt install -y python3-mutagen
(in Ubuntu)In both cases, running
python3 api.py <somePlaylist>
yields an error related to a call inmutagen
. The relevant line is https://github.com/fm16191/spotify-recorder/blob/42d24d941c0d0bc83f67637cbd1d4787bd154f3a/api.py#L123 wherefilepath
is either a string or a boolean (see https://github.com/fm16191/spotify-recorder/blob/42d24d941c0d0bc83f67637cbd1d4787bd154f3a/api.py#L106) . If it's a boolean, thenmutagen
will be asked to edit a fileFalse
which obviously yields an error.Do you think that the error I'm observing is related to an incompatible version of
mutagen
or is it a real logic bug (independent ofmutagen
)?