From 773e00240f6d33f96992a87d60719d5cd60f5638 Mon Sep 17 00:00:00 2001 From: Kepoor Hampond Date: Tue, 19 Jul 2016 15:13:41 -0700 Subject: [PATCH] Took out the need for VLC. The program will just use MPV to stream movies/tv, because it's already needed for streaming music. --- README.md | 1 - irs.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e789f74..05e7fcd 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,6 @@ There are some more external command-line programs that are essential to movies, ``` - OSX: Same as Windows, except follow [this](http://blog.teamtreehouse.com/install-node-js-npm-mac) guide. - Ubuntu: Again, the same, only follow [this](http://blog.teamtreehouse.com/install-node-js-npm-linux) guide instead. - - VLC: Just download and install it [here](http://www.videolan.org/vlc/index.html). ### Install diff --git a/irs.py b/irs.py index cb60244..f8e8209 100644 --- a/irs.py +++ b/irs.py @@ -290,7 +290,7 @@ def main(): elif media == "movie": if what_to_do == "stream": - os.system('peerflix "%s" -a -d --vlc' % get_torrent_url(args, 'movie')) + os.system('peerflix "%s" -a -d --mpv' % get_torrent_url(args, 'movie')) exit(0) elif what_to_do == "download": os.system("rtorrent '%s'" % get_torrent_url(args, 'movie')) @@ -298,7 +298,7 @@ def main(): elif media == "tv": if what_to_do == "stream": - os.system('peerflix "%s" -a -d --vlc' % get_torrent_url(args, 'tv')) + os.system('peerflix "%s" -a -d --mpv' % get_torrent_url(args, 'tv')) exit(0) elif what_to_do == "download": os.system("rtorrent '%s'" % get_torrent_url(args, 'tv'))