Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
62 user(s) are online (45 user(s) are browsing Forums)

Members: 0
Guests: 62

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 2 3 (4)


Re: AmigaAMP 3.15 (OS4-NATIVE) released
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 414
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?

   Report Go to top

Re: AmigaAMP 3.15 (OS4-NATIVE) released
Just can't stay away
Joined:
2006/11/24 18:52
From Gloucestershire, UK.
Posts: 1116
@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>
   Report Go to top

Re: AmigaAMP 3.15 (OS4-NATIVE) released
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 414
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.

   Report Go to top

Re: AmigaAMP 3.15 (OS4-NATIVE) released
Quite a regular
Joined:
2007/2/27 10:47
From Gravity well
Posts: 574

> 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.

   Report Go to top


« 1 2 3 (4)



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project