A tools to manipulate potplayer playlist
Project description
A tools to manipulate potplayer playlist.
Potplayer is a popular/powerful universal format video player in windows. potplayer provide a programmatic way to play with PotPlayer.
Quick links:
Usage
The main usage is to manipulate video/audio/image play list:
>>> 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.
>>> potplayer.run("play.dpl") # open a play list, of course you can use this with a video
>>> potplayer.kill() # kill all running PotPlayer process
You can find the test at site-packages/potplayer/tests.
Install
potplayer is released on PyPI, so all you need is:
$ pip install potplayer
To upgrade to latest version:
$ pip install --upgrade potplayer
potplayer doesn’t force user to install all pre-requisite third party packages. You can install it when you see the error message and when you need it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.