mytunes-pro 1.9.0__py3-none-any.whl → 1.9.2__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 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.9.0"
38
+ APP_VERSION = "1.9.2"
39
39
 
40
40
  # === [Strings & Localization] ===
41
41
  STRINGS = {
@@ -765,16 +765,12 @@ class MyTunesApp:
765
765
  self.show_copy_dialog("Live Station", live_url)
766
766
  return
767
767
 
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).
768
+ # v1.9.2 - Critical WSL Fix: Disable Profile Isolation
769
+ # Executing cmd.exe or managing paths in WSL has proven unstable due to environment differences.
770
+ # We explicitly DISABLE profile isolation in WSL, using the default Chrome profile data.
771
+ # This ensures stability at the cost of session isolation.
771
772
  if self.is_wsl():
772
- try:
773
- win_temp = subprocess.check_output(["cmd.exe", "/c", "echo %TEMP%"], text=True).strip()
774
- temp_user_data = f"{win_temp}\\mytunes_v190_{int(time.time() / 10)}"
775
- except:
776
- # Fallback to local temp if retrieval fails (unlikely)
777
- temp_user_data = os.path.join(tempfile.gettempdir(), f"mytunes_v190_{int(time.time() / 10)}")
773
+ temp_user_data = None
778
774
  else:
779
775
  temp_user_data = os.path.join(tempfile.gettempdir(), f"mytunes_v190_{int(time.time() / 10)}")
780
776
 
@@ -783,7 +779,21 @@ class MyTunesApp:
783
779
  f"--app={live_url}",
784
780
  "--window-size=712,800",
785
781
  "--window-position=100,100",
786
- f"--user-data-dir={temp_user_data}",
782
+ "--no-first-run",
783
+ "--no-default-browser-check",
784
+ "--disable-default-apps",
785
+ "--disable-infobars",
786
+ "--disable-translate",
787
+ "--disable-features=Translation",
788
+ "--disable-save-password-bubble",
789
+ "--autoplay-policy=no-user-gesture-required",
790
+ "--new-window",
791
+ "--disable-extensions"
792
+ ]
793
+
794
+ # Only add user-data-dir if we have a valid path (Non-WSL)
795
+ if temp_user_data:
796
+ flags.append(f"--user-data-dir={temp_user_data}")
787
797
  "--no-first-run",
788
798
  "--no-default-browser-check",
789
799
  "--disable-default-apps",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mytunes-pro
3
- Version: 1.9.0
3
+ Version: 1.9.2
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.9.0)**
22
+ **현대적인 CLI 유튜브 뮤직 플레이어 (v1.9.2)**
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.9.0)**
211
+ **Modern CLI YouTube Music Player (v1.9.2)**
212
212
  A lightweight, keyboard-centric terminal player for streaming YouTube music.
213
213
 
214
214
  ---
@@ -296,7 +296,15 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
296
296
 
297
297
  ## 🔄 Changelog
298
298
 
299
- ### v1.9.0 (Latest)
299
+ ### v1.9.2 (Latest)
300
+
301
+ - **Disable WSL Profile Isolation**: To ensure maximum stability and prevent `cmd.exe` conflicts, MyTunes now temporarily disables profile isolation (forced window size/position) on WSL. It runs using the default Chrome profile, guaranteeing reliable launching.
302
+
303
+ ### v1.9.1
304
+
305
+ - **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.
306
+
307
+ ### v1.9.0
300
308
 
301
309
  - **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.
302
310
 
@@ -0,0 +1,8 @@
1
+ mytunes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ mytunes/app.py,sha256=BqbHLz27-mvwxSQTaEuyRenZ8tuyPru8bxxTImUwLfk,61333
3
+ mytunes_pro-1.9.2.dist-info/licenses/LICENSE,sha256=lOrP0EIjxcgJia__W3f3PVDZkRd2oRzFkyH2g3LRRCg,1063
4
+ mytunes_pro-1.9.2.dist-info/METADATA,sha256=PX8D4yeGVe_e7wWPxQjZB_K9k3DK15Zpn5eibu1b-ns,19427
5
+ mytunes_pro-1.9.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
6
+ mytunes_pro-1.9.2.dist-info/entry_points.txt,sha256=6-MsC13nIgzLvrREaGotc32FgxHx_Iuu1z2qCzJs1_4,65
7
+ mytunes_pro-1.9.2.dist-info/top_level.txt,sha256=KWzdFyNNG_sO7GT83-sN5fYArP4_DL5I8HYIwgazXyY,8
8
+ mytunes_pro-1.9.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- mytunes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- mytunes/app.py,sha256=1blHa9mApUEaBzhgg0QGmfcBo624L6pHzSkX3EgDWAE,61053
3
- mytunes_pro-1.9.0.dist-info/licenses/LICENSE,sha256=lOrP0EIjxcgJia__W3f3PVDZkRd2oRzFkyH2g3LRRCg,1063
4
- mytunes_pro-1.9.0.dist-info/METADATA,sha256=08SsLI1AXVg5ck9H99AcSgGFbPDYZtmVwG4s0HrfY6E,18870
5
- mytunes_pro-1.9.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
6
- mytunes_pro-1.9.0.dist-info/entry_points.txt,sha256=6-MsC13nIgzLvrREaGotc32FgxHx_Iuu1z2qCzJs1_4,65
7
- mytunes_pro-1.9.0.dist-info/top_level.txt,sha256=KWzdFyNNG_sO7GT83-sN5fYArP4_DL5I8HYIwgazXyY,8
8
- mytunes_pro-1.9.0.dist-info/RECORD,,