I was able to add a working play bar to the app and got the controls to work so that you are now able to skip forward and back songs. I now want to remove that scroll bar on the side and pin the play controls to the bottom of the screen.
I was able to add a working play bar to the app and got the controls to work so that you are now able to skip forward and back songs. I now want to remove that scroll bar on the side and pin the play controls to the bottom of the screen.
So I decided to pivot the whole application to be macOS native by using AVFoundation for Audio. I had too many issues with rodio which is used with rust. While this means it is only for macOS users, it does mean that I can focus on creating for only one OS, and I can develop easier and better. After implementing AVFoundation I am able to select a song using the UI I developed earlier, and then play the song. The next step is to add player controls and a time bar, and work on adding a shuffle feature.
I added logic to select a folder for music and have it list the songs in the folder! I’m now going to add the ability to play music back
I got the raspberry pi working with my keyfob, and It is now able to type out my password for my mac, and log me in. It presses enter to wake the device, types the password and then will press enter again to send the PW. Programming and actually getting the RFID to work on the RasPI was so painful, it kept giving random errors, failing to read and just outright not responding.
I added the arduino UID reader code, so that I now can get the UIDs for my keycards and fobs. The next step I will do is writing some basic code to recognise my RFID Tags and log me into my laptop as a starting point.
So, I built the first stage today, a way to check your key/s UID as otherwise anyone can log in as you! It is a simple python script that will run on a Raspberry Pi. I want to make another version soon that will work on arduino as that way I can keep my RasPi for the actual device and use an arduino for tests. It checks for cards using rfid.request and retrieves the UID using rfid.anticoll. It also formats everything nicely and has a 0.1s delay to reduce load on microprocessors.
I added the main UI as a mockup. This is only the first page, the player window. Eventually I will add a few more pages and only after will I write the logic to play music.
I added the top bar to my website and added some nice gradients to the button.
Next step will be to finish the main webpage and add some more information.