playsound3 2.2.2__tar.gz → 2.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
File without changes
File without changes
File without changes
@@ -37,8 +37,7 @@
37
37
  <component name="SharedIndexes">
38
38
  <attachedChunks>
39
39
  <set>
40
- <option value="bundled-js-predefined-1d06a55b98c1-0b3e54e931b4-JavaScript-PY-241.18034.82" />
41
- <option value="bundled-python-sdk-975db3bf15a3-2767605e8bc2-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-241.18034.82" />
40
+ <option value="bundled-python-sdk-5e1850174b45-399fe30bd8c1-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-242.23726.102" />
42
41
  </set>
43
42
  </attachedChunks>
44
43
  </component>
@@ -55,6 +54,7 @@
55
54
  <workItem from="1715173506044" duration="8000" />
56
55
  <workItem from="1715173784613" duration="4000" />
57
56
  <workItem from="1719587131749" duration="38000" />
57
+ <workItem from="1731243605167" duration="965000" />
58
58
  </task>
59
59
  <servers />
60
60
  </component>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: playsound3
3
- Version: 2.2.2
3
+ Version: 2.2.3
4
4
  Summary: Cross-platform library to play audio files
5
5
  Project-URL: Repository, https://github.com/sjmikler/playsound3
6
6
  Project-URL: Issues, https://github.com/sjmikler/playsound3/issues
@@ -58,7 +58,7 @@ def _download_sound_from_web(link, destination):
58
58
 
59
59
 
60
60
  def _prepare_path(sound) -> str:
61
- if sound.startswith(("http://", "https://")):
61
+ if isinstance(sound, str) and sound.startswith(("http://", "https://")):
62
62
  # To play file from URL, we download the file first to a temporary location and cache it
63
63
  if sound not in _DOWNLOAD_CACHE:
64
64
  sound_suffix = Path(sound).suffix
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "playsound3"
7
- version = "2.2.2"
7
+ version = "2.2.3"
8
8
  requires-python = ">=3.7"
9
9
  authors = [
10
10
  { name = "Szymon Mikler", email = "sjmikler@gmail.com" },
File without changes
File without changes
File without changes