aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authornjaremko2017-07-17 21:50:26 -0400
committernjaremko2017-07-17 21:50:26 -0400
commitcd83d6ecaf7d9025c3db452268cf246ae4c4aaa0 (patch)
tree77be33df40e823b08d234b8a7d09245049b35553 /src/main.rs
parentc981cf824f5d75423f88437361d915cb1233eb3a (diff)
downloadpodcast-cd83d6ecaf7d9025c3db452268cf246ae4c4aaa0.tar.bz2
Fix play functionality
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 2ab284c..a001ad4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -105,7 +105,7 @@ fn main() {
let play_matches = matches.subcommand_matches("play").unwrap();
let podcast = play_matches.value_of("PODCAST").unwrap();
let episode = play_matches.value_of("EPISODE").unwrap();
- stream_episode(state, podcast, episode);
+ play_episode(state, podcast, episode);
}
Some("subscribe") => {
state.subscribe(