brokenprogrammer / RapidTunes

A music player that lets you play music from all sources.
MIT License
7 stars 4 forks source link

Change pattern for LocalPlayer. #81

Closed brokenprogrammer closed 3 years ago

brokenprogrammer commented 6 years ago

Currently the SongPlayerHandler selects what player to use based on the source (Example: YT). The LocalPlayer does the exact same thing but with different sound formats. Is there some pattern that could be added here or could we simply move all the LocalPlayer code into the SongPlayerHandler. Or perhaps change LocalPlayer into a LocalPlayerHandler of some sort.