Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note deprecated DIAL casting in chromecast_youtube #11894

Merged
merged 8 commits into from
May 29, 2019
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ This module plays (by default) ["Epic sax guy 10 hours"](https://www.youtube.com

Naturally, audio should be cranked to 11 before running this module.

Only the deprecated DIAL protocol is supported by this module. Casting via the newer CASTV2 protocol is unsupported at this time.

## Verification Steps

1. Do: ```use auxiliary/scanner/http/chromecast_webserver ```
1. Do: ```use auxiliary/admin/chromecast/chromecast_youtube```
2. Do: ```set RHOST [IP]```
3. Do: ```run```

Expand Down
5 changes: 4 additions & 1 deletion modules/auxiliary/admin/chromecast/chromecast_youtube.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ def initialize(info = {})
'Name' => 'Chromecast YouTube Remote Control',
'Description' => %q{
This module acts as a simple remote control for Chromecast YouTube.

Only the deprecated DIAL protocol is supported by this module.
Casting via the newer CASTV2 protocol is unsupported at this time.
},
'Author' => ['wvu'],
'References' => [
Expand Down Expand Up @@ -48,7 +51,7 @@ def run
when 200
print_status('Stopping video')
when 404
print_error("Couldn't #{action.name.downcase} video")
print_error("#{action.name} failed: CASTV2 protocol unsupported")
end
end

Expand Down