Skip to content
/ musicfs Public

musicfs is a FUSE filesystem providing a convenient hierarchy of your media files based on tags

License

Notifications You must be signed in to change notification settings

orbekk/musicfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                              musicfs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
musicfs is a FUSE module implementing a media filesystem in
userland. The purpose of musicfs is to provide filesystem hierarchy
based on id3 tags of mp3-files.


Usage
~~~~~
1. Compile:

$ make

2. Make the initial configuration with the provided script

$ bash initialize.sh

3. Start musicfs

$ ./musicfs <mountdir>

4. Add your music path(s) to <mountdir>/.config

$ echo "/storage/music" >> <mountdir>/.config


Screenshot
~~~~~~~~~~

This is a "screenshot" (not really, but it sounds cool) of musicfs,
displaying the hierarchy we expose. /tmp/music is my mountpoint, and
the paths are added to my music collection when I append them to
.config.

vannlilje:/tmp/music% echo ~/Music/mfs_demo > .config
vannlilje:/tmp/music% tree
.
|-- Albums
|   `-- This Village
|       |-- 01 You Make Me Wonder.ogg
|       |-- 02 This Village.ogg
|       |-- 03 Love.ogg
|       |-- 04 While We Want.ogg
|       |-- 05 Bound.ogg
|       |-- 06 Southpaw.ogg
|       |-- 07 What I Need.ogg
|       |-- 08 Tomorrow.ogg
|       |-- 09 We Don't Know If Eyes Can See The Same.ogg
|       |-- 10 Move Out Of Line.ogg
|       |-- 11 Thinking Of You.ogg
|       `-- 12 Heaven.ogg
|-- Artists
|   |-- Lester
|   |   `-- This Village
|   |       |-- 01 You Make Me Wonder.ogg
|   |       |-- 02 This Village.ogg
|   |       |-- 03 Love.ogg
|   |       |-- 04 While We Want.ogg
|   |       |-- 05 Bound.ogg
|   |       |-- 06 Southpaw.ogg
|   |       |-- 07 What I Need.ogg
|   |       |-- 08 Tomorrow.ogg
|   |       |-- 09 We Don't Know If Eyes Can See The Same.ogg
|   |       |-- 10 Move Out Of Line.ogg
|   |       |-- 11 Thinking Of You.ogg
|   |       `-- 12 Heaven.ogg
|   `-- Metropolitan
|-- Genres
|   `-- Neo-Soul
|       `-- This Village
|           |-- 01 You Make Me Wonder.ogg
|           |-- 02 This Village.ogg
|           |-- 03 Love.ogg
|           |-- 04 While We Want.ogg
|           |-- 05 Bound.ogg
|           |-- 06 Southpaw.ogg
|           |-- 07 What I Need.ogg
|           |-- 08 Tomorrow.ogg
|           |-- 09 We Don't Know If Eyes Can See The Same.ogg
|           |-- 10 Move Out Of Line.ogg
|           |-- 11 Thinking Of You.ogg
|           `-- 12 Heaven.ogg
`-- Tracks
    |-- Lester - Bound.ogg
    |-- Lester - Heaven.ogg
    |-- Lester - Love.ogg
    |-- Lester - Move Out Of Line.ogg
    |-- Lester - Southpaw.ogg
    |-- Lester - Thinking Of You.ogg
    |-- Lester - This Village.ogg
    |-- Lester - Tomorrow.ogg
    |-- Lester - We Don't Know If Eyes Can See The Same.ogg
    |-- Lester - What I Need.ogg
    |-- Lester - While We Want.ogg
    `-- Lester - You Make Me Wonder.ogg

10 directories, 48 files


Dependencies
~~~~~~~~~~~~
- taglib 1.5
- FUSE 2.6
- Sqlite 3


License
~~~~~~~
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2, as
published by the Free Software Foundation.

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., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.

A copy of the license can typically be found in COPYING

About

musicfs is a FUSE filesystem providing a convenient hierarchy of your media files based on tags

Resources

License

Stars

Watchers

Forks

Packages

No packages published