기본적으로 짧은 대답은 "예"이며 이러한 대답의 보완은 " rhythmbox-client
현재 실행중인 Rhythmbox가 아직로드되지 않은 경우 명령의 첫 번째 인스턴스가 호출 할 경우 터미널에서 명령을 사용하여 제어합니다."입니다.
예 : rhythmbox-client --play
현재 리듬 박스 세션이 현재 노래 (또는 목록의 첫 번째 노래) 재생을 시작하도록합니다. Rhythmbox가 닫혀 있으면 재생을 시작하기 위해 Rhythmbox가 먼저 열립니다.
rhythmbox-client
그 사용법과 사용법 에 대한 자세한 내용은 rhythmbox-client 매뉴얼 페이지 에서 확인할 수 있습니다 . 여기에 참고 용으로 맨 페이지의 일부를 배치했습니다.
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
specific files to the library from the shell, or printing details of
what's playing. It also has an interactive mode, useful for controlling
playback remotely via ssh. 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
--quit Quit rhythmbox
-i,--interactive
Start interactive mode --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
--stop Stop playback if currently playing
--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).
편집하다
이 주제에 관심이 있으니까 다음 명령으로 테스트를 실행했습니다.
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Seek int64:60000000
여기에 게시 된 원래 답변에서. 실제로 현재 재생중인 노래를 찾는 작업에 도움이되는 것은 무엇입니까 (아수의 의견에 따라).
행운을 빕니다!