comparison src/xs_about.c @ 752:64e7e427a436

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 05 Nov 2012 18:47:33 +0200
parents 3180bf22090f
children cc290afcb7e2
comparison
equal deleted inserted replaced
751:55eea3fa8868 752:64e7e427a436
35 * Stop playing, add XMMS-SID themetune to playlist 35 * Stop playing, add XMMS-SID themetune to playlist
36 * and start playing it. 36 * and start playing it.
37 */ 37 */
38 gint xs_about_theme(void) 38 gint xs_about_theme(void)
39 { 39 {
40 const gint iSession = 0; /* Assume session 0 */ 40 const gint session = 0; /* Assume session 0 */
41 gint iPos; 41 gint pos;
42 42
43 /* Stop current song, add theme to playlist, play. */ 43 /* Stop current song, add theme to playlist, play. */
44 xmms_remote_stop(iSession); 44 xmms_remote_stop(session);
45 iPos = xmms_remote_get_playlist_length(iSession); 45 pos = xmms_remote_get_playlist_length(session);
46 xmms_remote_playlist_add_url_string(iSession, THEMETUNE_FILE); 46 xmms_remote_playlist_add_url_string(session, THEMETUNE_FILE);
47 xmms_remote_set_playlist_pos(iSession, iPos); 47 xmms_remote_set_playlist_pos(session, pos);
48 xmms_remote_play(iSession); 48 xmms_remote_play(session);
49 return 0; 49 return 0;
50 } 50 }
51 #endif 51 #endif
52 52
53 53