Playlist type Normal doesn't act as espected
--------------------------------------------
Key: LS-570
URL: http://dev.sourcefabric.org/browse/LS-570
Project: Liquidsoap
Issue Type: Bug
Affects Versions: 1.0 beta
Environment: Ubuntu
Reporter: Fabio Costa
Priority: Important
The Liquidsoap playlist type normal dosn't act as expected.
It start the playlist shuffled and that is not what you expect to the normal
mode to do.
I solve it by changing in the /liquidsoap/source/playlist.ml the following part
(That is in load_playlist method around the line 230):
let array_playlist = Array.of_list _playlist in
Utils.randomize array_playlist ;
To:
let array_playlist = Array.of_list _playlist in
if random <> Normal then
Utils.randomize array_playlist ;
I didn't knew how to make an if with random (it was raising errors) actually
all it would rave to do is something like:
if random <> Normal then
Utils.randomize array_playlist ;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl