[MPlayer-users] Bug with pls playlist parsing

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jun 13 22:29:41 CEST 2011



On 13 Jun 2011, at 22:06, Kevin DeKorte <kdekorte at gmail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 06/13/2011 01:47 PM, Reimar Döffinger wrote:
>> On Mon, Jun 13, 2011 at 09:32:44PM +0200, Reimar Döffinger wrote:
>>> On Mon, Jun 13, 2011 at 12:03:40PM -0600, Kevin DeKorte wrote:
>>>> The attached playlist will only play the first item in the playlist
>>>> forever. Based on some investigation into the mplayer code I believe it
>>>> is due to the code reading the length value of the first item in the
>>>> playlist, but not using it. I could not figure out how to pass this
>>>> length so that mplayer would use it.
>>> 
>>> I think you're looking for play_tree_set_param
>> 
>> Try attached.
> 
> Reimar,
> 
> I believe that patch works as well, but the one I sent you seemed a
> little simpler.

The one you sent does not do error-checking and will probably stop playback right in the middle if someone sets e.g. "Length=12s".


More information about the MPlayer-users mailing list