mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 18:44:53 +01:00
bitwarden
This commit is contained in:
@@ -73,6 +73,10 @@ for o, a in opts:
|
|||||||
|
|
||||||
#print(_FULL_PATH)
|
#print(_FULL_PATH)
|
||||||
if _ACTION == "flip":
|
if _ACTION == "flip":
|
||||||
|
if ops == "win":
|
||||||
|
_FULL_PATH = _SOURCE_DIR + "\\" + _DEV + "\\" + _DAY_DIR + "\\"
|
||||||
|
else:
|
||||||
|
_FULL_PATH = _SOURCE_DIR + "/" + _DEV + "/" + _DAY_DIR + "/"
|
||||||
export_name = "X" + _FILE
|
export_name = "X" + _FILE
|
||||||
if ops == "win":
|
if ops == "win":
|
||||||
myCmd = [
|
myCmd = [
|
||||||
@@ -82,6 +86,7 @@ if _ACTION == "flip":
|
|||||||
myCmd = [
|
myCmd = [
|
||||||
"/opt/ffmpeg/ffmpeg", "-display_rotation", "180", "-f", "-i", _FILE, "-vcodec", "copy", "-acodec", "copy", "-y", export_name
|
"/opt/ffmpeg/ffmpeg", "-display_rotation", "180", "-f", "-i", _FILE, "-vcodec", "copy", "-acodec", "copy", "-y", export_name
|
||||||
]
|
]
|
||||||
|
os.chdir(_FULL_PATH)
|
||||||
proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT)
|
proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT)
|
||||||
if _ACTION == "join":
|
if _ACTION == "join":
|
||||||
for _DAY_DIR in _DAY_DIRS:
|
for _DAY_DIR in _DAY_DIRS:
|
||||||
|
|||||||
Reference in New Issue
Block a user