pablodz / pipewire_python

Consider removing the commented out code block PY-W0069
Anti-pattern
Major
3 months agoa year old
Consider removing the commented out code block
 1from pipewire_python.controller import Controller
 2
 3# import asyncio 4
 5#########################
 6# PLAYBACK              #
Consider removing the commented out code block
 5
 6# response=requests.get('https://github.com/pablodz/pipewire_python/blob/main/docs/beers.wav?raw=true')
 7
 8# with open("beers.wav", 'w') as file: 9#     file.write(response.text)
10
11
Consider removing the commented out code block
 3# import requests
 4
 5
 6# response=requests.get('https://github.com/pablodz/pipewire_python/blob/main/docs/beers.wav?raw=true') 7
 8# with open("beers.wav", 'w') as file:
 9#     file.write(response.text)
Consider removing the commented out code block
 1from pipewire_python.controller import Controller
 2
 3# import requests 4
 5
 6# response=requests.get('https://github.com/pablodz/pipewire_python/blob/main/docs/beers.wav?raw=true')
Consider removing the commented out code block
627            - stdout (`str`): Shell response to the command in stdout format
628            - stderr (`str`): Shell response response to the command in stderr format
629        """
630        # warnings.warn("The name of the function may change on future releases", DeprecationWarning)631
632        mycommand = ["pw-cat", "--record", audio_filename] + _generate_command_by_dict(
633            mydict=self._pipewire_configs, verbose=verbose