100 Days of code – 65% complete
I haven’t made any progress on porting PyTone from Linux to Windows, and from Python 2 to Python 3. I spent about 9 days trying to get it to work, and it didn’t go too well. Every day, I’d plug away at 2-3 issues, and it didn’t seem like I was making much progress. I was also spending much more time googling and reading about Python than I was coding.
The main issue is that I’m trying to do 3 things at the same time:
- Port the project from Python 2 to Python 3
- Find replacement plugins that will work in Windows (such as a curses replacement)
- Change the file system locations to be compatible with a Windows file system
I’m sure it can still be done, and I may even try again someday. But for now, I really want to just get something working. I’ve decided to make my own CLI music player that has the same look and feel as PyTone, instead. I’m hoping that building something from the ground up will be easier than porting an existing project.
Even with this smaller goal, I’m still hitting issues. Most music libraries that I want to use are still on Python 2. Even if I find a library to use, I have to implement that library, only to find after 45 minutes that it won’t play MP3s for some reason. I could just have my player send the commands to a program like VLC, but I’m trying to keep this as lightweight as possible.
If anyone knows of a good lightweight Python 3 library that plays audio (including wav, mp3, and flac files) let me know! Until then, I’ll keep trying every media library I can find.
I hope that building the interface will be the easy part!