yutipy 1.3.0__tar.gz → 1.3.1__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.

Potentially problematic release.


This version of yutipy might be problematic. Click here for more details.

Files changed (52) hide show
  1. {yutipy-1.3.0 → yutipy-1.3.1}/PKG-INFO +1 -1
  2. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/yutipy_music.py +4 -1
  3. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy.egg-info/PKG-INFO +1 -1
  4. {yutipy-1.3.0 → yutipy-1.3.1}/.gitattributes +0 -0
  5. {yutipy-1.3.0 → yutipy-1.3.1}/.github/FUNDING.yml +0 -0
  6. {yutipy-1.3.0 → yutipy-1.3.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  7. {yutipy-1.3.0 → yutipy-1.3.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  8. {yutipy-1.3.0 → yutipy-1.3.1}/.github/workflows/pytest-unit-testing.yml +0 -0
  9. {yutipy-1.3.0 → yutipy-1.3.1}/.github/workflows/release.yml +0 -0
  10. {yutipy-1.3.0 → yutipy-1.3.1}/.gitignore +0 -0
  11. {yutipy-1.3.0 → yutipy-1.3.1}/.readthedocs.yaml +0 -0
  12. {yutipy-1.3.0 → yutipy-1.3.1}/LICENSE +0 -0
  13. {yutipy-1.3.0 → yutipy-1.3.1}/MANIFEST.in +0 -0
  14. {yutipy-1.3.0 → yutipy-1.3.1}/README.md +0 -0
  15. {yutipy-1.3.0 → yutipy-1.3.1}/docs/Makefile +0 -0
  16. {yutipy-1.3.0 → yutipy-1.3.1}/docs/_static/yutipy_header.png +0 -0
  17. {yutipy-1.3.0 → yutipy-1.3.1}/docs/_static/yutipy_logo.png +0 -0
  18. {yutipy-1.3.0 → yutipy-1.3.1}/docs/api_reference.rst +0 -0
  19. {yutipy-1.3.0 → yutipy-1.3.1}/docs/available_platforms.rst +0 -0
  20. {yutipy-1.3.0 → yutipy-1.3.1}/docs/conf.py +0 -0
  21. {yutipy-1.3.0 → yutipy-1.3.1}/docs/faq.rst +0 -0
  22. {yutipy-1.3.0 → yutipy-1.3.1}/docs/index.rst +0 -0
  23. {yutipy-1.3.0 → yutipy-1.3.1}/docs/installation.rst +0 -0
  24. {yutipy-1.3.0 → yutipy-1.3.1}/docs/make.bat +0 -0
  25. {yutipy-1.3.0 → yutipy-1.3.1}/docs/requirements.txt +0 -0
  26. {yutipy-1.3.0 → yutipy-1.3.1}/docs/usage_examples.rst +0 -0
  27. {yutipy-1.3.0 → yutipy-1.3.1}/pyproject.toml +0 -0
  28. {yutipy-1.3.0 → yutipy-1.3.1}/requirements-dev.txt +0 -0
  29. {yutipy-1.3.0 → yutipy-1.3.1}/requirements.txt +0 -0
  30. {yutipy-1.3.0 → yutipy-1.3.1}/setup.cfg +0 -0
  31. {yutipy-1.3.0 → yutipy-1.3.1}/tests/__init__.py +0 -0
  32. {yutipy-1.3.0 → yutipy-1.3.1}/tests/test_deezer.py +0 -0
  33. {yutipy-1.3.0 → yutipy-1.3.1}/tests/test_itunes.py +0 -0
  34. {yutipy-1.3.0 → yutipy-1.3.1}/tests/test_kkbox.py +0 -0
  35. {yutipy-1.3.0 → yutipy-1.3.1}/tests/test_models.py +0 -0
  36. {yutipy-1.3.0 → yutipy-1.3.1}/tests/test_musicyt.py +0 -0
  37. {yutipy-1.3.0 → yutipy-1.3.1}/tests/test_spotify.py +0 -0
  38. {yutipy-1.3.0 → yutipy-1.3.1}/tests/test_utils.py +0 -0
  39. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/__init__.py +0 -0
  40. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/deezer.py +0 -0
  41. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/exceptions.py +0 -0
  42. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/itunes.py +0 -0
  43. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/kkbox.py +0 -0
  44. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/models.py +0 -0
  45. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/musicyt.py +0 -0
  46. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/spotify.py +0 -0
  47. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/utils/__init__.py +0 -0
  48. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy/utils/cheap_utils.py +0 -0
  49. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy.egg-info/SOURCES.txt +0 -0
  50. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy.egg-info/dependency_links.txt +0 -0
  51. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy.egg-info/requires.txt +0 -0
  52. {yutipy-1.3.0 → yutipy-1.3.1}/yutipy.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yutipy
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: A simple package for retrieving music information from various music platforms APIs.
5
5
  Author: Cheap Nightbot
6
6
  Author-email: Cheap Nightbot <hi@cheapnightbot.slmail.me>
@@ -64,7 +64,10 @@ class YutipyMusic:
64
64
  result = future.result()
65
65
  self._combine_results(result, service_name)
66
66
 
67
- return self.music_info if self.music_info else None
67
+ if len(self.music_info.url) == 0:
68
+ return None
69
+
70
+ return self.music_info
68
71
 
69
72
  def _combine_results(self, result: Optional[MusicInfo], service_name: str) -> None:
70
73
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yutipy
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: A simple package for retrieving music information from various music platforms APIs.
5
5
  Author: Cheap Nightbot
6
6
  Author-email: Cheap Nightbot <hi@cheapnightbot.slmail.me>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes