mytunes-pro 1.7.7__py3-none-any.whl → 1.7.9__py3-none-any.whl
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/app.py +15 -13
- {mytunes_pro-1.7.7.dist-info → mytunes_pro-1.7.9.dist-info}/METADATA +16 -4
- mytunes_pro-1.7.9.dist-info/RECORD +8 -0
- mytunes_pro-1.7.7.dist-info/RECORD +0 -8
- {mytunes_pro-1.7.7.dist-info → mytunes_pro-1.7.9.dist-info}/WHEEL +0 -0
- {mytunes_pro-1.7.7.dist-info → mytunes_pro-1.7.9.dist-info}/entry_points.txt +0 -0
- {mytunes_pro-1.7.7.dist-info → mytunes_pro-1.7.9.dist-info}/licenses/LICENSE +0 -0
- {mytunes_pro-1.7.7.dist-info → mytunes_pro-1.7.9.dist-info}/top_level.txt +0 -0
mytunes/app.py
CHANGED
|
@@ -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.7.
|
|
38
|
+
APP_VERSION = "1.7.9"
|
|
39
39
|
|
|
40
40
|
# === [Strings & Localization] ===
|
|
41
41
|
STRINGS = {
|
|
@@ -819,29 +819,31 @@ class MyTunesApp:
|
|
|
819
819
|
launched = True; break
|
|
820
820
|
except: pass
|
|
821
821
|
|
|
822
|
-
# 3. WSL (Run Windows Chrome via
|
|
822
|
+
# 3. WSL (Run Windows Chrome via cmd.exe for reliable %LOCALAPPDATA% expansion)
|
|
823
823
|
elif self.is_wsl():
|
|
824
824
|
try:
|
|
825
|
-
#
|
|
826
|
-
#
|
|
827
|
-
#
|
|
828
|
-
|
|
829
|
-
|
|
825
|
+
# Switching to cmd.exe as requested. cmd expand variables like %LOCALAPPDATA% natively.
|
|
826
|
+
# 1. Create directory in standard Windows local app data
|
|
827
|
+
# 2. Launch chrome with explicit window flags
|
|
828
|
+
p_dir = "%LOCALAPPDATA%\\MyTunesApp\\v179"
|
|
829
|
+
|
|
830
|
+
c_args = [
|
|
831
|
+
f'--app=\"{live_url}\"',
|
|
830
832
|
'--window-size=712,800',
|
|
831
833
|
'--window-position=100,100',
|
|
832
|
-
'--user-data-dir
|
|
834
|
+
f'--user-data-dir=\"{p_dir}\"',
|
|
833
835
|
'--new-window',
|
|
834
836
|
'--no-first-run',
|
|
835
837
|
'--disable-extensions'
|
|
836
838
|
]
|
|
837
|
-
# Join with commas for PowerShell -ArgumentList
|
|
838
|
-
arg_list = ",".join([f"'{a}'" for a in ps_args])
|
|
839
|
-
ps_command = f'Start-Process chrome -ArgumentList {arg_list}'
|
|
840
839
|
|
|
841
|
-
|
|
840
|
+
# Chain commands: mkdir (ignore error if exists) then start chrome
|
|
841
|
+
full_cmd = f'mkdir "{p_dir}" 2>nul & start chrome {" ".join(c_args)}'
|
|
842
|
+
|
|
843
|
+
subprocess.Popen(["cmd.exe", "/c", full_cmd], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
|
842
844
|
launched = True
|
|
843
845
|
except:
|
|
844
|
-
# Fallback to
|
|
846
|
+
# Fallback to general start
|
|
845
847
|
try:
|
|
846
848
|
subprocess.Popen(["cmd.exe", "/c", "start", live_url], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
|
847
849
|
launched = True
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mytunes-pro
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.9
|
|
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.7.
|
|
22
|
+
**현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.9)**
|
|
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.7.
|
|
211
|
+
**Modern CLI YouTube Music Player (v1.7.9)**
|
|
212
212
|
A lightweight, keyboard-centric terminal player for streaming YouTube music.
|
|
213
213
|
|
|
214
214
|
---
|
|
@@ -296,7 +296,19 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
|
|
|
296
296
|
|
|
297
297
|
## 🔄 Changelog
|
|
298
298
|
|
|
299
|
-
### v1.7.
|
|
299
|
+
### v1.7.9 (Latest)
|
|
300
|
+
|
|
301
|
+
- **Pure CMD-based Launch (WSL/Win)**: Final fix for WSL-to-Windows browser launch using `cmd.exe /c` with native `%LOCALAPPDATA%` expansion.
|
|
302
|
+
- **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.
|
|
303
|
+
- **Stable Window Sizing**: Guaranteed 712x800 window size for Live Station (F8) from WSL by correctly isolating browser profiles via native Windows paths.
|
|
304
|
+
|
|
305
|
+
### v1.7.8
|
|
306
|
+
|
|
307
|
+
- **Native PowerShell Profile Management**: Resolved directory read/write errors in WSL by moving all profile creation and path handling to the Windows side via PowerShell.
|
|
308
|
+
- **Improved Security & Isolation**: Profiles are now created in the standard Windows `LOCALAPPDATA` directory with native permissions, ensuring Chrome can always access its data.
|
|
309
|
+
- **Backslash Consistency**: Forced backslash-only paths through pure PowerShell logic, fixing the mixed-slash issue seen in WSL.
|
|
310
|
+
|
|
311
|
+
### v1.7.7
|
|
300
312
|
|
|
301
313
|
- **PowerShell Launch (WSL/Win)**: Switched to `powershell.exe` for launching browsers from WSL to ensure robust argument parsing and path handling.
|
|
302
314
|
- **Directory Fix**: Resolved "cannot read or write" error on Windows/WSL by utilizing `$env:TEMP` directly within a native shell context.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
mytunes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
mytunes/app.py,sha256=FItWWuwVnfi8md90i1FHp1Goy5RlO7on_oMc9I2l0OM,60922
|
|
3
|
+
mytunes_pro-1.7.9.dist-info/licenses/LICENSE,sha256=lOrP0EIjxcgJia__W3f3PVDZkRd2oRzFkyH2g3LRRCg,1063
|
|
4
|
+
mytunes_pro-1.7.9.dist-info/METADATA,sha256=_pveSQY9RzLBGnpCp3vg62hHEI3DLmDbJvBu4hZcHOg,15294
|
|
5
|
+
mytunes_pro-1.7.9.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
6
|
+
mytunes_pro-1.7.9.dist-info/entry_points.txt,sha256=6-MsC13nIgzLvrREaGotc32FgxHx_Iuu1z2qCzJs1_4,65
|
|
7
|
+
mytunes_pro-1.7.9.dist-info/top_level.txt,sha256=KWzdFyNNG_sO7GT83-sN5fYArP4_DL5I8HYIwgazXyY,8
|
|
8
|
+
mytunes_pro-1.7.9.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
mytunes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
mytunes/app.py,sha256=0_JHNuiBEQd_FemNQa8LucGkhKte72i1NVN6q_Jqkko,60895
|
|
3
|
-
mytunes_pro-1.7.7.dist-info/licenses/LICENSE,sha256=lOrP0EIjxcgJia__W3f3PVDZkRd2oRzFkyH2g3LRRCg,1063
|
|
4
|
-
mytunes_pro-1.7.7.dist-info/METADATA,sha256=5G92rHQnwBbBftKB9OIm3vWYeNYgKVQl73hQwWiFIBM,14306
|
|
5
|
-
mytunes_pro-1.7.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
6
|
-
mytunes_pro-1.7.7.dist-info/entry_points.txt,sha256=6-MsC13nIgzLvrREaGotc32FgxHx_Iuu1z2qCzJs1_4,65
|
|
7
|
-
mytunes_pro-1.7.7.dist-info/top_level.txt,sha256=KWzdFyNNG_sO7GT83-sN5fYArP4_DL5I8HYIwgazXyY,8
|
|
8
|
-
mytunes_pro-1.7.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|