Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: Patch - virtual file structures

RE: Patch - virtual file structures

From: Jonah, Jim <Jim.Jonah_at_compuware.com>
Date: Tue, 10 Jun 2003 08:38:45 -0400

I was able to run this app after making this change:

Recursor.java
go().....

FileWriter fw = new FileWriter(dest);
mc.startPrint(fw);
fw.close(); <-------- I suspect you'll need to add this, since it
appears that at this point you're done writing to the file.

Also, the regex routine throws an exception when processing a filename with
$$ in it.

Can you restate your goals with this app?

I wouldn't mind leveraging this to simply crank out standard playlists.
Since I tend to build them based on genre. What license are releasing this
code under?

Jim

-----Original Message-----
From: Owen Sebastian Hofmann [mailto:oshofmann_at_amherst.edu]
Sent: Tuesday, June 10, 2003 1:28 AM
To: rockbox_at_cool.haxx.se
Subject: Re: Patch - virtual file structures



> One thing that would make this a lot more attractive would be an easy to
> use too for creating the virtual dir files. I'm thinking of a tool (on a
> WinDoze box and/or Mac) that would scan the .mp3 files, and create the
> virtual dirs based on the ID3 tags.

You mean something like, say, this?
http;//www.amherst.edu/~oshofmann/categorizer/

Select your rockbox's root directory, select the output file, then start
organizing: Each entry in the list on the left represents a level of
directory. So if the list is
Genre
Year
Artist

The bottom directory has the name of the genres, and within each
directory are the years, and within each of those, the artists. This
outputs a text-format file, which can be translated with the vfsc
program. (Which brings me to something else: Would somebody with
cygwin mind compiling a windows binary?). It's written in java, so it
should work on windows or linux, assuming you have a new enough version
of java. http://java.sun.com/getjava/

One problem: For some reason java seems to stop writing the file after
a while. This is always after having written an integer multiple of
1024 bytes. Everything's fine if you just spit out the text to the
console, but it jams up writing an actual file. Can anybody help me
with this?

owen




The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.
Received on 2003-06-10

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy