Results 1 to 10 of 19

Thread: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Please use this thread for discussion regarding

    https://help.ubuntu.com/community/Pl...romCommandLine

    Support threads should be posted in normal forums.

    Thank you.
    Last edited by Elfy; July 2nd, 2012 at 10:10 AM.

  2. #2
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    thanx elfy

    made 3 small adjustments since text was from a year ago or so


    1. for two tone using nvlc --nocolor
    2. using gnome-open-terminal as another option to nautilus-terminal
    3. info about setting hotkeys for nvlc
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  3. #3
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    thanks

  4. #4
    Join Date
    Jul 2012
    Beans
    6

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Please add moc! It's much better choice for playing music from the terminal.

    Code:
    sudo apt-get install moc
    mocd

  5. #5
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Some comments:

    1. The first section is specific to ubuntu - xubuntu, kubuntu, lubuntu users will not have nautilus installed. Its also possible that installing nautilus-terminal will also install nautilus (unable to verify) which might cause problems on some (ie. xubuntu). Perhaps specifying that these instructions are for ubuntu only or adding similar instructions for the other spins.

    2. In addition to sox, I would also add mpg123/mpg321. The nice aspect of this player is that:
    Code:
    mpg321 -Zz ~/Music/*.mp3
    ...will repeat-random play all files that match that pattern. Ctrl-C to skip to next tune, Ctrl-Z to pause, fg to un-pause and 2 Ctrl-Z in quick succession to quit. Unfortunately, it lacks some other abilities like previous, forward/backward x frames, etc, but is a quick, small player. It can also stream online radio via something like:
    Code:
    mpg321 -vC http://72.232.2.83:80
    ...(dubstep radio station in the example above)

    3. And as suggested by sysaxed, there are also ncurses-based music players. They are lighter than their graphical cousins, but offer more control and functionality than just the command-line utilities. If you choose to mention them, in addition to moc, you could add cmus, mp3blaster, cplay. I'm not sure about moc or mp3blaster, but both cmus and cplay have remote control utilities that you could assign to shortcut keys and be able to manage the playlists in that manner.

  6. #6
    Join Date
    Jul 2012
    Beans
    6

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Quote Originally Posted by Toz View Post

    2. In addition to sox, I would also add mpg123/mpg321.
    ...
    Unfortunately, it lacks some other abilities like previous, forward/backward x frames, etc, but is a quick, small player.
    If you add -C parameter to mpg123 then you're able to use all these features you mentioned. Try it.
    Code:
    mpg123 -ZzC ~/Music/*.mp3
    now if you press "h" button you'll get all possible options. Some of those are:
    [f] next track
    [d] previous track
    [:] fast forward
    [;] fast rewind


    By the way, what is the difference between mpg123 and mpg321?

  7. #7
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    First, nice wiki!
    Code:
    mplayer *
    is something even I can do.

    Quote Originally Posted by Toz View Post
    Some comments:

    1. The first section is specific to ubuntu - xubuntu, kubuntu, lubuntu users will not have nautilus installed. Its also possible that installing nautilus-terminal will also install nautilus (unable to verify) which might cause problems on some (ie. xubuntu). Perhaps specifying that these instructions are for ubuntu only or adding similar instructions for the other spins.
    ...
    I agree that the section mentioned by Toz be modified to make it more "agnostic".

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •