Projects tagged ‘itunes’ and ‘ruby’


[9 total ]

0USERS

IStrunium is a project to provide a way of managing the content of a Philips Streamium WACS 7000 using iTunes on OS X. The Streamium is supplied with software for uploading content but it only works on Windows. IStrunium synchronizes content and playlists from an iTunes library to a Streamium server.

0USERS

Ever feel that Last.fm's web/Flash interface and desktop app take up too much memory and screen space? Do you have a fetish for the austere glow of ASCII characters against a dark void? Then lastfm-cli might be for you. lastfm-cli is an ... [More] interactive command-line & telnet interface to a last.fm account and last.fm audio streams. lastfm-cli lets you choose radio stations, play songs, skip songs, "love" them or "ban" them, and control the volume without touching a mouse. Moreover, via telnet, you can share control of a last.fm audio stream (playing through the office or home sound system, for instance) as long as the computer running lastfm-cli is accessible on the local network. lastfm-cli requires an mp3 stream player. Currently, only iTunes is supported, but support for linux players such as MPG123 is under development. Warning: This is alpha, so the code is messy and it doesn't always recover gracefully from errors. Plus Last.fm streams are sketchy at times, so please don't expect skipping and switching radio stations to be completely fast or reliable. author: Daniel Choi, member of the Betahouse web cooperative in Cambridge, MA Screenshot RequirementsCurrently, lastfm-cli requires OS X Leopard. But I am working to make it work on Linux. Streaming Last.fm to AirtunesSince lastfm-cli uses iTunes to play the Last.fm audio stream, you can stream Last.fm via lastfm-cli to an Airport Express. But streaming radio via iTunes to Airport Express isn't the most stable experience and you may experience frequent dropouts. To minimize dropouts, try increasing the streaming buffer size to the maximum in iTunes preferences. A production-quality product like Airfoil may serve better for this purpose. Installationlastfm-cli is a ruby gem hosted on Rubyforge. You can install it with this command: > sudo gem install lastfm-cli After a successful installation, you should be able to run lastfm-cli with this command: > lastfm-cli Enjoy. Bug reports, comments, and suggestions are welcome. [Less]

0USERS

TunecoreDirect is an SDK that allows TuneCore partners interact easily with the TuneCore media distribution platform. This project is in the early stages of implementation. It's currently limited to creating and querying user accounts and creating ... [More] albums, and more features are continuously being integrated. Please have a look at GettingStarted to get an idea of how this thing works. Please browse to http://api.tunecore.com for complete and up to date documentation for the SDK. For more information contact alex@tunecore.com [Less]

0USERS

