Linux youtube music player

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)

License

th-ch/youtube-music

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Add plugin to always use the compact sidebar

Git stats

Files

Failed to load latest commit information.

readme.md

Screenshot

Electron wrapper around YouTube Music featuring:

  • Native look & feel, aims at keeping the original interface
  • Framework for custom plugins: change YouTube Music to your needs (style, content, features), enable/disable plugins in one click

You can check out the latest release to quickly find the latest version.

Install the youtube-music-bin package from the AUR. For AUR installation instructions, take a look at this wiki page.

If you get an error «is damaged and can’t be opened.» when launching the app, run the following in the Terminal:

xattr -cr /Applications/YouTube\ Music.app 

You can use the Scoop package manager to install the youtube-music package from the extras bucket.

scoop bucket add extras scoop install extras/youtube-music 

Alternately you can use Winget, Windows 11s official CLI package manager to install the th-ch.YouTubeMusic package.

Читайте также:  Perform mok management linux mint

Note: Microsoft Defender SmartScreen might block the installation since it is from an «unknown publisher». This is also true for the manual installation when trying to run the executable(.exe) after a manual download here on github (same file).

winget install th-ch.YouTubeMusic 
  • Ad Blocker: Block all ads and tracking out of the box
  • Audio Compressor: Apply compression to audio (lowers the volume of the loudest parts of the signal and raises the volume of the softest parts)
  • Blur Nav Bar: makes navigation bar transparent and blurry
  • Bypass age restrictions: bypass YouTube’s age verification
  • Captions selector: Enable captions
  • Compact sidebar: Always set the sidebar in compact mode
  • Crossfade: Crossfade between songs
  • Disable Autoplay: Makes every song start in «paused» mode
  • Discord: Show your friends what you listen to with Rich Presence
  • Downloader: downloads MP3 directly from the interface(youtube-dl)
  • Exponential Volume: Makes the volume slider exponential so it’s easier to select lower volumes.
  • In-App Menu: gives bars a fancy, dark look

(see this post if you have problem accessing the menu after enabling this plugin and hide-menu option)

  • Auto confirm when paused (Always Enabled): disable the «Continue Watching?» popup that pause music after a certain time

