Thought I could share this with you.

I wanted CDs to automatically be ripped and added to Squeezebox Server
when I inserted them into the pc. 

I found this blog describing a method.
http://sudocode.blogspot.com/2009/06/auto-rip-audio-cds-in-ubuntu-server.html

This was a headless ubuntu server, whereas mine is a desktop machine so
I could do it a bit simpler. I only used the CLI ripping program abcde
(http://www.andrews-corner.org/abcde.html ) and a small script to start
abcde and start a rescan on squeezebox server.

Here is the small script

Code:
--------------------
    
  /bin/echo -e "Riping CD to Squeezebox Server\n";
  /bin/echo -e "Starting abcde\n";
  abcde -N; 
  /bin/echo -e "\n abcde finished.\n Exit status: " $?
  /bin/echo -e "\n"
  echo `date` "requesting squeezecenter rescan..."
  (
  sleep 1;
  /bin/echo -e "rescan\r";
  sleep 1;
  /bin/echo -e "exit\r";
  sleep 1;
  ) | telnet localhost 9090 
  echo `date` "telnet exit status: " $?
  
--------------------


When you insert a music CD in Ubuntu you are asked what you want to do
with it. I selected that the script above would be executed every time a
music cd was inserted.


-- 
benlen
------------------------------------------------------------------------
benlen's Profile: http://forums.slimdevices.com/member.php?userid=21743
View this thread: http://forums.slimdevices.com/showthread.php?t=71721

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping

Reply via email to