LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 03-30-2016, 04:42 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
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
 
Old 03-31-2016, 12:36 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
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.
 
Old 03-31-2016, 03:51 PM   #3
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
thanks.

I used cdparanoia to copy the files.

And Audacity to convert them to mp3s.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill rox filer Fixit7 Puppy 1 03-11-2016 09:31 PM
Rox-filer - How to copy files from remote PC satimis Linux - Software 4 07-16-2007 10:07 PM
rox-filer jimtherabbit Linux - Software 1 08-16-2006 10:52 PM
rox filer question synaptical Linux - Software 2 08-14-2005 05:27 PM
rox filer m4rqs Linux - Software 1 08-27-2002 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration