Skip to content

Commit

Permalink
First import of iTunesFS, a FUSE based file system for accessing iTun…
Browse files Browse the repository at this point in the history
…es playlists as a file system.
  • Loading branch information
znek committed May 22, 2007
0 parents commit dbc72b9
Show file tree
Hide file tree
Showing 17 changed files with 963 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marcus Müller <znek@mulle-kybernetik.com>
29 changes: 29 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Copyright (c) 2007, Marcus M�ller <znek@mulle-kybernetik.com>.
All rights reserved.


Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

- Neither the name of Mulle kybernetiK nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
3 changes: 3 additions & 0 deletions COPYRIGHT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Copyright (C) 2007 Mulle kybernetiK

Contact: znek@mulle-kybernetik.com
37 changes: 37 additions & 0 deletions Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>iTunesFS</string>
<key>CFBundleIdentifier</key>
<string>com.mulle-kybernetik.znek.iTunesFS</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<key>FUSEFileSystemClass</key>
<string>iTunesFileSystem</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSUIElement</key>
<string>1</string>
<key>NSUserDefaults</key>
<dict>
<key>FUSEMountName</key>
<string>iTunesFS</string>
<key>FUSEMountPath</key>
<string>/Volumes/iTunesFS</string>
</dict>
</dict>
</plist>
54 changes: 54 additions & 0 deletions NOTES
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
iTunes Music Library.xml
========================

Music Folder" = "file://localhost/Local/Music/";
Tracks = {
7571 = {
Album = Karma;
Artist = Moshcircus;
"Artwork Count" = 1;
BPM = 232;
"Bit Rate" = 128;
"Date Added" = 2006-03-11 11:42:23 +0100;
"Date Modified" = 2006-03-27 17:35:22 +0200;
"File Creator" = 1752133483;
"File Folder Count" = 4;
"File Type" = 1295270176;
Genre = Metal;
Kind = "AAC audio file";
"Library Folder Count" = 1;
Location = "file://localhost/Local/Music/Moshcircus/Karma/04%20Karma.m4a";
Name = Karma;
"Persistent ID" = DA09BE8A0BA99515;
"Play Count" = 60;
"Play Date" = 3247846331;
"Play Date UTC" = 2006-12-01 18:32:11 +0100;
"Sample Rate" = 44100;
Size = 4082013;
"Total Time" = 245270;
"Track Count" = 11;
"Track ID" = 7571;
"Track Number" = 4;
"Track Type" = File;
Year = 2006;
};

Playlists = (
{
"All Items" = 1;
Master = 1;
Name = Library;
"Playlist ID" = 9181;
"Playlist Items" = ({"Track ID" = 9059; });
"Playlist Persistent ID" = 800DBB44BA8E31C5;
Visible = 0;
},
{
"All Items" = 1;
Name = "Moshcircus - Karma (orig)";
"Parent Persistent ID" = E7FF551986B26ED8;
"Playlist ID" = 26121;
"Playlist Items" = ({"Track ID" = 7571; });
"Playlist Persistent ID" = 7A0FE2A0B4C1DDFA;
}
);
25 changes: 25 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
What is it?
===========

iTunesFS allows you to mount the "iTunes Music Library.xml" file as a file
system, using the excellent MacFUSE (http://code.google.com/p/macfuse/).
All playlists are exposed as directories, with their respective entries.
Order of tracks within the playlists is maintained by prefixing the tracks
with their playlist index.


Defaults
========

Name | Type | DefVal | Description
------------------------------------------------------------------------------
DetailedTrackNames | BOOL | NO | If YES, use very detailed information
in track names (Album title, Artist,
track number, etc.)


References
==========

MacFUSE - http://code.google.com/p/macfuse/
FUSEObjC - http://macfuse.googlecode.com/svn/trunk/filesystems-objc/FUSEObjC
7 changes: 7 additions & 0 deletions Resources/English.lproj/MainMenu.nib/classes.nib

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions Resources/English.lproj/MainMenu.nib/info.nib

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file added Resources/iTunesFS.icns
Binary file not shown.
8 changes: 8 additions & 0 deletions Version
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Use /Developer/Tools/agvtool new-version ${MAJOR_VERSION}.${MINOR_VERSION}
# to set the current build version properly.
# SUBMINOR_VERSION is for internal housekeeping only.

MAJOR_VERSION=1
MINOR_VERSION=0
SUBMINOR_VERSION=0
6 changes: 6 additions & 0 deletions common.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef __iTunesFS_common_H_
#define __iTunesFS_common_H_

#import <Foundation/Foundation.h>

#endif /* __iTunesFS_common_H_ */
Loading

0 comments on commit dbc72b9

Please sign in to comment.