SiriProxy icon indicating copy to clipboard operation
SiriProxy copied to clipboard

Alternate the example Plugin

Open ljbergmann opened this issue 14 years ago • 23 comments

Hey i have tried to alternate the example-plugin but nothing changes! I restated the server, bundeled the server new and make the rake file in the plugin folder and boundeld the plugin new, but nothing change. what i have to do!

ljbergmann avatar Jan 15 '12 20:01 ljbergmann

What have you did and what you want to do?

edsonaj avatar Jan 15 '12 21:01 edsonaj

First i change the answer of siri in the example-plugin, after that i use the command rake install in the example-plugin after that i bundeled the siriproxy new. that was all what i done. After a restart of the proxy there was the old answer not the new!

ljbergmann avatar Jan 15 '12 21:01 ljbergmann

You don't have to rake install the plugin, just to bundle the siriproxy e start it again. Try to change the version of the plugin in the gemspec file, so when you bundle you can see if it's the new version or not, or copy the folder and create a "new" plugin, but for that you should edit de config file in the ˜/.siriproxy folder.

edsonaj avatar Jan 15 '12 21:01 edsonaj

i will try it thank you for your help

ljbergmann avatar Jan 15 '12 21:01 ljbergmann

i did it and change the version. when i bundel sirirproxy it is the new version but jet the plugin do not responde!

ljbergmann avatar Jan 15 '12 21:01 ljbergmann

But the speech is right? Try to put a single word in the listen_for and see if it works.

edsonaj avatar Jan 15 '12 23:01 edsonaj

i haven´t change the listen_for ! i only change the output!

ljbergmann avatar Jan 15 '12 23:01 ljbergmann

But it is giving the old output or none?

edsonaj avatar Jan 15 '12 23:01 edsonaj

there is no responde of the plugin i have tested it with the siriproxy console and the iphone

ljbergmann avatar Jan 16 '12 00:01 ljbergmann

in what directory have you changed the file ? /user/xxx/SiriProxy/plugins/ ...

or user/xxx/.rvm/gems/ruby 1.9.3/gems/siriproxy 0.3.0/plugins/ ...

muhkuh0815 avatar Jan 16 '12 00:01 muhkuh0815

In the first one

ljbergmann avatar Jan 16 '12 00:01 ljbergmann

try to find it in the second one, but if you change it beware of siriproxy update :-)

muhkuh0815 avatar Jan 16 '12 00:01 muhkuh0815

thanks it works

ljbergmann avatar Jan 16 '12 01:01 ljbergmann

you can also change the path in the config.yml to /user/xxx/SiriProxy/plugins/ ...

so it finds your already edited plugin.

muhkuh0815 avatar Jan 16 '12 01:01 muhkuh0815

Heah that is a good idea! I have a Little Question why er have in .rvm and in the Siriproxy Folder the Same Things why it isnt in one?

ljbergmann avatar Jan 16 '12 01:01 ljbergmann

not sure but with the initial siriproxy release it was in user/siriproxy, then in the latest version when gems where used it moved there, probably has to do with ruby itself or rvm ...

muhkuh0815 avatar Jan 16 '12 02:01 muhkuh0815

Hello you two.

I did use the westbear proxy, but I think that doesn't matter to my problem.

So, even if I change the "config.yml" in "~/.siriproxy", my "SiriProxy" would not be updated with my changed siriproxy-example. I've changed the Version in "siriproxy-example.gemspec" and as i ran bundle in ~/SiriProxy, the command line told me it is using Version 0.0.2 of siriproxy-bundle from "./SiriProxy/Plugins/".

No matter to that message the Output didn't change to what i edited for "test siri proxy"...

Finally changes in "user/xxx/.rvm/gems/ruby [email protected]/gems/siriproxy 0.3.0/plugins/siriproxy-example/siriproxy-example.rb did" changed something after I ran "bundle" in "./SiriProxy"

So, what did or am I doing wrong?

ghost avatar Jan 17 '12 15:01 ghost

Try to copy the plugin folder to your Documents folder for example and change the path in the config.yml file, bundle (inside ~/SiriProxy) and run it again.

edsonaj avatar Jan 17 '12 18:01 edsonaj

Sry, which plugin folder to what Documents folder?

ghost avatar Jan 18 '12 13:01 ghost

Copy any plugin folder that you have modified to any other folder on your computer and change the path in config.yml file (It should be the only plugin in the config.yml), after just bundle and test (you can also change the listen_for to something more easy to say, I used to test it with "You don't say" phrase).

Or delete both siriproxy folders and reinstall everything.

edsonaj avatar Jan 18 '12 16:01 edsonaj