From 0334640e9389084c624470ab67bf88313be98f31 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Fri, 10 Feb 2023 20:46:26 +0000 Subject: [PATCH] Remove unnecessary audio channel 'Nch' differential This was implemented to know the difference between services explicitly stating 5.1 channel audio, to a service explicitly stating 6.0 channel audio that is likely 5.1 channel layout. However, since technically both are 6 channels, this is unnecessary and just causes complications. --- devine/core/tracks/audio.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/devine/core/tracks/audio.py b/devine/core/tracks/audio.py index 9981a3d..3dac9c5 100644 --- a/devine/core/tracks/audio.py +++ b/devine/core/tracks/audio.py @@ -87,10 +87,6 @@ class Audio(Track): if channels.upper() == "F801": return "5.1" - if str(channels).isdigit(): - # This is to avoid incorrectly transforming channels=6 to 6.0, for example - return f"{channels}ch" - try: return str(float(channels)) except ValueError: