Git Product home page Git Product logo

ytmdesktop's Introduction

YouTube Music Desktop App

Now with a Fresh new Codebase 😉

YouTube Music Desktop App

Discord Gitmoji GitHub license GitHub release Download

⬇️ Download at

Packaging status

Windows

Linux

Mac

Developing

To clone and run this repository you'll need Git and Node.js (v20) (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/ytmdesktop/ytmdesktop.git
# Go into the directory
cd ytmdesktop
And:
# If you do not have Yarn Installed / New to Node as a whole you can enable Yarn with:
corepack enable

# Install dependencies
yarn install
# Run the app
yarn start

Building the Project

To build for your platform you need to run yarn make, however please see the information below regarding the required additionally Software, Tools and Packages which are needed to successfully package into a nice installer file.

Windows

To download the full suite of Tools/Software needed to build the app it is recommended to install the suite of build tools that electron provide which includes Visual Studio, Python and other tools.

npm i -g @electron/build-tools

This will start downloading and installing, and may require a few prompts here and there to finalise everything.

Linux

Building the project on Linux only requires you to install:

  • For building on Debian based Linux Distros like Ubuntu, you will need to install fakeroot and dpkg
  • For building on RedHat based Linux Distros like Fedora, you will need to install rpm or rpm-build

please note that by default both packages are built if you try building this application on a linux distro

Contributors

A Thank you to all the contributors throughout the project, without their work this project would have just been a small project and never expanded to where it is now.

adlerluiz rickpalmeira mingjun97 Alipoodle NovusTheory flleeppyy zagoruev Venipa serzhan-nasredin TotalChris ArnyminerZ TotallyNotInUse pinkiesky ddarkr NNowakowski Vistaus smarquespt peter9811 andrew000 adiologydev chaoky nattadasu Nerogar nils-kt andia89 tbvjaos510 danparidae asuetin PHNX-Arcanus austonpramodh

ytmdesktop's People

Contributors

adlerluiz avatar alipoodle avatar andia89 avatar andrew000 avatar arnyminerz avatar chaoky avatar danparidae avatar ddarkr avatar dependabot[bot] avatar dm3ch avatar flleeppyy avatar kageryo avatar mingjun97 avatar mkotb avatar nattadasu avatar nerogar avatar nils-kt avatar nnowakowski avatar novustheory avatar peter9811 avatar pinkiesky avatar rickpalmeira avatar serjan-nasredin avatar smarquespt avatar tbvjaos510 avatar totalchris avatar totallynotinuse avatar venipa avatar vistaus avatar zagoruev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ytmdesktop's Issues

App Image not loading

I've opened the app image on Fedora 30, the page doesn't load and I'm unable to listen to music, page loads normally on browsers. The configuration screens load correctly.

Provision back button action

While navigating over various playlists/searches, there's a need of going back.
But it's not possible right now.
Generic mac shortcuts or touchpad gestures also does not do that.

Feature Request: Mini Player

A mini version of the player (with something like just album art and media controls) that can be kept always on top would be amazing.

Problem with scalling

On my hd screen there's no way to make it show everything(tried to set it manually)
Zrzut ekranu (29)
Zrzut ekranu (30)
Zrzut ekranu (31)

Localization to Russian

I am saddened that the program is in English only.
I suggest to localize the program.
I am ready to assist in the translation into Russian.
(For example, you can use the service Crowdin or any other. Crowdin is free for Open source projects.)

Feature Request: Guest Mode

It would be nice to have an option to listen to songs without tracking them on your google/yt user, kinda like logging with incognito mode on a browser, for the times you don't want songs suggested to you in the future based on that session.
Possible name suggestions: Guest Mode; Party Mode; Incognito Mode

Mac OS: media keys not working

I am running the app on a Mac Book Pro but I cannot use the global Mac shortcuts for play/pause or next / previous song. I have configured the keys so that I have to combine them with FN + F7, F8 or F9. The gobal shortcut CMD + SHIFT + SPACE works. The bad thing is, I don't have page up or page down keys ...

Couldn't sign in

Hi, is there a work around about this 'You are trying to sign in from a browser or app that doesn't allow us to keep your account secure.' message?, finally find the app I was looking for but I got stuck here
image

Desktop Notifications are not working

Platform: Windows
Version: 1.0.0
Description: Desktop notifications are not working as intented
Expected Behavior: The app should trigger a desktop notification with name and author of the song when it starts playing
Experienced Behavior: No notifications
Steps to recreate: Play a song

