mytunes-pro 1.8.8__tar.gz → 1.9.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.8.8
3
+ Version: 1.9.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.8.8)**
22
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.9.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.8.8)**
211
+ **Modern CLI YouTube Music Player (v1.9.1)**
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.8.8 (Latest)
299
+ ### v1.9.1 (Latest)
300
+
301
+ - **Fix CMD Output Pollution (WSL)**: Resolved an issue where `cmd.exe` printed "UNC paths are not supported" warnings when executed from a WSL directory, corrupting the temporary path retrieval. Now parses output safely and executes from `/mnt/c` to prevent warnings.
302
+
303
+ ### v1.9.0
304
+
305
+ - **Fix WSL Profile Error**: Switched to using the **native Windows TEMP directory** (e.g., `C:\Users\...\AppData\Local\Temp`) for the browser profile in WSL. This prevents file locking issues caused by Chrome treating `\\wsl$\` paths as network drives.
306
+
307
+ ### v1.8.9
308
+
309
+ - **Robust WSL Path Fix**: Resolved an issue where direct browser launching (non-fallback) in WSL was still using Linux paths for the profile, causing "User Data Directory" creation errors. Path conversion is now applied globally before launch.
310
+
311
+ ### v1.8.8
300
312
 
301
313
  - **WSL Path Conversion**: Implemented `wslpath -w` logic to correctly convert Linux-style temp paths to Windows format when launching Chrome via `cmd.exe` on WSL.
302
314
 
@@ -1,6 +1,6 @@
1
1
  # 🎵 MyTunes Pro (Korean)
2
2
 
3
- **현대적인 CLI 유튜브 뮤직 플레이어 (v1.8.8)**
3
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.9.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.8.8)**
192
+ **Modern CLI YouTube Music Player (v1.9.1)**
193
193
  A lightweight, keyboard-centric terminal player for streaming YouTube music.
194
194
 
195
195
  ---
@@ -277,7 +277,19 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
277
277
 
278
278
  ## 🔄 Changelog
279
279
 
280
- ### v1.8.8 (Latest)
280
+ ### v1.9.1 (Latest)
281
+
282
+ - **Fix CMD Output Pollution (WSL)**: Resolved an issue where `cmd.exe` printed "UNC paths are not supported" warnings when executed from a WSL directory, corrupting the temporary path retrieval. Now parses output safely and executes from `/mnt/c` to prevent warnings.
283
+
284
+ ### v1.9.0
285
+
286
+ - **Fix WSL Profile Error**: Switched to using the **native Windows TEMP directory** (e.g., `C:\Users\...\AppData\Local\Temp`) for the browser profile in WSL. This prevents file locking issues caused by Chrome treating `\\wsl$\` paths as network drives.
287
+
288
+ ### v1.8.9
289
+
290
+ - **Robust WSL Path Fix**: Resolved an issue where direct browser launching (non-fallback) in WSL was still using Linux paths for the profile, causing "User Data Directory" creation errors. Path conversion is now applied globally before launch.
291
+
292
+ ### v1.8.8
281
293
 
282
294
  - **WSL Path Conversion**: Implemented `wslpath -w` logic to correctly convert Linux-style temp paths to Windows format when launching Chrome via `cmd.exe` on WSL.
283
295
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mytunes-pro"
7
- version = "1.8.8"
7
+ version = "1.9.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.8.8"
38
+ APP_VERSION = "1.9.1"
39
39
 
40
40
  # === [Strings & Localization] ===
41
41
  STRINGS = {
@@ -765,9 +765,24 @@ class MyTunesApp:
765
765
  self.show_copy_dialog("Live Station", live_url)
766
766
  return
767
767
 
768
- # v1.8.6 - Force window size/position by isolating profile
769
- temp_user_data = os.path.join(tempfile.gettempdir(), f"mytunes_v186_{int(time.time() / 10)}")
770
-
768
+ # v1.9.0 - Critical WSL Fix: Use Windows Native Temp Path
769
+ # Chrome on Windows cannot reliably lock files in \\wsl$\ paths (Linux /tmp).
770
+ # We must use the actual Windows %TEMP% directory (e.g., C:\Users\...\Temp).
771
+ if self.is_wsl():
772
+ try:
773
+ # v1.9.1 - Fix CMD Output Pollution
774
+ # cmd.exe often prints "UNC paths are not supported..." warnings in WSL dirs.
775
+ # We run from /mnt/c to avoid this, and parse the LAST line just in case.
776
+ run_dir = "/mnt/c" if os.path.exists("/mnt/c") else "/"
777
+ cmd_out = subprocess.check_output(["cmd.exe", "/c", "echo %TEMP%"], cwd=run_dir, text=True).strip()
778
+ win_temp = cmd_out.splitlines()[-1].strip()
779
+ temp_user_data = f"{win_temp}\\mytunes_v190_{int(time.time() / 10)}"
780
+ except:
781
+ # Fallback to local temp if retrieval fails (unlikely)
782
+ temp_user_data = os.path.join(tempfile.gettempdir(), f"mytunes_v190_{int(time.time() / 10)}")
783
+ else:
784
+ temp_user_data = os.path.join(tempfile.gettempdir(), f"mytunes_v190_{int(time.time() / 10)}")
785
+
771
786
  # Optimized Flag Set (Context7 Research)
772
787
  flags = [
773
788
  f"--app={live_url}",
@@ -831,14 +846,8 @@ class MyTunesApp:
831
846
 
832
847
  if not launched:
833
848
  try:
834
- # Fallback for WSL to CMD (Convert path to Windows format)
835
- win_user_data = temp_user_data
836
- try:
837
- # Use wslpath -w to convert /tmp/... to C:\Users\...
838
- win_user_data = subprocess.check_output(['wslpath', '-w', temp_user_data], text=True).strip()
839
- except: pass
840
-
841
- subprocess.Popen(["cmd.exe", "/c", f"start chrome --app={live_url} --user-data-dir={win_user_data}"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, start_new_session=True)
849
+ # Fallback for WSL to CMD (path is already converted upstream)
850
+ subprocess.Popen(["cmd.exe", "/c", f"start chrome --app={live_url} --user-data-dir={temp_user_data}"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, start_new_session=True)
842
851
  launched = True
843
852
  except: pass
844
853
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mytunes-pro
3
- Version: 1.8.8
3
+ Version: 1.9.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.8.8)**
22
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.9.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.8.8)**
211
+ **Modern CLI YouTube Music Player (v1.9.1)**
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.8.8 (Latest)
299
+ ### v1.9.1 (Latest)
300
+
301
+ - **Fix CMD Output Pollution (WSL)**: Resolved an issue where `cmd.exe` printed "UNC paths are not supported" warnings when executed from a WSL directory, corrupting the temporary path retrieval. Now parses output safely and executes from `/mnt/c` to prevent warnings.
302
+
303
+ ### v1.9.0
304
+
305
+ - **Fix WSL Profile Error**: Switched to using the **native Windows TEMP directory** (e.g., `C:\Users\...\AppData\Local\Temp`) for the browser profile in WSL. This prevents file locking issues caused by Chrome treating `\\wsl$\` paths as network drives.
306
+
307
+ ### v1.8.9
308
+
309
+ - **Robust WSL Path Fix**: Resolved an issue where direct browser launching (non-fallback) in WSL was still using Linux paths for the profile, causing "User Data Directory" creation errors. Path conversion is now applied globally before launch.
310
+
311
+ ### v1.8.8
300
312
 
301
313
  - **WSL Path Conversion**: Implemented `wslpath -w` logic to correctly convert Linux-style temp paths to Windows format when launching Chrome via `cmd.exe` on WSL.
302
314
 
File without changes
File without changes