Unoffical empeg BBS

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

Topic Options
#233313 - 13/09/2004 17:59 HELP!! Importing files by track order number in Jemplode 60
woops
journeyman

Registered: 24/04/2002
Posts: 78
Hello,
FIles are named : {artist} - {album} - {tracknr} - {title}
set autosort import on field tracknr.
Won't work! WHY??? Position is still by alphabetical sort of title, and soup playlists are by alphabetical sort of title...NOT track number. jeesh this has been frustrating.

Top
#233314 - 13/09/2004 18:51 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: woops]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Keep in mind that the FIELD tracknumber is different than having the track number in the file name. Are the files properly tagged with the correct track number in the ID3 V1 and V2 tag fields? Or is it just in the file names?

If it's just in the file names, either tag the MP3s properly, or turn off the feature that tries to sort by the fields, that's what's screwing you up.
_________________________
Tony Fabris

Top
#233315 - 13/09/2004 19:18 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: woops]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
IIRC soup playlists are always in title order. The autosort field applies to normal playlists. It's a long story.

Top
#233316 - 13/09/2004 20:00 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Right, but he said:

Quote:
Position is still by alphabetical sort of title


I assumed he meant "position" in a regular playlist that he'd created, separate from soups.
_________________________
Tony Fabris

Top
#233317 - 13/09/2004 23:53 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
woops
journeyman

Registered: 24/04/2002
Posts: 78
mschrag,

soups without track order numbering? that is unmerciful.

woops.

Top
#233318 - 14/09/2004 00:09 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: woops]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
It appears that almost all the code is there to allow soups sorted on tags other than title, it's just not hooked up at the highest layers (and obviously not tested). Obviously I had big plans at one point ...

Top
#233319 - 15/09/2004 16:17 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: woops]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
So, I worked around this by going back to EMPLODE after generating the soups in JEMPLODE and recursively sorting the tracks by the tracknumber field.

Good Luck,
-Ted

Top
#233320 - 15/09/2004 19:35 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: TedP]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
So are these soup playlists that were created with jEmplode or just regular playlists? If they're soups, you may cause all kinds of weird problems for jEmplode (you may find that you start to get duplicates in your soups or things out of order). jEmplode depends on the known soup sort order (it uses a binary search to see if soups already contain each tune, so if it's out of its expected order, all bets are off). I've never actually TESTED what happens, but buyer beware on that one. Alternatively you can unattach the soup so it's not updated anymore (delete the "soup" tag from the advanced tags menu and resync)

Top
#233321 - 16/09/2004 17:40 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
Hey Mike..
FYI: It's been working for me for a while (ever since the new EMPLODE came out that allows for recursive sorting).

Although, maybe it might explain why my soups wont auto-update when I add new music. Usually, I end up deleting and re-creating the soup in JEMPLODE after adding the new tunes, and re-sorting them in EMPLODE. Havent really seen any duplicates or other side effects.. but that's not to say they're not there.

-Ted

Top
#233322 - 16/09/2004 17:46 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
kds
new poster

Registered: 28/07/2000
Posts: 21
I do exactly as TedP describes to workaround the lack of track number sorting with soups in jEmplode. As mschrag indicates jEmplode doesn't like this much which results in soup tracks being duplicated.

To workaround this I just completely delete and recreate my soups each time I add tracks. It's a time-consuming pain to have to do this and forces me to batch up a lot of tracks before uploading to my empeg to make the ordeal worthwhile.

I'd be willing to pay a reasonable amount to have the "sort by track number in soups" code enabled.
_________________________
MkIIa #040104267

Top
#233323 - 16/09/2004 20:41 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: kds]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
hmmm.. i'm using jemplode 5.2. maybe on 6.0 it no longer works?? i'll have to mess around with it. i would certainly like a tracknumber sort as well, but we should be lucky that mike has done all he has with the current software.

cheers
ted

Top
#233324 - 17/09/2004 15:29 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: woops]
bbowman
enthusiast

