daisy-player(1)
β¨ daisy-player β the glow-up β¨
okay bestie, so this is the daisy-player(1) page from the Linux Reference Manual and honestly? it's a whole vibe. it's a player for DAISY Digital Talking Books and Audio-CDs, and i'm about to walk you through every single bit of it. no skips, no shortcuts, we're doing the full read π
πΈ NAME πΈ
daisy-player β a player for DAISY Digital Talking Books or Audio-CD's. periodt.
π SYNOPSIS π
daisy-player [directory_with_a_Daisy-structure |
Daisy_book_archive] [-c cdrom_device] [-d audio_device:audio_type] [-h]
[-i] [-T] [-n | -y] [-v]
look at her. iconic. she takes a directory or an archive, plus a lil pile of flags. we'll get to every one, i promise π«Ά
π¦ DESCRIPTION π¦
so, daisy-player reads a Daisy-CD and plays the audio-files, fr fr. right now it supports DAISY versions 2.02 and 3, and also media with multiple books β that's the discinfo situation, iykyk.
she can also play Audio-CD's, and when she does she tries to get CD-information from a cddb-database. the way she just knows π
a list of items on the Daisy-CD or Audio-CD will pop up on your screen. press <ENTER> to start playing. and here's the cute part: when the reading of an item is finished, daisy-player will play the next item, and the cursor will automatically skip to that item β so if you've got a braille-terminal attached, it'll display the name of that item for you. main character accessibility energy, we love to see it π
π OPTIONS π
directory_with_a_Daisy-structureβ you can just handdaisy-playera directory with a daisy structure as the argument. easy.Daisy_book_archiveβ or you can hand her an archive with a daisy structure instead. tons of archive-formats are supported, like.tar.gzor.zip. the archive gets unpacked using theunar-utility. lowkey magical β¨-c cdrom_deviceβ use DEVICE as the CD device. DEVICE is the device special file name of the CD-ROM device. the default is/dev/sr0. and heads up bestie: be sure the user is a member of the groupcdrom.-d audio_device:audio_typeβdaisy-playerwill play on this sound device, of the givenaudio_type. the value must be of the formaudio_device:audio_type. examples:-d default:alsa,hw:0:alsaor0:pulseaudio. this option overrules the value in the~/.daisy-player.xmlconfig file. and again, be sure the user is a member of the group"audio".-hβ display this help and exit. short and sweet.-iβ ignore reading of the bookmarks. not today, bookmarks.-Tβ do not display the time passing during playback. no clock anxiety, slay.-nβ don't fetch cddb-information of an Audio-CD from the internet.-yβ fetch cddb-information of an Audio-CD from the internet.-vβ be more verbose, so one can se what's going on while initializing. (yes, that's how it's spelled in the original, i'm just the messenger π)
π SCREEN π
the name and version of this program and the name of the author will be displayed left aligned at the top of the screen. the name of the current loaded book will be displayed right aligned. balanced. as all things should be.
the second row of the screen will display:
- the number of pages of the current loaded book (if any)
- the current selected level and the total number of levels
- the total playing time
- the current displayed screen and the total number of screens
the next rows will display the title of the item, the first page of that item within brackets (if there are pages), and the playing time. items in higher levels will be indented β three spaces for each level. and when "just playing this item" is active, a "J" will be viewed at the first column of that item. cute lil marker π
β CONTROL KEYS β
daisy-player recognizes the following keyboard-commands, and there are a LOT of them, so buckle up:
cursor down,2β move cursor to the next itemcursor up,8β move cursor to the previous itemcursor right,6β skip 10 seconds forwardscursor left,4β skip 10 seconds backwardspage-down,3β view next screenpage-up,9β view previous screenenterβ start playingspace,0β pause/resume playinghome,*β play on normal speed/β search for a labeldβ store current item to disk. (take into account the selected level)D,-β decrease playing speede,.β stop playing and ejectfβ find the currently playing item and place the cursor theregβ go to time in this item or song (MM:SS)G(DAISY-CD) β go to page number (if any)h,?β give this helpj,5β just play current item and place a"J"at the first column.lβ switch to next levelLβ switch to previous levelmβ mute sound on/offnβ search forewardsNβ search backwardsoβ select next output sound device. the volume levels and the"mute"states of all cards ar shown and can be alteredpβ place a bookmarkqβ quitdaisy-player. the playing-point will be saved as bookmark.sβ stop playingTβ display the time passing during playback on/offU,+β increase playing speedv,1β decrease playback volumeV,7β increase playback volume (beware of Clipping)
π NOTES π
when playing an Audio-CD, skip-left and skip-right react a little late. the same goes for commands like 'U', 'D' and HOME. not her fault, she's doing her best π
a DAISY 2.02-medium normally contains a single book. but if more than one DAISY book is provided on the same medium, each book is stored in a separate folder (directory) of its own. in the root of the CD, DVD, or other media, a file called discinfo.html is created that contains links to all books on the medium. (see https://daisy.org/activities/standards/daisy/daisy-2/daisy-format-2-0-specification/)
a DAISY 3-book has two index-files for navigation β a NCX and an OPF file. daisy-player tries to detemine which of these two files give the best result. but sometimes daisy-playr is not able to make the best choice. when in doubt, use option "--N" to force the use of NCX or "-O" to force the OPF. this is only for DAISY format 3 books. iykyk π«Ά
ngl bestie, those--Nand-Ooptions show up in the notes but not in the options list above β that's just how the original page is, so i'm telling you exactly like it is. no cap.
π₯ THANKS TO π₯
shoutout time, because none of this happens alone:
- Daniel Veillard
<daniel@veillard.com>β for the XML2 library. - Robert Leslie
<rob@mars.org>β for the MPEG audio decoder (madplay). - Chris Bagwell
<cbagwell@users.sourceforge.net> - Rob Sykes
<aquegg@yahoo.co.uk>β for the sox library. - Kim Nilsson
<kim.nilsson@no-substitute.com> - Lennart Poettering β for pulseaudio.
- Colomban Wendling
<cwendling@hypra.fr>β for some patches.
we stan every single one of them π
π FILES π
~/.daisy-player/β this directory contains the bookmarks in XML-format. each file has the name of the book and contains the name of the current item, the start-time of that item and the current level.~/.daisy-player.xmlβ this file, in XML-format, contains the current sink in the list of the available sound devices, the desired playing speed, the current cdrom-device and wether or not to fetch cddb-information.
π§ SEE ALSO π§
cddbget(1), unar(1), eject(1), udisksctl(1), pulseaudio(1), pactl(1), amixer(1), alsamixer(1), usermod(8)
go read those too, they're the supporting cast π
π AUTHOR π
Jos Lemmens <jos@jlemmens.nl>
π COPYRIGHT π
Copyright (C)2003-2021 Jos Lemmens <jos@jlemmens.nl>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see the file COPYING); if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
and that's the whole page bestie π this was daisy-player(1) at version 13.0, dated 08 January 2022, straight out of the Linux Reference Manual. mwah. go play some books πβ¨
π¦ where this page comes from
- debian bookworm: daisy-player 13.0-4 Β· GPL-2.0-or-later
- ubuntu jammy: daisy-player 13.0-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms