Git Product home page Git Product logo

playma's Introduction

PLAYMA

aka. Play My Audio is a self-hostable simple music server.

Depemdecies

  • go compiler
  • ffmpeg, for metadata extraction

Configuration

config files are in simple ini-like format, key=value. Lines starting from ; are considered comments. Comments after data are forbidden

a=b ;this comment is forbidden
;playma_data/config.txt
music_dir="/home/user/Music:/media/hdd/Music"
playlist_dir="None"

How does this work

When you run src/playma (or ./run.sh) playma first opens playma_data/confiog.txt and traverses music folder for .mp3 files, also it uses ffmpeg to get metadata (if metadata is not present song is read in format <artist> - <songname>.mp3 spaces are significant). After list of songs is created it is saved to playma_data/songs_db.csv

Project file structure of modifyable files

You can easily modify some aspects of how playma looks.

.
├── favicon.ico
├── images
│   ├── ball.png
│   ├── muted.png
│   ├── pause.png
│   ├── play.png
│   └── volume.png
├── playma_data
│   └── config.txt
└── templates
    └── home.html
  • A least for now images folder contains only images for audio control.
  • home.html contains css js and html for displaying everything
  • config.txt contains directories for where to search data

Project "roadmap"

  • Support for .m3u playlists
  • Try to parse song name and artist from filename if metadata could not be extracted
  • Search not only for mp3 music
  • Support for several music folders
  • Add "likes" support
  • Add albums (from audio metadata)
  • Add smart playlists by gente (from metadata)
  • Add image (from metadata)
  • Add audio queues, so you would not need to start each song manually
  • Support for user creation (because leaking songs is pirating Arrrrr!!!)

playma's People

Contributors

linuxseller avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.