mytunes-pro 1.7.9__tar.gz → 1.8.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mytunes-pro
3
- Version: 1.7.9
3
+ Version: 1.8.1
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.9)**
22
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.8.1)**
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.9)**
211
+ **Modern CLI YouTube Music Player (v1.8.1)**
212
212
  A lightweight, keyboard-centric terminal player for streaming YouTube music.
213
213
 
214
214
  ---
@@ -296,7 +296,18 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
296
296
 
297
297
  ## 🔄 Changelog
298
298
 
299
- ### v1.7.9 (Latest)
299
+ ### v1.8.1 (Latest)
300
+
301
+ - **Fixed App Mode (WSL/Win)**: Guaranteed the browser opens in a clean "App Mode" popup by fixing shell quoting issues in the launch command.
302
+ - **URL Resolution Fix**: Resolved the "Empty URL" bug on WSL/Windows by ensuring the `--app` flag is correctly parsed by the native Windows shell.
303
+ - **Reliable Popup UI**: Standardized on `start "" chrome` for WSL to ensure flags are never misidentified as window titles.
304
+
305
+ ### v1.8.0
306
+
307
+ - **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.
308
+ - **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.
309
+
310
+ ### v1.7.9
300
311
 
301
312
  - **Pure CMD-based Launch (WSL/Win)**: Final fix for WSL-to-Windows browser launch using `cmd.exe /c` with native `%LOCALAPPDATA%` expansion.
302
313
  - **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.7.9)**
3
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.8.1)**
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.7.9)**
192
+ **Modern CLI YouTube Music Player (v1.8.1)**
193
193
  A lightweight, keyboard-centric terminal player for streaming YouTube music.
194
194
 
195
195
  ---
@@ -277,7 +277,18 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
277
277
 
278
278
  ## 🔄 Changelog
279
279
 
280
- ### v1.7.9 (Latest)
280
+ ### v1.8.1 (Latest)
281
+
282
+ - **Fixed App Mode (WSL/Win)**: Guaranteed the browser opens in a clean "App Mode" popup by fixing shell quoting issues in the launch command.
283
+ - **URL Resolution Fix**: Resolved the "Empty URL" bug on WSL/Windows by ensuring the `--app` flag is correctly parsed by the native Windows shell.
284
+ - **Reliable Popup UI**: Standardized on `start "" chrome` for WSL to ensure flags are never misidentified as window titles.
285
+
286
+ ### v1.8.0
287
+
288
+ - **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.
289
+ - **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.
290
+
291
+ ### v1.7.9
281
292
 
282
293
  - **Pure CMD-based Launch (WSL/Win)**: Final fix for WSL-to-Windows browser launch using `cmd.exe /c` with native `%LOCALAPPDATA%` expansion.
283
294
  - **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.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mytunes-pro"
7
- version = "1.7.9"
7
+ version = "1.8.1"
8
8
  authors = [
9
9
  { name = "loxo", email = "loxo5432@gmail.com" },
10
10
  ]
@@ -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.9"
38
+ APP_VERSION = "1.8.1"
39
39
 
40
40
  # === [Strings & Localization] ===
41
41
  STRINGS = {
@@ -809,37 +809,40 @@ 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
- # Windows specific order: --app MUST be early for some Chrome versions to ignore toolbars
813
- win_flags = flags + ["--new-window"]
812
+ # v1.8.1 - Precise: No internal quotes around URL to avoid misparsing as literal parts of URI
813
+ win_flags = [
814
+ f'--app={live_url}',
815
+ '--window-size=712,800',
816
+ '--window-position=100,100',
817
+ '--new-window',
818
+ '--no-first-run',
819
+ '--disable-extensions'
820
+ ]
814
821
  for p in win_paths:
815
822
  if os.path.exists(p):
816
823
  try:
817
- # Use shell=False (default) for list-based Popen on Windows
824
+ # Use list-based Popen for native Windows
818
825
  subprocess.Popen([p] + win_flags, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
819
826
  launched = True; break
820
827
  except: pass
821
828
 
822
- # 3. WSL (Run Windows Chrome via cmd.exe for reliable %LOCALAPPDATA% expansion)
829
+ # 3. WSL (Run Windows Chrome via cmd.exe)
823
830
  elif self.is_wsl():
824
831
  try:
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
-
832
+ # v1.8.1 - Pure and Precise for WSL->CMD
833
+ # 1. No internal quotes for the URL (prevents "Empty URL" / navigation failure)
834
+ # 2. Use start "" chrome (Prevents 'start' from hijacking the first flag as a title)
835
+ # 3. Combined flags for maximum compatibility
830
836
  c_args = [
831
- f'--app=\"{live_url}\"',
837
+ f'--app={live_url}',
832
838
  '--window-size=712,800',
833
839
  '--window-position=100,100',
834
- f'--user-data-dir=\"{p_dir}\"',
835
840
  '--new-window',
836
841
  '--no-first-run',
837
842
  '--disable-extensions'
838
843
  ]
839
-
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
-
844
+ # Direct call to chrome via cmd start
845
+ full_cmd = f'start "" chrome {" ".join(c_args)}'
843
846
  subprocess.Popen(["cmd.exe", "/c", full_cmd], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
844
847
  launched = True
845
848
  except:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mytunes-pro
3
- Version: 1.7.9
3
+ Version: 1.8.1
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.9)**
22
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.8.1)**
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.9)**
211
+ **Modern CLI YouTube Music Player (v1.8.1)**
212
212
  A lightweight, keyboard-centric terminal player for streaming YouTube music.
213
213
 
214
214
  ---
@@ -296,7 +296,18 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
296
296
 
297
297
  ## 🔄 Changelog
298
298
 
299
- ### v1.7.9 (Latest)
299
+ ### v1.8.1 (Latest)
300
+
301
+ - **Fixed App Mode (WSL/Win)**: Guaranteed the browser opens in a clean "App Mode" popup by fixing shell quoting issues in the launch command.
302
+ - **URL Resolution Fix**: Resolved the "Empty URL" bug on WSL/Windows by ensuring the `--app` flag is correctly parsed by the native Windows shell.
303
+ - **Reliable Popup UI**: Standardized on `start "" chrome` for WSL to ensure flags are never misidentified as window titles.
304
+
305
+ ### v1.8.0
306
+
307
+ - **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.
308
+ - **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.
309
+
310
+ ### v1.7.9
300
311
 
301
312
  - **Pure CMD-based Launch (WSL/Win)**: Final fix for WSL-to-Windows browser launch using `cmd.exe /c` with native `%LOCALAPPDATA%` expansion.
302
313
  - **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