Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A tools to manipulate potplayer playlist

Project description

.. image::

.. image::

.. image::

.. image::

Welcome to potplayer Documentation
**Call a media player to play some video/music from Python is Pain!**

`Pot Player <>`_ is a universal media player software for windows. And the pot player playlist (*.dpl) file is a pure text file to manipulate playlist.

Now with ``potplayer``

**Quick Links**
- `GitHub Homepage <>`_
- `Usage <usage_>`_
- `PyPI download <>`_
- `Install <install_>`_
- `Issue submit and feature request <>`_
- `API reference and source code <>`_

.. _usage:

The main usage is to manipulate **video/audio/image** play list:

.. code-block:: python

>>> import potplayer
>>> playlist = potplayer.PlayList() # create a PlayList
>>> playlist.add(r"august_holiday.jpg") # add some `to play` files, can be video/audio/image
>>> playlist.add(r"life_goes_on.jpg")
>>> playlist.add(r"trees_cloud_fog_landscape.jpg")
>>> playlist.dump("play") # dump play list to play.dpl, so you can open it with PotPlayer

You can also use ``run()`` and ``kill()`` method to open anything with PotPlayer, or, kill it.

.. code-block:: python

>>>"play.dpl") # open a play list, of course you can use this with a video
>>> potplayer.kill() # kill all running PotPlayer process

.. _install:


``potplayer`` is released on PyPI, so all you need is:

.. code-block:: console

$ pip install potplayer

To upgrade to latest version:

.. code-block:: console

$ pip install --upgrade potplayer

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for potplayer, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size (17.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page