Bug 222 - add support for monkey's audio .ape format
: add support for monkey's audio .ape format
Status: CLOSED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Formats
: unspecified
: PC All
: P2 enhancement (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-17 16:53 UTC by Kevin Pearsall
Modified: 2008-08-18 10:54 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
basic initial functionality (131.89 KB, patch)
2004-09-30 00:28 UTC, KDF
Details | Diff
update APE.pm (10.41 KB, text/plain)
2004-09-30 04:01 UTC, KDF
Details
Slim::Formats::APE (2.25 KB, text/plain)
2004-09-30 04:02 UTC, KDF
Details
final Audio::APE (10.36 KB, text/plain)
2004-09-30 17:22 UTC, KDF
Details
Formats::APE final (2.13 KB, text/plain)
2004-09-30 17:24 UTC, KDF
Details
mac binary for windows. (160.00 KB, application/octet-stream)
2005-01-01 16:17 UTC, KDF
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Pearsall 2004-03-17 16:53:01 UTC
http://www.monkeysaudio.com/ for more information.

monkey's is currently only supported on windows, but they have plans for a unix port.

http://www.monkeysaudio.com/developers.html for development info...
Comment 1 KDF 2004-05-05 23:11:37 UTC
fyi...I have a linux binary of mac that works for playback.  The musepack
support added APEtags module, which should help.  However, I have no clue how to
get size, duration, or bitrate.  However, APE is supposed to contain the
original WAV headers. Could be possible to read using WAV::read.
Comment 2 KDF 2004-09-30 00:28:17 UTC
Created attachment 156 [details]
basic initial functionality

included linux and win binaries.  grabs tags, but still only estimates bitrate,
and duration information.  linux binary may not be right since I can't actually
remember if it was a static binary or not.
Comment 3 KDF 2004-09-30 01:14:34 UTC
an OSX for mac is suposedly here:
http://tmkk.hp.infoseek.co.jp/mac_397b.tar.gz
Comment 4 KDF 2004-09-30 04:01:07 UTC
Created attachment 158 [details]
update APE.pm

more complete APE info, even if its not the cleanest looking code yet. It does
return fairly accurate bitrate and duration.  it needs more in the way of
sanity checks.
Comment 5 KDF 2004-09-30 04:02:29 UTC
Created attachment 159 [details]
Slim::Formats::APE

this is the updated slimserver formats module, now grabs real bitrate and
duration instead of making it up.
Comment 6 KDF 2004-09-30 17:22:49 UTC
Created attachment 160 [details]
final Audio::APE

updates to handle ape 3.98.
Comment 7 KDF 2004-09-30 17:24:00 UTC
Created attachment 161 [details]
Formats::APE final

working version with no debug stuff left behind :)
Comment 8 KDF 2004-10-14 16:04:19 UTC
I've found a copy of MAC.exe that does stdout properly under windows.
This should now work for linux and windows now.
of course, much nicer if someone with teh know-how can make static binaries for
linux and for osx (see above comments for osx source)
anyone interested in having it added?  anyone up for compiling?
Comment 9 Bruce Abrams 2004-12-30 13:16:12 UTC
Can this patch be included in a nightly release for the Windows XP platform?
Comment 10 Blackketter Dean 2004-12-30 17:13:44 UTC
KDF: How close are we to having this work out-of-the-box.  If a user has mac.exe installed, what more 
do they need to do?  (I think we need updated convert.conf and types.conf, no?)  Anything else?  It 
would be great to get this working for Bruce.
Comment 11 KDF 2004-12-31 20:58:28 UTC
the patches included here have the required changes to convert.conf included. 
The only thing missing form the attachments here is a version of mac.exe that
works as we need it to.  I have that on my system, and have sent it to other
users who have asked me about this before.
  
Comment 12 KDF 2005-01-01 16:17:05 UTC
Created attachment 236 [details]
mac binary for windows.

This binary is the one I've been using for my setup.
Comment 13 KDF 2005-01-02 13:50:12 UTC
committed to 6.0 CVS Jan 2, 2005.  What is still needed is a static linked linux
binary and an osx binary for APE 3.99.  
Comment 14 KDF 2005-01-05 13:09:55 UTC
do you want this in 5.4.1?
Comment 15 Blackketter Dean 2005-01-05 16:57:55 UTC
No.  No new features in 5.4.1, just bug fixes.
Comment 16 KDF 2005-01-05 17:28:39 UTC
well, the 6.0 builds should now work under windows then, provided none of the
6.0 bugs prevent it the server from running on the given winxp system :)

Comment 17 KDF 2005-03-01 20:00:27 UTC
svn has a binary for windows and darwin. I suppose linux users should be
expected to compile their own copy.  essentially, this is as complete as it will
get under the current scope.
Comment 18 Bruce Abrams 2005-04-17 21:49:11 UTC
Current build of Slimserver 6 still doesn't appear to be properly 
handling .ape files.  If you browse to an .ape file via "browse music folder" 
and select a file, all is good.  But, if you select the same file using any of 
the tag searches, the Squeezebox displays the track but won't play it.

Please advise.
Comment 19 KDF 2005-04-18 01:51:12 UTC
turn on d_source and attach that section of the log when you attempt to play the
song, please. APE should be working fine.  I have several files myself that all
play.
Comment 20 Blackketter Dean 2005-04-28 21:18:50 UTC
Bruce:  We haven't been able to reproduce.  Can you try with the latest slimserver release and reopen 
the bug if it's still there?  Thanks.
Comment 21 Chris Owens 2008-03-11 11:27:51 UTC
This bug was marked resolved in Slimserver 6.1, which is several versions ago.  If you're still seeing this bug, please re-open it.  Thanks!