mirror of
https://github.com/cooperhammond/irs.git
synced 2025-01-03 19:15:27 +00:00
Took out the need for VLC. The program will just use MPV to stream movies/tv, because it's already needed for streaming music.
This commit is contained in:
parent
151c73cd19
commit
773e00240f
|
@ -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
|
||||
|
||||
|
|
4
irs.py
4
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'))
|
||||
|
|
Loading…
Reference in a new issue