X-Git-Url: https://sipb.mit.edu/gitweb.cgi/wiki.git/blobdiff_plain/5faffe79e76ef2700441cc02220bdcfc3a94f97d..83038ab3f26a53b81b01f408ac38d49905cb12e9:/doc/using-sipbmp3.mdwn diff --git a/doc/using-sipbmp3.mdwn b/doc/using-sipbmp3.mdwn index 6e7d8dd..cbe87b1 100644 --- a/doc/using-sipbmp3.mdwn +++ b/doc/using-sipbmp3.mdwn @@ -8,6 +8,13 @@ If you are running [Debathena](http://debathena.mit.edu) but do not want to use `lprm -Psipbmp3 job#`
If you do not specify a job number, then the first song will be removed. +You can specify start and stop times with options:
+ `lpr -Psipbmp3 song.mp3 -o start=10 -o stop=123` + +The numbers are in seconds, but you can also use syntax like `4m33s` or `4:33`. Instead of specifying a music file, you can alternatively print a YouTube URL from the standard input; there, you can also append flags like `start=10 stop=123` to the line, so for example you can print the line
+`https://www.youtube.com/watch?v=a3ww0gwEszo start=10 stop=123`
+Finally, you can use various synonyms for "start" or "stop", such as "begin" and "end", because the author keeps on accidentally typing the latter. + *** If you are not running Debathena, you can use the following command to print music to sipbmp3