Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

How to pass custom arguments in Videoner plugin? #2618

@ghost

Description

After recently discovering videoner plugin. I streams youtube videos exclusively using this plugin and Its awesome. My default streaming pixel quality is 480p but some times I require to stream videos in 360p or below. I know that videoner plugin has a box for passing arguments . How should I use this box to pass my custom arguments. This is my full script.

#!/bin/sh

if [[ -z "$2"]]; then
    p=480
else
    p="$2"
fi

mpv --cache=1024 --no-config --slang=en --ytdl-raw-options=write-auto-sub=,sub-lang=en --ytdl-format='bestvideo[height<=?$p]+bestaudio' $1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions