AzuraCast / AzuraCast

A self-hosted web radio management suite, including turnkey installer tools for the full radio software stack and a modern, easy-to-use web app to manage your stations.
https://www.azuracast.com/
GNU Affero General Public License v3.0
3.09k stars 569 forks source link

Album art is not loading (using SFTP Storage Location for Station) #6874

Closed TheEnbyWitch closed 2 months ago

TheEnbyWitch commented 10 months ago

Installation Method

Docker Installation

AzuraCast Release Channel

Rolling Release Channel

Current AzuraCast Version

No response

What happened?

None of the album art loads. Trying to open the art directly returns an error Unable to retrieve the mime_type for file at location: .albumart/6b18266e05f98da5ece29434.jpg

image image

I have AzuraCast running on the Raspberry Pi 4, and I am using a Synology DS716 NAS as a storage location via SFTP (AzuraCast has its own user and owns the folder). It can read and write songs to the folder, they stream fine, it creates album art images fine, but they seem to be inaccessible via the browser.

image

I tried searching for the issue but I could only find this that has the same issue https://github.com/AzuraCast/AzuraCast/issues/5695

Relevant log output

[2024-01-17T06:07:57.132141+00:00] AzuraCast.ERROR: Cannot write metadata for file "/tmp/d2d6254c96_02 Enemy.m4a": Cannot write tag formats based on file type. {"path":"/tmp/d2d6254c96_02 Enemy.m4a","exception":"[object] (RuntimeException(code: 0): Cannot write tag formats based on file type. at /var/azuracast/www/src/Media/Metadata/Writer.php:40)"} []
[2024-01-17T06:07:59.348480+00:00] AzuraCast.ERROR: Cannot write metadata for file "/tmp/d2d6254c96_02 Enemy.m4a": Cannot write tag formats based on file type. {"path":"/tmp/d2d6254c96_02 Enemy.m4a","exception":"[object] (RuntimeException(code: 0): Cannot write tag formats based on file type. at /var/azuracast/www/src/Media/Metadata/Writer.php:40)"} []
[2024-01-17T06:07:59.358437+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .covers/0536de11d55b8ca64159e681d6df7fed.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:07:59.413439+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: Aaron/Songs That Get/cover.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:08:00.366494+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: Aaron/Songs That Get/cover.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:08:00.424482+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .covers/0536de11d55b8ca64159e681d6df7fed.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:08:07.974665+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/158e914102a35b55d9271239.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:08:08.056376+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/158e914102a35b55d9271239.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:08:12.162745+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/158e914102a35b55d9271239.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:08:12.895789+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/158e914102a35b55d9271239.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:09:14.702406+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: DECO_27/Chimera - Single/Folder.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:09:14.703890+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: DECO_27/Chimera - Single/AlbumArtSmall.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:09:14.809913+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/a843c10b5dd950d8548b65ce.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:09:14.905269+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/5f167aaced0ff149ebc1144f.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:09:22.456988+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: DECO_27/Chimera - Single/AlbumArtSmall.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:09:22.594218+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/5f167aaced0ff149ebc1144f.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:09:22.611138+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: DECO_27/Chimera - Single/Folder.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:09:22.765087+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/a843c10b5dd950d8548b65ce.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:10:16.464397+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/158e914102a35b55d9271239.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:10:16.570875+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:10:22.639746+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/b6ecea8fd00fbd4a19289240.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:10:23.257483+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/de44e250a15a7746cbf81c8e.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:10:23.765301+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/6d851e55fe97e13df40994aa.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:10:24.110273+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/a18fb7e554ad42ee3ccbf26e.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:10:24.328814+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .covers/0536de11d55b8ca64159e681d6df7fed.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:11:21.016309+00:00] AzuraCast.ERROR: Message queue error: Could not acknowledge redis message "1705471579315-2". {"workerName":"app_worker_0","exception":"[object] (Symfony\\Component\\Messenger\\Exception\\TransportException(code: 0): Could not acknowledge redis message \"1705471579315-2\". at /var/azuracast/www/vendor/symfony/redis-messenger/Transport/Connection.php:468)"} []
[2024-01-17T06:11:21.019394+00:00] AzuraCast.WARNING: Console command `azuracast:queue:process` exited with error code 1. [] []
[2024-01-17T06:11:22.976311+00:00] AzuraCast.NOTICE: Starting new Message Queue worker process. {"runtime":0,"workerName":"app_worker_0"} []
[2024-01-17T06:11:29.919713+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: Aaron/Songs That Get/cover.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:11:29.989638+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .covers/0536de11d55b8ca64159e681d6df7fed.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:11:38.122766+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .covers/0536de11d55b8ca64159e681d6df7fed.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:11:39.385093+00:00] AzuraCast.ERROR: Cannot process waveform for file "d2d6254c96_02 Enemy.m4a": Can't generate json format output from Unknown file format  {"file":"/var/azuracast/www/src/Service/AudioWaveform.php","line":49,"code":0} []
[2024-01-17T06:11:46.477414+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: Aaron/Songs That Get/cover.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:11:54.783282+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .covers/0536de11d55b8ca64159e681d6df7fed.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:12:08.988865+00:00] AzuraCast.ERROR: Cannot write metadata for file "/tmp/d2d6254c96_02 Enemy.m4a": Cannot write tag formats based on file type. {"path":"/tmp/d2d6254c96_02 Enemy.m4a","exception":"[object] (RuntimeException(code: 0): Cannot write tag formats based on file type. at /var/azuracast/www/src/Media/Metadata/Writer.php:40)"} []
[2024-01-17T06:12:09.869742+00:00] AzuraCast.ERROR: Cannot write metadata for file "/tmp/d2d6254c96_02 Enemy.m4a": Cannot write tag formats based on file type. {"path":"/tmp/d2d6254c96_02 Enemy.m4a","exception":"[object] (RuntimeException(code: 0): Cannot write tag formats based on file type. at /var/azuracast/www/src/Media/Metadata/Writer.php:40)"} []
[2024-01-17T06:12:09.905656+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/75847fa3c3c5f20a104a255e.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:12:11.431311+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/75847fa3c3c5f20a104a255e.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:12:11.558550+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: Aaron/Songs That Get/cover.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:12:14.872113+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/75847fa3c3c5f20a104a255e.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:12:27.215396+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/75847fa3c3c5f20a104a255e.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:13:42.130621+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/158e914102a35b55d9271239.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:13:42.213328+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:13:57.584960+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:13:57.678797+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/6b18266e05f98da5ece29434.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:13:57.753638+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:13:58.170764+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:16:24.076854+00:00] AzuraCast.NOTICE: Starting new Message Queue worker process. {"runtime":0,"workerName":"app_worker_0"} []
[2024-01-17T06:17:28.351592+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:17:28.488217+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/6b18266e05f98da5ece29434.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:18:34.648868+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/6b18266e05f98da5ece29434.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:18:34.736945+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:20:57.653860+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/6b18266e05f98da5ece29434.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:20:57.667377+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:21:41.691964+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:21:41.846014+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/6b18266e05f98da5ece29434.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:21:58.523985+00:00] AzuraCast.ERROR: Message queue error: Could not acknowledge redis message "1705472178169-3". {"workerName":"app_worker_0","exception":"[object] (Symfony\\Component\\Messenger\\Exception\\TransportException(code: 0): Could not acknowledge redis message \"1705472178169-3\". at /var/azuracast/www/vendor/symfony/redis-messenger/Transport/Connection.php:468)"} []
[2024-01-17T06:21:58.527036+00:00] AzuraCast.WARNING: Console command `azuracast:queue:process` exited with error code 1. [] []
[2024-01-17T06:21:59.508234+00:00] AzuraCast.NOTICE: Starting new Message Queue worker process. {"runtime":0,"workerName":"app_worker_0"} []
[2024-01-17T06:26:05.980205+00:00] AzuraCast.ERROR: Message queue error: Could not acknowledge redis message "1705472492887-0". {"workerName":"app_worker_0","exception":"[object] (Symfony\\Component\\Messenger\\Exception\\TransportException(code: 0): Could not acknowledge redis message \"1705472492887-0\". at /var/azuracast/www/vendor/symfony/redis-messenger/Transport/Connection.php:468)"} []
[2024-01-17T06:26:05.983725+00:00] AzuraCast.WARNING: Console command `azuracast:queue:process` exited with error code 1. [] []
[2024-01-17T06:26:07.422967+00:00] AzuraCast.NOTICE: Starting new Message Queue worker process. {"runtime":0,"workerName":"app_worker_0"} []
[2024-01-17T06:27:18.389872+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:27:22.201275+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/f7cdc24fec2005bea241bdf0.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:27:22.398712+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/6b18266e05f98da5ece29434.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
[2024-01-17T06:27:35.774144+00:00] AzuraCast.ERROR: Unable to retrieve the mime_type for file at location: .albumart/6b18266e05f98da5ece29434.jpg.  {"file":"/var/azuracast/www/vendor/league/flysystem/src/UnableToRetrieveMetadata.php","line":49,"code":0} []
Kush1251 commented 9 months ago

Hi i am having the same issue, it also happens when using on demand streaming

Sella-GH commented 9 months ago

I can confirm this now as we switched a station to this. Album art is not loading but music is playing fine.

TheEnbyWitch commented 9 months ago

Just wanted to say that this also happens when I try to preview a song or download one from the web UI. Seems like it's affecting anything in SFTP.

Kush1251 commented 9 months ago

@TheEnbyWitch have you managed to find a work around for this yet? i have had now luck

boerdb commented 9 months ago

I can confirm this as I switched my stations to SFTP. Album art is not loading but music is playing fine. A song preview is also not working.

Ignacio1972 commented 9 months ago

Same problem here. Clean docker install. I'm also getting this 4 mosaic album cover instead . By the way, all my mp3's have album cover in their ID3 tags. Any idea what could be going wrong?

cd623e1fd6725b045124e19ec227c106

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

marekdziem commented 7 months ago

yeh me too -

Error Unable to retrieve the mime_type for file at location: nanodigi283_kobi_shayman-_tb_or_not_2b__originalmix.mp3. vendor/league/flysystem/src/UnableToRetrieveMetadata.php : L49

sftp server is FreeNAS

DuschdrBabbe commented 6 months ago

still problems

t0mtaylor commented 5 months ago

There is also an issue with Album Art url not adhering to the Prefer Browser URL (If Available) option when enabled in system settings - https://github.com/AzuraCast/AzuraCast/issues/7187

The UI should be using a relative path (using the browser host) and not an absolute path (with the Site Base URL) - v0.20.1 Stable • Docker • PHP 8.3

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 months ago

Thank you for your bug report, this issue has been closed due to inactivity. Should this issue persist, please re-open the bug report.