/etc/pytonerc is in pytone 3.0.0-1build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 | # PyTone configuration file
##############################################################################
# general configuration settings
##############################################################################
[general]
# randominsertlength:
#
# Total length of songs in seconds after which the random song insert
# algorithm stops. The following means, that you get at least one
# hour of your favourite music upon pressing "r" when a folder
# is selected. :-)
randominsertlength = 3600
# logfile: Name of the file, where the played songs are logged.
#
# Set this to an empty value to disable this feature
logfile = ~/.pytone/pytone.log
# songchangecommand: command executed in shell when the playback of a new song starts
#
# Set this to an empty value to disable this feature. String interpolation like for
# the songformat option (see playlistwindow section below with the exception that
# playstarthours & Co cannot be used here) is performed.
songchangecommand =
# use the following (or a variant thereof) if you have installed the osd_cat binary
# songchangecommand = echo "%(artist)s - %(title)s (%(length)s)" | osd_cat -p middle -A center -f "-adobe-helvetica-bold-r-normal-*-*-320-*-*-p-*-iso8859-1" -l 1 -
# playerinfofile: Name of the file, where information on the song currently
# being played on the main player is recorded
#
# Set this to an empty value to disable this feature
playerinfofile = ~/.pytone/playerinfo
# dumpfile: Name of PyTone dump file
#
# PyTone can try to save it's state in a dump file upon a crash.
# During the following restart, PyTone then tries to reconstruct the
# playlist.
# Set this to an empty value to disable this feature
dumpfile = ~/.pytone/pytone.dump
# debugfile: Name of PyTone deug file
#
# You can specify a file to which PyTone outputs some
# debugging information
# Set this to an empty value to disable this feature
debugfile =
# colorsupport: either auto, on or off
#
# Enable terminal colors. If you set this to auto, PyTone tries
# to check automatically whether your terminal supports colors,
# which not always works reliably.
colorsupport = auto
# layout: onecolumn or twocolumn
#
# Layout of main PyTone windows
layout = twocolumn
# throttleoutput: limit screen updates
#
# Set this to an integer larger than zero, if your terminal
# is slow and you experience problems with the sound output (skips).
# This setting specifies, how many screen updates are being skipped
# if there is still user input.
throttleoutput = 0
# autoplaymode: initial play mode of playlist: off, repeat, random
#
# off: stop playing, when playlist is empty
# repeat: repeat playlist, when end of playlist has been reached
# random: choose a random song for playing when playlist is empty
#
# During runtime, this setting can be changed by pressing a key
# specified in [keybindings.general] playlisttoggleautoplaymode (see below).
autoplaymode = off
# plugins: whitespace separated list of PyTone plugins to be loaded
#
# Plugins may have a config section [plugin.pluginname], where pluginname is
# the name of the plugin.
plugins =
##############################################################################
# database configuration
##############################################################################
# The song database stores all relevant informations of your songs.
[database]
# requestcachesize: number of objects stored in the database request cache
#
# In between the various databases and the rest of PyTone sits a database
# management layer which dispatches, merges and caches the requests to
# the various song databases. The maximal size of its cache (in number of
# objects) can be configured via this option. The optimal setting depends
# on the amount of RAM you have available. Note that there are also
# cachesize settings for the local bsddb databases.
requestcachesize = 50000
# For each song database, there has to be a corresponding [database.name]
# section, where name is the name used to identify the database.
# type: type of database: "local", "remote", "off"
# the different database types have different options, summarized in the following
# type = local: local bsddb database
#
# dbfile: Name of the database file
# Note that every database must have its own database database file!
# musicbasedir: basedir for filesystem based navigation and auto
# registering of songs in database.
# !!! You have to adjust this setting !!!
# tracknrandtitlere Regular expression used for obtaining track nr and title
# from the song filename.
# postprocessors: List of metadata postprocessors to be used. By default the following
# postprocesors are used:
# - capitalize: Capitalize title, album and artist
# - strip_leading_article: strip leading "The " from artists names
# - add_decace_tag: Add decade tag automatically
# autoregisterer: start song and playlist autoregisterer?
# If yes, PyTone tries to find new songs and playlists
# in musicbasedir when it is started.
# You may want to disable the automatic song registering
# after you have once populated your database. Then, you
# register new songs using the -r (--rebuild) command
# line option. Alternatively, you can press "u" to update
# a selected directory in the filelist window.
# playingstatslength: how many songs show PyTone take into account
# for the lists of last and top played songs
# cachesize: size of cache in kBytes used for database
# (only available when using Python 2.3 and above)
#
#
# type = remote: remote song database
#
# networklocation: either server_address:port or socket filename of remote database
# type = off: this database is not used
[database.main]
type = local
dbfile = ~/.pytone/main.db
musicbasedir =
tracknrandtitlere = ^\[?(\d+)\]? ?[- ] ?(.*)\.(mp3|ogg)$
postprocessors = capitalize strip_leading_article add_decade_tag
autoregisterer = on
playingstatslength = 100
cachesize = 1000
#[database.secondary]
#type = remote
#networklocation = localhost:1972
#networklocation = ~/.pytone/pytonectl
##############################################################################
# mixer configuration
##############################################################################
[mixer]
# set sevice to "" to turn the mixer off
device = /dev/mixer
# mixer names (see the oss module for all possibilities)
# for instance:
# control PCM output level...
channel = SOUND_MIXER_PCM
# ... or control master output level
# channel = SOUND_MIXER_VOLUME
# step size (in percent) used when turning volume up and down
stepsize = 5
##############################################################################
# network configuration
##############################################################################
[network]
# if socketfile is a non-empty string, it is opened as a UNIX domain socket
# for the remote control of pytone
socketfile = ~/.pytone/pytonectl
# additionally, PyTone can repond to connections made via client connected by
# a network. If you want PyTone to do this, set this config option to a true value
# Note that you should only do this on a TRUSTED NETWORK!
enableserver = false
# port on which server listens for connections (if enableserver is true)
port = 1972
# here you can specify the domain name on which the server will listen
# (if enableserver is true)
bind = localhost
##############################################################################
# player configuration
##############################################################################
# common option:
#
# autoplay: enable automatic start of playing, if songs are in playlist
# type: type of player: "internal", "xmms", "mpg123", "remote", or "off"
# the different players have different options, summarized in the following
# type = internal: internal player (output with libao)
#
# options:
# driver: "alsa", "alsa09", "arts", "esd", "oss", or "sun"
# device: path of dsp used for output (for oss, sun and alsa09 driver)
# bufsize: size of audio buffer used by PyTone itself in kBytes
# Note: A large buffer may prevent clicking but
# leads to a delayed response for instance to play next
# song requests
# crossfading: on/off
# crossfadingstart: start of crossfading in seconds before the end of
# the currently playing song (only used when crossfading is on)
# crossfadingduration: duration of crossfading in seconds (only used when
# crossfading is on)
# aooptions: additional options passed to the ao library. Format:
# name=value ...
# type = mpg123: external player using mpg123/mpg321
#
# option:
# cmdline: command line for player start
# type = xmms: external player using xmms
#
# options:
# session: xmms session number (usually 0)
# noqueue: 0=no internal queue for song
# 1=internal queue for songs, such that crossfading (via xmms-crossfade)
# is possible
# type = remote: remote player
#
# options:
#
# networklocation: either server_address:port or socket filename of remote player
[player.main]
# This player will be used for playing of the songs in the playlist.
autoplay = true
type = internal
driver = oss
device = /dev/dsp
bufsize = 100
crossfading = on
crossfadingstart = 5
crossfadingduration = 6
#aooptions=period_time=100 use_mmap=1
# example for an internal player using alsa
#type = internal
#driver = alsa09
#device = default
#bufsize = 100
#crossfading = on
#crossfadingstart = 5
#crossfadingduration = 6
# example for an internal player which outputs with a small buffer to aRts
#type = internal
#driver = arts
#bufsize = 100
#crossfading = on
#crossfadingstart = 5
#crossfadingduration = 6
# example for an internal player which outputs with a small buffer to esd
#type = internal
#driver = esd
#bufsize = 100
#crossfading = on
#crossfadingstart = 5
#crossfadingduration = 6
# example for an external player using xmms
#type = xmms
#session = 0
#noqueue = false
# example for an external player using mpg321
#type = mpg123
#cmdline = /usr/bin/mpg321 --skip-printing-frames=5 -a /dev/dsp
#here the command line for mpg123
#cmdline = /usr/bin/mpg123 -a /dev/dsp"
# examle for remote players
#type = remote
#networklocation = localhost:1972
#networklocation = ~/.pytone/pytonectl
[player.secondary]
# the secondary player always plays the currently selected song.
# To be able to use it, you need either need two outputs on your soundcard
# (or two soundcards) or a remote main player on another computer
autoplay = false
type = off
#type = internal
#driver = oss
#device = /dev/dsp1
#bufsize = 0
#crossfading = on
#crossfadingstart = 1
#crossfadingduration = 2
#aooptions=period_time=100 use_mmap=1
#type = xmms
#session = 1
#noqueue = false
#type = mpg123
#cmdline = /usr/bin/mpg321 --skip-printing-frames=5 -a /dev/dsp1
##############################################################################
# window configuration
##############################################################################
[filelistwindow]
# the filelist window allows the selection of the songs in your
# database
# border: define borders of filelist window
#
# Either you can use the predefined settings "off", "all", "compact"
# or "ultracompact" or specify the border manual using a combination
# of "left", "right", "top", and "bottom". An empty string means no
# border
border = all
# scrollbar: should the filelist window have a scrollbar
scrollbar = true
# scrollmode: either "line" or "page"
#
# scrolled up or down one line or one page when you attempt to move across a
# screen boundary. Setting this to "page" is useful for slow links to
# avoid many redraws).
scrollmode = page
# virtualdirectoriesattop:
#
# should the virtual directories be displayed at the top of the
# filelist window?
virtualdirectoriesattop = false
# skipsinglealbums:
#
# should one directly enter the album of an artist with a single album only
skipsinglealbums = true
[playlistwindow]
# the playlist window shows the currently scheduled songs for playing
# border: define borders of playlist window
#
# The format is described in the filelistwindow section.
border = all
# scrollbar: should the playlist window have a scrollbar
scrollbar = true
# scrollmode: either "line" or "page"
#
# scrolled up or down one line or one page when you attempt to move across a
# screen boundary. Setting this to "page" is useful for slow links to
# avoid many redraws).
scrollmode = page
# songformat: format string used for playlist entries
#
# A normal python format string can be used, whereby access to
# a dict with the following keys is available:
# title: title of song (string)
# album: album of song(string)
# artist: artist of song (string)
# path: path of song (string)
# name: basename of song (string)
# length: length of song formated as mm:ss (string)
# minutes: minutes of song length (int)
# seconds: seconds of song length (int)
# year: year of song (int)
# genre: genre of song (string)
# tracknr: track number of song (string)
# playstarthours, playstartminutes, playstartseconds: scheduled start time for song playback (int)
songformat = %(artist)s - %(title)s
#songformat = %(artist)s - %(album)s - %(title)s
#songformat = [%(playstarthours)2d:%(playstartminutes)02d:%(playstartseconds)02d] %(artist)s - %(album)s - %(title)s
[playerwindow]
# the player window shows the song currently being played on the main player
# border: define borders of player window
#
# The format is described in the filelistwindow section.
border = all
# songformat: format string used for player window title
#
# The format is the same as above.
songformat = %(artist)s - %(title)s
#songformat = %(artist)s - %(album)s - %(title)s
[iteminfowindow]
# the item info window shows information about the item currently selected
# border: define borders of item info window
#
# The format is described in the filelistwindow section.
border = all
[inputwindow]
# window appearing, when PyTone expects an input from the user's side
# (for searching, file names, etc.)
# type: either "popup" or "statusbar"
#
# If type="popup", PyTone opens a new window on top of the other windows
# If type="statusbar", PyTone expects the input in the status bar
type = popup
[mixerwindow]
# window for built-in mixer (if present)
# type: either "popup" or "statusbar"
#
# If type="popup", PyTone opens a new mixer window on top of the other windows
# If type="statusbar", the mixer appears in the statusbar of PyTone.
type = popup
# times in seconds after which mixer windows disappears
# automatically. Use 0 to disable the automatic closing.
autoclosetime = 5
[helpwindow]
# popup window for online help
# times in seconds after which the help window disappears
# automatically. Use 0 to disable the automatic closing.
autoclosetime = 0
[logwindow]
# popup window for message log
# times in seconds after which the message log disappears
# automatically. Use 0 to disable the automatic closing.
autoclosetime = 10
[statswindow]
# popup window for database statistics
# times in seconds after which the database statistics window disappears
# automatically. Use 0 to disable the automatic closing.
autoclosetime = 10
##############################################################################
# color configuration
##############################################################################
# specification of colors goes รก la mutt:
# use for colors: color fgcolor bgcolor
# - fgcolor may be prefixed by bright
# - bgcolor can be left away, resulting in the default background color
# use for mono terminals: mono attr
# - attr=none, bold, underline, reverse, standout
# you may also specify a color and a mono directive to support both
# types of colors. If only a color is given, "mono none" is implicitely assumed
[colors.filelistwindow]
background = color white
border = color green
activeborder = color brightgreen mono bold
title = color brightgreen mono bold
activetitle = color brightgreen mono bold
scrollbar = color green
scrollbarhigh = color brightgreen mono bold
scrollbararrow = color brightgreen mono bold
song = color white
artist_album = color brightblue mono bold
directory = color brightcyan mono bold
selected_song = color white red mono reverse
selected_artist_album = color brightblue red mono reverse
selected_directory = color brightcyan red mono reverse
[colors.playlistwindow]
background = color white
border = color green
activeborder = color brightgreen mono bold
title = color brightgreen mono bold
activetitle = color brightgreen mono bold
scrollbar = color green
scrollbarhigh = color brightgreen mono bold
scrollbararrow = color brightgreen mono bold
unplayedsong = color brightwhite mono bold
playingsong = color yellow mono underline
playedsong = color white
selected_unplayedsong = color brightwhite red mono reverse
selected_playingsong = color yellow red mono reverse
selected_playedsong = color white red mono reverse
[colors.playerwindow]
# the player window shows informations about the song which is
# currently being played on the main player
background = color white
border = color green
activeborder = color brightgreen mono bold
title = color brightgreen mono bold
description = color brightcyan mono bold
content = color white
progressbar = color cyan cyan
progressbarhigh = color red red mono bold
[colors.iteminfowindow]
# the iteminfo window shows informations about the currently selected item
# (song, artist, album, playlist, etc.)
background = color white
border = color green
activeborder = color brightgreen mono bold
title = color brightgreen mono bold
description = color brightcyan mono bold
content = color white
[colors.statusbar]
background = color white
key = color brightcyan mono bold
description = color white
[colors.inputwindow]
# colors (the border and title colors are only relevant if inputwindow.type="popup")
background = color white
border = color green
activeborder = color brightgreen mono bold
title = color brightgreen mono bold
description = color brightcyan mono bold
content = color white
[colors.mixerwindow]
# colors (the border and title colors are only relevant, if type="popup")
background = color white
border = color green
activeborder = color brightgreen mono bold
title = color brightgreen mono bold
description = color brightcyan mono bold
content = color white
bar = color cyan cyan
barhigh = color red red mono bold
[colors.helpwindow]
background = color white
border = color green
activeborder = color brightgreen mono bold
title = color brightgreen mono bold
key = color brightcyan mono bold
description = color white
[colors.logwindow]
background = color white
border = color green
activeborder = color brightgreen mono bold
time = color brightgreen mono bold
debug = color white
info = color white
warning = color cyan
error = color red mono bold
[colors.statswindow]
background = color white
border = color green
activeborder = color brightgreen mono bold
title = color brightgreen mono bold
description = color brightcyan mono bold
content = color white
##############################################################################
# keybindings
##############################################################################
# each entry is a space separated list of keys, where for each key:
# - the prefixes alt- and ctrl- may be used
# - case is important
# - KEY_... identifiers from the curses library (+KEY_SPACE for the space key)
# may be used
[keybindings.general]
# keybindings independent of filelist and playlist window
refresh = ctrl-l
# note that the exit key has to be pressed two times in fast succession
exit = ctrl-x
playerstart = p P
playerpause = p P
playernextsong = n N
playerprevioussong = b B
playerforward = >
playerrewind = <
playerstop = S
playlistdeleteplayedsongs = KEY_BACKSPACE
playlistclear = ctrl-d
playlistsave = ctrl-w
playlistreplay = ctrl-u
playlisttoggleautoplaymode= ctrl-t
togglelayout = KEY_F10
showhelp = ?
showlog = !
showstats = %
showiteminfolong = =
showlyrics = L
toggleiteminfowindow = ctrl-v
volumeup = )
volumedown = (
# Play speed controls
playerplayfaster = }
playerplayslower = {
playerspeedreset = ~
# rating of currently playing song
playerratecurrentsong1 = alt-1
playerratecurrentsong2 = alt-2
playerratecurrentsong3 = alt-3
playerratecurrentsong4 = alt-4
playerratecurrentsong5 = alt-5
[keybindings.filelistwindow]
# additional keybindings when filelist window is active
selectnext = KEY_DOWN j
selectprev = KEY_UP k
selectnextpage = ctrl-n KEY_NPAGE
selectprevpage = ctrl-p KEY_PPAGE
selectfirst = ctrl-a KEY_HOME
selectlast = ctrl-e KEY_END
dirdown = KEY_RIGHT KEY_SPACE \n KEY_ENTER l
dirup = KEY_LEFT h
addsongtoplaylist = KEY_SPACE \n KEY_ENTER KEY_RIGHT l
adddirtoplaylist = i I KEY_IC alt-KEY_RIGHT
playselectedsong = alt-\n alt-KEY_ENTER
activateplaylist = \t
insertrandomlist = r R
rescan = u U
toggledelete = D
search = / ctrl-s
repeatsearch = ctrl-g
[keybindings.playlistwindow]
# additional keybindings when playlist window is active
selectnext = KEY_DOWN j
selectprev = KEY_UP k
selectnextpage = ctrl-n KEY_NPAGE
selectprevpage = ctrl-p KEY_PPAGE
selectfirst = ctrl-a KEY_HOME
selectlast = ctrl-e KEY_END
moveitemup = +
moveitemdown = -
deleteitem = d D KEY_DC
activatefilelist = \t KEY_LEFT h
playselectedsong = alt-\n alt-KEY_ENTER
shuffle = r R
rescan = u U
filelistjumptoselectedsong = KEY_RIGHT l
|