From 879309e95a8bba34f7a5ac129ead721f87054be2 Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Sat, 9 Jan 2016 19:19:53 -0700 Subject: [PATCH] Pass additional btplay args to btfs --- scripts/btplay | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/btplay b/scripts/btplay index 9ae89c4..896525b 100644 --- a/scripts/btplay +++ b/scripts/btplay @@ -4,7 +4,7 @@ import sys, os, os.path, tempfile, subprocess, time, shutil if len(sys.argv) < 2: - print >> sys.stderr, "usage: btplay URI" + print >> sys.stderr, "usage: btplay URI [btfs options]" sys.exit(1) def files(p, d): @@ -31,7 +31,7 @@ playlist = os.path.join(d, "playlist.m3u") os.mkdir(mountpoint) -ret = subprocess.call(("btfs", sys.argv[1], mountpoint, )) +ret = subprocess.call(["btfs", sys.argv[1], mountpoint, ] + sys.argv[1:]) if ret == 0: try: