radio-active icon indicating copy to clipboard operation
radio-active copied to clipboard

Refactor code to use the same internal api for cli and interactive interface

Open l-wegner opened this issue 8 months ago • 5 comments

Is your feature request related to a problem? Please describe. Currently there are function, which are available in cli and some are available in interactive interface. Adding new functionality is quite distributed.

Describe the solution you'd like Having an internal API, which encapsulates the player, the recording, the favs, and the stations db, would allow cleaning up the main.py regarding the parsed arguments and allows for implementing a better interactive interface. Further more extract the ui printing.

In the best case the utilities.py is almost empty afterwards.

Additional context Add any other context or screenshots about the feature request here.

l-wegner avatar Oct 18 '23 19:10 l-wegner