You are browsing as a guest. Sign up (or log in) to start making projects!

Jest Sound

  • 5 Devlogs
  • 6 Total hours

An MP3 player for the linux terminal using python

Open comments for this post

2h 5m 14s logged

now the program can go through your music entire music directory and find sub directories to go through, and songs to play.

also a while back I made it so the log also gets placed inside a file.

here are a few images of the log and the code:

0

Loading discussion…

0
2
Open comments for this post

1h 11m 39s logged

I’ve just written the cleanest code in my life…

currently the refactored version does:

  • initializes curses stuff
  • checks if the config directory exists
    -> if not, it creates it
  • checks if the config files exist
    -> if not it creates them
    -> then it fills them with dummy data, so I can change it easily later

and while it does all that, it prints to a log I designed myself (somehow I’m most proud of the log… the thing no one will ever see)

here’s the Log:

0

Loading discussion…

0
1
Open comments for this post

1h 9m 24s logged

I’ve done some more work on the project, but I will refactor the code so its easier to work with and less of a mess, this time I’ll actually make a plan on how I should do this.

somehow in the previous code the terminal was refreshing and clearing even though I wasn’t telling it to do that, but it also wouldn’t show the things I wanted it to show… and I discovered that the curses package in python doesn’t work well with threading, so I’ll have to optimize it in some other way.

luckily I split up the the files into 2 separate python documents, and I only have to refactor 1 of them as the other one is just classes I can use in the refactored version.

0

Loading discussion…

0
1
Open comments for this post

1h 20m 31s logged

I started adding the basic GUI by drawing the borders and some text which never changes. I also added the ability to read key’s being pressed, currently when pressing the space button some songs starts playing

0

Loading discussion…

0
1
Open comments for this post

25m 56s logged

Started working on the overall visuals of the terminal app. this is just a mock up, only made from UNICODE characters, this is hopefully how the app will end up looking when its done.

Other than the visuals I also added some code which allows me to make a config file, also I set up all the packages I’ll use, and a few functions.

0

Loading discussion…

0
2

Followers

Loading…