Sonerezh / sonerezh

A self-hosted, web-based application to stream your music, everywhere.
https://www.sonerezh.bzh
GNU Affero General Public License v3.0
769 stars 122 forks source link

Uncaught (in promise) DOMException: Failed to load because no supported source was found. #322

Open triDcontrols opened 7 years ago

triDcontrols commented 7 years ago

Having rather a strange issue.

I'm running latest version of sonerezh (1.1.3) on ubuntu 16.04 and nginx/1.10.3 web server with PHP 7.0.18-0ubuntu0.16.04.1, and mariaDB 10.0.29-MariaDB-0ubuntu0.16.04.1, and get the DOMException in Chrome, firefox just shows 404 error. yet the source file is there.

I have over 14,000 songs that I'm trying to import, I have tried the web interface to import this large library and also tried using CLI and both produce same results. See uploaded images.

In the web interface and CLI found 14948 songs have been detected, after import only 13781 get imported, the songs that did not get imported, can be played via windows media player and readable, but whats strange is sonerezh still adds a database entry for the failed imported songs and no duration times are shown on the web interface and fail playback, when I try to play the song, or select to download the file which results in 404 errors in web console and DOMException. The other 13k songs that got imported work just fine.

Screencaps: https://ibb.co/c9b5QQ https://ibb.co/d9YVs5 https://ibb.co/fFd8ek https://ibb.co/cJwGX5 https://ibb.co/dLRGX5 https://ibb.co/nNMdek

triDcontrols commented 7 years ago

See attached Putty Log file after trying to import the last remaining 1k+ songs via CLI 2 times.

putty.txt

One of the songs in the 1k+ of not imported songs is here.

https://www.dropbox.com/s/liuypxtb5yzvchb/%D0%96%D0%B8%D0%B2%D1%8B%D0%B5%20%D0%BA%D0%B0%D0%BC%D0%BD%D0%B8%20-%20%D0%A2%D1%8B%20%D0%B7%D0%B0%D0%B4%D1%83%D0%BC%D0%B0%D0%B9%D1%81%D1%8F%2C%20%D1%87%D0%B5%D0%BB%D0%BE%D0%B2%D0%B5%D0%BA.mp3?dl=0