This repository is for generate acestream playlist and watch it via browser with vlc protocol asociation or you can play the playlists in playlist folder with vlc playwe if you have aceproxy actived or with acestream playr. The main goal of this project is that you can use as portable, when you finish your event you can close it and remove everything. For now there are only windows scripts to start and stop, further it will be also in linux.
This project have some requirements to work
- docker
- docker-compose
- vlc or acestream (player + engine)
Install this project you can use it with git
git clone https://github.com/clean-toolbox/acestreamPlaylist.git
or download from url https://github.com/clean-toolbox/acestreamPlaylist/archive/master.zip
There are a file .env where you can configure several parameters:
DOMAIN=http://arenavision.us
MASK=DATE@TIME@TIMEZONE@SPORT@COMPETITION@EVENT@LANG
IGNOREPASTEVENTS=1
PASTEVENTSTHRESOLDHOURS=0
FOLDERSHARED=/playlist
PROXY=1
PORTPROXY=8000
WEBPORT=8181
VLC_PATH=C:/Program Files/VideoLAN/VLC
SHORTCUTNAME=watchSports
- DOMAIN - The domain where you can make scrape and extract the playlist channels and events.
- MASK - Is the mask that you can use to generate event name in playlist to reproduce, separated by @ symbol.
- IGNOREPASTEVENTS - if you want ignore past events you should put 1.
- PASTEVENTSTHRESOLDHOURS - Put the number of hours to consider a event that already happen. for example: one example that started one hour ago, maybe you want see it because its not finished
- FOLDERSHARED - Name of the folder use it by scrape container.
- PROXY - If set to 1, it will use a container with acestream server proxy. This option is better if you dont want to have the acestream engine in you host. if you put to 0 you must have acestream player and engine in your host machine.
- PORTPROXY - Port where acestreamproxy server it will be exposed, if you set PROXY to 0 this option it will be ignored
- VLC_PATH - path to the VLC for vlc asotiation protocol and to open playlist events with it
- SHORTCUTNAME - Name of shortcut if you generate it with script.
If you download this script and try running it with powershell, maybe you will receive some advertise. This is because the restriction on powershell to execute unsigned downloaded scripts.
Open powershell with administrator rights
PS C:\> Set-ExecutionPolicy Bypass
References:
https://blog.netspi.com/15-ways-to-bypass-the-powershell-execution-policy/
There are a script inside main folder where you can create a shortcut to execute everything, the shortcut will be created in Desktop folder. You can create or remove shortcut whenever you want.
There are a script to remove all containers, images and shortcut.
There are several things to do:
- Exclude past events
- Include your time zone
- Filter Events by club, competition
- ..
* Include something to always on top
This small project was build under a environment, i think that it will work with another, but just in case i put my environment.
Client:
Version: 18.06.1-ce
API version: 1.38
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:21:34 2018
OS/Arch: windows/amd64
Experimental: false
Server:
Engine:
Version: 18.06.1-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:29:02 2018
OS/Arch: linux/amd64
Experimental: false
docker-compose version 1.22.0, build f46880fe
Microsoft Windows 10 Pro
10.0.17134 N/D Compilación 17134
Microsoft Corporation
This project was based in or use solutions from: