new floppy: pancake
parent
4c3627d193
commit
250ed294d2
@ -0,0 +1,16 @@
|
||||
# Random mp3 selector
|
||||
#
|
||||
# player for Pancake Promises
|
||||
# TGC#3 Collab
|
||||
|
||||
import subprocess
|
||||
from os import listdir
|
||||
from os.path import isfile, join
|
||||
from random import randint
|
||||
|
||||
mypath="/media/floppy/tracks"
|
||||
tracks = [f for f in listdir(mypath) if isfile(join(mypath, f))]
|
||||
|
||||
for t in tracks:
|
||||
subprocess.call(["mpv", mypath+"/"+t, "--volume", "90"])
|
||||
pass
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 120 KiB |
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
Loading…
Reference in New Issue