- Joined
- Jun 1, 2011
- Messages
- 27
- Motherboard
- Gigabyte GA-Z77-DS3H Rev 1.0
- CPU
- Intel Core i5 3570k @ 4.4GHz
- Graphics
- MSI GeForce GTX 560 Ti Hawk
- Mac
- Classic Mac
- Mobile Phone
I have a solution for the landscape cover...
There is an Apple framework called Scripting Bridge which is compatible with iTunes. I wrote a small app (for fun ) called iTweetMiTunes which tweets the music that iTunes is playing along with an upload of the album art using this framework about six months ago.
The best thing about it is that you do not need to poll to pick up a song change. This means you could set up nginx compiled with NGiNX_HTTP_Push_Module to push the song that is playing to a webpage being shown on Safari on the iPod touch via JavaScript. This way you can push a JSON object containing the song's name, artist, etc. as well as the album art base64 encoded (shouldn't be too difficult to do as you get access to the raw image via Scripting Bridge) which is then decoded by JavaScript on the webpage when a song is pushed to it via nginx.
Set the number of items in the nginx queue to 1 (you don't need a back history) then when you refresh the page it'll get the last event.
Let me know if you want me to work on this and I'll see what I can do
EDIT: I got bored and started building it anyway
There is an Apple framework called Scripting Bridge which is compatible with iTunes. I wrote a small app (for fun ) called iTweetMiTunes which tweets the music that iTunes is playing along with an upload of the album art using this framework about six months ago.
The best thing about it is that you do not need to poll to pick up a song change. This means you could set up nginx compiled with NGiNX_HTTP_Push_Module to push the song that is playing to a webpage being shown on Safari on the iPod touch via JavaScript. This way you can push a JSON object containing the song's name, artist, etc. as well as the album art base64 encoded (shouldn't be too difficult to do as you get access to the raw image via Scripting Bridge) which is then decoded by JavaScript on the webpage when a song is pushed to it via nginx.
Set the number of items in the nginx queue to 1 (you don't need a back history) then when you refresh the page it'll get the last event.
Let me know if you want me to work on this and I'll see what I can do
EDIT: I got bored and started building it anyway