Skip to content

Commit 27bb5d2

Browse files
author
Hjalti Jakobsson
committed
Fixed a few typos
1 parent 1e09a40 commit 27bb5d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/plex/siriPlex.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def speech_recognized(object, connection, phrase)
106106
response = nil
107107
show_title = $4
108108

109-
library = PlexLibrary.new(@host, port)
109+
library = PlexLibrary.new(@host, @port)
110110
show = library.find_show(show_title)
111111
episode = library.latest_episode(show)
112112

@@ -125,7 +125,7 @@ def speech_recognized(object, connection, phrase)
125125

126126
self.plugin_manager.block_rest_of_session_from_server
127127
response = nil
128-
library = PlexLibrary.new("10.0.1.75", 32400)
128+
library = PlexLibrary.new(@host, @port)
129129

130130
show_title = $2
131131
if(phrase.match(/episode\s([0-9]+|one|two|three|four|five|six|seven|eight|nine|ten)/))

0 commit comments

Comments
 (0)