Sponsored Content
Operating Systems BSD How to play a song in terminal app in os x? Post 302961736 by sea on Thursday 3rd of December 2015 04:37:00 AM
Old 12-03-2015
Scratch the word iTunes, then yes. Smilie
Honestly, just look at its itunes --help output.
But most likely itunes will not even when started from a tty, but will work flawlessly if called from a terminal window.
(the first is all console, the 2nd is still GUI)

No idea about Mac, but have a look at these, if available:
aplay
moc
ffmpeg
mplayer
mpd

And if the arguments are too heavy, you might want to try my Video Handler Script (VHS), requires ffmpeg, which lets you play music from the console, and alot more.

Hope this helps, or be more specific.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sound card and audio song

Hello, How can i install the sound card on solaris 9.00 and also, how can i play MP3 and audio songs on solaris.... pls provide me the complete steps.... thnks (4 Replies)
Discussion started by: taurian1234
4 Replies

2. Programming

problem with playing a song using mplayer

Hi all, I have an application program which keeps reading an audio file from a directory one after the other , once a file is chosen it keeps sending data in terms of 60000 bytes to a specified socket. This is written into another file "x.mp3" and mplayer is called. Again next 60000... (1 Reply)
Discussion started by: shashi
1 Replies

3. Windows & DOS: Issues & Discussions

Display running 'app' in terminal titlebar?

Hi. I was, not too long ago, an OS X home user. One of the things I remember from using the Apple-installed Terminal is: whenever an executable that took more than a split second to do its thing was running, its name would appear in the title bar in a way similar to "Terminal: ssh" or "Terminal:... (0 Replies)
Discussion started by: SilversleevesX
0 Replies

4. UNIX for Advanced & Expert Users

Cygwin <--> CMD App Problem (Terminal Type?)

I'm not sure if this is the right place to post this, but here it is. We have a nightly process that runs on an HP-UX box to stop our application and backend database servers, unmount their SAN hosted file systems, and then snapshot the SAN LUNs for backup and refresh of data on "report" and... (1 Reply)
Discussion started by: deckard
1 Replies

5. OS X (Apple)

Terminal.app keeps creating copies of my settings files

Under Leopard, I like to conveniently open Terminal windows onto remote systems. I've created several settings files in Terminal, one for each remote system that I want to access. To open window, I right-click on the Terminal icon in the Dock, expand the "New Window" menu item, and select the... (0 Replies)
Discussion started by: siemsen
0 Replies

6. Shell Programming and Scripting

Need Mac .sh to run command line app in seperate terminal

Hello, currently we are executing a .sh from terminal. The current .sh looks like this: #!/usr/bin/env bash /Users/user/my.app/Contents/MacOS/my & -- Now, we also need to run a third line in the .sh - It's a command line application that I need to run when I execute the above .sh... (0 Replies)
Discussion started by: yoyoyo777
0 Replies

7. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
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)
All times are GMT -4. The time now is 02:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy