def midentify(source, field):
process = subprocess.Popen(
- ["mplayer", "-frames", "0", "-identify", source],
+ [
+ "mplayer", source,
+ "-ao", "null", "-vo", "null",
+ "-frames", "0", "-identify",
+ ],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)
return opts
def main():
+ os.nice(1)
+
opts = parse_args()
# Find our profile