Please sign in to access this page

Jade

Jade

7 devlogs
25h 18m
Created by darrkenn

A terminal music player built in Rust.

Timeline

Jade DEVLOG #6
- Now using the crossbeam_channel crate which is MPMC instead of MPSC which reduces alot of complexity.
- Added back the queue thread, whenever the music-player thread detects it's sink is empty. It will send a request to the queue for a new song, which then sends a signal to the UI to remove the first value in the queue vector.
- Moved the config.toml file to the users .config folder.
- Split up all rendering areas (songs,queue,info) into different files.

Update attachment

Jade DEVLOG #5

  • Removed the unnecessary queue and visual queue threads, the queue can be easily handled by the music player thread.
  • Removed the blocking from the music player thread by doing .try_recv instead of .recv.unwrap(). This was necessary to have the queue feature in the thread. Fixed an error where some files would fail when their duration was being calculated.
  • Random small performance improvements(like taking a slice of a vector instead of a full clone)
Update attachment

Jade DEVLOG #4

I added the songs time to the UI, this is also needed for the current song information that will be shown at the bottom (Achieved this by using symphomia). Now begining working on the visual queue

Update attachment

Jade DEVLOG #3

Changed the UI about, the bottom is the songs information/metadata. The left is all the available songs and on the right it is the currently queued song.

Update attachment

Jade DEVLOG #3 Added full music playing functions. A sink is spawned in a separate thread upon launch and the channel transmitter is cloned and given to the run function. This allows for all the song functions. Will now begin on improving the UI and getting the file metadata to display on the right side of the screen!

Update attachment

Jade DEVLOG #2

Added basic music discovery, it only allows files that have certain extensions. Audio can play when selected, however everything locks up so I will need to put it in a different thread.

Update attachment

PiStation DEVLOG #1
Setup the layout of the application (Left side is the list of songs and the right is the song information) Setup the config file where users can define where the music location is, the volume is also saved. Currently working on making the songs display in a list

Update attachment