[mythtv-users] playlistfs: my first attempt at fuse file system for managing playlists.
Vijay Gill
vijay.s.gill at gmail.com
Wed Apr 12 12:25:31 UTC 2006
Hi,
I have created a small project playlistfs
(http://sourceforge.net/projects/playlistfs) which helps in managing
playlists. I use this to manage my playlists from my Windows machine
through explorer. The linux machine acts as samba server.
It is a fuse file system.
I am going to explain it in the following text using my system as an example.
I use /myth/music as repository of all of my music. The mp3 files
are sorted in folders and the playlists (.m3u files) are created in
/myth/music itself.
Now when I mount playlistfs in /mnt/plfs (for example) I get
/mnt/playlists and /mnt/music folders in there. Also I have /mnt/plfs
shared out using Samba for windows machine.
/mnt/plfs/music is just the replica of the tree under /myth/music.
/mnt/playlists is actually a phantom tree which contains directories
which actually are the playlists taken from /myth/music folder. In
other words the directories in /mnt/plfs/playlists represent the
playlists in /myth/music folder. The files in those directories are
the files pointed to by the entries in the play lists.
The following actions are allowed in /mnt/playlists/ tree
mkdir : mkdir /mnt/plfs/playlists/abc will create /myth/music/abc.m3u file.
mv : moving any mp3 file from /mnt/music tree into a directory in
/mnt/playlists will add that mp3 file to the destination playlist.
NOTE: the file will not be deleted from source. So it is not a true
'mv'. e.g. mv /mnt/plfs/music/xyz.mp3 /mnt/plfs/playlists/abc will add
the mp3 file as an entry in /myth/music/abc.m3u and also will become
visible under /mnt/plfs/playlists/abc.
Other operations allowed are renaming of folders (renames underlying
playlist file), and deleting files (actually just entries) from
playlist folders.
/mnt/plfs/music is totally read only.
Any help to install and test can be provided.
Regards from
Vijay Gill
More information about the mythtv-users
mailing list