LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] New version of playlistfs

[ILUG] New version of playlistfs

Vijay Gill vijay.s.gill at gmail.com
Fri Oct 13 13:37:14 IST 2006


Hi all,

http://sourceforge.net/projects/playlistfs/

I developed this Fuse based FS some time ago and I use it for managing
my playlists. A brief intro again for those who do not know about
playlistfs.

I have /myth/music directory on my Linux machine and I wanted to
manage my play lists (.m3u files) for my ipod from my windows machine.
Using playlistfs I mount /myth/music onto /mnt/plfs which is shared
out using samba. So I can access it from my windows machines.

Point to note is that I have all my play lists (.m3u files) created in
/myth/music

Now after mounting /myth/music on /mnt/plfs I get /mnt/plfs/playlists
and /mnt/plfs/music.

/mnt/plfs/music is just the replica of /myth/music. It is read-only.

/mnt/plfs/playlists is a directory which shows all m3u files in
/myth/music as folders. Files enlisted in those .m3u files are shown
as files which users can double click to play.

Here are the operations allowed on /playlists tree:

1: Create directory: under /playlists, if you create a directory, a
file is created with .m3u extension in /myth/music.
     In other words mkdir /mnt/plfs/playlists/abc will create abc.m3u
in /myth/music (also visible from /mnt/plfs/music

2.  Delete directory: the corresponding .m3u file is deleted.
3.  Delete a file from a directory under /playlists, the corresponding
line from the corresponding .m3u file is deleted. The under lying file
is not affected.
4.  Any file dragged and dropped from /music into a folder under
/playlists adds that file to the playlist. It does not get moved
physically.

This way I can create/delete/modify my playlists from my windows explorer.

Any problems, just drop me a mail.


Vijay

How to use playlistfs

1. download the source, and compile it (configure & make ....). you
will get plfs binary in src directory.
2. You can use it in two ways
   a.  from command line (e.g. plfs /myth/music /mnt/plfs. In this
example it mounts /myth/music to /mnt/plfs)
   b.  from fstab. In order to do it you have to carry out following two steps
      i.  Move plfs binary to /sbin/mount.plfs
      ii  Add the following line to /etc/fstab
            /myth/music             /mnt/plfs               plfs
defaults        0 0



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell