rhythmbox(1) General Commands Manual rhythmbox(1)NAME
rhythmbox-client - controls a running instance of rhythmbox
SYNOPSIS
rhythmbox-client [option...][file...]
DESCRIPTION
rhythmbox-client is a tool for controlling an already running instance of rhythmbox. It's useful for remote control scripting, adding spe-
cific files to the library from the shell, or printing details of what's playing. Any files specified after the option arguments will be
added to the library. If the --enqueue option is given, the files will also be added to the play queue.
OPTIONS
-?,--help
Show help options
--debug
Enable debug output
--no-start
Do not start a new instance of rhythmbox
--no-present
Don't present an existing rhythmbox window
--next Jump to next song
--previous
Jump to previous song
--play Resume playback if currently paused
--pause
Pause playback if currently playing
--play-pause
Toggle play/pause mode
--play-uri=URI
Play a specified URI, importing it if necessary
--enqueue
Add specified tracks already in the library to the play queue
--clear-queue
Empty the play queue before adding new tracks
--print-playing
Print the title and artist of the playing song
--print-playing-format=format
Print formatted details of the song (see FORMAT OPTIONS below).
--set-volume
Set the playback volume
--volume-up
Increase the playback volume
--volume-down
Decrease the playback volume
--print-volume
Print the current playback volume
--select-source=URI
Select the source corresponding to a URI (device or mount point)
--activate-source=URI
Select the source corresponding to a URI (device or mount point) and start playing from it if not already playing.
--play-source=URI
Select the source corresponding to a URI (device or mount point) and start playing from it.
FORMAT OPTIONS
%at album title
%aa album artist
%aA album artist (lowercase)
%as album artist sortname
%aS album artist sortname (lowercase)
%ay album year
%ag album genre
%aG album genre (lowercase)
%an album disc number
%aN album disc number, zero padded
%st stream title
%tn track number (i.e 8)
%tN track number, zero padded (i.e 08)
%tt track title
%ta track artist
%tA track artist (lowercase)
%ts track artist sortname
%tS track artist sortname (lowercase)
%td track duration
%te track elapsed time
Variables can be combined using quotes. For example "%tn %aa %tt", will print the track number followed by the artist and the title of the
track.
AUTHOR
This manual page was written by Sven Arvidsson <sa@whiz.se>, for the Debian system (but may be used by others).
SEE ALSO rhythmbox(1).
GNOME 2007-06-28 rhythmbox(1)
Check Out this Related Man Page
MP3::Tag::Cue(3pm) User Contributed Perl Documentation MP3::Tag::Cue(3pm)NAME
MP3::Tag::Cue - Module for parsing .cue files.
SYNOPSIS
my $db = MP3::Tag::Cue->new($filename, $track); # Name of audio file
my $db = MP3::Tag::Cue->new_from($record, $track); # Contents of .cue file
($title, $artist, $album, $year, $comment, $track) = $db->parse();
see MP3::Tag
DESCRIPTION
MP3::Tag::Cue is designed to be called from the MP3::Tag module.
It parses the content of a .cue file.
The .cue file is looked for in the same directory as audio file; one of the following conditions must be satisfied:
o The "audio" file is specified is actually a .cue file;
o There is exactly one .cue file in the directory of audio file;
o There is exactly one .cue file in the directory of audio file with basename which is a beginning of the name of audio file.
o There is exactly one .cue file in the directory of audio file with basename which matches (case-insensitive) a beginning of the name of
audio file.
If no .cue file is found in the directory of audio file, the same process is repeated once one directory uplevel, with the name of the
file's directory used instead of the file name. E.g., with the files like this
Foo/bar.cue
Foo/bar/04.wav
audio file Foo/bar/04.wav will be associated with Foo/bar.cue.
parse()
($title, $artist, $album, $year, $comment, $track) =
$db->parse($what);
parse_filename() extracts information about artist, title, track number, album and year from the .cue file. $what is optional; it
maybe title, track, artist, album, year, genre or comment. If $what is defined parse() will return only this element.
Additionally, $what can take values "artist_collection" (returns the value of artist in the whole-disk-info field "PERFORMER",
"songwriter".
title()
$title = $db->title();
Returns the title, obtained from the 'Tracktitle' entry of the file.
artist()
$artist = $db->artist();
Returns the artist name, obtained from the 'Performer' or 'Albumperformer' entries (the first which is present) of the file.
track()
$track = $db->track();
Returns the track number, stored during object creation, or queried from the parent.
year()
$year = $db->year();
Returns the year, obtained from the 'Year' entry of the file. (Often not present.)
album()
$album = $db->album();
Returns the album name, obtained from the 'Albumtitle' entry of the file.
comment()
$comment = $db->comment();
Returns the 'REM COMMENT' entry of the file. (Often not present.)
genre()
$genre = $db->genre($filename);
perl v5.14.2 2009-11-28 MP3::Tag::Cue(3pm)