--I did some googling on the subject and adapted a script from one of the suse forums, as well as incorporating some code from another site. The object is to burn the mp3 files themselves to CDR (rather than converting to .wav) in order to get more than the usual 79 minutes of audio.
--This method works in my $30 Audiophase portable MP3 player (I think it was from Target.)
Requires: mkisofs, cdrecord.
Note: the variables CDR_DEVICE and CDR_SPEED are set in my environment, you should export them yourself either in this code (don't forget to chmod +x it) or in your own environment:
export CDR_DEVICE='0,1,0' #== Detect with ' cdrecord -scanbus '
export CDR_SPEED='16 driveropts=burnfree '
Code:#!/bin/bash # # This is a CD-R script for burning mp3 files directly to CD. # The mpg123 program converts mp3s to cdr format, and cdrecord burns # the tracks on the CD. # cd /mnt/cdtemp/audio/ # cvt all fnames to locase: ##for i in *.[Mm][Pp]3; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done # cvt spaces to dashes for i in *.mp3; do mv "$i" `echo $i | tr ' ' '-'`; done # cvt to std extensions for i in *.MP3; do mv "$i" "`basename "$i" .MP3`.mp3"; done # When decoding 22khz MP3 files the output of mpg123 may be distorted. To # fix this, use: ##for i in *.mp3; do mpg123 --rate 44100 --stereo --buffer 3072 --resync \ # -w `basename $i .mp3`.wav $i; done /bin/ls # Burn OTF as .wav (no space savings.:( #for I in *.mp3 # do # mpg123 --cdr - "$I" | \ # cdrecord dev=$CDR_DEVICE -audio -pad -v -speed=$CDR_SPEED -nofix gracetime=5 - #done #cdrecord -eject -v dev=$CDR_DEVICE gracetime=2 -fix #### #> Best Regards, #> Keith # This does what we want, which is create an ISO with mp3 files to save spc: mkisofs -J *.mp3 |\ cdrecord -eject -v dev=$CDR_DEVICE speed=$CDR_SPEED -data - ##mkisofs -J -o /tmp/mymp3s.iso /home/greg/mp3s/ #cdrecord dev=1,0,0 speed=16 /tmp/mymp3s.iso
IBM Server Rack Cabinet 9308-RC4
$209.00
IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD)
$41.99
IBM Server System X3100 M4 | Xeon @ 3.10 Ghz | 8GB | 250GB HDD No OS (IG-PC26)
$112.95
1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray
$318.00
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System
$359.99
IBM x3650 M4 Server Intel Xeon E5-2640 (x2) 144GB RAM No HDDs (#4XN7N)
$199.99
IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD
$68.50
IBM BladeCenter HS20 8843 55U Server - 2x Intel Xeon 4GB RAM - NO HDDs
$21.48
IBM System p5 9131-52A 3.5" 4-Bay Server 80P6787 1 CPU 2GB 6 HD CADDIES TAPE BU
$250.00
$5000.00