Privacy and Security

Hi, would this software/app steal/misuse our youtube account password/information? in terms of privacy and security, im worried. TQ

1

[Bug] App front end stops working after music played for long time

When you minimize or maximize the youtube music window after playing music for a while (4hr+), the app will stop displaying the front end, it looks like it gets hung up and stays gray, sometimes if you give it 1-2 minutes it will load, other times its permanently gray and the app must be restarted.

I'll attach screenshots the next time this occurs

Problem: "A JavaScript error occurred in the main process"

I installed the app on Windows 10 and it got an error right away:

Uncaught Exception:
TypeError: Cannot read property 'x' of undefined
  at checkWindowBounds
(C:\Users\user\AppData\Local\Programs\youtube-music-desktop-app\resources\app.a...:24)
  at App.<anonymous>
(C:\Users\user\AppData\Local\Programs\youtube-music-desktop-app\resources\app.as...:3)
  at App.emit (events.js:205:15)

Upon pressing "OK" nothing happens, however the process remains open until terminated via taskmgr, which doesn't help. I also tried reinstalling the app - no luck.

AppImage system integration broken

Starting the AppImage offers an option to integrate with the system. The integration fails with the following error:

$ ./YouTube\ Music\ Desktop\ App\ 1.5.3.AppImage 
basename: extra operand ‘Desktop’
Try 'basename --help' for more information.
$HOME/.local/share/applications/appimagekit-youtube-music-desktop-app.desktop: warning: value "YouTube Music Desktop App" for key "Comment" in group "Desktop Entry" looks redundant with value "YouTube Music Desktop App" of key "Name"
$HOME/.local/share/applications/appimagekit-youtube-music-desktop-app.desktop: error: value "Audio, AudioVideo;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Audio, AudioVideo"; values extending the format should start with "X-"
Error on file "/tmp/.mount_YouTubuzFw9I/youtube-music-desktop-app.desktop": Failed to validate the created desktop file
Checking for update
Switch clipboard watcher: undefined

Mac Javascript error on every song change and no notifications

On every song change. OSX 10.13.6

A JavaScript error occurred in the main process

TypeError: Cannot read property 'on' of undefined
    at new Notification (/Applications/YouTube Music Desktop App.app/Contents/Resources/app.asar/node_modules/electron-native-notification/index.js:55:14)
    at Object.exports.balloon (/Applications/YouTube Music Desktop App.app/Contents/Resources/app.asar/tray.js:103:13)
    at updateActivity (/Applications/YouTube Music Desktop App.app/Contents/Resources/app.asar/main.js:198:14)
    at /Applications/YouTube Music Desktop App.app/Contents/Resources/app.asar/main.js:179:29
    at EventEmitter.<anonymous> (/Applications/YouTube Music Desktop App.app/Contents/Resources/electron.asar/browser/api/web-contents.js:157:45)
    at Object.onceWrapper (events.js:273:13)
    at EventEmitter.emit (events.js:182:13)
    at WebContents.<anonymous> (/Applications/YouTube Music Desktop App.app/Contents/Resources/electron.asar/browser/api/web-contents.js:347:21)
    at WebContents.emit (events.js:182:13)

Integration with Discord

Is there any way to integrate the application with discord so that it is shown in the profile

Bug: Settings disappeared and no way to get them back

Hey, so during me playing around with the settings. Under the title bar settings, I changed it to "No Title Bar" or something and now there's no way to get it back. I'm wondering if there's a shortcut to the settings page otherwise I'm stuck.

Feature Requests - Multiple :)

Hi, thank you for this app.

I've a few suggestions:

  1. Gestures to use by holding down right mouse button as in below:
    swipe left - go left
    swipe rigt - go right
    swipe down - minimize window
    swipe up - maximize window
    (if gesture thing is somewhat difficult, a right-click context menu with the options above would be great.)

  2. Scrolling anywhere on the player-bar at the bottom to change volume
    image

  3. Being able add CSS to change layout of YT Music(not app).

  4. Lyrics window should remember its' position and size. (now it's centered)

Thank you again for this.

language error

Hello, I wanted to have ytb music on desktop. I use Linux (Deepin 15.10.1) and I installed every depedencies. I used 'npm i' (the 'npm install') and used 'npm start' in terminal. The problem is the language. I opened some html files to check (like always) to see how it'll looks like. In the browsers, you can't use the main page due to the react components. But I saw your app works properly and include the Linux OS in the list of support. I think your app, don't support the french laguage. When it open, every components are here: action buttons, title, settings, every components work properly. But I have a big 'fr_ALL' where normally there is the UI. I understood you use a component of react to put a language. Do you have a way to put your own language (add manually a translation) or force make it in english or put automatically if a translation isn't valaible in english?
If you have a way to add a translation manually, I'll give you the french translation from english I did.

Mac OS: Accessing settings from Mac OS task bar results in empty settings windows

In Mac OS you have a small app icon on the top right where are some menu entries like next or previous song, thumbs up/down and settings. When I click on settings, the app comes to the foreground and opens the settings overlay window but shows nothing and I am unable to close this window. I have to quit the app completely to get rid of it.

Feature request: native title bar on macOS

First of all, thank you very much for creating this app!

Is it possible to use native title bar on macOS or at least move buttons to the left side, where they should be placed on macOS?

Bug: Settings won't save after closing the settings window

image

So this is the setting menu.
No matter which setting I change (page zoom here, for example. Also, the sign-in button can't show up and I need to zoom off the page to show it.) When I drag the slider to 80 and then close the settings window, nothing happens.

Version Error

Availeable ytmdesktop version here : https://ytmdesktop.app/
is outdated, also when trying:
sudo snap install youtube-music-desktop-app_1.4.1_amd64.snap
shows:
error: cannot find signatures with metadata for snap
"youtube-music-desktop-app_1.4.1_amd64.snap"

Trying to use .appimage results in other failure. After runing:
chmod +x YouTube.Music.Desktop.App.1.4.1.AppImage && ./YouTube.Music.Desktop.App.1.4.1.AppImage
gives:
/home/usr/.local/share/applications/appimagekit-youtube-music-desktop-app.desktop: warning: value "YouTube Music Desktop App" for key "Comment" in group "Desktop Entry" looks redundant with value "YouTube Music Desktop App" of key "Name"
/home/usr/.local/share/applications/appimagekit-youtube-music-desktop-app.desktop: error: (will be fatal in the future): value item "Audio" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: AudioVideo
/tmp/.mount_YouTubPW7hRe/youtube-music-desktop-app: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

So as i read in electron web page and here, the last version is 1.5.0. Could you add the .appimage and the .snap file to github repo¿?

Using the github packege and running npm install && npm start it works within the expected behavior.

Im running a newly installed Ubuntu 18.04.3 with acpi=off as launch param, running over MSI GL62M 7RDX with the standard manufacturing hardware.

Settings doesn't save

I wanted to use this for discord rich presence but simply I can't since settings doesn't save. Everytime I open settings and enable something and close it and reopen settings they're reseted to default. I tried even running program as administrator.

I'm using Windows 8.1

Little stupid bug with the preview in windows 10

I'm using win10, and when i put the mouse over my toolbar it shows the preview of the app with the stop/play, next and back, and the like/dislike button that changes color when they are pressed.
Well, when i have liked a song on the web page or through the app, it dont shows correctly in this little buttons for liking, and if its liked and pressed, they dislike the song.

Fail to build application or AUR package

I get the same error when trying installing AUR package on Archlinux or trying building locally.
Error is about node-gyp
Terminal output added if you need log output also I can provide that too.

 $ npm install

> [email protected] install /home/markopavlovic/git/ytmdesktop/node_modules/husky
> node husky install

husky > Setting up git hooks
husky > Done

> [email protected] install /home/markopavlovic/git/ytmdesktop/node_modules/register-scheme
> node-gyp rebuild

gyp ERR! UNCAUGHT EXCEPTION 
gyp ERR! stack TypeError: Class constructor Range cannot be invoked without 'new'
gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/node-gyp/lib/find-python.js:229:28)
gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/node-gyp/lib/find-python.js:274:7)
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:293:7)
gyp ERR! stack     at ChildProcess.emit (events.js:305:20)
gyp ERR! stack     at maybeClose (internal/child_process.js:1028:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
gyp ERR! System Linux 5.3.13-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/markopavlovic/git/ytmdesktop/node_modules/register-scheme
gyp ERR! node -v v13.5.0
gyp ERR! node-gyp -v v6.0.1
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 7
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/markopavlovic/.npm/_logs/2019-12-28T19_05_30_439Z-debug.log

Feature Request: Enhance Notifications

On Windows 10 a few thing that would be good in the notifications:

  1. Image of the album of the song playing.
  2. Don't play notification sound when it's showed.
  3. Make them temporal (let's say 5 seconds) so they don't stay on the notification panel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.