@walkero
How are you doing it? iirc you can't just pass a url to amigaamp, you need to put it in an .m3u, .pls or .playlist file.
here's my dopus5 add to amigaamp arexx script with filtering as you can pass drawers that contain cover images etc instead of just single files.
/* AmigaAMP3 */
OPTIONS RESULTS
Path = "Appdir:amigaamp3"
PortAddr = "AMIGAAMP"
PARSE ARG FILE
IF (FILE = '' | FILE = '?') THEN DO
SAY 'FILE/A'
EXIT 20
END
EXT = UPPER(COMPRESS(SUBSTR(FILE,LASTPOS('.',FILE)),'."'))
SELECT
WHEN EXT='MP3' THEN CALL addfile
WHEN EXT='MP2' THEN CALL addfile
WHEN EXT='M3U' THEN CALL addfile
WHEN EXT='PLS' THEN CALL addfile
WHEN EXT='PLAYLIST' THEN CALL addfile
WHEN EXT='M4A' THEN CALL addfile
WHEN EXT='MOD' THEN CALL addfile
WHEN EXT='OGG' THEN CALL addfile
WHEN EXT='S3M' THEN CALL addfile
WHEN EXT='WAV' THEN CALL addfile
WHEN EXT='AIFF' THEN CALL addfile
WHEN EXT='FLAC' THEN CALL addfile
WHEN EXT='IT' THEN CALL addfile
WHEN EXT='XM' THEN CALL addfile
WHEN LEFT(UPPER(FILE),5) = '"MOD.' THEN CALL addfile
WHEN LEFT(UPPER(FILE),10) = '"CD0:TRACK' THEN CALL addfile
OTHERWISE EXIT
END
addfile:
IF ~SHOW('Ports', 'AMIGAAMP') THEN DO
ADDRESS COMMAND
"Run >NIL: " || Path
"WaitForPort " || PortAddr
ADDRESS(PortAddr)
ICONIFY
END
ADDRESS(PortAddr)
IF (GETFILENAME='') THEN OPEN FILE
ELSE ADD FILE
EXIT
RETURN