mytunes-pro 1.7.8__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mytunes-pro
3
- Version: 1.7.8
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
@@ -19,7 +19,7 @@ Dynamic: license-file
19
19
 
20
20
  # 🎵 MyTunes Pro (Korean)
21
21
 
22
- **현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.8)**
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.8)**
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,13 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
296
296
 
297
297
  ## 🔄 Changelog
298
298
 
299
- ### v1.7.8 (Latest)
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
300
306
 
301
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.
302
308
  - **Improved Security & Isolation**: Profiles are now created in the standard Windows `LOCALAPPDATA` directory with native permissions, ensuring Chrome can always access its data.
@@ -1,6 +1,6 @@
1
1
  # 🎵 MyTunes Pro (Korean)
2
2
 
3
- **현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.8)**
3
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.9)**
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.8)**
192
+ **Modern CLI YouTube Music Player (v1.7.9)**
193
193
  A lightweight, keyboard-centric terminal player for streaming YouTube music.
194
194
 
195
195
  ---
@@ -277,7 +277,13 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
277
277
 
278
278
  ## 🔄 Changelog
279
279
 
280
- ### v1.7.8 (Latest)
280
+ ### v1.7.9 (Latest)
281
+
282
+ - **Pure CMD-based Launch (WSL/Win)**: Final fix for WSL-to-Windows browser launch using `cmd.exe /c` with native `%LOCALAPPDATA%` expansion.
283
+ - **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.
284
+ - **Stable Window Sizing**: Guaranteed 712x800 window size for Live Station (F8) from WSL by correctly isolating browser profiles via native Windows paths.
285
+
286
+ ### v1.7.8
281
287
 
282
288
  - **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.
283
289
  - **Improved Security & Isolation**: Profiles are now created in the standard Windows `LOCALAPPDATA` directory with native permissions, ensuring Chrome can always access its data.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mytunes-pro"
7
- version = "1.7.8"
7
+ version = "1.8.0"
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.8"
38
+ APP_VERSION = "1.8.0"
39
39
 
40
40
  # === [Strings & Localization] ===
41
41
  STRINGS = {
@@ -809,40 +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
+ # 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 shell=False (default) for list-based Popen on Windows
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 powershell.exe with pure Windows-side pathing)
830
+ # 3. WSL (Run Windows Chrome via cmd.exe)
823
831
  elif self.is_wsl():
824
832
  try:
825
- # We move ALL logic to PowerShell to avoid WSL path translation issues (mixed slashes).
826
- # 1. Determine profile path in LOCALAPPDATA (Standard Windows writable area)
827
- # 2. Create the directory using Windows-native command
828
- # 3. Start chrome with backslash-safe path
829
- # Using a stable subfolder for MyTunes to avoid Temp cleanup issues but keep it isolated
830
- ps_setup = '$p = \"$env:LOCALAPPDATA\\MyTunesApp\\v178\"; if (!(Test-Path $p)) { New-Item -ItemType Directory -Path $p -Force }'
831
- ps_args = [
833
+ # Pure CMD start without user-data-dir to avoid expansion/path issues.
834
+ # Window sizing works reliably with just these flags.
835
+ c_args = [
832
836
  f'--app=\"{live_url}\"',
833
837
  '--window-size=712,800',
834
838
  '--window-position=100,100',
835
- '--user-data-dir=\"$p\"',
836
839
  '--new-window',
837
840
  '--no-first-run',
838
841
  '--disable-extensions'
839
842
  ]
840
- arg_list = ",".join([f"'{a}'" for a in ps_args])
841
- ps_launch = f'Start-Process chrome -ArgumentList {arg_list}'
842
-
843
- # Full command combining directory setup and launch
844
- full_ps = f"{ps_setup}; {ps_launch}"
845
- subprocess.Popen(["powershell.exe", "-NoProfile", "-Command", full_ps], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
843
+ # Direct call to chrome via cmd start
844
+ full_cmd = f'start chrome {" ".join(c_args)}'
845
+ subprocess.Popen(["cmd.exe", "/c", full_cmd], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
846
846
  launched = True
847
847
  except:
848
848
  # Fallback to general start
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mytunes-pro
3
- Version: 1.7.8
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
@@ -19,7 +19,7 @@ Dynamic: license-file
19
19
 
20
20
  # 🎵 MyTunes Pro (Korean)
21
21
 
22
- **현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.8)**
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.8)**
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,13 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
296
296
 
297
297
  ## 🔄 Changelog
298
298
 
299
- ### v1.7.8 (Latest)
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
300
306
 
301
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.
302
308
  - **Improved Security & Isolation**: Profiles are now created in the standard Windows `LOCALAPPDATA` directory with native permissions, ensuring Chrome can always access its data.
File without changes
File without changes