tags 272622 + patch pending thanks * Anthony DeRobertis <[EMAIL PROTECTED]> [2004-09-20 23:28]: > Looks like I have to modify jack_helpers.py to add new encoders now. Not > good, because that was one of jack 2.x's best features.... > > I'd like to have ogg encoding throug DistributedCommand back
* Anthony DeRobertis <[EMAIL PROTECTED]> [2005-01-12 08:00]: > Jack seems to have a facility to load encoders from plugins located in > ~/.jack_plugins (by default). It seems I can actually add > DistributedCommand there. > > Please document this. I couldn't find any documentation either and had to look at the code. I'll add the followng to the man page. I think that makes it clear but if not, let me know. diff -urN jack-3.1.1~/jack.man jack-3.1.1/jack.man --- jack-3.1.1~/jack.man 2005-07-30 00:17:58.000000000 +0100 +++ jack-3.1.1/jack.man 2005-07-30 20:22:39.289263856 +0100 @@ -53,6 +53,11 @@ .B /etc/jackrc or by saving them to .BR ~/.jack3rc . +Additional rippers, encoders and FreeDB servers can be defined by users +through the help of a plug-in directory (as defined by the +.BR plugin_path +option which defaults to +.BR ~/.jack_plugins ). .PP While Jack is running, these keyboard commands are available: .RS @@ -500,6 +505,29 @@ jack -O --remove-files ; gnoise *wav ; jack -g *wav ; jack .RE Just replace gnoise by the operation you'd like to perform. +.SH PLUG-INS +Additional rippers, encoders and FreeDB servers currently not known by jack +can be defined using jack's plug-in mechanism. Plug-ins have to be put in +the +.BR ~/.jack_plugins +directory (or the path defined by the +.BR plugin_path +option). The plug-ins are simple Python scripts which define a hash with +the values for your ripper, encoder or FreeDB server. For rippers and +encoders, the hash +.BR plugin_helpers +has to be defined while additional FreeDB servers are specified in +.BR plugin_freedb_servers . +Both expect another hash whose names corresponds to the entry you want to +add (prefixed by +.BR plugin_ ) +and have to define certain values. Two examples are provided, +.BR jack_plugin_cddb.py +(to define a new FreeDB server) and +.BR jack_plugin_lame.py +(to show how rippers and encoders can be defined). Plug-ins can also be +used to define your own rippers and encoders which uses different options +than those used by default by jack. .SH ENVIRONMENT VARIABLES There are several environment variables which can be used in jack's exec hooks: -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]