Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtual filesystem to browse music/videos etc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sipos
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2004
Posts: 121
Location: London

PostPosted: Wed Sep 07, 2011 5:35 pm    Post subject: Virtual filesystem to browse music/videos etc Reply with quote

I have a load of music which is currently stored in directories for each artist, with sub-directories for each album. I'd like to be able to browse it by other attributes as well i.e. by genre or by year, also as directories in a filesystem (kind of how you browse for music on an iPod). Ideally, I'd be able to share this using samba too.

I could write a script that extracts all of the information from the ID3 tags and uses it to make symbolic links to every file in a different set of directories for each view but, this seems a bit messy. Ideally I'd like to be able to make a database of the attributes I am interested in and then have a virtual filesystem that creates a directory hierarchy based on the results of SQL quires run on the DB. Has anyone used anything like that?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Wed Sep 07, 2011 6:04 pm    Post subject: Reply with quote

Sipos,

Investigate mediatomb. Its a UPnP media server with all of your media indexed in a database.
Provided your media is already tagged with one of the rag formats it understands, it justworks.

UPnP is understood by windows but the only application I can find for it on XP is XBMC. VLC on XP does not have UPnP support.
Be sure that UPnP is blocked by your firewall. You don't want the entire internet connected to your media server.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Thu Sep 08, 2011 2:56 pm    Post subject: Reply with quote

Neddy, UPnP won't solve his problem/wishes, unless there's a frontend making the data available as a file-system. At least that's the way I understood the OP, not wanting a special application but making use of the data via standard tools(ls, grep, etc).

I'm interested in this, too, but I've yet have to find something like that - if there's already something, I'm pretty sure it's based on FUSE.

Edit, found these two, didn't try, yet, but from the description, they might just work:
https://gna.org/projects/tagsfs
http://www.pytagsfs.org/
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Sipos
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2004
Posts: 121
Location: London

PostPosted: Thu Sep 08, 2011 3:23 pm    Post subject: Reply with quote

You're right that MediaTomb isn't exactly what I was looking for but, it probably does what I really want and is probably easiest so, I may just go with that. Thanks for the Suggestion NeddySeagoon.

In the meantime, I've found movemetafs and Tagsistant which, without having investigated them properly yet, seem to be along the right lines but not exactly what I was looking for. They are all based on FUSE.

I guess what I want is a virtual filesystem where I can specify directories that it contains in a text file. The directories should either contain more subdirectories listed in the config file, or, it should use a SQL query that returns the names of files and a path. The files would be soft links to their corresponding path. Finally, it should also be able to get the names of sub-directories from a SQL query and, for each one, use another query for contents with a place-holder for the name of the directory in question.

I guess that I'll probably use MediaTomb for the moment and, maybe at some point in the future, I'll have a go at making what I really want using FUSE.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum