From b28af7fd12630c8abafc13048a1bc7627555377e Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Wed, 21 Feb 2024 22:40:11 +0530 Subject: chore: button added to yt-music --- pyproject.toml | 2 +- yt_music/__version__.py | 2 +- yt_music/__yt_music__.py | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d697b1f..cb516ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "yt-music" -version = "0.0.4" +version = "0.0.5" description = "A command line YouTube Music client." authors = ["DemonKingSwarn "] license = "GPLv3" diff --git a/yt_music/__version__.py b/yt_music/__version__.py index 017a3e5..7dcb47f 100644 --- a/yt_music/__version__.py +++ b/yt_music/__version__.py @@ -1 +1 @@ -__core__ = "0.0.4" +__core__ = "0.0.5" 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 = [ -- cgit v1.1