I have developped some stuff for xmms-shell that could be added to the official code.
I have added a "offset" command to be able to go exactly at a specificated time in a track. It can also be used to retrieve the current track offset or to go forward and reward in the song.
The syntax is "offset [[+|-]<value>]"
I have improved the "fade" command. An action can be specified when the fading is done. The actions are "stop", "continue", "play", "next", "pause", "pauserestore".
The syntax is fade [left|right] [action] [target] [stepsize] [delay]
I hope it is useful (actually, I think it is ;-) )
Best regards
Christophe Bliard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I have developped some stuff for xmms-shell that could be added to the official code.
I have added a "offset" command to be able to go exactly at a specificated time in a track. It can also be used to retrieve the current track offset or to go forward and reward in the song.
The syntax is "offset [[+|-]<value>]"
I have improved the "fade" command. An action can be specified when the fading is done. The actions are "stop", "continue", "play", "next", "pause", "pauserestore".
The syntax is fade [left|right] [action] [target] [stepsize] [delay]
I hope it is useful (actually, I think it is ;-) )
Best regards
Christophe Bliard
Hi,
I added a Songlenght-line to the status output,for calculating the rest of the playing time of the actual song.
Just add the function
int Session::playlist_time(int t) const
{
ensure_running();
if (t<0) t=xmms_remote_get_playlist_pos(sid);
return xmms_remote_get_playlist_time(sid,t);
}
to session.cc and the lines
t2= session.playlist_time(songnr);
printf("Songlength: %02d:%02d.%02d\n", t2 / 60000, (t2 / 1000) % 60, (t2 / 10) % 100);
to general.cc to class StatusCommand.
Sorry, I forgot to mension that you have also to add the line
int playlist_time(int) const;
to the file include/session.h