jonian / acestream-launcher

AceStream Launcher opens AceStream links with any Media Player
GNU General Public License v3.0
152 stars 20 forks source link

passing options to engine #18

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

I somehow doubt this is a bug (sorry if it isn't) I've been trying different ways to pass options to the engine but nothing seems to work.

$ acestream-launcher 03ce2e15acf616aaf3cb94d64460993590095b30 -e --live-cache-type memory

usage: acestream-launcher [-h] [-e ENGINE] [-p PLAYER] URL acestream-launcher: error: argument -e/--engine: expected one argument

any idea what might be wrong?

jonian commented 6 years ago

Hi, the correct usage for the engine argument is:

acestream-launcher 03ce2e15acf616aaf3cb94d64460993590095b30 -e "acestreamengine --live-cache-type memory"

As the error says, the engine argument must be one.

ghost commented 6 years ago

thanks, thing is, when I do it like that it just hangs.

$ acestream-launcher 03ce2e15acf616aaf3cb94d64460993590095b30 LIVE - status: playing down: 660.0 kb/s up: 69.0 kb/s peers: 8

The above works, and loads instantly

$ acestream-launcher 03ce2e15acf616aaf3cb94d64460993590095b30 -e "acestreamengine --live-cache-type memory"

this one just hangs and never loads, any idea?

jonian commented 6 years ago

You should choose a client:

acestreamengine --client-console --live-cache-type memory
ghost commented 6 years ago

sorry man, another problem..

$ acestream-launcher acestream://1270245b1c4198fcadd7f75a115f33589d725eaa -e "acestreamengine --client-console --live-cache-type memory"

Streaming started, launching player...

Exiting... LIVE - status: playing down: 0.0 kb/s up: 0.0 kb/s peers: 42 $

It starts then crashes, player doesn't even open