Registered: 12/05/2002
Posts: 205
Loc: Virginia, USA
My solution was to put the number (in two digits) in front of the title in the id3tag title as well as the filename when I ripped the CD. Once I did that, I never had a problem with order again. A nice little perl/shell script can do that recursively quite easily and effectively.
_________________________
Brent
RioCar MK][a 20GB+80GB
'96 Saab 900s (Not any more)
Still looking for a good way to install in a 2010 BMW 3 series with iDrive/NAV

Top
#233325 - 17/09/2004 15:33 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: bbowman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Yeah, but it looks terrible, and you shouldn't have to do that. All software should just Do The Right Thing with track number ordering all the time.

The whole concept of playing songs alphabetically is just awful.
_________________________
Tony Fabris

Top
#233326 - 17/09/2004 15:54 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: tfabris]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Quote:
All software should just Do The Right Thing with track number ordering all the time.

I think what's tricky is that this is really only true when you click on an album. Any other view and there really isn't a natural ordering that makes any sense (that I can think of).

Top
#233327 - 17/09/2004 16:01 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Sure there is. If you pick an artist, the songs should be chronological (albums by year, then tracks by track). If you pick a genre, it should be alphabetical by artist, then chronological (by year then by track) within each artist.
_________________________
Tony Fabris

Top
#233328 - 17/09/2004 21:24 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: tfabris]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Now that's very bold to claim that is the "right" way [edit: I realize 5seconds after posting that I was rather snippy sounding here when you quite possibly were offering a "reasonable natural ordering" rather than stating that this was the "right" ordering -- sorry tfabris ]... I would much prefer albums sorted by title under an artist. And the same under Genre -- Alpha by artist, then Alpha by Album, then by Track. I couldn't care less about release year. This is of course my personal opinion, but it illustrates my point. There is no univerally "correct" sort order except within an album, where track number is an explicit ordering defined by the artist. My real point here is that jEmplode needs configurable per-soup-layer-sort-order. So when you make a soup layer, every layer asks you what tag you want to sort by.


Edited by mschrag (17/09/2004 21:27)

Top
#233329 - 17/09/2004 21:28 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: tfabris]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
One other interesting thing to note is that the only tag guaranteed to be filled in is title, so if people don't fill in track #'s and the default is to order tracks by # by default, they're kind of out of luck. I don't know if this is actually a COMMON problem or not, just an interesting thing to note ..

Top
#233330 - 17/09/2004 21:56 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Quote:
I was rather snippy sounding here when you quite possibly were offering a "reasonable natural ordering" rather than stating that this was the "right" ordering


Naw, you weren't snippy at all. On the other hand, I was stating that it was the "right" ordering, and no other opinions are valid, because I'm always right.

Quote:
One other interesting thing to note is that the only tag guaranteed to be filled in is title, so if people don't fill in track #'s and the default is to order tracks by # by default, they're kind of out of luck.


Right. So in that case, the software wouldn't have anything better to go on, and would have no choice but to go by the Title field.

I'm just saying that programs which sort songs (and I don't mean yours specifically. I mean, Centrals, Ipods, Karmas, whatever) should default to track number for ordering if it's available. Alphabetical track ordering is just one of my pet peeves.
_________________________
Tony Fabris

Top
#233331 - 18/09/2004 00:06 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: tfabris]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Quote:
Right. So in that case, the software wouldn't have anything better to go on, and would have no choice but to go by the Title field.

The problem with that is that if you have 1/2 track numbers and 1/2 no track numbers, to figure out what to sort on you'd have to enumerate all the possible entries to evaluate the state-of-the-tag-union and have some threshold or something -- if x% contain the specified tag, then sort by that tag ... But that's just another big can of worms because tags can be updated.

Oh well .. enough talk, go download jEmplode 62 and never speak of this again

Top
#233332 - 18/09/2004 04:59 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
_________________________
Tony Fabris

Top
#233333 - 18/09/2004 17:48 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
Go Mike!

Yippppee!! Most excellent!! It's good to come back to the boards every once in a while

2 questions though
You were right about the dups.. Is there any way to systematically get rid of them from the EMPEG? I deleted all the soups, and was hoping they would show up as unattached items, but they're in there.

Also, when I did a soup with the first letter of the artist sorted by artist, I got a weird sort of the letter "T" presumably because of a "The" in the title. Check it out (enclosed screendump).

Thanks again for the awsome contribution!
Cheers
-Ted


Attachments
233015-first_letter_sort.jpg (71 downloads)


Top
#233334 - 18/09/2004 18:43 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: TedP]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
The dupes should only exist inside of soups, so I would think deleting the soups would delete the dupes (that is, the tunes aren't duped, just dupe references in a playlist). What exactly are you seeing?

As far the sorting .. That makes my head hurt trying to figure out what's going on there and how to fix it. What a bizarre artifact of The-removal ...


Edited by mschrag (18/09/2004 18:44)

Top
#233335 - 18/09/2004 18:45 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
So that's interesting -- I imagine soups have always been slightly screwed with respect to The's then? That is, The Beetles has been in a top level artist first level of "T" rather than a proper folder of "B".

Top
#233336 - 18/09/2004 18:51 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
OK this will be fixed in 63

Top
#233337 - 18/09/2004 18:56 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
Hey Mike...

So there were actual duplicates... (they showed up as "tunes"), even after I deleted the soups. Turns out they had refs=0, so I just added the refs column, sorted by refs and deleted all refs=0. That worked like a champ.

Cheers
-Ted

Top
#233338 - 19/09/2004 05:12 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: TedP]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Duplicate tunes is definitely weird ... I'm not entirely sure how that could happen. Have you imported songs prior to the calculation of RID's? If so then that might explain it. With RID's now, it should be very rare that you get duplicates of the same exact file with two different FID's. Oh well ... If you can get this to happen again, let me know and we can take a look at the actual files.

Top
#233339 - 19/09/2004 13:55 Re: HELP!! Importing files by track order number in Jemplode 60 [Re: mschrag]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
That must be it. I think I originally uploaded tunes with EMPLODE. I just did a clean re-upload of everything overnight using JEMPLODE, so I should be good to go from now on.

Thanks for the inputs.
-Ted

Top