This commit is contained in:
Niko authored and GitHub committed 2026-03-13 02:50:36 +00:00
commit d8d1d901fc
2 files changed
+3

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ Add your changes below.
### Added
- Added a warning if the URI regex did not match the input.
### Fixed
### Removed
+1
View File
@@ -2214,6 +2214,7 @@ class Spotify:
def _get_uri(self, type, id):
if self._is_uri(id):
warnings.warn(f"{repr(id)} did not match the Spotify URI RegEx.", UserWarning)
return id
else:
return "spotify:" + type + ":" + self._get_id(type, id)