Raduga (English)

User: Guest

Search

Please use the
Bug Report Form
if you think you found a software defect.

Use the Contact Form
to send a personal message to Wolfgang.

RSS Feed RSS Feed

Other boards:
Juke
QBrowser
Song Requester
SuperEdi

reverse songs

Posted on: Raduga (English)

From Message

Sir Oliver

2005-02-01 20:25:08

reverse songs


Hello

Is it possible to reverse songs in raduga plylist.

Wolfgang Loch

2005-02-01 21:23:00

Re: reverse songs

Now it is possible. Save the following script to a file named "Reverse Playlist.js" and then double-click on this file. Works with Raduga 3.6 and higher.

var app = new ActiveXObject("Raduga.Application");
var playlist = app.Playlist;
var count = playlist.Count;
var songs = new Array( count );
for( var i=0; i<count; i++ ) songs[i] = playlist.Item(i);
songs.reverse();
for( var i=0; i<count; i++ ) playlist.Remove(0);
for( var i=0; i<count; i++ ) playlist.Add( songs[i] );

Sir Oliver

2005-02-02 20:36:00

Re: reverse songs


Thanks for answer

Post a reply to this message: