LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   Show files on CD in Thunar or Rox Filer (https://www.linuxquestions.org/questions/puppy-71/show-files-on-cd-in-thunar-or-rox-filer-4175576246/)

Fixit7 03-30-2016 03:42 PM

Show files on CD in Thunar or Rox Filer
 
This used to work but no longer does.

I need to copy songs from my CDs to my hard drive so I can convert them to mp3s.

Code:

#!/bin/bash
#    Display content of CD or DVD
#
#   
#
# Help from rcrsn51,Flash,michaelk,01micko,
#
cd_chk=$( cddetect_quick -d /dev/sr0 )
 
  if [[ $cd_chk == "no disc" ]]; then
    echo "No CD/DVD in drive !!"
    gxmessage -timeout 2 "    NO CD/DVD IN DRIVE !!"
    exit
  fi
 
  if [[ $cd_chk == "disc inserted" ]]; then
    echo "CD/DVD is in drive."
    mkdir -p /mnt/sr0
    mount -t iso9660 /dev/sr0 /mnt/sr0
    thunar /mnt/sr0/
   
  fi


michaelk 03-31-2016 11:36 AM

Audio CDs do not have a file system and so your script fails because they can not be mounted. Some file managers depending on desktop can show the CD as tracks using a virtual file system. I do not think thunar has this capability.

Audio CDs can not be "copied". You need to use an encoding program commonly known as a ripper to save them as wav, mp3 etc. pcdripper, asunder and ripperx are a few encoding applications for puppy. I have not used any of them so I can not say how well they work.

Fixit7 03-31-2016 02:51 PM

thanks.

I used cdparanoia to copy the files.

And Audacity to convert them to mp3s.


All times are GMT -5. The time now is 12:35 AM.