aboutsummaryrefslogtreecommitdiff
path: root/yt_music/__yt_music__.py
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2024-02-21 22:40:11 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2024-02-21 22:40:11 +0530
commitb28af7fd12630c8abafc13048a1bc7627555377e (patch)
tree8bbe9673271425ecfab22c3f8a8ae74add6721c6 /yt_music/__yt_music__.py
parent1d4c1a2aebe40775bc046f0aca94980ec7f5e466 (diff)
downloadyt-music-b28af7fd12630c8abafc13048a1bc7627555377e.zip
yt-music-b28af7fd12630c8abafc13048a1bc7627555377e.tar.gz
chore: button added to yt-music
Diffstat (limited to 'yt_music/__yt_music__.py')
-rw-r--r--yt_music/__yt_music__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_music/__yt_music__.py b/yt_music/__yt_music__.py
index 9d8c0a3..e1c4304 100644
--- a/yt_music/__yt_music__.py
+++ b/yt_music/__yt_music__.py
@@ -86,6 +86,7 @@ def play_loop(video_id, video_title):
small_text = "yt-music",
start = start,
details = f"{video_title} - loop",
+ buttons = [{"label": "Play on YouTube Music", "url": f"https://music.youtube.com/watch?v={video_id}"}],
)
args = [
@@ -110,6 +111,7 @@ def play(video_id, video_title):
small_text = "yt-music",
start = start,
details = video_title,
+ buttons = [{"label": "Play on YouTube Music", "url": f"https://music.youtube.com/watch?v={video_id}"}],
)
args = [