Serve cdrom images in cdrdao/cue format

If you have a suggestion for a feature, post it here

Serve cdrom images in cdrdao/cue format

Postby elempr » Mon Nov 26, 2012 11:57 pm

Hello,
It would be very usefull to serve files created by cdrdao - almost exact binary copy of disc (BIN) and table of content (TOC or CUE).
I have all my audio CD's backed up this way:

$> cdrdao read-cd --datafile cdrom.bin cdrom.toc # create binary image and toc file
$> toc2cue cdrom.toc cdrom.cue # convert toc to cue file format
$> dd conv=swab -in cdrom.bin -of cdrom.swb # swap byte order in samples
$> mv cdrom.swb cdrom.bin

Mplayer can play these BIN files:
$> mplayer -demuxer rawaudio cdrom.bin
it should even play cue files this way:
$> mplayer cue://<file_name>:<track_number>

Is this possible to serve these files via PMS?
I tried this, and it seems good, but ...
I only can see CUE files in AllSharePlay as empty directories.

This is a piece of PMS debug.log:

ERROR 2012-11-26 22:52:27.899 [pool-12-thread-1] No file format known for file "cdrom.bin", assuming it is a video for now.
DEBUG 2012-11-26 22:55:29.666 [pool-13-thread-1] Starting ffmpeg -ss 1 -i /home/media/cdrdao/cdrom.bin -an -an -s 320x180 -vframes 1 -f image2 pipe:
DEBUG 2012-11-26 22:55:29.668 [pool-13-thread-1] Attaching thread: ffmpeg-3
DEBUG 2012-11-26 22:55:29.668 [pool-13-thread-1] Unix process ID (ffmpeg): 32252
DEBUG 2012-11-26 22:55:29.860 [pool-13-thread-3] Error parsing audio file: Wav RIFF Header not valid -
DEBUG 2012-11-26 22:55:29.861 [pool-13-thread-2] Error parsing audio file: Wav RIFF Header not valid -
DEBUG 2012-11-26 22:55:29.862 [pool-13-thread-2] Track #1 split range: 0.0 - 192.74
DEBUG 2012-11-26 22:55:29.863 [pool-13-thread-2] Error parsing audio file: Wav RIFF Header not valid -
DEBUG 2012-11-26 22:55:29.863 [pool-13-thread-2] Track #2 split range: 192.74 - 272.42
DEBUG 2012-11-26 22:55:29.863 [pool-13-thread-2] Error parsing audio file: Wav RIFF Header not valid -
elempr
 
Posts: 1
Joined: Mon Nov 26, 2012 11:00 pm

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests