Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75979 - [patch + ebuild] xmms-spc: playing of any spc file ends at 3:03
Summary: [patch + ebuild] xmms-spc: playing of any spc file ends at 3:03
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 20:31 UTC by James Potts
Modified: 2005-10-30 15:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild described above. (xmms-spc-0.2.1-r2.ebuild,1.04 KB, text/plain)
2004-12-28 20:33 UTC, James Potts
Details
Playlength patch (0.2.1-playlength.patch,706 bytes, patch)
2004-12-28 20:35 UTC, James Potts
Details | Diff
Origial Patch minus Playlength patch. (xmms-spc-0.2.1-r2.patch,2.15 KB, patch)
2004-12-28 20:38 UTC, James Potts
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Potts 2004-12-28 20:31:41 UTC
Reproducable:  Always.
Steps to reproduce:
1. emerge xmms-spc
2. play any .spc file and leave it running for more than approx. 3:03

Actual results:  The song "ends" at 3:03 (18300/100secs, taken from src).

Expected results:  Any of the following:
1.  Plays indefinitely.
2.  Obeys "length" tag in ID666 header.
3.  Plays for a configurable length of time.

Ideally, it should do #2 (with an option to disable), then fall back to either #1 or #3 (configurable).

Notes:  This really needs to be fixed upstream.  The real "bug" is the fact that, without the gentoo patch for spcxmms.c, it would play indefinitely.  I actually consider _both_ of these ways (always plays indefinitely, always stops at a certain time) to be "misfeatures."

The ebuild and patches I'm going to attach here do 2 things:  First, they break the playlength patch out of the default patchset.  Second, they add a local use flag ("nolimit") to disable the playlength patch.  This keeps the current default behavior, while allowing those of us who don't like it to change it.

--James
Comment 1 James Potts 2004-12-28 20:33:57 UTC
Created attachment 47081 [details]
ebuild described above.
Comment 2 James Potts 2004-12-28 20:35:12 UTC
Created attachment 47082 [details, diff]
Playlength patch
Comment 3 James Potts 2004-12-28 20:38:26 UTC
Created attachment 47083 [details, diff]
Origial Patch minus Playlength patch.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-28 20:48:43 UTC
thanks for this, but I would prefer a correct fix (#2) rather than hacking hacks.  Can you put pressure on upstream to take care of that?
Comment 5 James Potts 2004-12-28 21:16:50 UTC
Perhaps, but I don't know for sure.  Frankly, I don't even know if xmms-spc is still being worked on upstream.  I may look into making a proper fix myself, if I can figure out how to go about it.  I'll keep in touch.  Meanwhile, this hack seems better to me than what's in portage right now (some songs are MUCH longer than 3:03).

--James
Comment 6 Luis Medinas (RETIRED) gentoo-dev 2005-10-30 15:26:56 UTC
Jeremy already added this patch to the package.
Closing and Thanks for your patch