-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First import of iTunesFS, a FUSE based file system for accessing iTun…
…es playlists as a file system.
- Loading branch information
0 parents
commit dbc72b9
Showing
17 changed files
with
963 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Marcus Müller <znek@mulle-kybernetik.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Copyright (C) 2007 Mulle kybernetiK | ||
|
||
Contact: znek@mulle-kybernetik.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_ */ |
Oops, something went wrong.