When used as default browser in DE (eg Trinity), it opens video links in video player.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Pitriss dd4abc313a
another gitignore tweak
7 years ago
private.d fix for hidden directory 7 years ago
scripts.d Initial code 7 years ago
.gitignore another gitignore tweak 7 years ago
LICENSE Initial commit 7 years ago
README.md Initial code 7 years ago
video-smplayer-url.rb Initial code 7 years ago

README.md

videolinks-in-smplayer

This set of script and sub-scripts opens various links in video player instead of in the default browser

How to use

In Trinity desktop just set this script as default browser. It will parse all links and not recogized ones opens in default browser defined in x-www-browser

How it works

Main script goes through all defined directories with the scripts, runs one by one and if it doesn't recognize the link, it ends with return code 1. If link matches, sub-script runs app defined in second parameter and returns code 0 to the main script. When main script receives RC 0 it ends execution immediately.

Execution of main script can be also stoped by return code 127 which interrupts running with message to stderr.