JukeboxAdder 1.2
Add files to Jukebox from Ambient etc.
Short: Add files to Jukebox from Ambient etc.
Author: jPV^RNO
Uploader: jpv amigascne org (jPV^RNO)
Type: mus/play
Version: 1.2
Architecture: ppc-morphos >= 3.4.0
ABOUT
-----
A script to add files to Jukebox from Ambient or other programs.
Lua and ARexx versions included.
INSTALLATION
------------
copy jukeboxadder.lua to SYS:S/ (or any location you want)
USAGE
-----
luax jukeboxadder.lua <cmd> <file/dir>
where <cmd> is:
PLAY - clear current playlist and play the given file or dir
ADD - add file or dir to current playlist
ADDPLAY - add file or dir to the playlist and start playing
Tips with Ambient mimetypes:
- Use PLAY for DoubleClick and others as Menu items
- DON'T tick Merge selection
- You can make mimetypes for files and directories
- Example command:
(AmigaDOS) MOSSYS:C/LuaX S:jukeboxadder.lua PLAY %sp
EXAMPLE MIMETYPE CONFIGURATIONS
-------------------------------
For adding directories into Jukebox edit
SYS:Prefs/Ambient/filetypes/internal/x-morphos-globalaction-directory file
and add the following lines before the last "End" line:
Action
Name Play in Jukebox
Menu Jukebox
Event Menu
Command AMIGADOS MOSSYS:C/LuaX S:jukeboxadder.lua PLAY %sp
End
Action
Name Add to Jukebox
Menu Jukebox
Event Menu
Command AMIGADOS MOSSYS:C/LuaX S:jukeboxadder.lua ADD %sp
End
Action
Name Add to Jukebox and play
Menu Jukebox
Event Menu
Command AMIGADOS MOSSYS:C/LuaX S:jukeboxadder.lua ADDPLAY %sp
End
For adding mp3 files into Jukebox edit SYS:Prefs/Ambient/filetypes/audio/mpeg
file and add the following lines before the last "End" line:
Action
Name Play in Jukebox
Event DoubleClick
Command AMIGADOS MOSSYS:C/LuaX S:jukeboxadder.lua PLAY %sp
End
Action
Name Add to Jukebox
Event Menu
Command AMIGADOS MOSSYS:C/LuaX S:jukeboxadder.lua ADD %sp
End
Action
Name Add to Jukebox and play
Event Menu
Command AMIGADOS MOSSYS:C/LuaX S:jukeboxadder.lua ADDPLAY %sp
End
Or if you don't have those files, create corresponding mimetypes with Ambient's
mime editor.
HISTORY
-------
1.1 (10.11.2013) - Launch Jukebox with WBRun to preserve saved settings
1.2 (15.12.2013) - Lua version
Gratis
Desde el Amiga: abre Hangar y busca JukeboxAdder.
| Autor | jPV^RNO |
|---|---|
| Categoría | mus/play |
| Tamaño | 165 KB |
| Fecha | 2025-01-06 |
| Para | ppc-morphos >= 3.4.0 |
| Origen | Aminet |