#183470 - 09/02/2005 08:15
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
member
Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
|
Hope Mark is still following this thread.
What are the rules for the naming of these subdirs?
I can see that fidsift.sh chops the fid into directory and file components, but is this the required modus operandi?
Reason I ask is that I'm looking into creating my own local 'fids' structure that I can then simply rsync up to the empeg (sadly mp3tofid is not quite suitable for my requirements) and so I can create whatever directory structure I want.
Can the subdirs be any name, or do they have to be in the format that Mark creates with fidsift? I guess it's dependent on how the player searches for files and about that I have no idea.
How many levels of subdirs can there be? I assume only this one, but have to ask.
Ta.
|
Top
|
|
|
|
#183471 - 09/02/2005 08:38
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: ukengb]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
The structure must be the same as fidsift.sh builds it.
_________________________
-- roger
|
Top
|
|
|
|
#183472 - 09/02/2005 12:22
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: ukengb]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Yeah, what roger said!
The subdir names are very simple: _xxxxx where "xxxxx" are the most significant 5 digits (hex) of the 8-digit original "fid" (file identifier). The files within each subdir are then named using the remaining 3 least significant digits. IF the original fid file had fewer than 8 digits, it must first be padded with zeros on the left to get an 8-digit value to then do the 5:3 split on.
Cheers
|
Top
|
|
|
|
#183473 - 09/02/2005 15:24
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
member
Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
|
Thanks for the info. From the specific way fidsift chopped them up I guessed it was important.
Thanks again.
|
Top
|
|
|
|
#183474 - 05/03/2005 20:55
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
carpal tunnel
Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
|
Is there a way to have Hijack sense a sync on the player and run fidsift before the player ap restarts?
_________________________
Brad B.
|
Top
|
|
|
|
#183475 - 05/03/2005 21:39
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: SE_Sport_Driver]
|
carpal tunnel
Registered: 24/12/2001
Posts: 5528
|
Hijack already moves the files for you...
|
Top
|
|
|
|
#183476 - 05/03/2005 21:45
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: tman]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Quote: Hijack already moves the files for you...
*Usually*.. but I have noticed that it doesn't always intercept things with JEmplode..
Cheers
|
Top
|
|
|
|
#183477 - 05/03/2005 22:11
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: tman]
|
carpal tunnel
Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
|
Ah.. cool. I remember that being a feature, but I thought it was dropped at some point.
Also, it will only do it if the folders are already there... so if you added enough tracks to warrant a new folder, then it just dumps the fids into the root correct?
_________________________
Brad B.
|
Top
|
|
|
|
#183478 - 18/07/2005 18:18
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
carpal tunnel
Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
|
Can we make this a Sticky?
I think this is an underrated tool.
_________________________
Brad B.
|
Top
|
|
|
|
#183479 - 18/07/2005 19:14
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: SE_Sport_Driver]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
|
Top
|
|
|
|
#183480 - 18/07/2005 19:43
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: tonyc]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Can we please cool it with the stickies? They're to the point of being abused now, and I find it quite annoying to have to scroll down to see the real "new" threads everywhere.
Fidsift is (or should be) in the FAQ already, along with every other sticky thread here.
cheers
|
Top
|
|
|
|
#183481 - 18/07/2005 20:10
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
addict
Registered: 29/06/2002
Posts: 531
Loc: Triangle, VA
|
Maybe the stickied threads could be moved over to the FAQ folder or something that way they can still be stickied and easy to get too but dont clog the other folders up?
_________________________
-D
Modifying and Tweaking is a journey,
not a destination................................
MKIIa : 60gig - 040103286 - Blue - v2 + PCATS tuner
MKIIa : 20gig - 040103260 - Blue - v3a8 + Mark Lord Special Edition Cherry Dock
|
Top
|
|
|
|
#183482 - 18/07/2005 20:11
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
carpal tunnel
Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
|
Valid point, but you're supposed to be so dang flattered that I'd request a sticky for your work that you'd blush. Maybe this can fall under the "3rd Party Software" thread that is stickied.
_________________________
Brad B.
|
Top
|
|
|
|
#183483 - 18/07/2005 21:56
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: SE_Sport_Driver]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Thanks Brad,
But yeah, how about perhaps a BBS category for nothing but "sticky" posts that link back to the original threads?
I'm confident there must be some way to accomplish this.
??
|
Top
|
|
|
|
#183484 - 18/07/2005 22:14
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
Unstickified, along with the SYLT and emphatic threads.
No good deed goes un-bitched about.
|
Top
|
|
|
|
#183485 - 19/07/2005 00:25
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
veteran
Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
|
Quote: But yeah, how about perhaps a BBS category for nothing but "sticky" posts that link back to the original threads?
We have a FAQ section of this BBS that has 4 entire posts devoted to it, maybe we could use that as an interim BBS->The One True FAQ stepping point for some of these stickied threads. Process would be:
1. Thread is deemed important enough to sticky 2. Copy or link of thread is included in FAQ section of the BBS (can you have a mirror of the thread in two board sections? This would be ideal) 3. When someone gets a round tuit, the FAQ BBS entry is entered into the riocar.org FAQ or subsection (like the 3rd party software thread) and removed from the FAQ section of the BBS - original thread is maintained, linked to from the riocar.org FAQ.
|
Top
|
|
|
|
#183486 - 30/10/2005 21:09
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: SE_Sport_Driver]
|
journeyman
Registered: 21/08/2002
Posts: 63
Loc: Edinburgh, UK
|
I've completely missed out on this interesting development. Would love to give it a go, and have just been wading my way through the old threads to make sure I've understood everything about fidsift. First off, why no mention of fidsift in the FAQ yet? Is Hijack + jEmplode + fidsift combination still not a 100% reliable and fully-functioning machine yet? Is the latest version of the script sitting on a CVS or a webpage somewhere... or should I trust the fact that I've got found the most update version attached to some random post in this forum? ;-) Finally... the following question doesn't seem to have been answered yet... Quote: Ah.. cool. I remember that being a feature, but I thought it was dropped at some point.
Also, it will only do it if the folders are already there... so if you added enough tracks to warrant a new folder, then it just dumps the fids into the root correct?
...and the answer's quite important as it makes the difference between fidsift being a run-once and forget task and a run every once in a while task.
Also, I guess all the above only applies with v2 player software. I am correct in thinking the v3 software (in whatever state it is in now, alpha or beta) does this all automatically anyway?
Cheers, Ross
|
Top
|
|
|
|
#183487 - 16/10/2006 12:13
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
carpal tunnel
Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
|
I thought I'd give this thread a bump because it's being mentioned in the maxfid thread. One small side effect I found this weekend was that sorted fids are NOT compatible with version 1 of the player software. I was doing a drive upgrade on a friend's player and bootted his player up from the slave drive to test something out. Suddenly, all of his music and playlists were gone on the slave drive when using the player! Simply putting 2.00final on the player fixed that however. Just a little FYI.
PS - Anyone have any idea why searching for "fidsift" or "fidsift.sh" in the Subject field doesn't find this thread? I've tried to find it the last few days and was having trouble.
_________________________
Brad B.
|
Top
|
|
|
|
#183488 - 16/10/2006 12:31
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: SE_Sport_Driver]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Quote:
PS - Anyone have any idea why searching for "fidsift" or "fidsift.sh" in the Subject field doesn't find this thread? I've tried to find it the last few days and was having trouble.
Heh. I get just about a 1% success rate when using the BBS search for anything here.
But Google appears to be indexing us again, and entering "fidsift.sh" at Google.ca quickly finds this thread now.
Cheers
|
Top
|
|
|
|
#183489 - 16/10/2006 14:11
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: SE_Sport_Driver]
|
carpal tunnel
Registered: 24/12/2001
Posts: 5528
|
Quote: I thought I'd give this thread a bump because it's being mentioned in the maxfid thread. One small side effect I found this weekend was that sorted fids are NOT compatible with version 1 of the player software.
The feature only got added into the player codebase in v2 so thats not too surprising...
I don't think it is even fully implemented in v2. It supports reading from the various directories but you need Mark's script and/or kernel to do the writing part.
|
Top
|
|
|
|
#183490 - 16/10/2006 18:06
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: tman]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Quote: I don't think it is even fully implemented in v2.
From my page, under "FID Subdirectories":
Quote: When the player was still at version 1.0, the FID files were all in the same directory (except when they were on separate disks, of course). As the number of files in a directory increases, the performance worsens.
At some point in the v2.0 beta releases, the player began supporting a slightly different layout for these two directories. In order to improve performance, the files can now be put into subdirectories.
...
This new layout is supported by the v2.0 players when looking for files, but when writing them, it uses the old, v1.0-compatible layout.
In v3.0, it writes the files to the new layout, but supports the old layout, to ensure that it works on players still using the old layout.
_________________________
-- roger
|
Top
|
|
|
|
#183491 - 16/10/2006 22:29
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: SE_Sport_Driver]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Quote: Anyone have any idea why searching for "fidsift" or "fidsift.sh" in the Subject field doesn't find this thread?
Works perfectly fine for me.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#183492 - 20/10/2006 00:53
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: wfaulk]
|
carpal tunnel
Registered: 08/06/1999
Posts: 7868
|
Worked fine for me too. Clicked search, put in "fidsift" and checked the subject instead of subject and body, Filled the first page of results.
|
Top
|
|
|
|
#183493 - 28/05/2007 00:36
Re: fidsift.sh -- rearrange /drive?/fids/ into subdirs
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Here (attached) is my latest copy of fidsift.sh
This one has a cosmetic "bug" fix, and is also more tolerant of being interrupted and then re-run afterwards, not that I recommend doing so.
Cheers
Attachments
299723-fidsift.sh (883 downloads)
|
Top
|
|
|
|
|
|