Code Monkey home page Code Monkey logo

python-phoplay's Introduction

README.md

PhoPlay - Simple audio player

Copyright (c) <2012, 2015> Ben Sampson All rights reserved.

Phoplay is a simple audio player written in Python3 and uses the PyQt4 Phonon library to provide playback facilities.

It can be invoked as a GUI (default) or from the commandline with or without the GUI functionality.

Installation

Running the ./build.sh script will build the QtDesigner resource file and UI for the application generated from the QtDesigner .ui file. If ./build.sh fails then check that you have PyQt4 installed and the pyrcc4 and py3uic4 are installed (they may have different names under different Linux distributions)

On opensuse platforms python-qt4-utils provides pyrcc4, python3-qt4-devel provides py3uic

Usage

A full list of commandline options can seen by invoking the application with the -h option.

Playback Support

On Linux, playback is dependant on GStreamer and installed plugins. As a rule of thumb, installing gstreamer-plugins-base and gstreamer-plugins-good will allow playback for things like ogg and Flac.

See http://gstreamer.freedesktop.org/documentation/plugins.html for more details

Examples

PhoPlay.py - Lauch the GUI

PhoPlay.py something.flac - Launch GUI and play something.flac

PhoPlay.py -x something.mp3 - Play something.mp3 from the commandline - no GUI

Play all mp3s re-launching the application each time. Useful for playing a album in a folder.

for tune in *.mp3; do PhoPlay.py -q $tune; done;

python-phoplay's People

Contributors

billyrayvalentine avatar

Watchers

 avatar  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.