Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

kasramp/AutoPlayPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

AutoPlayPy

Description

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.

Dependencies

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

Ubuntu

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

CentOS

$ 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),

Ubuntu

$ sudo apt-get install python-tk

CentOS

$ sudo yum install python-tk

How to use

You can run the script with typing,

$ python autoPlayPy.py

Or

$ chmod a+x autPlayPy.py
$ ./autPlayPy.py

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.

Contact

License

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. http://www.gnu.org/licenses/

Author(s):

© 2015-2018 Kasra Madadipouya kasra@madadipouya.com

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages