Giter Club home page Giter Club logo

minimu's Introduction

minimu

the name came from 'mini music player'

a small, hidden and clean lightweight music player

fork from michaelgundlach/mp3play, updated to support python3 and unicode file name

only for python3, windows, mp3

some songs can't play, I don't know why

New feature: keep waking up the Bluetooth devices by playing silent song every 100s

how to use

  1. install
pip install git+https://github.com/nightttt7/minimu
  1. play one song
import minimu

# load the file
s=minimu.load(r'example.mp3')

# play
s.play()

# pause
s.pause()

# resume
s.resume()

# stop
s.stop()

# True: play or pause | False: stop
s.isplaying()

# set volume%
s.volume(50) 
  1. play one folder
import minimu

# load the floder
li = minimu.loadlist(r'testmusic')

# show play list
li.shownames()

# play music 1
li.play()

# play music 6
li.play(6)

# same with single song play
li.pause()
li.resume()
li.stop()
li.isplaying()
li.volume(80)

# play next one
# sorry it can't auto play next, do it by hand
li.next()

# play last one
li.last()

# stop playing
li.stop()

3.Keep waking up Bluetooth devices

import minimu
minimu.wakeup()
# or run wakeup.bat

minimu [中文]

名字取自mini music player

一个小巧,隐蔽,干净的超轻量音乐播放器

Fork自michaelgundlach/mp3play, 更新以支持python3和unicode文件名.

只支持python3, windows平台, mp3格式

有些歌无法播放, 我也不知道原因

新功能: 每100秒播放无声音乐, 保持蓝牙音响开启

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.