Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Play app

  1. #1
    Join Date
    Oct 2012
    Beans
    10

    Play app

    I typed on the Command line of terminal: sudo apt-get install play. The loading process started and then stopped saying it could not find play.
    I am using Ubuntu 12.10 with all the updates installed. I wanted to use play to play music from the Terminal. How do I secure this app. What repository do I download?
    The terminal gave me the actual command line so I was confused as to why it didn't work.

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

  3. #3
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    8,578
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Play app

    aplay or mocp (sudo apt-get install moc). I'm not familiar with play.

    tgalati4@Mint14-Extensa ~ $ apt-cache policy play
    N: Unable to locate package play

    D'Oh! Yes, sox contains the program play.

    Code:
    sudo apt-get install sox
    Last edited by tgalati4; March 4th, 2013 at 02:44 AM.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  4. #4
    Join Date
    Oct 2012
    Beans
    10

    Re: Play app

    Thank you for the assistance. I entered that at the command line and I am now able to use play. Unfortunately, it only seems to work with ogg. I have tried it with mp3 and m4a and it tells me that it won't work with those file extenders. But, it works great for ogg music files.

  5. #5
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Play app

    If you install libsox-fmt-mp3 it should work.
    Code:
    sudo apt-get install libsox-fmt-mp3
    Edit: Or you could use mplayer in CLI too.
    Last edited by oldos2er; March 7th, 2013 at 06:22 PM.

  6. #6
    Join Date
    Oct 2012
    Beans
    10

    Re: Play app

    I entered the command line you suggested to secure the mp3 but after it read the package list said that the value 'mp3' is invalid for APT:efault - Release as such a release is not
    available in the sources.


    Any more Ideas?

    Thank you again for your assistance!

  7. #7
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Play app

    Try
    Code:
    sudo apt-get update && sudo apt-get install libsox-fmt-mp3
    If there are errors please copy and paste all the terminal output here.

  8. #8
    Join Date
    Oct 2012
    Beans
    10

    Re: Play app

    I will give this a shot. However, I tried using mplayer with an tune with an mp3 extension and it worked just fine. However, mplayer would not play the tunes with the m4a extension. Will try it after I update the library and let you know my failure or success.

  9. #9
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Play app

    Sounds like you're missing codecs. Try
    Code:
    sudo apt-get install gstreamer0.10-ffmpeg

  10. #10
    Join Date
    Oct 2012
    Beans
    10

    Re: Play app

    I entered the command sudo apt-get install gstreamer0.10-ffmpeg and it came back saying that i had the latest version installed so it made not updates. Oh, well mplayer works with mp3 files so I can create a directory of files with those extensions to play around with.

    One more question, I have tried to Ctrl-C the terminal screen and when I ctrl-V the forum screen, I only get the command line but not the rest of the output in response to the command. I tried to dump using the word processor to see if it was the terminal. All that wa copied to the word procesor screen was what was copied to the forum screen. So, how do you copy the output of a command if you don't use Ctrl-C?

    Thanks for you assistance. This was a good experience and I actually learned some new stuff so I thank you again.

Page 1 of 2 12 LastLast

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
  •