Compare commits
No commits in common. "eba894d9f48be97e2b0665c28b2fd3b9d22210c3" and "5ab08a4f77af4ddf432274c9e6887294f0c7a861" have entirely different histories.
eba894d9f4
...
5ab08a4f77
|
@ -5,7 +5,7 @@ i3ipc==1.6.0
|
|||
ifaddr==0.1.4
|
||||
ipaddress==1.0.22
|
||||
psutil==5.4.7
|
||||
pulsectl>=23.5.2<24
|
||||
pulsectl==18.8.0
|
||||
pyinotify==0.9.6
|
||||
python-mpd2>=3.0.0<4
|
||||
python-uinput==0.11.2
|
||||
|
|
|
@ -2,6 +2,3 @@ coloredlogs>=10.0<11
|
|||
progressbar2>=3.47.0<4
|
||||
yt-dlp>=2021.10.22
|
||||
ConfigArgParse>=1.5<2
|
||||
asyncinotify
|
||||
ffmpeg
|
||||
r128gain
|
||||
|
|
|
@ -209,7 +209,7 @@ class RVElement:
|
|||
def duration(self) -> int:
|
||||
assert self.is_video
|
||||
assert self.ytdl_infos
|
||||
return int(self.ytdl_infos["duration"])
|
||||
return self.ytdl_infos["duration"]
|
||||
|
||||
@property
|
||||
def is_video(self) -> bool:
|
||||
|
|
|
@ -170,7 +170,7 @@ Input arguments:
|
|||
send("QUIT") # TODO Can loop if QUIT fails
|
||||
sys.exit(1)
|
||||
|
||||
def _send(command: str) -> None:
|
||||
def send(command: str) -> None:
|
||||
if not args.quiet:
|
||||
print(colorama.Fore.BLUE + f"> {command}" + colorama.Fore.RESET)
|
||||
|
||||
|
@ -182,8 +182,6 @@ Input arguments:
|
|||
p.stdin.write(cmd)
|
||||
p.stdin.flush()
|
||||
|
||||
def send(command: str) -> None:
|
||||
_send(command)
|
||||
recv()
|
||||
|
||||
# Transmission
|
||||
|
|
Loading…
Reference in a new issue