Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Koel not playing music #1487

Open
red-mist opened this issue Aug 22, 2022 · 2 comments
Open

Koel not playing music #1487

red-mist opened this issue Aug 22, 2022 · 2 comments

Comments

@red-mist
Copy link

Hello;

I installed a Koel instance via TrueCharts on a Truenas Scale installation.
Installation was uneventful; but I noticed that Koel wasn't recognizing my library.
Turns out that there is already a /music folder in Koel and Truenas doesn't or can't use the same folder anymore as mount point for the dataset. So I changed the Truenas mount point to music1 but koel wouldn't accept the name change for scanning location (kept throwing "unknown error" - couldn't find any help on-line) so I symlinked the music1 folder into music; still got the same error, followed the advice to initiate the scan manually via command line and that worked, whole library was imported without significant issue (one or two files it didn't recognize - I assume some cruft like playlists in a strange format...).

Except it won't play any music on chrome. The little progress bar is just kind of scrolling, indicates 0:00 everywhere.
When I download the file via koel it works fine, so I don't think it's a permissions issue or something.

Environment

  • Koel version v6.0.4
  • OS: TrueNAS-SCALE-22.02-RC.2
  • Browser Chrome 104.0.5112.81 on win10
  • PHP version (not sure)
  • Node version (not sure)

If you need any further information I'll gladly provide it; but I'm not so adept at php or node so some guidance would be appreciated.

I do apologize if this is not the right place for such questions, I'd be grateful if you could point me in the right direction!

@phanan
Copy link
Member

phanan commented Aug 30, 2022

Unfortunately, I've no idea what TrueCharts/Truenas Scale is/are, so my support is quite limited here. I'll keep this issue open so that maybe other users can help.

@SpaceAgeHero
Copy link

Yesterday I installed koel too and wanted check it out.

My music is not hosted on a NAS but on an attached USB drive.
However I had the same issue you're describing.

Turned out that the ffmpeg path in koels .env file was wrong:

# The full path of ffmpeg binary. FFMPEG_PATH=/usr/local/bin/ffmpeg

On my Arch Linux / Aarch64 Raspberry Pi 4 setup ffmpeg is installed here:
/usr/bin/ffmpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants