Skip to content

Latest commit

 

History

History
executable file
·
60 lines (48 loc) · 3.75 KB

README.md

File metadata and controls

executable file
·
60 lines (48 loc) · 3.75 KB

Codacy Badge Build Status ko-fi

aiostreams

"All In One streams" (aiostreams) is a pack of scripts, written in Python, that can be used to stream and watch videos from different online networks, like Twitch.tv, YouTube and Vimeo.com.

All the scripts need to be used from the shell, as well as from any web browser that supports the execution of scripts. It is straightforward to configure a link context menu and open the URL with the script. And if "Autoplay" is enabled, then the video will start automatically using the configured default players.

Some of these networks have a search API, and you can use them to find available streams and videos, without the need to visit the website. This is a fast way to find what you want, without waiting for a huge amount of Javascript to be executed on your machine. Especially useful when your computer doesn't have the necessary horsepower to support those websites.

All the scripts are developed and fully tested under AmigaOS 4.1 FE and MorphOS 3.x. The scripts work just fine under Linux and macOS X, but those systems are not the target of this project. Other solutions do a better job.

As a companion to these scripts, I created the website https://aiostreams.amiga-projects.net which can be a fast way to discover Twitch and YouTube videos. It is really fast and can be used on older browsers that do not support Javascript and CSS. This is a proxy website. No data is stored in any database, there is no tracking and no authentication is required.

Supported networks:

A full list of requirements per OS:

AmigaOS 4.1

  • AmigaOS 4.1 FE upd1
  • Python 2.5 and above
  • Pythonssl
  • The Python modules: urllib, urllib2, sys, re, string, random. Usually they are part of the python Installation
  • ffplay, mplayer, emotion for the live and recorded video playback or something equivalent
  • Internet access

MorphOS 3.x

  • MorphOS 3.10 and above
  • Python 2.5 and above
  • Suitable video player that can support video streaming
  • Internet access

Help me persuade my wife that what I am doing matters

ko-fi

Docker for development

Docker is not necessary for using these scripts. It just provides a good development environment for other systems. To run the script in a docker container with Python 2.7 installed, use the following on different shells, from the script folder.

docker run -it --rm --name aiostreams -v "$PWD":/usr/src/myapp -w /usr/src/myapp python:2
docker exec -it aiostreams bash
python twitch.py