DescriptionAllows control of iTunes for Windows via a command line. It provides all basic media controls such as play, pause, stop, next/previous track, and volume adjustment. In addition, you can search for tracks in any given playlist and perform ... [More] operations on them, or retrieve information regarding them. You can also add tracks to the library, sync your iPod, and perform a variety of other operations. UsageUsage: itch [options] Program help: -h, --help Display program help. Playback controls: -p, --play-pause If currently paused, begin playing. If currently playing, pause playback. --pause Pause playback. --play Play the current track. -s, --stop Stop playback. -n, --next-track Go to the next track. -N, --previous-track Go to the previous track. -m, --mute Mute the audio. -M, --unmute Unmute the audio. -v, --volume number Set the volume to X percentage points. --volume-down [number] Decrease the volume by X percentage points (default 10). --volume-up [number] Increase the volume by X percentage points (default 10). --scan-to seconds Scan to an offset X seconds within the current track. --scan-backwards [seconds] Scan backwards X seconds within the current track (default 10). --scan-forwards [seconds] Scan forwards X seconds within the current track (default 10). --play-file name Play the specified file or folder. Info on selected tracks: -i, --print-info format For each track, print information in the given format. If the following strings appear in the given format, they will be replaced with the corresponding track information: "%a": artist "%e": encoding "%A": album "%b": BPM (beats per minute) "%c": composer "%C": comment "%d": disc number "%D": disc count "%E": Enabled status ("enabled" or "disabled") "%l": location (file name/URL) "%p": play count "%q": equalizer "%g": genre "%G": grouping "%n": name (title) "%r": rating "%s": skip count "%t": track number "%T": track count "%v": volume adjustment "%y": year "%%": percent sign General iTunes controls: -a, --add-file name Add the specified file or folder to the library. -q, --quit Exit iTunes. --open-url url Open the given URL. --goto-store-home-page Go to the Store. --update-ipod Update the iPod. Playlist selection: --library Operation will include the entire iTunes library. Used by default unless other libraries are selected. --current-playlist Operation will include the current playlist. --playlist name Operation will include the named playlist. (This option can occur more than once.) --all-playlists Operation will include all playlists. --create-playlist name Create a playlist with the specified name and include it in the operation. (This option can occur more than once.) --delete-playlist name Delete the playlist with the specified name. (This option can occur more than once.) Track selection: -f, --find string Operation will include all tracks in the specified playlist(s) where any field matches the specified string. (This option can occur more than once.) -c, --current-track Operation will inclue the current track. --selected-tracks Operation will include the selected tracks. --all-tracks Operation will include all tracks in the specified playlist(s). --visible-find string Operation will include all tracks in the specified playlist(s) where any visible field matches the specified string. (This option can occur more than once.) --find-artist string Operation will include all tracks in the specified playlist(s) where the artist matches the specified string. (This option can occur more than once.) --find-album string Operation will include all tracks in the specified playlist(s) where the album matches the specified string. (This option can occur more than once.) --find-composer string Operation will include all tracks in the specified playlist(s) where the composer matches the specified string. (This option can occur more than once.) --find-track-name string Operation will include all tracks in the specified playlist(s) where the track name matches the specified string. (This option can occur more than once.) -F, --play-found Play the first of the selected tracks. Set track info: --set-artist name Set the artist for each track. --set-album name Set the album for each track. --set-bpm number Set the beats per minute for each track. --set-comment string Set the comment for each track. --set-composer string Set the composer for each track. --set-disc-number number For each track, set the disc number. (Used with multi-disc albums.) --set-disc-count number For each track, set the number of discs in the album. (Used with multi-disc albums.) --set-enabled Enable the check box for each track. --set-disabled Disable the check box for each track. --set-eq name Set the equalizer to the named preset. Use 'None' to disable. --set-genre name Set the genre for each track. --set-grouping string Set the grouping for each track. --set-name name Set the name (title) for each track. --set-play-count number Set the play count for each track. --set-rating number Set the rating for each track. Valid values are 0 through 5. --set-skip-count number Set the skip count for each track. --set-track-number number For each track, set its album track number. --set-track-count number For each track, set the number of tracks on its album. --set-track-volume percent Set the volume adjustment percentage for each track, from -100 to 100. Negative numbers decrease the volume, positive numbers increase it. 0 means no adjustment. --set-year number Set the year of publication for each track.ExamplesGet help: itch -h Start up iTunes (if necessary) and begin playing: itch -p Find and play a song: itch -f 'mookid' -F Find all songs from an artist, show basic info on them, and play the first found: itch -f 'aphex twin' -i '%a - %A - %t - %n' -F You can improve readability in batch files by specifying options in long form: itch --find 'aphex twin' --print-info '%a - %A - %t - %n' --play-found InstallationWindows (without Ruby): Download and run the Windows installer. With Ruby: gem install itch ThanksThanks to Eden Li and Gary Wright for various Ruby advice and assistance. AuthorCopyright Jay McGavren, chicgeekaz@hotmail.com LicenseThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Please see the LICENSE.txt file for the full license. LegaliTunes is a trademark of Apple Inc. Windows is a registered trademark of Microsoft Corporation in the United States and other countries. itch is not endorsed, licensed, or sponsored by Apple Inc or Microsoft Corporation. [Less]

0USERS

iTunesRails 0.8.1This open source project provides a web interface to the iTunes application running on the same machine. iTunesRails allows people sharing a work space and local computer network to control a common iTunes instance and shared music ... [More] collection. It can also be used for events and parties. The mission of iTunesRails is to help make music-playing in common spaces more social and collaborative. While the computer running iTunesRails must be running Mac OS X 10.5, anyone on the local network can queue songs on iTunesRails as long as they have a computer with a web browser. This project was cooked up by Daniel Choi and Mackenzie Cowell to use in Betahouse, a coworking space for web developers in Cambridge, Massachusetts. Colin Nederkoorn subsequently joined the project to help design the user interface and feature set. RequirementsOS X Leopard (10.5) is required because iTunesRails uses the Cocoa Scripting Bridge and the Leopard version of RubyCocoa. The project was also built using the Ruby on Rails framework, which comes preinstalled with Leopard. How To Download and RunTo download the program, open a Terminal and cd to any directory where you want to keep the itunes-rails program. Then type this command to retrieve the code: svn checkout http://itunes-rails.googlecode.com/svn/trunk/ itunes-railsOnce the code is checked out from the code repository, type cd itunes-railsand then mongrel_rails startThis should start itunes-rails. Open a web browser to the URL http://localhost:3000 You should see the itunes-rails web interface. To let other people on your local network access the same interface, make sure you turn on Web Sharing in the Sharing System Preferences panel. People should be able to hit itunes-rails using your computer's website address as indicated by the Sharing Preferences panel, with ":3000" appended to it. iTunesRails is still evolving. To get the latest features and bugfixes, cd into your itunes-rails directory and type svn upThis should update the code. Then stop the mongrel_rails process (with Control-C) if you haven't already and restart it with "mongrel_rails start". To let other people easily drop in audio files and have them automatically added to the iTunes library running behind iTunesRails, you can set up a shared folder with the appropriate Automator folder actions. A more detailed guide on this is forthcoming. Feel free to report any problems or feature suggestions via the Issues tab above. Enjoy music, enjoy life. Planned Features and Improvementsintegration with LastFM user accounts packaging the whole application as a standard Apple OS X app (but still with the web interface), so that it's easy for non-programmers to download, install, launch, and update make the application automatically attempt to fetch missing album artwork over the web if it's not currently available in the local iTunes library Release Notes Version 0.0 (March 25, 2008)Mackenzie Cowell and Dan Choi come up with the idea for this project. Mac volunteers to turn his spare Mac Mini into a betahouse iTunes music server. Dan starts studying the Cocoa Scripting Bridge and gets ready to code the project. Version 0.1 (April 2, 2008)The maiden release. We have some ideas about future features, e.g. Ajax, but suggestions are appreciated. Version 0.2 (April 3, 2008)Added album cover art, plus Ajax interaction to minimize unnecessary page refreshes. Version 0.3 (April 3, 2008)Stability improvements. Added artist list left sidebar for easier navigation. Version 0.4 (April 5, 2008)Added the ability to batch-add tracks to the queue. Miscellaneous bugfixes and CSS improvements. Now using JQuery in addition to the Prototype javascript library. Version 0.5 (April 5, 2008)Added automatic periodical updating of the currently playing song. Minor layout improvements. Version 0.6 (April 8, 2008)Added the ability reorder upcoming tracks in the queue. Re-implemented batch queuing to use (slightly) more efficient makeObjectsPerformSelector:withObject method. Version 0.7 (April 8, 2008)Major improvements in reliability of pause/play, skip, and previous track. Version 0.8 (April 11, 2008)Much faster batch queueing of tracks. Version 0.8.1 (April 12, 2008)Faster sorting of tracks by column. [Less]

0USERS

A web-based iTunes remote, specifically for use with iPhone. The server component is written in Ruby. It's currently functional, but not quite ready for release. The graphics used are upscaled from whatever I could scrounge off the 'net, and it ... [More] currently requires the rbosa and json Ruby libraries to be installed. If you're willing to give it a go, check it out of SVN, start up the server, and go to http://your-ip:1984/ in a web browser. [Less]

0USERS

Last.fm's API allows to get tags based on an artist name over plain HTTP. Running this script will write the genre for whatever you have selected in iTunes with tags pulled from last.fm. Very useful for mass-tagging and generating fun smart playlists.

0USERS

Background infoAs a long time iTunes user, I rated most of my music so that the songs I like can be found quickly or played more often. I still use iTunes at work, but I recently switched to Linux, so that means no iTunes for me. As my library is ... [More] rather large, I decided to write a script to import my ratings from iTunes into Amarok, my new music player of choice. itunes2amarok currently imports ratings and play counts. It does not import your music into Amarok, it only applies ratings you have set in iTunes to your music library in Amarok. Installation howto Make sure all your music is already in the collection in Amarok. Download the file above Open Amarok and select Plugins from the menu. Choose Install new script Select the newly downloaded file – iTunesRatings.amarokscript.tar.gz Run the newly installed script (in the “General” category) Find and select your iTunes Library XML File – should be named “iTunes Music Library.xml” Depending on the size of your library, get a cup of your favorite beverage If your library is really big, why not go for lunch? Known issue Some people report problems with accented characters. If you encounter such problems, please send me a mail so I can fix it. If you can, send me a file where this happens. Central European characters work well and I don’t have many songs with other international characters. In any case, should you encounter problems with the script, let me know. [Less]