No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



The purpose of AutoPlayPy is to automate playing process of Youtube, DailyMotion, LiveStream, Twitch, and Ustream via LiveStreamer. AutoPlayPy is written in Python 2.7 and it is not tried on Python 3.x. AutoPlayPy is simply traces clipboard content and if any string with the aforementioned stream names found in a clipboard the script automatically launches LiveStreamer and passes the string as input parameter. Therefore, the video will start playing.


In order to utilize the script LiveStreamer should be installed. For installing it,


$ sudo apt-get install python-pip
$ sudo pip install livestreamer


$ sudo yum install python-pip 
$ sudo pip instll livestreamer

To AutoPlayPy the following module(s) should be installed: * Tkinter For installing the above module(s),


$ sudo apt-get install python-tk


$ sudo yum install python-tk

How to use

You can run the script with typing,

$ python


$ chmod a+x
$ ./

The script accepts the following parameter(s).

  • --popup [true/false]
    • true : shows popup message and ask to terminate current stream if any is playing and start playing the new stream copied to clipboard.
    • false : automatically terminates the current stream if any is playing and start playing the new stream.



AutoPlayPy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

AutoPlayPy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


© 2015-2017 Kasra Madadipouya