Last active
August 29, 2015 14:28
-
-
Save Kazuma/dfe3818c2e4bb9b159f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# cinema-search | |
# | |
# Usage: | |
# $ cinema-search <title> | |
# | |
set -e | |
## Set | |
word=$1 | |
## Main | |
title=$(cinemastar-client title ${word} -o category | nkf --url-input | peco) | |
airplayer play "$(cinemastar-client find ${title} | peco)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment