kennyann Posts: 113
Is there any way for me to control a palylist from the Netlinx master to a computer with iTunes player? The computer is running Windows XP. I am looking codes that would open the iTunes and then play a playlist.
Otherwise, it's very difficult. This generation of Apple products don't play well with others.
An other way you can use if computer is running Linux or Mac OSX, is SlimServer that allows you full access at all playlists, podcasts, music tracks of iTunes remotely through network, and you can distribute it in numerous places. The software is Open-Source and it exists a module for control of it that works really well, with display of cover art in Modero Have a look here for more details in english: http://www.domedia.net/?page=slimserver&title=PRODUCTS and you can also download a cut sheet http://www.domedia.net/include_pages/Cut-Sheet_SlimServer-EN.pdf
Coming up with scripts to accomplish particular functions is probably a nontrivial task (at least it would be for me), but couldn't it be done if someone had the motivation?
Apple has an SDK for the Windows XP environment with a couple sample scripts included and there are some available via web search which appear to work ok.
Don't forget that if u succeed to control iTunes from scripts you'll probably get none or nearly none feedback so it's not really cool to control jukebox with blindeyes
I have created a couple files that use the script object to control iTunes. They have full documentation of there COM interface it would be very easy to write an application to control/inteface with iTunes. I created a couple .js files to new nextTrack and previousTrack and attached them to the external buttons on my laptop, that way I don't need to give the iTunes application focus or even look at the screen to skip tracks. I also wrote an HTML application to control iTunes, but designed my own UI, its very simple, but it was just a "see if I can" type thing. I will attache the COM interface that apple gives out. I realize this isn't a complete solution but is a direction to head.
I also noticed that they have quite a few events you can capture so you know what is going on with the application so it should be easy to write an application that keeps track of any application changes. I realize its not done for you vincen but it is definately a viable solution. Doing it this way would also let you decide how to inteface it with NetLinx, I would assume that IP would be the best way, but you have the option to do it over 232 if necessary.
It also looks like it may be possible to retrieve artwork, if that is true using dynamic images you could show album artwork on our panels, I guess poop-tron won't be doing that . . .
Funny to hear you need to do all that to control iTunes under Windows when all these functions are native under OSX
Thanks for all these infos, but in fact when I need to control iTunes I do it under Mac OSX so control is pretty easy to do with AppleScript interface or I use SlimServer so I can distribute all audio files of iTunes in multiples rooms with full control and it's very enjoyable
Nevertheless it can be really interesting for people that need iTunes control under Windows and not afraid of poor stability of that OS
Windows XP server or a Mac server, it can be controlled via scripting either with jscript (Windows) or with applescript (Mac). With the XP (and I suspect with the Mac also), the scripts could be accessed and executed from a terminal session using telnet. The scripts could output information from iTunes to the terminal which could be read and interpreted by the Netlinx master (telnet client) and used for feedback/display.
The best answer is to have an application running on the Mac as a TCP/IP server of sorts, with the express purpose of controlling iTunes. A client (such as a NetLinx processor) would connect using TCP/IP and control it through commands that the server supports.
Anyone that wants to seriously persue this should pay a visit to the Cre$tron Yahoo group - there is a participant there that has written such an app - I don't think he's gotten it out of a beta level yet, but it does exist.
Do u have an url for that group on Yahoo as a research with Cre$tron word (with an s instead of $) gave none result
And no, I wouldn't go directly clicking on that link. Copy, paste & fix the naughty word that our hosts won't let us utter, then hit "go".
Thanks got it
I got registered in the group but I was not able to find more Maybe Chip will be able to tell me where to find expected files ??
There are no files in existence on that Yahoo! group. What I was trying to say was that there was a participant in that forum that had been discussing an application he had been working on. Being in beta, he hadn't released it to the public, but may be interested in beta testers if he is contacted directly. I contacted him and got a very early version of the software some time ago, but I haven't gotten around to setting up a Mac here to test it with...
So I would suggest searching through the message forums and contacting the individual directly.
Thanks Chip for the explanation, I'll look for that guy on the newsgroup
I posted method for interconnecting Netlinx and PC in this thread:
In conjunction with the iTunes Windows SDK it is realtively simple to do what you ask.
You can control iTunes through the Roku SoundBridge. Full search capabilties, add and remove and add songs from queue etc. I'm currently working on this project on the side and it shows a lot of promise. You can access and control WM10 as well as a number of other possibilites.
Youn can connect via IP to the sound bridge which has open source RCP documentation. With my programming skill I can only can so far but if anyone is interested I can share what I have. It is however in the rough stage and is a work in progress but it does connect to iTunes and give you full access to the library and search by text or through lists by genre, artist, album, composer, songs, playlists, etc.
What is your connection scheme? How is the Netlinx controller involved?
What does the Roku SoundBridge offer over a Netlinx short of the line output stage?
What iTunes features are you interested in controlling from Netlinx?
Netlinx connects to Roku via TCP/IP.
Roku provides a bridge to iTunes, Windows Media connect, Internet Radio etc.where the files stream is output from the Roku by either digital or anolog connection to you AV equipment.
With Netlinx through the Roku you can retrieve all your iTunes (and other stuff too) library items, album lists, song lists, playlist, etc. You can also do text searches after setting a searching filter of either, artist, album, composer, song or all and display on your TP. You can retrieve all the list data at once or in segments equal to your TP's ability to list them. 5 at time, 10 at a time so you don't have bombard your input buffer with more stuff than you're ready to handle.
You basically have full functional control of searching and playing of the servers you're accessing through the Roku.
Once you've found what you what you add it to or erase and create a new playing queue. And once you have a playing queue you can add to it through additional searches or scroll through the queue and remove songs you don't want in it.
You can also retrieve all song info (bitrate, sample rate, song length, artist, album, year relesed, etc) of the currently playing song or of a song you want details on while search for music.
So far the only thing you can't do is actually create or change your librarys in iTunes or what ever itself .
The Roku sends and recieves acsi string commands and data on a dynamic or static ip address on port 4444 or 5555. Same for Telnet.
I'm not so sure I like this connection model. I prefer a client-server model from iTunes to Netlinx. I'm taking the perspective of a code implementation that would reach the biggest possible audience.
So the concept would be to use iTunes interface as "music database" for all potential player devices that access iTunes library. Pull meta-data from "music database", and play from generic player. This would make driver to player much simpler, and prevent redundant driver code. How about a public SNAPI definition for a generic "music database"?
It's always better to go staight to the source but when you can't you do what you can.
The Roku is around $150.00-$200.00 bucks and allows full access to music files and although the communications and programming is between Netlinx and Roku; the Roku is assentially transparent to the process. It actually is nice to be able to put the Roku at the AV equipment and attached to the network, you can then connect to any PC w/ iTunes, WM10, SlimServer, etc, as long as permissions are set to allow these connections (and the host PC is on). So with multiple PC for multiple users running iTunes they are all accessable by scrolling throught the List of servers available as displayed on the TP and selecting the one you wish to use.
For how much it costs and the ease in programing and connecting to it, it's really hard to beat. And for those who don't want a $5k+++ dedicated server and want their iTunes and iPod, it's worth the effort.
The main reason for my working on this is because the iPod interface and functionality is such crap. No search capabilties to speak of, extremely slow responses, etc. The iPod Module is better than nothing but doesn't come close to what you can do with the Roku and at TCP/IP speeds. The Roku isn't perfect though, there are some bugs that I've noticed, but I'm also running the Beta firmware.
Back to "iTunes Control".
That's ok. At least I won't have to worry about running out of physical ports to connect multiples to the master!
I also just installed a FireFly server applications that works with Apples Bonjour pointed it to my CD's folder on a network drive and it work just like iTunes again with all the searching capabilities and the iRadio station work great on the TP as well. With out any configuration I can search/select/display 92 internet radio stations.
The FireFly actually shows up as two servers in the list, 1 which runs the Apple DAAP protocol and a 2nd that uses the Roku Server Protocol (RSP) it works about ten times faster than the DAAP.
This behaves as an iTunes/Media Connect bridge: http://www.allegrosoft.com/ams.html
Roku is a client of Allegrosoft.