forked from Mediacore/mediaserver
12 lines
182 B
Python
Executable file
12 lines
182 B
Python
Executable file
#!/usr/bin/python3
|
|
import os, sys
|
|
from mediaserver import client
|
|
|
|
player = client.MediaClient()
|
|
|
|
file = sys.argv[1]
|
|
|
|
print(f"Requesting playback of {file}")
|
|
player.QuickPlay(file)
|
|
|
|
|