ItzBlitz98/torrentflix

Arguments handling in config

Closed this issue · 0 comments

I want to open peerflix with peerflix mymagnet --vlc -r -d -- -f

Right now it looks like it's impossible.
peerflix_player_arg is not working because it's not the last one in the chain (peerflix_port is after) and-f should produce -- -f.

It may be a lot simpler to use only one config option with all the arguments inside as an array, instead of using peerflix_player, peerflix_player_args, peerflix_port, .... Peerflix is well documented, no need re-code every parameter. peerflix_args: ['--ports=8080','-r', '-d', '--', '-f']

Also, it would be nice to add --engine and --limit default config options.
-s is quite useless, it would be simpler to use it like torrentflix search [options]

At the end, the UX would be torrentflix MyMovie, select a torrent, done.