digimezzo / dopamine Goto Github PK
View Code? Open in Web Editor NEWThe audio player that keeps it simple
Home Page: https://digimezzo.github.io/site/
License: GNU General Public License v3.0
The audio player that keeps it simple
Home Page: https://digimezzo.github.io/site/
License: GNU General Public License v3.0
please setting
My music library is all FLACs, some of which have multiple ARTIST
tags for songs by multiple artists.
For example "Money Trees" is by Kendrick Lamar and Jay Rock and Anna Wise:
Dopamine correctly identifies that such songs are by multiple, separate artists:
However in the "Showcase" and "Now playing" screens, songs' artists are incorrectly listed in alphabetical order...
...instead of the order they are written in the ARTIST
tags, as they should be. I have simulated the correct order below:
This is not correct because a song's artists should be listed by their level of contribution to the song (i.e. the main artist behind a song is listed first, followed by a list of featured artists), as I have written them in my ARTIST
tags.
Hi, will this project allow translation like 2.0 did?
Regards
after running npm install I get:
found 75 vulnerabilities (57 low, 3 moderate, 15 high)
run `npm audit fix` to fix them, or `npm audit` for details
But Dopamine Runs Fine.
Are the vulnerabilities bad?
When better-sqlite
is being built, I get this error message
• electron-builder version=22.5.1
• loaded configuration file=/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/electron-builder.json
• rebuilding native dependencies [email protected] platform=linux arch=x64
• install prebuilt binary name=better-sqlite3 version=7.1.0 platform=linux arch=x64
• build native dependency from sources name=better-sqlite3
version=7.1.0
platform=linux
arch=x64
reason=prebuild-install failed with error (run with env DEBUG=electron-builder to get more information)
error=prebuild-install info begin Prebuild-install version 5.3.5
prebuild-install WARN install prebuilt binaries enforced with --force!
prebuild-install WARN install prebuilt binaries may be out of date!
prebuild-install info looking for cached prebuild @ /home/--my-username--/.npm/_prebuilds/6fca5e-better-sqlite3-v7.1.0-electron-v69-linux-x64.tar.gz
prebuild-install http request GET https://github.com/JoshuaWise/better-sqlite3/releases/download/v7.1.0/better-sqlite3-v7.1.0-electron-v69-linux-x64.tar.gz
prebuild-install http 404 https://github.com/JoshuaWise/better-sqlite3/releases/download/v7.1.0/better-sqlite3-v7.1.0-electron-v69-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=4.2.12 runtime=electron arch=x64 libc= platform=linux)
⨯ cannot execute cause=exit status 1
out=
> [email protected] install /home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3
> prebuild-install || npm run build-release
> [email protected] build-release /home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3
> node-gyp rebuild --release
make: Entering directory '/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3/build'
TOUCH b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
TOUCH Release/obj.target/deps/locate_sqlite3.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
AR(target) Release/obj.target/deps/sqlite3.a
COPY Release/sqlite3.a
CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
rm b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
make: Leaving directory '/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3/build'
errorOut=prebuild-install WARN install No prebuilt binaries found (target=4.2.12 runtime=electron arch=x64 libc= platform=linux)
make: g++: Command not found
make: *** [better_sqlite3.target.mk:113: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-42-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3
gyp ERR! node -v v12.18.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build-release: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-release 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/--my-username--/.npm/_logs/2020-07-22T20_27_18_961Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || npm run build-release`
npm ERR! Exit status 1
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/--my-username--/.npm/_logs/2020-07-22T20_27_19_062Z-debug.log
command=/usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js rebuild [email protected]
workingDir=
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `npm run postinstall:electron && electron-builder install-app-deps`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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/--my-username--/.npm/_logs/2020-07-22T20_27_19_341Z-debug.log
I will attach the NPM log.
NPM_ERROR_LOG.log
This is the output that I get when running npm run rebuild-sqlite
:
✖ Rebuild Failed
An unhandled error occurred inside electron-rebuild
make: Entering directory '/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3/build'
TOUCH b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
TOUCH Release/obj.target/deps/locate_sqlite3.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
AR(target) Release/obj.target/deps/sqlite3.a
COPY Release/sqlite3.a
CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
make: g++: Command not found
make: *** [better_sqlite3.target.mk:113: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 127
rm b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
make: Leaving directory '/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-42-generic
gyp ERR! command "/usr/bin/node" "/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/.bin/node-gyp" "rebuild" "--target=4.2.12" "--arch=x64" "--dist-url=https://www.electronjs.org/headers" "--build-from-source"
gyp ERR! cwd /home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3
gyp ERR! node -v v12.18.2
gyp ERR! node-gyp -v v6.1.0
gyp ERR! not ok
Failed with exit code: 1
Error: make: Entering directory '/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3/build'
TOUCH b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
TOUCH Release/obj.target/deps/locate_sqlite3.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
AR(target) Release/obj.target/deps/sqlite3.a
COPY Release/sqlite3.a
CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
make: g++: Command not found
make: *** [better_sqlite3.target.mk:113: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 127
rm b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
make: Leaving directory '/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-42-generic
gyp ERR! command "/usr/bin/node" "/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/.bin/node-gyp" "rebuild" "--target=4.2.12" "--arch=x64" "--dist-url=https://www.electronjs.org/headers" "--build-from-source"
gyp ERR! cwd /home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/better-sqlite3
gyp ERR! node -v v12.18.2
gyp ERR! node-gyp -v v6.1.0
gyp ERR! not ok
Failed with exit code: 1
at SafeSubscriber._error (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/spawn-rx/lib/src/index.js:267:84)
at SafeSubscriber.__tryOrUnsub (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/rxjs/internal/Subscriber.js:205:16)
at SafeSubscriber.error (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/rxjs/internal/Subscriber.js:156:26)
at Subscriber._error (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/rxjs/internal/Subscriber.js:92:26)
at Subscriber.error (/home/a--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/rxjs/internal/Subscriber.js:72:18)
at MapSubscriber.Subscriber._error (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/rxjs/internal/Subscriber.js:92:26)
at MapSubscriber.Subscriber.error (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/rxjs/internal/Subscriber.js:72:18)
at SafeSubscriber._next (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/spawn-rx/lib/src/index.js:242:65)
at SafeSubscriber.__tryOrUnsub (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/rxjs/internal/Subscriber.js:205:16)
at SafeSubscriber.next (/home/--my-username--/Apps/Dopamine-Preview-1/dopamine/node_modules/rxjs/internal/Subscriber.js:143:22)
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! [email protected] rebuild-sqlite: `electron-rebuild better-sqlite3`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the [email protected] rebuild-sqlite 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/--my-username--/.npm/_logs/2020-07-22T20_28_49_043Z-debug.log
And the log for that one too:
NPM_ERROR_LOG_2.log
The duration in the tracklist on the right is always correct but when playing some files then it displays a higher duration on the bottom right and so the playback tracking line on the bottom never reaches the end.
I already searched the net for this problem and verified my files with different tools and they are not VBR or corrupt.
Edit: Problem appears in other softwares.
There is no setting IndexCollectionAutomatically. So, currenty, the indexer always performs a indexing check.
Its license does not support usage in non-Windows applications
WinDock is an alternative to the native windows feature of docking, moving and adjusting windows in the monitor. A crash, as soon as the window size is changed or it is moved (also with the mouse), can only be detected in Dopamine.
Hi, question here since I can't seem to find a way to do it.
Can we exclude some specific folders from our music collection? E.g. I want everything in /music
in my collection except one /music/abc
folder.
1.) Sort songs by year > album in the songs category. Also make the sort by year "ascending" so that we can listen to an artists discography starting from their earliest work to the latest.
2.) In the now playing section, allow for a larger, more defined Album Art. When I listen to my music, I like to have the lyrics and the album art as large as possible so I can take advantage of my high-res .jpg embedded .mp3s.
3.) Allow for an album display larger than "Large". I find even the current largest option a bit too small.
Keep it up, love the simplistic and efficient look and feel of this player!
It would be interesting to show in the discord the name of the song, the album and the artist currently playing.
I have been a long time Dopamine user (the windows version). If I understand correctly, this electron version will become the future of Dopamine. I have rated hundreds of songs with the rating functionality with the windows version of Dopamine, and I don't want to lose those data. Thus, I am asking, will the database structure for the electron version stay the same as the windows version? If not, will there be any conversion tool?
Thanks.
Content as well as windows control icons. Noticed in Windows 8.1 and 10.
Can't find any of this in the interface. Should I safely assume is unsupported and never will be?
And add reference to author.
Also make sure that AppImage has a dock icon.
Refer image attached with the issue.
I really like the in app notification system when the song changes ,
A possible fix for this could be to show the notification each time the system volume is changed or when we press the volume button.
Else if the Devs would be able to fix the part where it only shows dopamine.exe in the media key handling system notification. It would be flawless.
[ ] Regression
[ ] Bug report
[x] Feature request
Thank you so much for making this amazing music player! I've struggled for years with MusicBee, and it's a breath of fresh air to use a music player that just works!
I was wondering, though, would it please be possible to implement dropdown albums in the album view, similar to how iTunes 10/11 and MusicBee did it, with colouring of the dropdown based off the album art? It's a UI that I've found looks and works really well, despite the shortcomings of the software that uses it.
Thank you for your consideration, and again, for making this software!
In Dopamine 2, the "Columns..." option on the songs screen is hard to find. Can we improve this for Dopamine 3?
Some ideas:
Option 1: a right click on the column headers could allow column editing
Option 2: a more visible button to edit columns
An interface to get or set Dopamine informations :
This could be use by Rainmeter/Conky for example.
See title
Add a favorites category, which is populated with albums (or other items) that have been "favorited" by the user.
weirdly enough, I can run npm run rebuild-sqlite and It successfully rebuilds...
here is the text that the command prints, I have no idea how to install peer dependencies.
meee@pop-os:~/dopamine$ npm install
[email protected] postinstall /home/sempai/dopamine
npm run postinstall:electron && electron-builder install-app-deps
[email protected] postinstall:electron /home/sempai/dopamine
node postinstall
• electron-builder version=22.5.1
• loaded configuration file=/home/sempai/dopamine/electron-builder.json
• rebuilding native dependencies [email protected] platform=linux arch=x64
• install prebuilt binary name=better-sqlite3 version=7.1.0 platform=linux arch=x64
• build native dependency from sources name=better-sqlite3
version=7.1.0
platform=linux
arch=x64
reason=prebuild-install failed with error (run with env DEBUG=electron-builder to get more information)
error=prebuild-install info begin Prebuild-install version 5.3.5
prebuild-install WARN install prebuilt binaries enforced with --force!
prebuild-install WARN install prebuilt binaries may be out of date!
prebuild-install info looking for cached prebuild @ /home/sempai/.npm/_prebuilds/6fca5e-better-sqlite3-v7.1.0-electron-v69-linux-x64.tar.gz
prebuild-install http request GET https://github.com/JoshuaWise/better-sqlite3/releases/download/v7.1.0/better-sqlite3-v7.1.0-electron-v69-linux-x64.tar.gz
prebuild-install http 404 https://github.com/JoshuaWise/better-sqlite3/releases/download/v7.1.0/better-sqlite3-v7.1.0-electron-v69-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=4.2.12 runtime=electron arch=x64 libc= platform=linux)
npm WARN @angular-devkit/[email protected] requires a peer of @angular/compiler-cli@>=10.0.0-next.0 < 11 but none is installed. You must install peer dependencies yourself.
npm WARN @angular-devkit/[email protected] requires a peer of typescript@>=3.9 < 3.10 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/[email protected] requires a peer of @angular/compiler-cli@>=10.0.0-next.0 < 11 but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/[email protected] requires a peer of typescript@>=3.9 < 3.10 but none is installed. You must install peer dependencies yourself.
audited 2305 packages in 64.891s
92 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
sempai@pop-os:~/dopamine$ npm install -g install-peerdeps
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN checkPermissions Missing write access to /usr/local/lib
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access '/usr/local/lib'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/sempai/.npm/_logs/2020-07-26T22_08_49_744Z-debug.log
sempai@pop-os:~/dopamine$ sudo npm install -g install-peerdeps
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
/usr/local/bin/install-peerdeps -> /usr/local/lib/node_modules/install-peerdeps/lib/cli.js
[email protected] postinstall /usr/local/lib/node_modules/install-peerdeps/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"
----------then i tried npm install -- force and the same stuff printed as npm install.
See Knowte and Vitomu
Pressing the left arrow on the keyboard should skip back (default 10 or 15 seconds) and should be configurable. Pressing the right arrow should skip forward and also be configurable.
I'm just leaving this here as a suggestion. Google Play Music has an ingenious feature for sorting albums that will show both your most recently added and your recent listens. If you think about it, that seems to be the only sensible way to sort a music library (at least in my book ;-) ). Would be thrilled if Dopamine added a mode like this--for some reason, very few other music players do.
If you have a Google Play Music library, you can find this mode here: https://play.google.com/music/listen?hl=en&u=0#/recents
Hello! I was compiling Dopamine and then I saw something weird in the instructions:
cd knowte
Was this supposed to be cd dopamine
or was that correct?
Hi! I faced an issue recently -- player don't play any tracks. I tried to play a track via media keys on keyboard and button on my wireless headphones, but unsuccessfully.
I tried to completely sweep player out of my PC (with help of RevoUninstaller) and reinstall it, but it didn't worked out. Before it happen I tried to play a song during a conference in Zoom and set Dophamine as default player.
Also I tried to use portable version. Everything works, but until I restart my computer. So after restart I faced the same problem with playing.
I turned off Windows Defender and I don't have any antiviruses on my laptop. So player doesn't have any restritions. And yeah, I checked system for viruses.
P.S. There is some Russian in log-file, but nothing special
Dopamine.log
As of version 1.5.5 the support for opus files was introduced, but the two latest versions (2.X) aren't longer supported.
See Insync app.
I have tried using npm to build but I can't. Can you help me how to build Dopamine 3? Tysm.
What are the different scripts for running this? And is it "working" because when I run npm start it comes up with a similar startup window as to that of windows, but when setup is done all it says is "collection works."
Dopamine 2.0.3
Windows 10
I have 3 albums under the name "The Band". For two albums of theirs (The Basement Tapes, and a self-titled album) they are both tagged with their name in the artist and album artist fields as part of standard ID3 tags. However, also appearing under their entry is "Goin' South", a compilation album that has "Various Artists" entered in its Album Artist field. The Band contributes one song to the album, and yet the whole album is listed. This has persisted for several versions of Dopamine, but i've never bothered to submit it.
It would be preferable to not have the compilation album appear at all when the artist section is sorted by Album Artist, if at all possible.
Investigate if we can send audio to Chromecast devices (e.g. Google Mini)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.