Update piplayer4.py
This commit is contained in:
+2
-2
@@ -127,8 +127,8 @@ try:
|
|||||||
if (qr_code.startswith("/")):
|
if (qr_code.startswith("/")):
|
||||||
qr_code = qr_code[1:]
|
qr_code = qr_code[1:]
|
||||||
full_path = MUSIC_BASE_DIRECTORY + qr_code
|
full_path = MUSIC_BASE_DIRECTORY + qr_code
|
||||||
logging.info("full_path: " + full_path)
|
logging.debug("full_path: " + full_path)
|
||||||
play(full_path, 'mpd')
|
play(full_path)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
logging.warning('Timeout on zbarcam')
|
logging.warning('Timeout on zbarcam')
|
||||||
|
|||||||
Reference in New Issue
Block a user