mytunes-pro 1.8.5__py3-none-any.whl → 1.8.7__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 +18 -6
- {mytunes_pro-1.8.5.dist-info → mytunes_pro-1.8.7.dist-info}/METADATA +14 -4
- mytunes_pro-1.8.7.dist-info/RECORD +8 -0
- mytunes_pro-1.8.5.dist-info/RECORD +0 -8
- {mytunes_pro-1.8.5.dist-info → mytunes_pro-1.8.7.dist-info}/WHEEL +0 -0
- {mytunes_pro-1.8.5.dist-info → mytunes_pro-1.8.7.dist-info}/entry_points.txt +0 -0
- {mytunes_pro-1.8.5.dist-info → mytunes_pro-1.8.7.dist-info}/licenses/LICENSE +0 -0
- {mytunes_pro-1.8.5.dist-info → mytunes_pro-1.8.7.dist-info}/top_level.txt +0 -0
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.8.
|
|
38
|
+
APP_VERSION = "1.8.7"
|
|
39
39
|
|
|
40
40
|
# === [Strings & Localization] ===
|
|
41
41
|
STRINGS = {
|
|
@@ -758,20 +758,31 @@ class MyTunesApp:
|
|
|
758
758
|
self.status_msg = "🌐 Opening YouTube in Browser..."
|
|
759
759
|
threading.Thread(target=webbrowser.open, args=(url,), daemon=True).start()
|
|
760
760
|
|
|
761
|
-
# Open Live Station:
|
|
761
|
+
# Open Live Station (F8): App Mode with Optimized Flags (v1.8.6)
|
|
762
762
|
elif key == curses.KEY_F8:
|
|
763
763
|
live_url = "https://mytunes.postgresql.co.kr/live/"
|
|
764
764
|
if self.is_remote():
|
|
765
765
|
self.show_copy_dialog("Live Station", live_url)
|
|
766
766
|
return
|
|
767
767
|
|
|
768
|
-
#
|
|
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
|
+
|
|
771
|
+
# Optimized Flag Set (Context7 Research)
|
|
769
772
|
flags = [
|
|
770
773
|
f"--app={live_url}",
|
|
771
774
|
"--window-size=712,800",
|
|
772
775
|
"--window-position=100,100",
|
|
773
|
-
"--
|
|
776
|
+
f"--user-data-dir={temp_user_data}",
|
|
774
777
|
"--no-first-run",
|
|
778
|
+
"--no-default-browser-check",
|
|
779
|
+
"--disable-default-apps",
|
|
780
|
+
"--disable-infobars",
|
|
781
|
+
"--disable-translate",
|
|
782
|
+
"--disable-features=Translation",
|
|
783
|
+
"--disable-save-password-bubble",
|
|
784
|
+
"--autoplay-policy=no-user-gesture-required",
|
|
785
|
+
"--new-window",
|
|
775
786
|
"--disable-extensions"
|
|
776
787
|
]
|
|
777
788
|
|
|
@@ -783,6 +794,7 @@ class MyTunesApp:
|
|
|
783
794
|
for b_path in browsers:
|
|
784
795
|
if os.path.exists(b_path):
|
|
785
796
|
try:
|
|
797
|
+
# Use -na to open a fresh instance
|
|
786
798
|
subprocess.Popen(["open", "-na", b_path, "--args"] + flags, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
|
787
799
|
launched = True; break
|
|
788
800
|
except: pass
|
|
@@ -819,8 +831,8 @@ class MyTunesApp:
|
|
|
819
831
|
|
|
820
832
|
if not launched:
|
|
821
833
|
try:
|
|
822
|
-
# Fallback for WSL to CMD
|
|
823
|
-
subprocess.Popen(["cmd.exe", "/c", f"start chrome --app={live_url}"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, start_new_session=True)
|
|
834
|
+
# Fallback for WSL to CMD (Keep flags for consistency)
|
|
835
|
+
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)
|
|
824
836
|
launched = True
|
|
825
837
|
except: pass
|
|
826
838
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mytunes-pro
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.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.8.
|
|
22
|
+
**현대적인 CLI 유튜브 뮤직 플레이어 (v1.8.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.8.
|
|
211
|
+
**Modern CLI YouTube Music Player (v1.8.7)**
|
|
212
212
|
A lightweight, keyboard-centric terminal player for streaming YouTube music.
|
|
213
213
|
|
|
214
214
|
---
|
|
@@ -296,7 +296,17 @@ sudo apt install mpv python3 python3-pip pipx python3-venv -y
|
|
|
296
296
|
|
|
297
297
|
## 🔄 Changelog
|
|
298
298
|
|
|
299
|
-
### v1.8.
|
|
299
|
+
### v1.8.7 (Hotfix)
|
|
300
|
+
|
|
301
|
+
- **Syntax Fix (WSL)**: Corrected a typo in the browser launch command that caused a crash on Linux/WSL systems.
|
|
302
|
+
|
|
303
|
+
### v1.8.6
|
|
304
|
+
|
|
305
|
+
- **Browser Popup Optimization (Context7)**: Improved Live Station (F8) experience with optimized CLI flags for a perfectly minimalist UI.
|
|
306
|
+
- **Forced Window Dimensions**: Implemented profile isolation using a timestamped `user-data-dir` to ensure window size and position are always respected, overriding session memory.
|
|
307
|
+
- **UI Cleanup**: Automatically hides distraction-bars (translation, password, automation infobars) and enables instant autoplay for live streams.
|
|
308
|
+
|
|
309
|
+
### v1.8.5
|
|
300
310
|
|
|
301
311
|
- **Looping Navigation (Menu Wrapping)**: Pressing UP at the first item now wraps to the last item, and pressing DOWN at the last item wraps to the first.
|
|
302
312
|
- **Improved UI Flow**: Enhanced keyboard navigation experience across all list views (Main, Search, Favorites, History).
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
mytunes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
mytunes/app.py,sha256=ukROEXbFP_V2_IEjD9vs3c-p8XyPeXcRycUGd1g4LNM,60396
|
|
3
|
+
mytunes_pro-1.8.7.dist-info/licenses/LICENSE,sha256=lOrP0EIjxcgJia__W3f3PVDZkRd2oRzFkyH2g3LRRCg,1063
|
|
4
|
+
mytunes_pro-1.8.7.dist-info/METADATA,sha256=Dd3cEGmQ3J83Jxy5pXdUe-2Y-vRBkzmdC58CaDbLc7U,18168
|
|
5
|
+
mytunes_pro-1.8.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
6
|
+
mytunes_pro-1.8.7.dist-info/entry_points.txt,sha256=6-MsC13nIgzLvrREaGotc32FgxHx_Iuu1z2qCzJs1_4,65
|
|
7
|
+
mytunes_pro-1.8.7.dist-info/top_level.txt,sha256=KWzdFyNNG_sO7GT83-sN5fYArP4_DL5I8HYIwgazXyY,8
|
|
8
|
+
mytunes_pro-1.8.7.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
mytunes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
mytunes/app.py,sha256=HyaRwiTtall9kcCj9JOs-93QPk6Nr15HQC_3ENfvqgI,59636
|
|
3
|
-
mytunes_pro-1.8.5.dist-info/licenses/LICENSE,sha256=lOrP0EIjxcgJia__W3f3PVDZkRd2oRzFkyH2g3LRRCg,1063
|
|
4
|
-
mytunes_pro-1.8.5.dist-info/METADATA,sha256=uFEB7IuCMadyb02juYp_6sCkI6GAuWhJ4_Y67GGo7eI,17561
|
|
5
|
-
mytunes_pro-1.8.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
6
|
-
mytunes_pro-1.8.5.dist-info/entry_points.txt,sha256=6-MsC13nIgzLvrREaGotc32FgxHx_Iuu1z2qCzJs1_4,65
|
|
7
|
-
mytunes_pro-1.8.5.dist-info/top_level.txt,sha256=KWzdFyNNG_sO7GT83-sN5fYArP4_DL5I8HYIwgazXyY,8
|
|
8
|
-
mytunes_pro-1.8.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|