Logo by Alessandro Bacchia (anonymous IP: 3.144.122.20,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (148) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4398 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
Button bank for controlling AmigaAMP3 I cobbled this together yesterday, it's not been tested much so use it at your own risk. Installation: Just copy the files to the relative drawers in DOpus5. I've used a DOpus5: assign so you can either add that assign to your system or edit the button image paths to fit your system. Use load in the button menu and select AmigaAMP3. If you want it to be there permanently close all unwanted listers and save layout in the settings menu. Usage: A button bank of 7x2 buttons should open and look sort of like this: [ |< ][ << ][ > ][ || ][ # ][ >> ][ >| ] [ Q ][ S ][ I ][ R ][ - ][ + ][ ^ ] The buttons are: [ |< ] Previous track [ << ] Rewind 10 seconds [ > ] Play [ || ] Pause [ # ] Stop [ >> ] Fast foward 10 seconds [ >| ] Next track [ Q ] Quit [ S ] Shuffle [ I ] LMB: Iconify RMB: Uniconify [ R ] Repeat [ - ] Volume down [ + ] Volume up [ ^ ] Add files To add files just select the files or drawers you want to add in a lister and click the add button, AmigaAMP3 will be started and iconified if it's not already running (you will see a quick flash as it opens before iconification). I had some problems with this as the STATUS command doesn't seem to work (maybe CD only) so I used GETFILENAME to see if anything is being played, if it is files are added to the playlist if not the first file is opened and played and the remaining files are added. To position the bank press RAmiga 3 and click on the bank, change Drag: to automatic, position it where you want and switch drag: back to none and save. Note: I've used Appdir: to find AmigaAMP3 so you must have run it before trying this script or edit the path in the AmigaAmp-add.rexx script. The advantage of Appdir: is that it'll work out of the box on most peoples systems, the disadvantage is you need OS4.1 and that if you don't run AmigaAMP for 3 months dos will remove the appdir entry and you have to run it manually again. To use it on OS versions less than 4.1 just edit the AmigaAmp-add.rexx file and replace Appdir:AmigaAMP3 with the full path and filename for your system. History: V4: First OS4Depot release Added a right click option to the add files button which will clear the current playlist before adding new files. V3: Added file filtering. AIFF, FLAC, OGG, M4A, MOD, MP2, MP3, S3M, WAV, IT & XM extensions are now checked. Anything else aborts the add command. If you need different extensions edit the AmigaAmp-add.rexx script. Optimized the add script to stop checking extensions as soon as it finds a match. V2: Changed the icon images to transparent and added the background image. Added Port checks to all commands. Added recursion to the add button so you can add multiple drawers quickly. No filtering is done so if you have cover images etc. in the drawers they will be passed to AmigaAMP3. Rearranged the 3 letter buttons so they say 'SIR' instead of 'IRS' ;) V1: First Release. ToDo: Add filtering so only *.(mp2|mp3|ogg|flac|wav|aiff) files are passed to AmigaAMP3. -Done. |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |