AminetAminet
Search:
83657 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/batch/aiostreams.lha

Mirror:Random
Showing:i386-amithlongeneric
No screenshot available
Short:Stream video from major online platforms
Author:walkero at gmail.com (George Sokianos)
Uploader:walkero gmail com (George Sokianos)
Type:util/batch
Version:1.7.2
Replaces:util/batch/aiostreams.lha
Requires:dev/lang/Python_2.lha
Architecture:generic
Distribution:Aminet
Date:2021-10-13
Download:http://aminet.net/util/batch/aiostreams.lha - View contents
Readme:http://aminet.net/util/batch/aiostreams.readme
Downloads:1820

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 and Mixer.com. Also, there is a radio script that helps you discover
and play online radio stations from all around the world.

All the scripts should be used from the shell, as well as from any web browser
that support execution of scripts. It is really easy 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 huge amount of Javascript to
be executed on your machine. Especially useful when your computer doesn't have
the necessary horse power to support those websites.

All the scripts are developed and fully tested under AmigaOS 4.1 FE and
MorphOS 3.x. There will be support for other systems in the future, like
AmigaOS 3 and AROS, as long as Python is supported. The scripts work just fine
under Linux and MacOS X, but those systems are not the target of this project.
There are other solutions that might do a better job.

Supported networks:
* Twitch.tv
* YouTube.com
* Vimeo.com
* Dailymotion.com
* Skaitv.gr
* Dlive.tv
* Wasd.tv
* Peertube
* Lbry.tv

Requirements:
* Python 2.5
* Pythonssl
* The Python modules: urllib, urllib2, sys, re, string, random. Usually they
  are part of the python Installation
* ffplay for the online live streaming videos, or something equivalent
* mplayer for the online recorded videos, or something equivalent
* internet access

The project is open source and you can find the code at:
https://github.com/walkero-gr/aiostreams

If you have any requests or you would like to report any problems you found,
you can do that at:
https://github.com/walkero-gr/aiostreams/issues

You can find the todo list and the status of them at:
https://github.com/walkero-gr/aiostreams/projects/1


Changelog
-------------
v1.7.2
* A lot of changes to make YouTube work again. There were changes to vqw.py 
  file, so first backup the one you use

v1.7.1
* Changes on skaitv script to use aiostreams api site
* Added new radio script

v1.7
* Fixed skaitv live script
* Removed Mixer.com script as it shut down

v1.6.2
* Added automated release process to OS4Depot and Aminet

v1.6.1
* Fixed Lbry.tv under AmigaOS 4 to use ffplay and not mplayer on video playback

v1.6
* Added Lbry.tv script
* Cleared unused variables from scripts
* Fixed Vimeo script to support Videos with GUID

v1.5
* Added Wasd.tv script
* Added PeerTube script
* Fixed skaitv.py script to support the latest changes of the website
* Changed the place of the video qualities lists by separating them from the
  configuration file to a new file named vqw.py
* Added a full changelog file
* Changed the scripts' descriptions on help request

v1.4.1
* Changes on dlive script to support AmigaOS 4 and MorphOS. Now you can watch
  streams and videos on your beloved systems
* A change on twitch script to be usable with Emotion player under AmigaOS 4

v1.4
* Dlive.tv script added. Under AmigaOS 4 an SSL error show up. Working on a
  solution.
* MorphOS 3.x, MacOS X and Linux systems are now supported with autoplay
* Various fixes

v1.3
* YouTube.com script added
* If the running system is not AmigaOS 4, the returned texts show unicode
  characters. Otherwise they are stripped
* Skaitv.gr script updated to support some archived videos and live stream
* Fixed a config file bug
* Fixed a bug in Twitch script
    File "twitch.py", line 192, in getPrefferedVideoURL
    if (quality == playlists[idx]['video']):

v1.2
* Vimeo.com script added
* Dailymotion.com script added
* Skaitv.gr script added
* simplem3u8 parser updated to support URLs starting with "../"
* Added links in the AmigaGuide file, that use URLOpen
* Added the silence parameter, that prevents the script to output anything,
  except the errors or the results of a search
