mytunes-pro 1.8.0__tar.gz → 1.8.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.
- {mytunes_pro-1.8.0/src/mytunes_pro.egg-info → mytunes_pro-1.8.3}/PKG-INFO +21 -4
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/README.md +20 -3
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/pyproject.toml +1 -1
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/src/mytunes/app.py +41 -24
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3/src/mytunes_pro.egg-info}/PKG-INFO +21 -4
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/LICENSE +0 -0
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/setup.cfg +0 -0
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/src/mytunes/__init__.py +0 -0
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/src/mytunes_pro.egg-info/SOURCES.txt +0 -0
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/src/mytunes_pro.egg-info/dependency_links.txt +0 -0
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/src/mytunes_pro.egg-info/entry_points.txt +0 -0
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/src/mytunes_pro.egg-info/requires.txt +0 -0
- {mytunes_pro-1.8.0 → mytunes_pro-1.8.3}/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.8.
|
|
3
|
+
Version: 1.8.3
|
|
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
|
|
@@ -19,7 +19,7 @@ Dynamic: license-file
|
|
|
19
19
|
|
|
20
20
|
# 🎵 MyTunes Pro (Korean)
|
|
21
21
|
|
|
22
|
-
**현대적인 CLI 유튜브 뮤직 플레이어 (v1.
|
|
22
|
+
**현대적인 CLI 유튜브 뮤직 플레이어 (v1.8.3)**
|
|
23
23
|
터미널 환경에서 **YouTube 음악을 검색하여 듣는** 가볍고 빠른 키보드 중심의 플레이어입니다.
|
|
24
24
|
한국어 입력 환경에서도 **숫자 키(1~5)**를 통해 지연 없는 쾌적한 조작이 가능합니다.
|
|
25
25
|
|
|
@@ -208,7 +208,7 @@ Windows 환경에서 한글 검색이 안 되거나 설치가 어려운 분들
|
|
|
208
208
|
|
|
209
209
|
# 🎵 MyTunes Pro (English)
|
|
210
210
|
|
|
211
|
-
**Modern CLI YouTube Music Player (v1.
|
|
211
|
+
**Modern CLI YouTube Music Player (v1.8.3)**
|
|
212
212
|
A lightweight, keyboard-centric terminal player for streaming YouTube music.
|
|
213
213
|
|
|
214
214
|
---
|
|
@@ -296,7 +296,24 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
|
|
|
296
296
|
|
|
297
297
|
## 🔄 Changelog
|
|
298
298
|
|
|
299
|
-
### v1.
|
|
299
|
+
### v1.8.3 (Latest)
|
|
300
|
+
|
|
301
|
+
- **Direct Binary Execution (WSL)**: Resolved shell parsing issues by bypassing `cmd.exe` and directly executing Windows browser binaries via `/mnt/c/` paths.
|
|
302
|
+
- **App Mode Reliability**: Guaranteed 712x800 popup mode by ensuring flags are delivered directly to the browser process without intermediate shell mangling.
|
|
303
|
+
- **Fixed URL Resolution**: Eliminated the "Empty URL" bug by standardizing argument passing between WSL and Windows.
|
|
304
|
+
|
|
305
|
+
### v1.8.1
|
|
306
|
+
|
|
307
|
+
- **Fixed App Mode (WSL/Win)**: Guaranteed the browser opens in a clean "App Mode" popup by fixing shell quoting issues in the launch command.
|
|
308
|
+
- **URL Resolution Fix**: Resolved the "Empty URL" bug on WSL/Windows by ensuring the `--app` flag is correctly parsed by the native Windows shell.
|
|
309
|
+
- **Reliable Popup UI**: Standardized on `start "" chrome` for WSL to ensure flags are never misidentified as window titles.
|
|
310
|
+
|
|
311
|
+
### v1.8.0
|
|
312
|
+
|
|
313
|
+
- **Stabilized Browser Launch (Windows/WSL)**: Completely removed the `--user-data-dir` flag for all Windows-based environments. This permanently resolves the "cannot read or write" directory errors while maintaining reliable 712x800 window sizing through pure app-mode flags.
|
|
314
|
+
- **Clean CMD Execution**: Simplified the WSL-to-Windows transition by using standard `cmd.exe` calls without complex path or variable expansion, ensuring consistent behavior across all systems.
|
|
315
|
+
|
|
316
|
+
### v1.7.9
|
|
300
317
|
|
|
301
318
|
- **Pure CMD-based Launch (WSL/Win)**: Final fix for WSL-to-Windows browser launch using `cmd.exe /c` with native `%LOCALAPPDATA%` expansion.
|
|
302
319
|
- **Directory Reliability**: Ensured Chrome data directory creation and access by using native Windows shell commands, eliminating the "cannot read or write" errors seen in v1.7.8.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🎵 MyTunes Pro (Korean)
|
|
2
2
|
|
|
3
|
-
**현대적인 CLI 유튜브 뮤직 플레이어 (v1.
|
|
3
|
+
**현대적인 CLI 유튜브 뮤직 플레이어 (v1.8.3)**
|
|
4
4
|
터미널 환경에서 **YouTube 음악을 검색하여 듣는** 가볍고 빠른 키보드 중심의 플레이어입니다.
|
|
5
5
|
한국어 입력 환경에서도 **숫자 키(1~5)**를 통해 지연 없는 쾌적한 조작이 가능합니다.
|
|
6
6
|
|
|
@@ -189,7 +189,7 @@ Windows 환경에서 한글 검색이 안 되거나 설치가 어려운 분들
|
|
|
189
189
|
|
|
190
190
|
# 🎵 MyTunes Pro (English)
|
|
191
191
|
|
|
192
|
-
**Modern CLI YouTube Music Player (v1.
|
|
192
|
+
**Modern CLI YouTube Music Player (v1.8.3)**
|
|
193
193
|
A lightweight, keyboard-centric terminal player for streaming YouTube music.
|
|
194
194
|
|
|
195
195
|
---
|
|
@@ -277,7 +277,24 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
|
|
|
277
277
|
|
|
278
278
|
## 🔄 Changelog
|
|
279
279
|
|
|
280
|
-
### v1.
|
|
280
|
+
### v1.8.3 (Latest)
|
|
281
|
+
|
|
282
|
+
- **Direct Binary Execution (WSL)**: Resolved shell parsing issues by bypassing `cmd.exe` and directly executing Windows browser binaries via `/mnt/c/` paths.
|
|
283
|
+
- **App Mode Reliability**: Guaranteed 712x800 popup mode by ensuring flags are delivered directly to the browser process without intermediate shell mangling.
|
|
284
|
+
- **Fixed URL Resolution**: Eliminated the "Empty URL" bug by standardizing argument passing between WSL and Windows.
|
|
285
|
+
|
|
286
|
+
### v1.8.1
|
|
287
|
+
|
|
288
|
+
- **Fixed App Mode (WSL/Win)**: Guaranteed the browser opens in a clean "App Mode" popup by fixing shell quoting issues in the launch command.
|
|
289
|
+
- **URL Resolution Fix**: Resolved the "Empty URL" bug on WSL/Windows by ensuring the `--app` flag is correctly parsed by the native Windows shell.
|
|
290
|
+
- **Reliable Popup UI**: Standardized on `start "" chrome` for WSL to ensure flags are never misidentified as window titles.
|
|
291
|
+
|
|
292
|
+
### v1.8.0
|
|
293
|
+
|
|
294
|
+
- **Stabilized Browser Launch (Windows/WSL)**: Completely removed the `--user-data-dir` flag for all Windows-based environments. This permanently resolves the "cannot read or write" directory errors while maintaining reliable 712x800 window sizing through pure app-mode flags.
|
|
295
|
+
- **Clean CMD Execution**: Simplified the WSL-to-Windows transition by using standard `cmd.exe` calls without complex path or variable expansion, ensuring consistent behavior across all systems.
|
|
296
|
+
|
|
297
|
+
### v1.7.9
|
|
281
298
|
|
|
282
299
|
- **Pure CMD-based Launch (WSL/Win)**: Final fix for WSL-to-Windows browser launch using `cmd.exe /c` with native `%LOCALAPPDATA%` expansion.
|
|
283
300
|
- **Directory Reliability**: Ensured Chrome data directory creation and access by using native Windows shell commands, eliminating the "cannot read or write" errors seen in v1.7.8.
|
|
@@ -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.8.
|
|
38
|
+
APP_VERSION = "1.8.3"
|
|
39
39
|
|
|
40
40
|
# === [Strings & Localization] ===
|
|
41
41
|
STRINGS = {
|
|
@@ -809,10 +809,9 @@ 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
|
-
# app mode + new-window + window-size is sufficient.
|
|
812
|
+
# v1.8.2 - Maximum precision: --app flag MUST be exact and first for reliable popup mode
|
|
814
813
|
win_flags = [
|
|
815
|
-
f'--app=
|
|
814
|
+
f'--app={live_url}',
|
|
816
815
|
'--window-size=712,800',
|
|
817
816
|
'--window-position=100,100',
|
|
818
817
|
'--new-window',
|
|
@@ -827,29 +826,47 @@ class MyTunesApp:
|
|
|
827
826
|
launched = True; break
|
|
828
827
|
except: pass
|
|
829
828
|
|
|
830
|
-
# 3. WSL (Run Windows Chrome
|
|
829
|
+
# 3. WSL (Run Windows Chrome directly if possible, fallback to cmd.exe)
|
|
831
830
|
elif self.is_wsl():
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
831
|
+
# v1.8.3 - Direct binary execution for maximum precision (Avoids cmd.exe shell splitting)
|
|
832
|
+
# We try standard Windows installation paths via /mnt/c/
|
|
833
|
+
wsl_win_paths = [
|
|
834
|
+
"/mnt/c/Program Files/Google/Chrome/Application/chrome.exe",
|
|
835
|
+
"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",
|
|
836
|
+
"/mnt/c/Program Files/BraveSoftware/Brave-Browser/Application/brave.exe",
|
|
837
|
+
"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe",
|
|
838
|
+
"/mnt/c/Program Files/Microsoft/Edge/Application/msedge.exe",
|
|
839
|
+
]
|
|
840
|
+
# Same precise flags for App Mode
|
|
841
|
+
wsl_win_flags = [
|
|
842
|
+
f'--app={live_url}',
|
|
843
|
+
'--window-size=712,800',
|
|
844
|
+
'--window-position=100,100',
|
|
845
|
+
'--new-window',
|
|
846
|
+
'--no-first-run',
|
|
847
|
+
'--disable-extensions'
|
|
848
|
+
]
|
|
849
|
+
|
|
850
|
+
launched_direct = False
|
|
851
|
+
for p in wsl_win_paths:
|
|
852
|
+
if os.path.exists(p):
|
|
853
|
+
try:
|
|
854
|
+
# Direct execution from WSL to Windows binary is extremely stable
|
|
855
|
+
subprocess.Popen([p] + wsl_win_flags, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
|
856
|
+
launched = True; launched_direct = True; break
|
|
857
|
+
except: pass
|
|
858
|
+
|
|
859
|
+
if not launched_direct:
|
|
849
860
|
try:
|
|
850
|
-
|
|
861
|
+
# Final fallback: cmd.exe start (Literal strings, no title)
|
|
862
|
+
cmd_fallback = f'start chrome --app={live_url} --window-size=712,800 --new-window'
|
|
863
|
+
subprocess.Popen(["cmd.exe", "/c", cmd_fallback], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
|
851
864
|
launched = True
|
|
852
|
-
except:
|
|
865
|
+
except:
|
|
866
|
+
try:
|
|
867
|
+
subprocess.Popen(["cmd.exe", "/c", "start", live_url], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
|
868
|
+
launched = True
|
|
869
|
+
except: pass
|
|
853
870
|
|
|
854
871
|
# 4. Native Linux
|
|
855
872
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mytunes-pro
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.3
|
|
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
|
|
@@ -19,7 +19,7 @@ Dynamic: license-file
|
|
|
19
19
|
|
|
20
20
|
# 🎵 MyTunes Pro (Korean)
|
|
21
21
|
|
|
22
|
-
**현대적인 CLI 유튜브 뮤직 플레이어 (v1.
|
|
22
|
+
**현대적인 CLI 유튜브 뮤직 플레이어 (v1.8.3)**
|
|
23
23
|
터미널 환경에서 **YouTube 음악을 검색하여 듣는** 가볍고 빠른 키보드 중심의 플레이어입니다.
|
|
24
24
|
한국어 입력 환경에서도 **숫자 키(1~5)**를 통해 지연 없는 쾌적한 조작이 가능합니다.
|
|
25
25
|
|
|
@@ -208,7 +208,7 @@ Windows 환경에서 한글 검색이 안 되거나 설치가 어려운 분들
|
|
|
208
208
|
|
|
209
209
|
# 🎵 MyTunes Pro (English)
|
|
210
210
|
|
|
211
|
-
**Modern CLI YouTube Music Player (v1.
|
|
211
|
+
**Modern CLI YouTube Music Player (v1.8.3)**
|
|
212
212
|
A lightweight, keyboard-centric terminal player for streaming YouTube music.
|
|
213
213
|
|
|
214
214
|
---
|
|
@@ -296,7 +296,24 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
|
|
|
296
296
|
|
|
297
297
|
## 🔄 Changelog
|
|
298
298
|
|
|
299
|
-
### v1.
|
|
299
|
+
### v1.8.3 (Latest)
|
|
300
|
+
|
|
301
|
+
- **Direct Binary Execution (WSL)**: Resolved shell parsing issues by bypassing `cmd.exe` and directly executing Windows browser binaries via `/mnt/c/` paths.
|
|
302
|
+
- **App Mode Reliability**: Guaranteed 712x800 popup mode by ensuring flags are delivered directly to the browser process without intermediate shell mangling.
|
|
303
|
+
- **Fixed URL Resolution**: Eliminated the "Empty URL" bug by standardizing argument passing between WSL and Windows.
|
|
304
|
+
|
|
305
|
+
### v1.8.1
|
|
306
|
+
|
|
307
|
+
- **Fixed App Mode (WSL/Win)**: Guaranteed the browser opens in a clean "App Mode" popup by fixing shell quoting issues in the launch command.
|
|
308
|
+
- **URL Resolution Fix**: Resolved the "Empty URL" bug on WSL/Windows by ensuring the `--app` flag is correctly parsed by the native Windows shell.
|
|
309
|
+
- **Reliable Popup UI**: Standardized on `start "" chrome` for WSL to ensure flags are never misidentified as window titles.
|
|
310
|
+
|
|
311
|
+
### v1.8.0
|
|
312
|
+
|
|
313
|
+
- **Stabilized Browser Launch (Windows/WSL)**: Completely removed the `--user-data-dir` flag for all Windows-based environments. This permanently resolves the "cannot read or write" directory errors while maintaining reliable 712x800 window sizing through pure app-mode flags.
|
|
314
|
+
- **Clean CMD Execution**: Simplified the WSL-to-Windows transition by using standard `cmd.exe` calls without complex path or variable expansion, ensuring consistent behavior across all systems.
|
|
315
|
+
|
|
316
|
+
### v1.7.9
|
|
300
317
|
|
|
301
318
|
- **Pure CMD-based Launch (WSL/Win)**: Final fix for WSL-to-Windows browser launch using `cmd.exe /c` with native `%LOCALAPPDATA%` expansion.
|
|
302
319
|
- **Directory Reliability**: Ensured Chrome data directory creation and access by using native Windows shell commands, eliminating the "cannot read or write" errors seen in v1.7.8.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|