Registered Member
|
I'm trying to make a script that will stream internet radio, and I seem to be having a problem.
I shamelessly copied the functions from the Cool Streams script (it's what everybody else did) and ran a test on the scripting console. It didn't work.
Returns the error ReferenceError: connect is not defined. I have the onPopulating function, and it looks like it should work. I looked at several other radio scripts, and saw that they all have this line, and yet none of them run in the script console. I'm clearly doing something wrong. What? |
Registered Member
|
Hi,
Probably the name of the script used in the spec file and the js are different Check that: Name = Name X-KDE-PluginInfo-Name=Name form spec file, and ScriptableServiceScript.call( this, "Name", 4, "Test", "Test", true ); form js file are equal. |
Registered Member
|
I'm not trying to run it from a js file but in the scripting console.
|
Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]