* Documentation updated
* Removed version per script
* Added Top Games list in twitch.py script. This returns the 50 Top Games based
  on the number of viewers.
* Added Top Streams list in twitch.py script. This returns the 50 Top Streams
  based on the number of viewers.
* Increased game search results list to 50 items in twitch.py script.

v1.1
* Mixer.com script added
* Cleared a lot of code in twitch.py script
* Documentation updated

v1.0
* Initial release
* Twitch.tv script added
* Simple m3u8 parser created


Contents of util/batch/aiostreams.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Oct 13 21:40 aiostreams/
-rw-r--r--     0/0       19024   89214  21.3% -lh6- 2c47 Oct 13 21:40 aiostreams/argparse.py
-rw-r--r--     0/0         465    1147  40.5% -lh6- c7eb Oct 13 21:40 aiostreams/cfg.py
-rw-r--r--     0/0         589    1975  29.8% -lh6- 676a Oct 13 21:40 aiostreams/cfg.py.examples
-rw-r--r--     0/0        9750   14864  65.6% -lh6- f50d Oct 13 21:40 aiostreams/cfg.py.info
-rw-r--r--     0/0        1102    2738  40.2% -lh6- ca0c Oct 13 21:40 aiostreams/cmn.py
-rwxr-xr-x     0/0        1535    4401  34.9% -lh6- 2c0c Oct 13 21:40 aiostreams/dailymotion.py
-rw-r--r--     0/0        9964   15504  64.3% -lh6- 5816 Oct 13 21:40 aiostreams/dailymotion.py.info
-rwxr-xr-x     0/0        2013    7808  25.8% -lh6- 45c6 Oct 13 21:40 aiostreams/dlive.py
-rw-r--r--     0/0       10076   15504  65.0% -lh6- edce Oct 13 21:40 aiostreams/dlive.py.info
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Oct 13 21:40 aiostreams/docs/
-rw-r--r--     0/0        1398    3411  41.0% -lh6- d7f9 Oct 13 21:40 aiostreams/docs/CHANGELOG.md
-rw-r--r--     0/0         689    1302  52.9% -lh6- 6bb0 Oct 13 21:40 aiostreams/docs/LICENSE
-rwxr-xr-x     0/0        1378    3007  45.8% -lh6- 6c22 Oct 13 21:40 aiostreams/docs/README.md
-rw-r--r--     0/0        7210   32572  22.1% -lh6- 87cb Oct 13 21:40 aiostreams/docs/aiostreams.guide
-rw-r--r--     0/0        8407    9856  85.3% -lh6- e73c Oct 13 21:40 aiostreams/docs/aiostreams.guide.info
-rw-r--r--     0/0       16605   20920  79.4% -lh6- b747 Oct 13 21:40 aiostreams/docs.info
-rwxr-xr-x     0/0        2616   10361  25.2% -lh6- 21de Oct 13 21:40 aiostreams/lbrytv.py
-rw-r--r--     0/0        9989   15495  64.5% -lh6- de71 Oct 13 21:40 aiostreams/lbrytv.py.info
-rw-r--r--     0/0        4183   15032  27.8% -lh6- ad72 Oct 13 21:40 aiostreams/myurlparse.py
-rwxr-xr-x     0/0        1477    4186  35.3% -lh6- cdb0 Oct 13 21:40 aiostreams/peertube.py
-rw-r--r--     0/0        9940   15495  64.1% -lh6- 62a1 Oct 13 21:40 aiostreams/peertube.py.info
-rwxr-xr-x     0/0        1779    6452  27.6% -lh6- 6d7e Oct 13 21:40 aiostreams/radio.py
-rw-r--r--     0/0        9965   15504  64.3% -lh6- fa73 Oct 13 21:40 aiostreams/radio.py.info
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Oct 13 21:40 aiostreams/simplejson/
-rw-r--r--     0/0        5375   23788  22.6% -lh6- bb26 Oct 13 21:40 aiostreams/simplejson/__init__.py
-rw-r--r--     0/0       17324  108029  16.0% -lh6- f842 Oct 13 21:40 aiostreams/simplejson/_speedups.c
-rw-r--r--     0/0         333     815  40.9% -lh6- 3c82 Oct 13 21:40 aiostreams/simplejson/compat.py
-rw-r--r--     0/0        4253   14519  29.3% -lh6- ce87 Oct 13 21:40 aiostreams/simplejson/decoder.py
-rw-r--r--     0/0        6503   28570  22.8% -lh6- 2970 Oct 13 21:40 aiostreams/simplejson/encoder.py
-rw-r--r--     0/0         632    1779  35.5% -lh6- d019 Oct 13 21:40 aiostreams/simplejson/errors.py
-rw-r--r--     0/0         978    2945  33.2% -lh6- 441a Oct 13 21:40 aiostreams/simplejson/ordered_dict.py
-rw-r--r--     0/0         142     217  65.4% -lh6- 63f1 Oct 13 21:40 aiostreams/simplejson/raw_json.py
-rw-r--r--     0/0         923    2971  31.1% -lh6- 8853 Oct 13 21:40 aiostreams/simplejson/scanner.py
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Oct 13 21:40 aiostreams/simplejson/tests/
-rw-r--r--     0/0         800    2148  37.2% -lh6- c3c4 Oct 13 21:40 aiostreams/simplejson/tests/__init__.py
-rw-r--r--     0/0         507    2238  22.7% -lh6- 095a Oct 13 21:40 aiostreams/simplejson/tests/test_bigint_as_string.py
-rw-r--r--     0/0         547    2297  23.8% -lh6- 24d0 Oct 13 21:40 aiostreams/simplejson/tests/test_bitsize_int_as_string.py
-rw-r--r--     0/0         291     917  31.7% -lh6- 828b Oct 13 21:40 aiostreams/simplejson/tests/test_check_circular.py
-rw-r--r--     0/0         745    2544  29.3% -lh6- 32c0 Oct 13 21:40 aiostreams/simplejson/tests/test_decimal.py
-rw-r--r--     0/0        1369    4835  28.3% -lh6- 703d Oct 13 21:40 aiostreams/simplejson/tests/test_decode.py
-rw-r--r--     0/0         127     221  57.5% -lh6- d575 Oct 13 21:40 aiostreams/simplejson/tests/test_default.py
-rw-r--r--     0/0        2265   10356  21.9% -lh6- 6bb4 Oct 13 21:40 aiostreams/simplejson/tests/test_dump.py
-rw-r--r--     0/0         773    2337  33.1% -lh6- 2564 Oct 13 21:40 aiostreams/simplejson/tests/test_encode_basestring_ascii.py
-rw-r--r--     0/0         395    1515  26.1% -lh6- 7566 Oct 13 21:40 aiostreams/simplejson/tests/test_encode_for_html.py
-rw-r--r--     0/0         551    2081  26.5% -lh6- 1665 Oct 13 21:40 aiostreams/simplejson/tests/test_errors.py
-rw-r--r--     0/0        1531    6346  24.1% -lh6- aca4 Oct 13 21:40 aiostreams/simplejson/tests/test_fail.py
-rw-r--r--     0/0         443    1430  31.0% -lh6- 9d76 Oct 13 21:40 aiostreams/simplejson/tests/test_float.py
-rw-r--r--     0/0         584    2767  21.1% -lh6- ddb2 Oct 13 21:40 aiostreams/simplejson/tests/test_for_json.py
-rw-r--r--     0/0         824    2568  32.1% -lh6- 0e33 Oct 13 21:40 aiostreams/simplejson/tests/test_indent.py
-rw-r--r--     0/0         445    1376  32.3% -lh6- 1a44 Oct 13 21:40 aiostreams/simplejson/tests/test_item_sort_key.py
-rw-r--r--     0/0         443    1390  31.9% -lh6- f238 Oct 13 21:40 aiostreams/simplejson/tests/test_iterable.py
-rw-r--r--     0/0         753    4004  18.8% -lh6- 3db5 Oct 13 21:40 aiostreams/simplejson/tests/test_namedtuple.py
-rw-r--r--     0/0         895    1746  51.3% -lh6- 242d Oct 13 21:40 aiostreams/simplejson/tests/test_pass1.py
-rw-r--r--     0/0         221     386  57.3% -lh6- e766 Oct 13 21:40 aiostreams/simplejson/tests/test_pass2.py
-rw-r--r--     0/0         281     482  58.3% -lh6- ddba Oct 13 21:40 aiostreams/simplejson/tests/test_pass3.py
-rw-r--r--     0/0         285    1062  26.8% -lh6- bdc1 Oct 13 21:40 aiostreams/simplejson/tests/test_raw_json.py
-rw-r--r--     0/0         449    1679  26.7% -lh6- b96a Oct 13 21:40 aiostreams/simplejson/tests/test_recursion.py
-rw-r--r--     0/0        1635    7398  22.1% -lh6- 0c09 Oct 13 21:40 aiostreams/simplejson/tests/test_scanstring.py
-rw-r--r--     0/0         390     942  41.4% -lh6- c27e Oct 13 21:40 aiostreams/simplejson/tests/test_separators.py
-rw-r--r--     0/0        1093    4144  26.4% -lh6- d29f Oct 13 21:40 aiostreams/simplejson/tests/test_speedups.py
-rw-r--r--     0/0         312     740  42.2% -lh6- 6ff7 Oct 13 21:40 aiostreams/simplejson/tests/test_str_subclass.py
-rw-r--r--     0/0         337    1124  30.0% -lh6- 1a85 Oct 13 21:40 aiostreams/simplejson/tests/test_subclass.py
-rw-r--r--     0/0        1030    3304  31.2% -lh6- 44d2 Oct 13 21:40 aiostreams/simplejson/tests/test_tool.py
-rw-r--r--     0/0         376    1831  20.5% -lh6- f2d8 Oct 13 21:40 aiostreams/simplejson/tests/test_tuple.py
-rw-r--r--     0/0        1555    7056  22.0% -lh6- 45d7 Oct 13 21:40 aiostreams/simplejson/tests/test_unicode.py
-rw-r--r--     0/0         502    1136  44.2% -lh6- 3ad6 Oct 13 21:40 aiostreams/simplejson/tool.py
-rw-r--r--     0/0         446    1264  35.3% -lh6- af28 Oct 13 21:40 aiostreams/simplem3u8.py
-rwxr-xr-x     0/0        2281    8177  27.9% -lh6- 2afc Oct 13 21:40 aiostreams/skaitv.py
-rw-r--r--     0/0        9965   15504  64.3% -lh6- ca7c Oct 13 21:40 aiostreams/skaitv.py.info
-rwxr-xr-x     0/0        2899   12493  23.2% -lh6- 9da7 Oct 13 21:40 aiostreams/twitch.py
-rw-r--r--     0/0        9961   15504  64.2% -lh6- f7dc Oct 13 21:40 aiostreams/twitch.py.info
-rwxr-xr-x     0/0        1895    5644  33.6% -lh6- 867d Oct 13 21:40 aiostreams/vimeo.py
-rw-r--r--     0/0        9964   15504  64.3% -lh6- 96ba Oct 13 21:40 aiostreams/vimeo.py.info
-rw-r--r--     0/0         559    1794  31.2% -lh6- e6f9 Oct 13 21:40 aiostreams/vqw.py
-rw-r--r--     0/0        9732   14864  65.5% -lh6- 4714 Oct 13 21:40 aiostreams/vqw.py.info
-rwxr-xr-x     0/0        2585    9537  27.1% -lh6- ed27 Oct 13 21:40 aiostreams/wasd.py
-rw-r--r--     0/0        9940   15495  64.1% -lh6- 0129 Oct 13 21:40 aiostreams/wasd.py.info
-rwxr-xr-x     0/0        2848   12063  23.6% -lh6- 3326 Oct 13 21:40 aiostreams/youtube.py
-rw-r--r--     0/0        9964   15504  64.3% -lh6- 3e62 Oct 13 21:40 aiostreams/youtube.py.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        80 files  262410  718128  36.5%            Oct 14 00:13

Aminet © 1992-2021 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>