This is an "official" announce for the CDplayer plugin which has been
discussed & tested in the "playing cd's" thread in General Discussion
forum 

CDplayer plugin enables CDs to be played on the host PC CD/DVD drive
through SqueezeCenter.

This plugin is useful for the occasional use of CDs.
- play CD which are on loan / now owned. 
- play CDs which may not warrant ripping and saving (e.g. newspaper
freebies, audio books)  
- impatience - can't wait to play a new CD 

The CD can be played either directly a track at a time using an "URL"
(e.g. cdplay://1,  cdplay://19 ) or through the CDplayer menu under
Extras in which case the FreedB/MusicBrainz databases are checked and
if the CD is identified, Album and track details are shown when CD
tracks are played. 

The plugin uses an application called CDDA2WAV to actually rip audio
from the CD. To use CDplayer on your platform you will need a copy of
CDDA2WAV.  The quality of the rip may be a bit compromised since track
has to be played in realtime.  The installation of CDplayer plugin is
slightly different for Windows, Linux and OSX because CDDA2WAV is an
executable. 

cdda2wav reference URLs:
http://cdrecord.berlios.de/old/private/cdrecord.html
http://www.student.tugraz.at/thomas.plank/

Thanks to Danco for all the help testing the OSX version of CDplayer.

BASIC OPERATION.
Once Installed - there will be a CDplayer menu in Extras on WebUI, SB
and SBC. Click on CDplayer menu and you will get 1,2 or more menu
items.

There will always be a "CD Tracks - raw format" entry. This menu has an
entry for each track - the tracks are numbered. If Album cannot be
identified then there will only be the "raw" entry. Occassionally an
album will be wrongly identified so user can use "raw" entry to play
track without showing incorrect info.

Often (especially using FreeDB) there will be two or more records
associated with an Album id - all matching records will be shown.

There is a setting to change operation of Pause to Stop within
CDplayer. This is because I am not sure what happens if a playing CD
audio stream is paused so I think stop may be better for CD drive. 


WINDOWS INSTALLATION.
1. Stop SC
2. Download a Zip file from
http://homepage.eircom.net/~altondsl/slim/CDplayerWin1v03.zip .  This
zip file includes necessary executables such as CDDA2WAV.exe 
3. Unzip the zipped file into server/Plugins so that you have a
server/Plugins/CDplayer
4. You can optionally update socketwrapper which helps minimise stray
processes left behind by cdda2wav. Following steps are optional -
otherwise go to step 5..
4a.Download and extract sockwetwrapper.exe (v1.11b) from zip at this
location
http://homepage.eircom.net/~altondsl/slim/socketwrapper111b.zip 
4b. Rename existing socketwrapper.exe in C:\Program
Files\SqueezeCenter\server\Bin\MSWin32-x86-multi-thread directory so
that you can revert if necessary.
4c. copy the downloaded socketwrapper.exe into the C:\Program
Files\SqueezeCenter\server\Bin\MSWin32-x86-multi-thread directory
5. Start SqueezeCenter - check in Settings there is a Plugin called
CDplayer and in Advanced/FileTypes there should be "CD Player" entries 
enabled to use cdda2wav.
6. In Settings/Plugins/CDplayer/Settings - if you have more than one
CD/DVD drive - you can select the drive to be used.   There is a
setting to get Album data from FreeDB, MusicBrainz or do not use any
database.
7. Put CD in drive and test using either CDplayer menu under Extras or
play "cdplay://1" using Tune-in.


LINUX INSTALLATION.
1. Stop SC
2. Download the CDplayerLinux1v03.tar.gz file attached to this post. 
3. Install cdda2wav from the repository for your distro.
4. Untar the tar.gz file into server/Plugins such that you have a
directory server/Plugins/CDplayer.  Change ownership and permissions of
the files to suit your systems.  
5. Start SqueezeCenter - check in Settings there is a Plugin called
CDplayer and in Advanced/FileTypes there should be entries "CD Player"
enabled to use cdda2wav.
6. In Settings/Plugins/CDplayer/Settings - if you have more than one
CD/DVD drive - you should define the drive to be used - by default
/dev/cdrom is used.   There is a setting to get Album data from FreeDB,
MusicBrainz or do not use any database.
7. Put CD in drive and test using either CDplayer menu under Extras or
play "cdplay://1" using Tune-in.

OSX INSTALLATION
As I don't have a Mac, the OSX installation instructions and
installation can be considered to be beta and may need some
correction/updates.  So here is the first draft. 

1. Stop SC
2. Download the CDplayerOSX1v03.tar.gz file attached to this post. 
3. Install cdda2wav from an OSX repository and make sure it is on the
path (e.g. install into /use/local/bin) 
4. Untar the tar.gz file into ~/Library/Application
Support/SqueezeCenter/Plugins. This folder may need to be created.
After untarring the file, you have a directory ~/Library/Application
Support/SqueezeCenter/Plugins.  You should change ownership and
permissions of the files to suit.  Make sure the
CDplayer/Bin/cdda2wavosx.sh file is executable  
5. Start SqueezeCenter - check in Settings there is a Plugin called
CDplayer and in Advanced/FileTypes there should be entries for "CD
Player" enabled to use cdda2wav.
6. In Settings/Plugins/CDplayer/Settings - if you have more than one
CD/DVD drive - you should select the drive to be used - it may be trial
and error.   There is a setting to get Album data from FreeDB,
MusicBrainz or do not use any database.
7. Put CD in drive and test using either CDplayer menu under Extras or
play "cdplay://1" using Tune-in.

If you have more than one CD/DVD drive then there is one other
configuration issues that may need to be set. If CDs do not play - then
you make have to modify the "diskutil" command in Bin/cdda2wavosx.sh. 
Normally /dev/disk1 is correct.  Use a "Mount" command in a Terminal
window to find out what "drive" corresponds to your CD/DVD drive.


+-------------------------------------------------------------------+
|Filename: CDplayerLinux1v03.tar.gz                                 |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=5027|
+-------------------------------------------------------------------+

-- 
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

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

Reply via email to