View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Mar 18, 2006 4:03 pm 
Offline
Joined: Thu Jul 29, 2004 9:06 am
Posts: 16
Location: Maryland
Hello all,

I've been using knoppmyth for about a year and a half now. All in all, its been quite a good experiece for me. The only thing missing is figuring out a way to use both iTunes and Mythtv.

I get a lot of my music from the iTMS. Apple has positioned iTunes and the iPod as the stewarts of the Fairplay wrapped content. The problem is figuring out a way to consume/access Fairplay content outside the iTunes and iPod mediums...and not violate the DMCA.

Best I could figure, there is no present way to get Fairplay DRM wrapped content onto Myth for play back. Next best way, IMHO, is to remote control iTunes.

iTunes on Mac OSX is an application that is completley controlable via AppleScript. OSX has hooks built into Applescript that allows for outside applications written in other languages to communicate with Applescript aware applications.

By trade, I happen to an Enterprise Java Developer. Quite easily, there is a way to write applications in Java that communicate with other Apple "iLife" applications via Applescript. This includes iTunes.

It is possible to wrap Applescript calls to control iTunes in Java, and expose the calls via some form of remote method invocation. I was thinking about XML-RPC, but Corba will work just as easily.

Since version 4 I think, all iTunes content information is saved in an xml file called iTunes Music Library.xml. Parsing this xml file could give a remote client application everything it needed to call and control iTunes and its music.

The hardest thing to do would be to create a Mythtv add-on to control iTunes. The overall control flow would kind of work like this:

User interacts with a Myth iTunes remote client. The Client makes RMI calls to a Java server, that it turn controls iTunes via Applescript. iTunes processes commands from remote client, and plays music to a home stereo device via direct connection or Airtunes.

In theory, this project wouldn't be too hard. Hell, there is already an open-sourced project called mytunes that has the Java-to-Applescript framework for iTunes already done. It also parses the iTunes Music Library.xml Only thing to do is wrap the calles in RMI, and create a myth client.

Anyone up to help with a project such as this? Im not sure, but I think you can control iTunes on a PC using JSCRIPT, but Im not sure. If so, it may be possible to create a cross-platform Java iTunes Server.

Anyone who is interested please let me know.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 12:33 am 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Not a big fan of DRM :twisted: whatever fancy "fairplay" name they choose to mislead consumers with. I feel you are better using a music store that sells in .mp3 or flac format legally. www.allofmp3.com

My biases aside... I do however recall some iTunes integration threads over at the MythTV Gossamer mailing lists.

Here is one.

http://www.gossamer-threads.com/lists/m ... nes;#72258

The Gossamer list may be a good place to post about this too as that is where a lot of the MythTV application takes place.

Good luck.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu