cool way to save big object tree

  • Thread starter Michael 'entropie' Trommer
  • Start date
M

Michael 'entropie' Trommer

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Peace!

I'am trying to code a 'litle' music enviroment... huh, dunno how to
call.
I want to import a large amount of files(30k+) into a database and tag each
of them.=20

After a import i get objects for each directory (first only
directories), with some variables
(@rel referes to the parent directory node).
It looks like this: [1]

I want to save each of those objects somehow nice (first only the tags:
'category', 'bitrate', 'path')..
After the intial import, i want to extend the tags.
Later there are many tags, many files with compley queries=20
so i get now a bit scared to save all in a directory tree.

Maybe anybody has an better idea?=20

ID:DIR_LVL::name

[1] (human eye obj.inspect)
* 00025:3::the streets - mixtape {
* (@rel =3D
* 00022:2::the streets {
* (@rel =3D
* 00021:1::garage {
* (@rel =3D
* 00000:0::root {
* (@name =3D root );
* (@path =3D /mnt/hdd/music );
* (@lvl =3D 0 );
* } =3D> MyBiadjDBReader::MyBiadjBase );
* (@name =3D garage );
* (@frkyCntr =3D 21 );
* (@ctype =3D muse );
* (@path =3D garage );
* (@lvl =3D 1 );
* } =3D> MyBiadjDBReader::MyBiadjCat );
* (@name =3D the streets );
* (@frkyCntr =3D 22 );
* (@ctype =3D muse );
* (@path =3D the streets );
* (@lvl =3D 2 );
* } =3D> MyBiadjDBReader::MyBiadjArtist );
* (@name =3D the streets - mixtape );
* (@frkyCntr =3D 25 );
* (@ctype =3D muse );
* (@path =3D the streets - mixtape );
* (@lvl =3D 3 );
* } =3D> MyBiadjDBReader::MyBiadjVinyl
[1]


So long
--
Michael 'entropie' Trommer; http://ackro.org

ruby -e "0.upto((a=3D'njduspAhnbjm/dpn').size-1){|x| a[x]-=3D1}; p 'mailto:=
'+a"

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDsvnRBBd8ye5RguQRAoNVAJ9SVNba78JqSr4pFxoolKHj+x8RggCcDSab
M+4n6EoQ3SbIjH8p6oBDF8c=
=8A8l
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top