Comments (9)
Someone was successfully able to do just that using URL methods. https://github.com/aecom/siriproxy-url
from siriproxy.
http://wiki.akosma.com/IPhone_URL_Schemes
from siriproxy.
from siriproxy.
Wow, thank you for your extremely quick response ... I'm currently coding my siriproxy and will incorporate your great advice!!
from siriproxy.
I haven't been able to find the Tivo app URL scheme, but I would think it exists.
from siriproxy.
looks like the TiVo app URL scheme is simply tivo://
from siriproxy.
Actually tried tivo:// and it fails ... some googling uncovered
fb129267530460609:// will launch TiVo IOS App ... Confirmed it works for
me!!!!
I'm currently writing a generic App launcher (mainly to learn more Ruby)
... I'll share when done (lot of the code is based off of @elvisimprsntr
various examples ... Much thanks!
On Sun, Aug 11, 2013 at 2:24 AM, Elvis [email protected] wrote:
look like the TiVo app URL scheme is simply tivo://
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/557#issuecomment-22453238
.
from siriproxy.
Just learning Ruby/SiriProxy this weekend. I wanted to say "Listen to Pandora in Bedroom" then have Siri control my Whole house Audio, configuring Input (Pandora) to Outputs (Bedroom) then launch a control app for the input (Pandora) if applicable ...
After much reading, decided to post this out in case it is useful for anyone else ... Following code will launch an arbitrary Application ... Parameters are passed in at run time, so you can define your Apps to launch in a Hash in config.yml and pass it into your plugin. It requires forcing Siri to browse a page (that I dynamically create) so you'll need to install Apache and have it writable by siriproxy user.
Thanks to:
https://github.com/aecom/SiriProxy-Url
http://applookup.com # fixed broken link
https://github.com/elvisimprsntr/siriproxy-ipcam/blob/master/lib/siriproxy-ipcam.rb
And much thanks to @elvisimprsntr for pointing me this direction!!!
Hope this helps someone!
class OpenLink < SiriObject
def initialize(ref="")
super("OpenLink", "com.apple.ace.assistant")
self.ref = ref
end
end
def launch(appName, baseUrl, appUrl)
# Create a URL redirect file to launch App in current host's Apache dir (must be writable by siriproxy user!)
File.open("/var/www/" + appName + ".html", "w") do |file|
file.puts "<html><head><title>IU Webmaster redirect</title> <META http-equiv='refresh' content='0;URL=#{appUrl}'> </head> </html>"
end
fullUrl = baseUrl + appName + '.html'
add_property_to_class(OpenLink, :ref)
sleep (4)
view = OpenLink.new(fullUrl.gsub("//",""))
send_object view
end
# Now to call our function
appName = 'remote' # Anything you want to name it
baseUrl= 'http://192.168.0.55/' # Of your siriproxy server running Apache (siriproxy must be able to write to /var/www)
appUrl = 'remote://' # Lookup appUrl here: http://applookup.com # fixed broken link
# This will launch your App
launch(appName, baseUrl, appUrl)
from siriproxy.
Nice work. I suggest you publish your plugin on GitHub https://github.com/plamoni/SiriProxy/wiki/Plugin-Developer-Guide#publishing-your-plugin-for-others-to-install
Or post your method with the other developer. https://github.com/aecom/siriproxy-url
This will make it easier for others to adopt.
from siriproxy.
Related Issues (20)
- Gencerts Exec format error HOT 1
- Updates and stuff; need help HOT 7
- DNS server issue when restarting server HOT 1
- SiriProxy up and running... HOT 4
- SiriProxy up and running... HOT 1
- Siri Logitech Smart Control HOT 2
- [SOLVED] RPi: [Plugins loaded: Example] whenever I open Siri HOT 19
- Catch multiple words in track name (iTunes plugin) HOT 2
- some words / combination of words result in "spinning" HOT 26
- siriproxy on vpn HOT 5
- Siri Authentification Bypass HOT 1
- intercept queries google HOT 1
- Alternatives for iOS7 HOT 31
- RubyDNS 1.0.0 release, can you please test.
- Siriproxy & dyndns not working
- Siriproxy and iOS 8 HOT 2
- siriproxy gencerts cannot load such file??? HOT 1
- CoolBooter Siriproxy working
- [Info - iPhone] Got invalid data (non-ACE protocol?), terminating the connection.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from siriproxy.