I've managed to get a basic SC7 CD player Plugin for windows working based on the initial idea. Updating the initial plugin to SC 7 was the easy bit.
This is not a polished CD Player plugin as I did more out of curiosity as I have no real use for it. I will not add features to it. I have not tested it extensively nor can I vouch for cdda2wav although it has been around for a long time and has many options. If you are going to use this plugin, I suggest you satisfy yourself about cdda2wav.exe in case it has some undesirable habits. The update to socketwrapper only involves a final extra tidy up which terminates "orphan" processes. There is a very faint chance this may terminate an unrelated process. As stated earlier Mplayer will not play CD on Windows so I have had to use cdda2wav instead. Unfortunately this app is not well behaved if a user terminates it and it may leave a process behind. This meant socketwrapper had to be updated to killoff the orphan processes. To install. 1. Stop SqueezeCenter 2. Unzip the contents attached into the Server\Plugins directory so that there a CDplayer directory in the Plugins directory and it has the Plugin.pm file (amongst others). 3. Extract cdda2wav.exe from the zip file here ( http://www.student.tugraz.at/thomas.plank/cdrtools-2.01-win32-bin.zip ) and copy into Plugins\CDplayer\Bin directory. 4. If you do not have cygwin installed then get cygwin1.dll from the following zip file http://www.student.tugraz.at/thomas.plank/cygwin1.dll_1.5.25_.zip and copy into the Plugins\CDplayer\Bin directory. 5. Check that it cdda2wav works and to determine custom-convert.conf needs to be edited. 5.1 Opening a command prompt window and change to CDPlayer\Bin directory such as c:\Program Files\SqueezeCenter\server\Plugins\CDplayer\Bin if using default. 5.2 run "cdda2wav.exe -scanbus" command 5.1 It should run correctly Examine output - note the 3 digit tuple associated with your CD player. 5.2 If the tuple of your CD drive is not "0,0,0" then edit custom-convert.conf in CDplayer directory and change the "0,0,0" to the tuple in your system and save file. 6. Start SqueezeCenter - check in Settings there is a Plugin called CDplayer and in Advanced/FileTypes there should be an entry "CD Player" enabled to use cdda2wav. 7. To get easy to use entries in Favorites - edit Favorites and import the following file file://c:\Program Files\SqueezeCenter\server\Plugins\CDplayer\CDtracks.opml assuming default installation. 8. Download and extract sockwetwrapper.exe (v1.11b) from zip at this location http://homepage.eircom.net/~altondsl/slim/socketwrapper111b.zip. 9. Rename existing socketwrapper.exe in C:\Program Files\SqueezeCenter\server\Bin\MSWin32-x86-multi-thread directory so that you can revert if necessary. 10. Save the downloaded socketwrapper111b.zip and extract socketwrapper.exe into the C:\Program Files\SqueezeCenter\server\Bin\MSWin32-x86-multi-thread directory 11. Test by trying to play a track. 12. If problems then enable logging with player.cdplayer and player.source set to INFO and copy log to a post. For reference cdda2wav URLs: http://cdrecord.berlios.de/old/private/cdrecord.html http://www.student.tugraz.at/thomas.plank/ +-------------------------------------------------------------------+ |Filename: CDplayer.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=4132| +-------------------------------------------------------------------+ -- bpa ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=42106 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
