Skip to content

Commit

Permalink
Phazor: More explicit logging
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Dec 30, 2024
1 parent db2dc0d commit 8b87275
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/tauon/t_modules/t_phazor.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,14 +569,14 @@ def dl_file(self, track: TrackClass) -> int | None:
pctl.buffering_percent = math.floor(i / len(network_url) * 100)
gui.buffering_text = str(pctl.buffering_percent) + "%"
if self.get_now is not None and self.get_now != track:
logging.info("ABORT")
logging.info("Aborted loading track!")
return None

logging.info("done")
# logging.info("done")
p.stdin.close()
p.wait()

logging.info("DONE")
logging.info("Done loading track")
self.files.append(key)
self.list.append(key)
return None
Expand Down Expand Up @@ -624,7 +624,7 @@ def dl_file(self, track: TrackClass) -> int | None:


if self.get_now is not None and self.get_now != track:
logging.warning("ABORT")
logging.warning("Aborted loading track!")
return None

# if self.cancel is True:
Expand All @@ -634,7 +634,7 @@ def dl_file(self, track: TrackClass) -> int | None:
# return

f.write(chunk)
logging.info("DONE")
logging.info("Done loading track")
self.files.append(key)
self.list.append(key)
except Exception:
Expand Down

0 comments on commit 8b87275

Please sign in to comment.