Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 2 < 1 2
Topic Options
#155930 - 03/05/2003 20:18 Re: Slightly Odd Behavior [Re: cushman]
russmeister
enthusiast

Registered: 14/07/2002
Posts: 344
Loc: South Carolina
Mark, would it be possible to have Palantir sort the playlist on the Palm as we see fit? For example, if I want to hear 3 different songs from the same artist and I select those songs all at the same time, that's the order they will play in. Is there a way to sort the playlist after it's loaded so we don't have to pick the song from this artist, another artist, and then back to this artist again?

It would be a nice added bonus
_________________________
Russ
---------------------------------------------------------
"The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack of will." Vince Lombardi

Top
#155931 - 03/05/2003 21:39 Re: Slightly Odd Behavior [Re: russmeister]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Yeah, that's actually what I've been working on next. Some of the code for sorting the playlist is already in the current version, just not activated yet. It is probably 30% done. It will work like the Memo app, you'll be able to drag the items around. The items that I would like to finish are (in current order):

* Confirmation dialog before Remove All
* Sorting the playlist before beaming
* Search functionality for the Artist screen
* Preferences dialog with options for insert/replace/append
_________________________
Mark Cushman

Top
#155932 - 05/05/2003 07:55 Re: Slightly Odd Behavior [Re: cushman]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Sounds pretty cool. We've enjoyed playing around with it this week. Thanks for the great app.
_________________________
~ John

Top
#155933 - 05/05/2003 08:24 Re: Slightly Odd Behavior [Re: JBjorgen]
russmeister
enthusiast

Registered: 14/07/2002
Posts: 344
Loc: South Carolina
Yeah, if I can only remember to keep my tungsten with me now. I thought I lost it this weekend only to find it in my room buried and lost in the numerous piles of junk.

I'll have to be more careful about where I set it down.
_________________________
Russ
---------------------------------------------------------
"The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack of will." Vince Lombardi

Top
#155934 - 05/05/2003 10:07 Re: Slightly Odd Behavior [Re: russmeister]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
It's all about device convergance. (4 links)
_________________________
Mark Cushman

Top
#155935 - 07/05/2003 15:32 Re: Palantir 0.72 and Palantir PDB Creator [Re: cushman]
sphengali
journeyman

Registered: 22/10/2002
Posts: 82
Loc: Vancouver, BC, Canada
What a wicked app, thanks so much! Just got mine all installed/configured today, very very nice!

One thing that did show up when I was using hyperterm to watch the boot sequence (although I'm sure it was not caused by Palantir, but first time I've used hyperterm in a very long time) is the following error:

Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19

I searched the faq, but didn't see this specific error, unless I missed it - anyone know what this means? Everything seems to work, but nonetheless...

_________________________
60 Gig MkIIa #040103892 My Rio Install

Top
#155936 - 07/05/2003 15:45 Re: Palantir 0.72 and Palantir PDB Creator [Re: sphengali]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
This is not an error message, it is normal.
_________________________
Tony Fabris

Top
#155937 - 03/06/2003 18:23 Re: Blue tooth etc. [Re: cushman]
jamville
journeyman

Registered: 23/08/2002
Posts: 93
Loc: South Texas
Mark,

Great app.

Would it be possible to transfer playlists via the empeg's serial port? (as is in a 'Hot Sync" cradle)
I have one of these for my Palm device -Handera 330.

(I used the car cradle quite a bit with PalmAmp / WinAmp before I got my first MkIIa.)

Thanks,
_________________________
Joe Mumme

Top
#155938 - 03/06/2003 19:21 Re: Blue tooth etc. [Re: jamville]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
I'll put it on my list of things to do.

The serial interface isn't that hard to implement, but I just need to finish up a few projects here before working on Palantir some more. I've still got my original goasl of re-arranging playlist items and selcting which action to take (insert/append/replace), but I'll do the serial interface when I do the rest. Since I'm making one menu it won't be hard to add another option to it.
_________________________
Mark Cushman

Top
#155939 - 03/06/2003 21:28 Re: Blue tooth etc. [Re: cushman]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
Mark,
Is there any way browsing by song title only (I have tons of 1-hit wonders whose names I never remember) can make it onto your wish list? I'd agree that re-ordering playlists is a bigger priority tho. Can't wait to try out the 336 kernel & new empire. Woohoo!

-Zeke
_________________________
WWFSMD?

Top
#155940 - 04/06/2003 04:50 Re: Blue tooth etc. [Re: Ezekiel]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Maybe quite a bit later. The way the database is organized right now makes it hard for me to do any kind of different "views" of the songs. This is why it is difficult to do a view of songs by source instead of by artist, then by source. The reason the database is organized this way is to save space on your Palm device. Most likely if I were to redesign the .pdb file it would increase in size by at least 50%. Let me explain the way it works now. The .pdb file looks like this:

Palm header information
This section includes create date, modfication date, db owner id, etc. It's a standard header that is on every .pdb file

Record list index
This section contains byte offsets for every record in the database. This is the record index. This is another standard section in every .pdb database.

Record 0
Palantir header record. This record is 4 ints smashed together. The 4 ints represent:
1 - index of the first Artist record
2 - number of Artist records
3 - index of the first Track record
4 - number of Track records

Record 1 - (Number of Artist Records)
These are records that store the Artist information These are separate so I don't have to store the artist name in every track record, and so I can iterate through an artist view easily to display the artist names. The format of these records is defined in the PDB Creator Java program in PDBArtistRecord.java
    public int      artistID;

public int trackCount;
public int sourceCount; //how many sources
public int[] sourceOffset; //where they sources are (first one is always first record)
public String name;

Basically I store where the albums start and end in the sourceOffset array so when someone selects an Artist, then I can iterate through the track listings beginning at sourceOffset[0] and get the album names for the Album view in Palantir.

Record (Number of Artist Records +1) - (Total number of records)
These are the Track records. They store the artistID and the rest of the details about the track listing. This is defined in PDBTrackRecord.java as such:
    public int      fid;

public int artistID; //integer value for artist
public String data; //year + source + track + title + genre + bitrate + duration

I can get the Title, Genre, Bitrate and Duration out of the packed data string by looking for null terminators '\n".

You can see by the format of the .pdb that it would be hard to key a view off of anything but an Artist. I could redesign everything so that each source had a sourceRecord, and those were all stored at the top of the .pdb file along with the Artist Records, but that would increase the size of the file a lot since you usually have more sources than artists. Another thing to think about is the screen real estate you have on the Palm. It doesn't have the space to display Title - Artist usually, and something would have to be truncated to work that in.

I'm not really opposed to the ideas of viewing by source first (like with soundtracks) or viewing by track only, but you can see that it's a redesign effort to do so. If anyone can suggest a better way of formatting the .pdb file I would appreciate it, but I can't see a better size/functionality combination right now. My track listing of 5800 songs takes somewhere around 420k, and I think that's pretty good considering how much data we're dealing with.
_________________________
Mark Cushman

Top
Page 2 of 2 < 1 2