28
exelix
6y

Hacker's player: a music player that runs in the cmd

Project Type
Existing open source project
Summary

Hacker's player: a music player that runs in the cmd

Description
Wanna listen to music while looking like an hacker ? Search no further ! Now you can listen to music from the terminal ! There is a simple text ui: currently playing *Name of the file* [## ] 0:20/1:15 Controls: Space: pause/play R: toggle repeat mode Left/Right: rewind/forward 5 seconds Z: previous song X: next song C: change color M: minimixe/maximize H: show help It plays files trought args: HackerPlayer.exe someFile.mp3 : plays a file HackerPlayer.exe someFile.mp3 someFile2.mp3 ... : creates a playlist with the files HackerPlayer.exe C:...\someFolder\ : creates a playlist with the files of the folder HackerPlayer.exe playlist.txt\m3u : Loads a playlist from a text file (one file each line, only local files) pretty much that's it, barebones but it does its job. (Of course any contribution is welcome)
Tech Stack
C# (.net framework), Naudio
Current Team Size
me
URL
Comments
  • 0
  • 5
    You might get some more ideas from CMUS (https://cmus.github.io)
  • 2
    I'd like to help, is it on github?
  • 0
    @j4cobgarby not yet, if i have time i'll start working on it today
  • 0
    @fun2code idk i think making it from scratch would be easier since I'm unfamiliar with c++ on Linux.

    Unfortunately looks like naudio is not fully supported on Linux, this might end up being windows only
  • 0
    Many years ago I used to use cubic player.
  • 2
    Sounds cool.i would definitely use it.
  • 0
    I've started working on it, the basic player works, today I'll add playlists and a file explorer, the ui management is still wip. As soon as i get home I'll upload it to GitHub.
  • 0
    @Floydian
    Right now it just opens a file and plays it.
    Idk what you mean with configurable, but it's open source, if something's missing you're welcome to implement it :P
  • 0
    Ok so, i've finished a basic playlist support, now it works.
    you can get both the source and the first working build here: https://github.com/exelix11/...

    Please keep in mind that i did this in less than 2 days and tested it by myself, so it's pretty barebones and there might be some bugs. if you find a way to consistently crash it, open an issue on github or tell me here.
    Also if you'd like to contribute remember that I'm not a full time dev and i tried my best to keep the code clean (or at least readable :P )

    Still i think it works good for me, so from now on i'm going to use it as my music player :D
  • 0
    You could extend it with the music api from Apple so you’re able to run Apple Music too
  • 0
    @bcye Why tho, just use itunes, anyway i don't use it so probably not.
  • 0
    @Floydian go to the releases tab on GitHub, download the zip and unpack it.
Add Comment