Hi Matt

> I really like how it's going so far, but the only thing keeping it from being 
> a seamless integration with Spotify is that I have to manually open the song 
> tiddler every time a new song plays and close the last one.
> 
> Almost everything is set up. I have an AppleScript that triggers when a new 
> Spotify song plays which can get the info required to find the tiddler 
> associated with the song. All I need now is some way to command that tiddler 
> to open and all others to close.

I think the way to do this is to use the TW5 HTTP API. You can POST updates to 
tiddler values; for example, updating $:/StoryList will update which tiddlers 
are shown in the story river. You can explore the API by running the 
client/server configuration of TiddlyWiki and monitoring network traffic in 
your browser developer tools as you perform operations on tiddlers.

Best wishes

Jeremy.

> 
> Thanks,
> Matt
> 
> 
> On Saturday, February 11, 2017 at 4:22:19 AM UTC-5, PMario wrote:
> Hi Matt,
> 
> Can you describe a bit closer, what you try to achieve? ... 
> 
> opening and closing tiddlers from the command line is not the purpose of the 
> tw node version.
> 
> It's mainly used to "compile" file TiddlyWikis and to run the test server.
> -m
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> <mailto:tiddlywiki+unsubscr...@googlegroups.com>.
> To post to this group, send email to tiddlywiki@googlegroups.com 
> <mailto:tiddlywiki@googlegroups.com>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/fc989cb4-4617-4173-b3e7-e8283481d0e6%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/fc989cb4-4617-4173-b3e7-e8283481d0e6%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0509B062-4C2C-4CF2-9CD7-63EFC9F743A6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to