The audio playback icon keeps spinning and the sound doesn't play
xiperfect opened this issue ยท 7 comments
- What OS are you using?
- if you're not using windows do you have ffmpeg in your PATH?
- could you post logs? ctrl shift i to open dev tools, then click the log tab
same problem. Windows 11 Pro
sorry i meant console tab, but i can see it in your screenshot. there's no error there so the error message must be in the node logs, which isnt visible from here. If you run the program in dev mode you will be able to see the log and I might be able to fix it or help you.
To do this you need to have Node and Git installed.
In a terminal
- clone the repo:
git clone https://github.com/ruurdbijlsma/Music
cd Music
npm install
npm run dev
The program will now start, try to play something and if it doesnt work again copy the log from the terminal where you started the program from. There should be an error there.
The sound worked when I opened the program in development mode
C:\Users\Farouk\Music\Music>npm run dev
> ruurd-music@6.8.3 dev
> electron-vite dev
vite v4.5.0 building for development...
โ 16 modules transformed.
out/main/index.js 26.04 kB
โ built in 242ms
build the electron main process successfully
-----
vite v4.5.0 building for development...
โ 1 modules transformed.
out/preload/index.js 4.17 kB
โ built in 90ms
build the electron preload files successfully
-----
dev server running for the electron renderer process at:
โ Local: http://localhost:5173/
โ Network: use --host to expose
start electron app...
{
urls: {
ffmpeg: 'https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v4.4.1/ffmpeg-4.4.1-win-64.zip',
ffplay: 'https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v4.4.1/ffplay-4.4.1-win-64.zip',
ffprobe: 'https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v4.4.1/ffprobe-4.4.1-win-64.zip'
},
missingComponents: [
{
component: 'ffmpeg',
filePath: 'C:\\Users\\Farouk\\AppData\\Roaming\\ruurd-music-files\\ffmpeg.exe',
zipPath: 'C:\\Users\\Farouk\\AppData\\Local\\Temp\\ruurd-music\\ffmpeg.zip',
tempFilePath: 'C:\\Users\\Farouk\\AppData\\Local\\Temp\\ruurd-music\\ffmpeg.exe'
}
]
}
Skip checkForUpdates because application is not packed and dev update config is not forced
checkForUpdatesAndNotify called, downloadPromise is null
ูก:ูฅูฉ:ู ูจ ุต [vite] โจ new dependencies optimized: vuetify/lib/components/VProgressLinear/index.mjs, vuetify/lib/components/VTabs/index.mjs, vuetify/lib/components/VWindow/index.mjs
ูก:ูฅูฉ:ู ูจ ุต [vite] โจ optimized dependencies changed. reloading
(node:12372) UnhandledPromiseRejectionWarning: Error: ERR_ABORTED (-3) loading 'http://localhost:5173/#/'
at rejectAndCleanup (node:electron/js2c/browser_init:2:84559)
at WebContents.navigationListener (node:electron/js2c/browser_init:2:84870)
at WebContents.emit (node:events:514:28)
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:12372) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
youtube Extracting URL: https://www.youtube.com/watch?v=wi6L6QmmrHE
youtube wi6L6QmmrHE: Downloading webpage
youtube wi6L6QmmrHE: Downloading ios player API JSON
youtube wi6L6QmmrHE: Downloading android player API JSON
youtube wi6L6QmmrHE: Downloading m3u8 information
info wi6L6QmmrHE: Downloading 1 format(s): 251
download Destination: C:\Users\Farouk\AppData\Local\Temp\ruurd-music\Bara Jarhik - ูโโูโโูโโูโโูโโูโโูโโูโโูโโ ูโโูโโูโโูโโูโโูโโ.mp3.temp.webm
download 0.0% of 2.89MiB at 999.12KiB/s ETA 00:02
download 0.1% of 2.89MiB at 2.93MiB/s ETA 00:00
download 0.2% of 2.89MiB at 3.41MiB/s ETA 00:00
download 0.5% of 2.89MiB at 4.88MiB/s ETA 00:00
download 1.0% of 2.89MiB at 7.57MiB/s ETA 00:00
download 2.1% of 2.89MiB at 6.83MiB/s ETA 00:00
download 4.3% of 2.89MiB at 9.54MiB/s ETA 00:00
download 8.6% of 2.89MiB at 11.86MiB/s ETA 00:00
download 17.3% of 2.89MiB at 13.49MiB/s ETA 00:00
download 34.6% of 2.89MiB at 14.91MiB/s ETA 00:00
download 69.2% of 2.89MiB at 17.38MiB/s ETA 00:00
download 100.0% of 2.89MiB at 19.14MiB/s ETA 00:00
download 100% of 2.89MiB in 00:00:00 at 14.67MiB/s
ExtractAudio Destination: C:\Users\Farouk\AppData\Local\Temp\ruurd-music\Bara Jarhik - ูโโูโโูโโูโโูโโูโโูโโูโโูโโ ูโโูโโูโโูโโูโโูโโ.mp3.temp.mp3
youtube Extracting URL: https://www.youtube.com/watch?v=KQphfimiuoY
youtube KQphfimiuoY: Downloading webpage
youtube KQphfimiuoY: Downloading ios player API JSON
youtube KQphfimiuoY: Downloading android player API JSON
youtube KQphfimiuoY: Downloading m3u8 information
info KQphfimiuoY: Downloading 1 format(s): 251
download Destination: C:\Users\Farouk\AppData\Local\Temp\ruurd-music\Stay With Me - O.WHEN.mp3.temp.webm
download 0.0% of 3.47MiB at 142.85KiB/s ETA 00:24
download 0.1% of 3.47MiB at 374.88KiB/s ETA 00:09
download 0.2% of 3.47MiB at 874.72KiB/s ETA 00:04
download 0.4% of 3.47MiB at 1.63MiB/s ETA 00:02
download 0.9% of 3.47MiB at 1.78MiB/s ETA 00:01
download 1.8% of 3.47MiB at 807.58KiB/s ETA 00:04
download 3.6% of 3.47MiB at 1.02MiB/s ETA 00:03
download 7.2% of 3.47MiB at 1.27MiB/s ETA 00:02
download 14.4% of 3.47MiB at 1.76MiB/s ETA 00:01
download 28.8% of 3.47MiB at 2.66MiB/s ETA 00:00
download 57.5% of 3.47MiB at 4.23MiB/s ETA 00:00
download 100.0% of 3.47MiB at 6.19MiB/s ETA 00:00
download 100% of 3.47MiB in 00:00:00 at 3.89MiB/s
ExtractAudio Destination: C:\Users\Farouk\AppData\Local\Temp\ruurd-music\Stay With Me - O.WHEN.mp3.temp.mp3
hmm interesting, not sure how to fix it then :( I do see that a long playlist name breaks the UI so i'll try to fix that
hmm interesting, not sure how to fix it then :( I do see that a long playlist name breaks the UI so i'll try to fix that
It seems that the launch of the program was a few days ago. Problems are likely to occur. Do not worry and continue. We support you. Thank you and I wish you good luck.
Note: after closing developer mode and opening it normally, the problem returned again, knowing that it does not apply to long playlists only, all content in all lists.