If Hide Menu option is on — you can show the menu with the alt key (or ` [backtick] if using the in-app-menu plugin)

You can load CSS files to change the look of the application (Options > Visual Tweaks > Themes).

git clone https://github.com/th-ch/youtube-music cd youtube-music yarn yarn start
  • manipulate the app — the BrowserWindow from electron is passed to the plugin handler
  • change the front by manipulating the HTML/CSS

Create a folder in plugins/YOUR-PLUGIN-NAME :

module.exports = win =>  // win is the BrowserWindow object >;
module.exports = () =>  // This function will be called as a preload script // So you can use front features like `document.querySelector` >;
const path = require("path"); const  injectCSS > = require("../utils"); // back.js module.exports = win =>  injectCSS(win.webContents, path.join(__dirname, "style.css")); >;
// front.js module.exports = () =>  // Remove the login button document.querySelector(".sign-in-link.ytmusic-nav-bar").remove(); >;
  • communicating between the front and back: can be done using the ipcMain module from electron. See utils.js file and example in navigation plugin.
  1. Clone the repo
  2. Run yarn to install dependencies
  3. Run yarn build:OS
    • yarn build:win — Windows
    • yarn build:linux — Linux
    • yarn build:mac — MacOS

Builds the app for macOS, Linux, and Windows, using electron-builder.

Источник

Как установить/использовать YouTube Music в Linux

YouTube Music — это отличный сервис. Но, к сожалению, для пользователей Linux не существует официального клиента, позволяющего пользоваться сервисом. К счастью, сообщество взяло на себя труд создать неофициальное приложение YouTube Music. Вот как использовать его в вашей системе.

Установка YouTube Music в Linux

YouTube Music официально не представлен в Linux. Однако существует приложение сообщества для YouTube Music, которое отлично работает. Чтобы приложение заработало, вам придется открыть окно терминала на рабочем столе Linux.

Чтобы запустить терминал Linux на рабочем столе, нажмите Ctrl + Alt + T на клавиатуре. Или откройте меню приложений на компьютере, найдите «Терминал» и откройте приложение таким образом.

Когда окно терминала открыто и готово к работе, можно приступать к установке YouTube Music. Следуйте приведенным ниже инструкциям по установке, соответствующим используемой вами ОС Linux.

Вы можете установить youtube music в Ubuntu двумя способами, первый способ с помощью моего репозитория, который постоянно обновляется, и вы получите всегда свежую версию приложения, или же просто скачав deb-пакет, и установив его.

Установить YouTube Music с помощью репозитория

Откройте терминал, и введите следующие команды

sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 95E889E0
sudo add-apt-repository "deb http://repo.linuxcool.net/youtube-music jammy main"
sudo apt update && sudo apt install youtube-music

После установки, найдите youtube music в меню приложений

Второй способ с помощью deb-пакета

Ubuntu

Для установки приложения YouTube Music в системе Ubuntu необходим пакет DEB. Используя команду wget download, приведенную ниже, возьмите последний выпуск пакета DEB. Но лучше перейдите на страницу github, чтобы не пропустить последнюю версию

wget https://github.com/th-ch/youtube-music/releases/download/v1.14.0/youtube-music_1.14.0_amd64.deb

Загрузка должна быть быстрой, так как файл имеет небольшой размер. После завершения загрузки используйте команду apt install, чтобы установить DEB-пакет YouTube Music на Ubuntu.

sudo apt install ./youtube-music_1.14.0_amd64.deb

Debian

Вы используете Debian Linux и вам нужно, чтобы последнее неофициальное приложение YouTube Music работало на вашем компьютере? Вам нужно загрузить последний выпуск пакета DEB со страницы разработчика на GitHub.

Чтобы загрузить пакет YouTube Music DEB на свой компьютер в Debian, используйте следующую команду wget download.

wget https://github.com/th-ch/youtube-music/releases/download/v1.14.0/youtube-music_1.14.0_amd64.deb

Когда DEB-пакет загружен на ваш компьютер, можно приступать к установке. С помощью команды dpkg установите YouTube Music в системе Debian Linux.

sudo dpkg -i youtube-music_1.14.0_amd64.deb

После установки DEB вам может понадобиться исправить проблемы с зависимостями, возникшие во время установки. Чтобы исправить эти проблемы, выполните команду apt-get install -f.

Arch Linux

На Arch Linux можно установить неофициальное приложение YouTube Music. Однако там нет пакета Pacman. Вместо этого вам придется установить его из AUR с помощью приложения Trizen.

Как использовать YouTube Music на рабочем столе Linux

Чтобы использовать YouTube Music на компьютере под управлением Linux, следуйте приведенным ниже пошаговым инструкциям.

Шаг 1: Запустите YouTube Music на компьютере с помощью меню приложений. Когда приложение YouTube Music будет открыто, найдите кнопку «Войти» в верхней части страницы и нажмите на нее с помощью мыши.

Шаг 2: После нажатия на кнопку «Войти» откроется страница учетных записей Google. С помощью клавиатуры введите адрес электронной почты, привязанный к вашему аккаунту Google. Затем нажмите на синюю кнопку «Далее».

Шаг 3: После ввода адреса электронной почты аккаунта Google вам будет предложено ввести пароль аккаунта Google. Сделайте это. Затем нажмите кнопку, чтобы войти в свой аккаунт.

Шаг 4: После входа в аккаунт Google приложение YouTube Music загрузит ваши музыкальные предпочтения. Отсюда выберите песню на главном экране, чтобы начать прослушивание.

Особенности приложения YouTube Music Linux

screenshot 20211228 094440

Доступные плагины:

  • Ad Blocker: блокирует всю рекламу и отслеживание из коробки
  • Аудиокомпрессор: применение сжатия к аудио (понижение громкости самых громких частей сигнала и повышение громкости самых тихих частей).
  • Размытие панели навигации: делает панель навигации прозрачной и размытой
  • Отключить автовоспроизведение: заставляет каждую песню начинаться в режиме «паузы».
  • Discord: показать друзьям, что вы слушаете, с помощью Rich Presence
  • Downloader: загрузка MP3 прямо из интерфейса (youtube-dl)
  • Внутриприкладное меню: придает барам модный, темный вид
  • Last.fm: поддержка скроблинга
  • Навигация: стрелки навигации вперед/назад интегрированы непосредственно в интерфейс, как в вашем любимом браузере
  • No Google Login: убрать кнопки и ссылки для входа в Google из интерфейса
  • Уведомления: отображение уведомления, когда песня начинает играть (интерактивные уведомления доступны на окнах)
  • Скорость воспроизведения: слушайте быстро, слушайте медленно! Добавляет ползунок, регулирующий скорость воспроизведения песни
  • Точная громкость: настраиваемые ступени громкости для большего комфорта, позволяет точно управлять громкостью с помощью колеса мыши
  • Изменение качества: Позволяет изменять качество видео с помощью кнопки на наложении видео.
  • Ярлыки: Позволяет установить глобальные горячие клавиши для воспроизведения
  • (play/pause/next/previous) + отключить медиа osd, переопределив медиа клавиши + включить Ctrl/CMD + F для поиска + включить поддержку linux mpris для медиа клавиш + пользовательские горячие клавиши для опытных пользователей
  • SponsorBlock: пропускает не музыкальные фрагменты
  • Управление мультимедиа на панели задач: управление воспроизведением с панели задач Windows
  • Touchbar: пользовательский макет TouchBar для macOS
  • Video Toggle: Добавляет кнопку для переключения между режимами видео и песни. также можно удалить всю вкладку с видео.

Не хотите слушать музыку на главной странице? Нажмите на кнопку «Исследовать», чтобы найти новую музыку для прослушивания в YouTube Music. Выберите кнопку «Библиотека», чтобы просмотреть свою библиотеку YouTube Music, или нажмите на значок лупы, чтобы найти то, что вы хотели бы послушать.

Источник

YouTube Music Desktop

YouTube Music Desktop

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install youtube-music-desktop-app

YouTube Music Desktop

Listen YouTube Music without need open the browser

Details for YouTube Music Desktop

License
Last updated
Links

Share this snap

Generate an embeddable card to be shared on external websites.

Share embeddable card

Customise your embeddable card using the options below.

Install YouTube Music Desktop on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Arch Linux

CentOS

Debian

elementary OS

Fedora

KDE Neon

Kubuntu

Manjaro

Pop!_OS

openSUSE

Red Hat Enterprise Linux

Ubuntu

Where people are using YouTube Music Desktop

Users by distribution (log)

Is there a problem with YouTube Music Desktop? Report this app

Report YouTube Music Desktop

Report submitted successfully

Thanks for bringing this to our attention. Information you provided will help us investigate further.

Error submitting report

There was an error while sending your report. Please try again later.

© 2023 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.
Powered by Charmed Kubernetes

Join the forum, contribute to or report problems with, snapd, Snapcraft, or this site.

Источник

Оцените статью
Adblock
detector