Announcement

Collapse
No announcement yet.

Is it possible ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is it possible ?

    Is it possible to set up a box with a soundcard and a console based mp3 player that plays files stored in a playlist at random?
    I am going to connect the output of the soundcard to a low power fm transmitter
    a example http://cgi.ebay.com/0-5W-STEREO-FM-T...QQcmdZViewItem

    The box should be capable of remote administration, and auto power up if the net current fails. It should also begin playback of mp3 files by it self when powered up.

    #2
    Re: Is it possible ?

    Yes its possible, there are quite a few command line music players such as mpg321, mpd (which is a bit more ) etc.

    The easiest way would be to write a script to choose a random file to play and pass it on to a command line player, could be done in bash, ruby, python etc.

    As for auto start up after power failure, that would be down to the BIOS settings. To start playing music automatically, just stick a call you your script in /etc/init.d
    For remote admin, install the package 'openssh-server' then you can log in with full access to the command line.

    Comment


      #3
      Re: Is it possible ?

      Originally posted by stealthbanana
      Yes its possible, there are quite a few command line music players such as mpg321, mpd (which is a bit more ) etc.

      The easiest way would be to write a script to choose a random file to play and pass it on to a command line player, could be done in bash, ruby, python etc.

      As for auto start up after power failure, that would be down to the BIOS settings. To start playing music automatically, just stick a call you your script in /etc/init.d
      For remote admin, install the package 'openssh-server' then you can log in with full access to the command line.
      And i do not know squat about scripting..

      Comment

      Working...
      X