RE: Shuffling and unshuffling (was Re: ID3 tag quest ion)

"Moser, Robert L. II" <[email protected]> Wed, 19 Feb 2003 08:36:09 -0800
Newsgroups gmane.music.equipment.slimp3.dev
Message-ID <8F76CAB2F77CE542B4B6CCEDD9B03CCB01B2D520@vhapalexce.v21.med.va.gov>
It is because when the reshuffle happens it will put the current song at
position 0 if the playmode is not 'stop'.  With it in 'stop' mode it will
start at position 0 whether or not that song was current before the shuffle.

Robert

> -----Original Message-----
> From: Dave Sherohman [mailto:[email protected]]
> Sent: Wednesday, February 19, 2003 8:30 AM
> To: [email protected]
> Subject: Re: Shuffling and unshuffling (was Re: [slimp3-dev] ID3 tag
> question)
> 
> 
> On Wed, Feb 19, 2003 at 07:31:50AM -0800, Robert Moser II wrote:
> > In Playlist.pm, modify the skipsong function like this 
> (taking out the pref 
> > check since it won't exist).
> 
> Thanks!  I'll give it a shot.  One question, though...
> 
> > +                       playmode($client,'stop');
> > +                       reshuffle($client);
> > +                       playmode($client,$playmode);
> 
> Why do you need to stop playback before reshuffling?  Is this just to
> prevent Bad Things from happening as a result of rearranging the
> playlist while between songs or for some other reason?
> 
> -- 
> The freedoms that we enjoy presently are the most important 
> victories of the
> White Hats over the past several millennia, and it is vitally 
> important that
> we don't give them up now, only because we are frightened.
>   - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)
> 
> ------------------------ Yahoo! Groups Sponsor 
> ---------------------~-->
> Get 128 Bit SSL Encryption!
> http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/rIp0lB/TM
> --------------------------------------------------------------
> -------~->
> 
> To unsubscribe from this group, send an email to:
> [email protected]
> 
>  
> 
> Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/