mytunes-pro 1.7.9__tar.gz → 1.8.0__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.
- {mytunes_pro-1.7.9/src/mytunes_pro.egg-info → mytunes_pro-1.8.0}/PKG-INFO +1 -1
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/pyproject.toml +1 -1
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/src/mytunes/app.py +17 -15
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0/src/mytunes_pro.egg-info}/PKG-INFO +1 -1
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/LICENSE +0 -0
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/README.md +0 -0
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/setup.cfg +0 -0
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/src/mytunes/__init__.py +0 -0
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/src/mytunes_pro.egg-info/SOURCES.txt +0 -0
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/src/mytunes_pro.egg-info/dependency_links.txt +0 -0
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/src/mytunes_pro.egg-info/entry_points.txt +0 -0
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/src/mytunes_pro.egg-info/requires.txt +0 -0
- {mytunes_pro-1.7.9 → mytunes_pro-1.8.0}/src/mytunes_pro.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mytunes-pro
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: A lightweight, keyboard-centric terminal player for streaming YouTube music.
|
|
5
5
|
Author-email: loxo <loxo5432@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/postgresql-co-kr/mytunes
|
|
@@ -35,7 +35,7 @@ MPV_SOCKET = "/tmp/mpv_socket"
|
|
|
35
35
|
LOG_FILE = "/tmp/mytunes_mpv.log"
|
|
36
36
|
PID_FILE = "/tmp/mytunes_mpv.pid"
|
|
37
37
|
APP_NAME = "MyTunes Pro"
|
|
38
|
-
APP_VERSION = "1.
|
|
38
|
+
APP_VERSION = "1.8.0"
|
|
39
39
|
|
|
40
40
|
# === [Strings & Localization] ===
|
|
41
41
|
STRINGS = {
|
|
@@ -809,37 +809,39 @@ class MyTunesApp:
|
|
|
809
809
|
os.path.join(os.environ.get('PROGRAMFILES(X86)', 'C:\\Program Files (x86)'), 'Microsoft\\Edge\\Application\\msedge.exe'),
|
|
810
810
|
os.path.join(os.environ.get('PROGRAMFILES', 'C:\\Program Files'), 'Microsoft\\Edge\\Application\\msedge.exe'),
|
|
811
811
|
]
|
|
812
|
-
#
|
|
813
|
-
|
|
812
|
+
# In native Windows, we remove user-data-dir to avoid permission/expansion errors
|
|
813
|
+
# app mode + new-window + window-size is sufficient.
|
|
814
|
+
win_flags = [
|
|
815
|
+
f'--app="{live_url}"',
|
|
816
|
+
'--window-size=712,800',
|
|
817
|
+
'--window-position=100,100',
|
|
818
|
+
'--new-window',
|
|
819
|
+
'--no-first-run',
|
|
820
|
+
'--disable-extensions'
|
|
821
|
+
]
|
|
814
822
|
for p in win_paths:
|
|
815
823
|
if os.path.exists(p):
|
|
816
824
|
try:
|
|
817
|
-
# Use
|
|
825
|
+
# Use list-based Popen for native Windows
|
|
818
826
|
subprocess.Popen([p] + win_flags, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
|
819
827
|
launched = True; break
|
|
820
828
|
except: pass
|
|
821
829
|
|
|
822
|
-
# 3. WSL (Run Windows Chrome via cmd.exe
|
|
830
|
+
# 3. WSL (Run Windows Chrome via cmd.exe)
|
|
823
831
|
elif self.is_wsl():
|
|
824
832
|
try:
|
|
825
|
-
#
|
|
826
|
-
#
|
|
827
|
-
# 2. Launch chrome with explicit window flags
|
|
828
|
-
p_dir = "%LOCALAPPDATA%\\MyTunesApp\\v179"
|
|
829
|
-
|
|
833
|
+
# Pure CMD start without user-data-dir to avoid expansion/path issues.
|
|
834
|
+
# Window sizing works reliably with just these flags.
|
|
830
835
|
c_args = [
|
|
831
836
|
f'--app=\"{live_url}\"',
|
|
832
837
|
'--window-size=712,800',
|
|
833
838
|
'--window-position=100,100',
|
|
834
|
-
f'--user-data-dir=\"{p_dir}\"',
|
|
835
839
|
'--new-window',
|
|
836
840
|
'--no-first-run',
|
|
837
841
|
'--disable-extensions'
|
|
838
842
|
]
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
full_cmd = f'mkdir "{p_dir}" 2>nul & start chrome {" ".join(c_args)}'
|
|
842
|
-
|
|
843
|
+
# Direct call to chrome via cmd start
|
|
844
|
+
full_cmd = f'start chrome {" ".join(c_args)}'
|
|
843
845
|
subprocess.Popen(["cmd.exe", "/c", full_cmd], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
|
844
846
|
launched = True
|
|
845
847
|
except:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mytunes-pro
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: A lightweight, keyboard-centric terminal player for streaming YouTube music.
|
|
5
5
|
Author-email: loxo <loxo5432@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/postgresql-co-kr/mytunes
|
|
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
|