[EMAIL PROTECTED] wrote:
>
>Hallo,
>
>ich weiss es doch auch nicht ;-) Daher als Anlage meine .jackrc, der
>neueste jack meckert zwar etwas, la"uft aber...
>
>Gru"?e,
>Knut Su"bert
>
Dankescho"n, leider gib's jetzt:
lutz@tux:~$ jack
Traceback (most recent call last):
File "/usr/bin/jack", line 787, in ?
execfile(prefs_file)
File "/home/lutz/.jackrc", line 50
unusable_chars = "/
^
SyntaxError: invalid token
lutz@tux:~$
Ist /usr/bin/jack eigentlich regula"r eine Text-Datei?
>
>------------------------------------------------------------------------
>
># preferences for jack-2.99.7
># remove this file to get a new one filled with the defaults.
># This file is parsed as python code, it's easy to break things.
>
>jackrc_version = "2.99.7"
>jackrc_py_version = "2.1.1"
>
>
>## edit these defaults:
>ripper = "cdparanoia" # use which program to rip: cdparanoia, tosha,
> # cdda2wav, dagrab (untested)
>cd_device = "/dev/cdrom" # use which device for ripping
>gen_device = "/dev/sgXXX" # cdda2wav needs the scsi generic device
>
>encoder = "oggenc" # use which encoder (bladeenc, lame, gogo, l3enc,
> # mp3enc, xing, oggenc) attention: this is a
> # symbolic name which is defined later in this file
> # (see helpers), NOT the executable's name
>
>bitrate = 160 # default bitrate
>vbr = 1 # u
>se variable bitrate for encoders which support it
>
># set up freedb (if needed):
>freedb_server = "freedb" # your freedb server, see freedb_servers below
>my_mail = "[EMAIL PROTECTED]" # your e-mail address, needed for freedb
>submissions
>
># if environ.has_key('http_proxy'): del environ['http_proxy']
> # uncomment above line if you don't want to use
> # your default proxy for freedb queries
>
># specify how the resulting files are named:
># %n: track number
># %a: artist
># %t: track title
># %l: album title
># %y: album release year - individual track years are unsupported
># %g: album genre - individual track genres are unsupported
>
>#rename_fmt = "%n.%t" # encoded files are renamed to
>rename_fmt = "%a__%l__%n.%t"# "Artist - Album - 01 - Tracktitle.[ext]"
>#rename_fmt_va = "%n.
>%a - %t" # ditto for Various Artists CDs
>rename_fmt_va = "%n__%n.%a__%t"
>rename_num = "%02i" # numbering format, used for %n above, e.g.
> # %02i with leading '0': 01, 02, ... , 11, ...
>rename_dir = 1 # rename directory as well:
>#append_year = " (%y)" # append the year (if given) to dir: " (1999)"
>dir_template = "%a/%l" # if create_dirs is set and freedb data is
> # available, files are put in
> # base_dir + "/<artist>/<albumname>".
>unusable_chars = "/
> " # put chars which can't be used in filenames
> # here and their
>replacement_chars = ["%", "","_"] # replacements here. replacement_chars is
> # automagically stretched to match
> # unusable_chars' length using the last char
>
> # as fill
>
># example 1: replace all " " by "_":
># unusable_chars = " "
># replacement_chars = "_"
>
># example 2: replace umlauts by an alternate representation and kill some
># special characters:
># unusable_chars = "a"o"u"A"O"U"??*^()[]{}"
># replacement_chars = ["ae", "oe", "ue", "Ae", "Oe", "Ue", "ss", ""]
>
># example 3: use only lowercase, " " --> "_": (depends on LANG env.var!)
># unusable_chars = " " + uppercase
># replacement_chars = "_" + lowercase
>
># these influence the status screen while processing tracks
>show_time = 1 # display track length instead of "track"
>show_names = 1 # set this to 1 to display freedb track names instead
> # "track_01", ... This will not fit in 80x24 term's
>
># other stuff:
>recurse_dirs = 2 # search how deep for workdir
>#searchdirs = ["/opt/mp3", "."] # where to start when
>searching for workdir
>searchdirs = [os.curdir] # the default is the current directory (".")
> # if recurse_dirs > 0
>base_dir = os.curdir # where to create the subdir(s) (".")
>
>update_interval = 1.0 # update status screen every ... seconds
>max_load = 10 # only start new encoders when load < max_load
>
># xtermset related stuff - when enabled, jack uses xtermset to resize your
># xterm so that you can see all tracks.
>xtermset_enable = 0 # disable if you don't have xtermset installed
>restore_xterm_width = 0
>default_width = 80 # your xterm's geometry
>default_height = 24 # these are autodetected when using curses
>
>keep_free = 5*2**20 # suspend if less than keep_free bytes are free
> # don't set this to zero as encoded file size prediction
> # is always a bit below actua
>l sizes => we might need
> # some extra space.
>
># more defaults, these can be changed from the command line:
>encoders = 1 # encode how many files in parallel
>otf = 0 # on-the-fly operation with supported helper apps
>create_dirs = 1 # create (and name if applicable) subdir(s)
>reorder = 0 # reorder tracks to save space while encoding
>keep_wavs = 0 # keep encoded WAVs
>only_dae = 0 # only rip, do not code, implies keep_wavs
>read_ahead = 99 # number of tracks to read in advance
>nice_value = 12 # what nice level (priority) encoders get
>overwrite = 0 # overwrite existing files
>remove_files = 0 # remove jack.* files when done
>silent_mode = 0 # silent-mode means: no output to screen
>
>## Things to do when finished
>exec_when_done = 0 # execute commands below when finished, default: no
> # this is command line controllable
>e
>xec_rip_done = "eject " + cd_device # eject the CD when ripping is finished
>exec_no_err = "play /usr/local/audio/allok.wav" # play sound when finished
>exec_err = "play /usr/local/audio/error.wav" # this is played when an
> # error occured
>
>freedb_dir = "" # change this to something like "/var/spool/cddb" and
> # all queries will be done in this (local) directory
> # later I will allow failed local queries to be
> # done via network
>freedb_pedantic = 0 # don't be pedantic when parsing freedb data, e.g.
> # the ambigous (various artists) TTITLE
> # "The Artist - Track a Title - Cool Remix" is split
> # at the first possible separator.
>
>########################## end of normal options ##############################
>
># you can add/modify al
>l helper apps, here are some examples:
>freedb_servers['freedb-user'] = {
> 'host': "freedb.freedb.org",
> 'id': prog_name + " " + prog_version,
> 'mail': "[EMAIL PROTECTED]",
> 'my_mail': "default"
>}
>
>helpers['lame-user'] = {
> 'type': "encoder",
> 'target': "mp3",
> 'cmd': "lame -h -b %r %i %o",
> 'vbr-cmd': "lame --r3mix --nohist %i %o",
> 'otf-cmd': "lame -h -b %r - %o",
> 'vbr-otf-cmd': "lame --r3mix --nohist - %o",
>
># from lame: -V n quality setting for VBR. default n=4
># 0=high quality,bigger files. 9=smaller files
>
> 'status_blocksize': 160,
> 'bitrate_factor': 1,
> 'status_start': "%",
> 'percent_fkt': """
>s = split(i['buf'], '\\015')
>if len(s) >= 2: s=s[-2]
>if len(s) == 1: s=s[0]
>if find(s, "%") >= 0: # status reporting starts here
>
>y = split(s, "/")
> y1 = split(y[1], "(")[0]
> percent = float(y[0]) / float(y1) * 100.0
>elif find(s, "Frame:") >= 0: # older versions, like 3.13
> y = split(s, "/")
> y0 = split(y[0], "[")[-1]
> y1 = split(y[1], "]")[0]
> percent = float(y0) / float(y1) * 100.0
>else:
> percent = 0
>
>#################### end of auto-generated .jackrc ############################
>"""
>}
>
--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)