mirror of
https://github.com/beetbox/beets.git
synced 2026-01-20 07:02:39 +01:00
Merge branch 'master' into add-mp3rgain-support
This commit is contained in:
commit
7002cbdda2
2 changed files with 5 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ import platform
|
|||
import re
|
||||
import subprocess
|
||||
from abc import ABC, abstractmethod
|
||||
from contextlib import suppress
|
||||
from enum import Enum
|
||||
from itertools import chain
|
||||
from typing import TYPE_CHECKING, Any, ClassVar
|
||||
|
|
@ -846,7 +847,8 @@ class ArtResizer:
|
|||
)
|
||||
finally:
|
||||
if result_path != path_in:
|
||||
os.unlink(path_in)
|
||||
with suppress(OSError):
|
||||
os.unlink(path_in)
|
||||
return result_path
|
||||
|
||||
@property
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ New features:
|
|||
|
||||
Bug fixes:
|
||||
|
||||
- Handle potential OSError when unlinking temporary files in ArtResizer.
|
||||
:bug:`5615`
|
||||
- :doc:`/plugins/spotify`: Updated Spotify API credentials. :bug:`6270`
|
||||
- :doc:`/plugins/smartplaylist`: Fixed an issue where multiple queries in a
|
||||
playlist configuration were not preserving their order, causing items to
|
||||
|
|
|
|||
Loading…
Reference in a new issue