mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 10:40:51 +00:00
Os dependant logging checks, Muted Log for Windows
This commit is contained in:
parent
b035b3c52b
commit
b290cf329e
1 changed files with 6 additions and 1 deletions
7
av1an.py
7
av1an.py
|
@ -5,6 +5,7 @@ Option for KeyFrame Separation
|
||||||
Fix error if no audio stream
|
Fix error if no audio stream
|
||||||
Windows PySceneDetect fail
|
Windows PySceneDetect fail
|
||||||
"""
|
"""
|
||||||
|
import sys
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
from os.path import join
|
from os.path import join
|
||||||
|
@ -88,7 +89,11 @@ class Av1an:
|
||||||
self.args = parser.parse_args()
|
self.args = parser.parse_args()
|
||||||
|
|
||||||
if self.logging != self.args.logging:
|
if self.logging != self.args.logging:
|
||||||
self.logging = f'&>> {self.args.logging}.log'
|
if sys.platform == 'linux':
|
||||||
|
self.logging = f'&>> {self.args.logging}.log'
|
||||||
|
#else:
|
||||||
|
# self.logging = f'> {self.args.logging}.log'
|
||||||
|
|
||||||
os.system(f'echo " Av1an Logging "> {self.args.logging}.log')
|
os.system(f'echo " Av1an Logging "> {self.args.logging}.log')
|
||||||
|
|
||||||
def determine_resources(self):
|
def determine_resources(self):
|
||||||
|
|
Loading…
Reference in a new issue