Bleuzen / SpotRec

Spotify desktop client recorder for PulseAudio
MIT License
75 stars 17 forks source link

Handle relative output paths in add artwork #18

Closed Rijul-A closed 2 years ago

Rijul-A commented 2 years ago

Closes Bleuzen/SpotRec#17 Previously, using relative paths resulted in an incorrectly calculated path for the cover file (thanks to splitext). This commit changes that to use rsplit instead, and clarifies that the filename variable in add_cover_art is the directory + the file name.

Bleuzen commented 2 years ago

thanks :)