Welcome to MorphOS-Storage, a webserver dedicated to MorphOS users. ©2016-2024 Meta-MorphOS.org
Description:Add files to Jukebox from Ambient etc... by jPV^RNO.
Developer/Porter:jPV^RNO
Homepage:http://jpv.wmhost.com/morphos/
Readme:
Short: Add files to Jukebox from Ambient etc.
Author: jPV^RNO (jpv amigascne org)
Type: mus/play
Version: 1.2


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

Paypal:
Upload Date:Jul 24 2016
Category:Audio/Scripts
Download:JukeboxAdder_1.2.lha
Md5:5c5d8a1384134f71eab7ad62d9b68de7
Size:165 KB
Downloads:229
Screenshot(s)
History
Last Comments