Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
can you compile your own?
if so i think you just need to send it to the existing unshuffle() function. in pyplaylist.cpp copy all the shuffle() stuff and change it to unshuffle() or i can send you the pyplaylist.cpp file.
it compiles, but i haven't tested it.
Posts: 363
Joined: Jun 2004
Reputation:
0
sure can compile.
but sourcechanging :p i'm not sure if i'm so good at.
but if it works, post the patch file.
if it's as simple as you say, i may give it ago.
can't see where you get the unshuffle from.
what file did you find that it was that?
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
i edited the link above.
what's the difference between random and shuffle?
Posts: 363
Joined: Jun 2004
Reputation:
0
hehe.
well random, will make the media in the playlist randomized positions,
while the shuffle will not touch the playlist, just jump.
so if you use the randomize function, the next in the playlist, will be the next song listed.
----
i have edited the file now. added unshuffle + unshuffle doc
i'm compiling a fresh build right now.
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
it may need to be reset()?
if you submit a patch, the pydoc for unshuffle should be moved down just above the unshuffle object. i messed that up.
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
edit: deleted, bad change.
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
i tested the shuffle and unshuffle and it appears to take effect immediately.
how did you test it?