mytunes-pro 1.7.6__tar.gz → 1.7.7__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.6
3
+ Version: 1.7.7
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.6)**
22
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.7)**
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.6)**
211
+ **Modern CLI YouTube Music Player (v1.7.7)**
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.6 (Latest)
299
+ ### v1.7.7 (Latest)
300
+
301
+ - **PowerShell Launch (WSL/Win)**: Switched to `powershell.exe` for launching browsers from WSL to ensure robust argument parsing and path handling.
302
+ - **Directory Fix**: Resolved "cannot read or write" error on Windows/WSL by utilizing `$env:TEMP` directly within a native shell context.
303
+ - **Reliable Sizing**: Guaranteed window size application by combining isolated profiles with PowerShell's superior process management.
304
+
305
+ ### v1.7.6
300
306
 
301
307
  - **Isolated Browser Profile**: Guaranteed window sizing for the Live Station (F8) on Windows/WSL by forcing an isolated browser profile using the Windows `%TEMP%` directory.
302
308
  - **WSL Path Translation**: Implemented automatic Windows temp path resolution in WSL to enable session persistence and profile isolation.
@@ -1,6 +1,6 @@
1
1
  # 🎵 MyTunes Pro (Korean)
2
2
 
3
- **현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.6)**
3
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.7)**
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.6)**
192
+ **Modern CLI YouTube Music Player (v1.7.7)**
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.6 (Latest)
280
+ ### v1.7.7 (Latest)
281
+
282
+ - **PowerShell Launch (WSL/Win)**: Switched to `powershell.exe` for launching browsers from WSL to ensure robust argument parsing and path handling.
283
+ - **Directory Fix**: Resolved "cannot read or write" error on Windows/WSL by utilizing `$env:TEMP` directly within a native shell context.
284
+ - **Reliable Sizing**: Guaranteed window size application by combining isolated profiles with PowerShell's superior process management.
285
+
286
+ ### v1.7.6
281
287
 
282
288
  - **Isolated Browser Profile**: Guaranteed window sizing for the Live Station (F8) on Windows/WSL by forcing an isolated browser profile using the Windows `%TEMP%` directory.
283
289
  - **WSL Path Translation**: Implemented automatic Windows temp path resolution in WSL to enable session persistence and profile isolation.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mytunes-pro"
7
- version = "1.7.6"
7
+ version = "1.7.7"
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.6"
38
+ APP_VERSION = "1.7.7"
39
39
 
40
40
  # === [Strings & Localization] ===
41
41
  STRINGS = {
@@ -819,32 +819,29 @@ class MyTunesApp:
819
819
  launched = True; break
820
820
  except: pass
821
821
 
822
- # 3. WSL (Run Windows Chrome via cmd.exe)
822
+ # 3. WSL (Run Windows Chrome via powershell.exe for robust quoting/paths)
823
823
  elif self.is_wsl():
824
824
  try:
825
- # Get Windows TEMP path to use for isolated profile
826
- win_temp = subprocess.check_output(["cmd.exe", "/c", "echo %TEMP%"], text=True).strip()
827
- # Ensure path is Windows-style and has our unique folder
828
- w_profile = os.path.join(win_temp, f"mytunes_v176_{int(time.time() / 10)}")
829
-
830
- # Construct wsl_flags: order matters, --app and --window-size first
831
- # Using double quotes for Windows and carefully escaping for cmd.exe
832
- wsl_args = [
825
+ # In WSL, use powershell to get a clean Windows-native launch.
826
+ # Start-Process handles the argument list much better than cmd.exe /c
827
+ # We use $env:TEMP to ensure a valid, writable Windows path.
828
+ ps_args = [
833
829
  f'--app="{live_url}"',
834
830
  '--window-size=712,800',
835
831
  '--window-position=100,100',
836
- f'--user-data-dir="{w_profile}"',
832
+ '--user-data-dir=$env:TEMP\\mytunes_v177',
837
833
  '--new-window',
838
834
  '--no-first-run',
839
835
  '--disable-extensions'
840
836
  ]
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}'
841
840
 
842
- # Use cmd.exe /c start chrome ...
843
- cmd = f"start chrome {' '.join(wsl_args)}"
844
- subprocess.Popen(["cmd.exe", "/c", cmd], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
841
+ subprocess.Popen(["powershell.exe", "-NoProfile", "-Command", ps_command], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
845
842
  launched = True
846
843
  except:
847
- # Fallback to general start if chrome command or temp resolution fails
844
+ # Fallback to cmd.exe start
848
845
  try:
849
846
  subprocess.Popen(["cmd.exe", "/c", "start", live_url], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
850
847
  launched = True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mytunes-pro
3
- Version: 1.7.6
3
+ Version: 1.7.7
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.6)**
22
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.7.7)**
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.6)**
211
+ **Modern CLI YouTube Music Player (v1.7.7)**
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.6 (Latest)
299
+ ### v1.7.7 (Latest)
300
+
301
+ - **PowerShell Launch (WSL/Win)**: Switched to `powershell.exe` for launching browsers from WSL to ensure robust argument parsing and path handling.
302
+ - **Directory Fix**: Resolved "cannot read or write" error on Windows/WSL by utilizing `$env:TEMP` directly within a native shell context.
303
+ - **Reliable Sizing**: Guaranteed window size application by combining isolated profiles with PowerShell's superior process management.
304
+
305
+ ### v1.7.6
300
306
 
301
307
  - **Isolated Browser Profile**: Guaranteed window sizing for the Live Station (F8) on Windows/WSL by forcing an isolated browser profile using the Windows `%TEMP%` directory.
302
308
  - **WSL Path Translation**: Implemented automatic Windows temp path resolution in WSL to enable session persistence and profile isolation.
File without changes
File without changes