Another update: the playlist can now be hidden. It does so with a nice animation thanks to the QPropertyAnimation class!
Yet another update on 🦊📦: a volume slider!
Implementing this was way easier than I initially thought, just needed to multiply the samples with a value between 0 and 1...
Another 🦊📦 update: the playlist now highlights the current song, and you can double-click anywhere inside the playlist to change between songs.
Yes, I hadn't implemented that until now.
(I'm refining the background colour a bit before committing this to the repo though)
It looks like this now with the new background colour (taken from the system palette). Works for me ¯\_(ツ)_/¯
🦊📦 just got an about dialog. (and yes, it's a scroller because reasons)
Something a bit more useful for 🦊📦: playback control using media keys! As of now this is only available on macOS though as it's what I use on a daily basis.
See it in action: https://vimeo.com/nilsding/foxbox-macos-media-keys
Remember 🦊📦? This is them now.
Really nice that somehow I managed to handle that custom window frame thingy after all the weirdness I encountered during development (this one in particular: https://pounced-on.me/@nilsding/101885816398911757 )
Looks pretty neat now if you ask me. I'll give it 9/10 llamas.
@nilsding bless mac os's window animating stuff
@dogo I'm using Qt, so it should work across any platform. This is the Qt class I used for the animation: https://doc.qt.io/qt-5/qpropertyanimation.html#details
@nilsding dare you to style this like mac os panther itunes
@dogo what does that look like?
@nilsding this beautiful lil monstrosity
@dogo oh the volume slider under the playback buttons would work nicely!
@dogo but yeah, i might aim for something similar to that in one future release -- that interface was super simple and easy to use (which I really miss from most players available today)
@nilsding how are you doing content loading? no internal library feature im guessing, just straight up file browsing?
@dogo for now, yep. just drag and drop your mods in there and click play!
I implemented some basic playlist saving/loading though, so there's that.
@nilsding ye, m3u's!
@nilsding i really prefer library based players but this is cute still!
@nilsding omg miniplayers can be so cute!!!!!
@nilsding oh also keep in mind mac os does some funkyness now where media keys apply to the active window (dumb)
@dogo yeah i have to look into that stuff anyway... need to use the ObjC-APIs for that I guess, that will be big fun from within C++!
@nilsding ive only heard bad things abt obj-c but then again i know jack squat about programming so ¯\_(ツ)_/¯
@dogo eh, it basically just hides the playlist like this :P
@dogo still better than spotify :p
@nilsding zune did this adorable lil miniplayer style that gave you visual stuff and direct access to your entire now playing list (if you click on any of the queue'd titles it switches to a list view of everything)
@dogo oh I see! Think it would be fun to implement something like this. Maybe I can abuse QML for that kind of thing
@dogo don't know what I'll display instead of the album art though... maybe some sort of visualisation or so? (there's so many things you could do with tracker files!)
@nilsding why not do the album art?
@nilsding oh wait, tracker files
@nilsding oh gosh i havent seen wiggly marquee text since dxball
@dogo it was really easy to implement too! only thing that I had to get right was the "math" https://github.com/nilsding/foxbox/blob/master/aboutdialog.cpp#L71-L73
@nilsding nice nice nice
@dogo this now makes a new miniplayer even more possible
could just integrate it in the titlebar now
🐾🐾🐾🐾🐾🐾🐾🐾 beans art by angiewolfartist@twitter