Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
113 user(s) are online (61 user(s) are browsing Forums)

Members: 0
Guests: 113

more...

Headlines

 
  Register To Post  

« 1 2 3 (4)
Re: AmigaAMP 3.15 (OS4-NATIVE) released
Site Builder
Site Builder


See User information
The ADD arexx command adds also online songs? I have a few issues with that. The latest problem I had is that it asked for http: assign. All the other times an unknown error returns.

Any help on that?

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: AmigaAMP 3.15 (OS4-NATIVE) released
Just can't stay away
Just can't stay away


See User information
@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

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: AmigaAMP 3.15 (OS4-NATIVE) released
Site Builder
Site Builder


See User information
Thank you Severin for your code and help. I did something like what you proposed, and it worked. I believe that the commands ADDURL and OPENURL are necessary for such a software. Hope Thomas will consider to add them.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: AmigaAMP 3.15 (OS4-NATIVE) released
Quite a regular
Quite a regular


See User information

> version full AmigaAMP3
AmigaAMP 3.22 (31.5.17)

I only found this last week and hadn't actually updated to a few of the previous versions.

Go to top

  Register To Post
« 1 2 3 (4)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project