mirror of
https://github.com/csd4ni3l/music-player.git
synced 2026-01-01 04:03:42 +01:00
add more modules to credits, fix SSL not being found and downloads crashing on executables with certifi
This commit is contained in:
3
CREDITS
3
CREDITS
@@ -17,3 +17,6 @@ pydub - https://github.com/jiaaro/pydub - Used for audio dBFS and normalization
|
|||||||
yt-dlp - https://github.com/yt-dlp/yt-dlp - Used for downloading music
|
yt-dlp - https://github.com/yt-dlp/yt-dlp - Used for downloading music
|
||||||
thefuzz and dependencies - https://github.com/seatgeek/thefuzz - Used for fuzzy search
|
thefuzz and dependencies - https://github.com/seatgeek/thefuzz - Used for fuzzy search
|
||||||
mutagen - https://github.com/quodlibet/mutagen - Used for audio metadata extraction and modification
|
mutagen - https://github.com/quodlibet/mutagen - Used for audio metadata extraction and modification
|
||||||
|
musicbrainzngs - https://github.com/alastair/python-musicbrainzngs - Used for MusicBrainz metadata
|
||||||
|
pyacoustid - https://github.com/beetbox/pyacoustid - Used to analyze song fingerprints and look them up to get accurate metadata, if possible.
|
||||||
|
certifi - https://github.com/certifi/python-certifi - Used to fix SSL issues inside the binaries.
|
||||||
@@ -63,6 +63,8 @@ class GlobalSearch(arcade.gui.UIView):
|
|||||||
|
|
||||||
self.search_results_grid.clear()
|
self.search_results_grid.clear()
|
||||||
|
|
||||||
|
row, col = 0, 0
|
||||||
|
|
||||||
if search_type == "Music":
|
if search_type == "Music":
|
||||||
recordings = search_recordings(search_term)
|
recordings = search_recordings(search_term)
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ readme = "README.md"
|
|||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"arcade==3.2.0",
|
"arcade==3.2.0",
|
||||||
|
"certifi>=2025.7.9",
|
||||||
"iso3166>=2.1.1",
|
"iso3166>=2.1.1",
|
||||||
"musicbrainzngs>=0.7.1",
|
"musicbrainzngs>=0.7.1",
|
||||||
"mutagen>=1.47.0",
|
"mutagen>=1.47.0",
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ attrs==25.3.0
|
|||||||
audioread==3.0.1
|
audioread==3.0.1
|
||||||
# via pyacoustid
|
# via pyacoustid
|
||||||
certifi==2025.7.9
|
certifi==2025.7.9
|
||||||
# via requests
|
# via
|
||||||
|
# musicplayer (pyproject.toml)
|
||||||
|
# requests
|
||||||
cffi==1.17.1
|
cffi==1.17.1
|
||||||
# via pymunk
|
# via pymunk
|
||||||
charset-normalizer==3.4.2
|
charset-normalizer==3.4.2
|
||||||
|
|||||||
3
run.py
3
run.py
@@ -1,7 +1,8 @@
|
|||||||
import os
|
import os, certifi
|
||||||
bin_path = os.path.join(os.getcwd(), "bin")
|
bin_path = os.path.join(os.getcwd(), "bin")
|
||||||
current_path = os.environ.get("PATH", "")
|
current_path = os.environ.get("PATH", "")
|
||||||
os.environ["PATH"] = f"{bin_path}{os.pathsep}{current_path}"
|
os.environ["PATH"] = f"{bin_path}{os.pathsep}{current_path}"
|
||||||
|
os.environ['SSL_CERT_FILE'] = certifi.where() # Fix SSL not working and downloads crashing.
|
||||||
|
|
||||||
import pyglet
|
import pyglet
|
||||||
|
|
||||||
|
|||||||
2
uv.lock
generated
2
uv.lock
generated
@@ -170,6 +170,7 @@ version = "0.1.0"
|
|||||||
source = { virtual = "." }
|
source = { virtual = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "arcade" },
|
{ name = "arcade" },
|
||||||
|
{ name = "certifi" },
|
||||||
{ name = "iso3166" },
|
{ name = "iso3166" },
|
||||||
{ name = "musicbrainzngs" },
|
{ name = "musicbrainzngs" },
|
||||||
{ name = "mutagen" },
|
{ name = "mutagen" },
|
||||||
@@ -183,6 +184,7 @@ dependencies = [
|
|||||||
[package.metadata]
|
[package.metadata]
|
||||||
requires-dist = [
|
requires-dist = [
|
||||||
{ name = "arcade", specifier = "==3.2.0" },
|
{ name = "arcade", specifier = "==3.2.0" },
|
||||||
|
{ name = "certifi", specifier = ">=2025.7.9" },
|
||||||
{ name = "iso3166", specifier = ">=2.1.1" },
|
{ name = "iso3166", specifier = ">=2.1.1" },
|
||||||
{ name = "musicbrainzngs", specifier = ">=0.7.1" },
|
{ name = "musicbrainzngs", specifier = ">=0.7.1" },
|
||||||
{ name = "mutagen", specifier = ">=1.47.0" },
|
{ name = "mutagen", specifier = ">=1.47.0" },
|
||||||
|
|||||||
Reference in New Issue
Block a user