1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>add (Xmms::Remote)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
<pre>/*
* Add one or more songs to the playlist.
*
* This method raises an Xmms::Error exception if XMMS is not running,
* an ArgumentError exception if the number of arguments is less than 1,
* or a TypeError exception if the argument isn't a String, True, or
* False.
*
* Examples:
* # replace the current playlist with one song
* enqueue = false
* remote.add 'path/to/cool_song.mp3', enqueue
*
* # add several files to the current playlist
* files = %w{song01.mp3 song02.mp3 song03.mp3 song04.mp3 song05.mp3}
* remote.add *files
*
*/
static VALUE xr_pl_add(int argc, VALUE *argv, VALUE self) {
</pre>
</body>
</html>
|