Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1 2  Previous   Next
Sorting numbers
Author Message
DVD Profiler Unlimited RegistrantStar ContributorDorianGray
Registered: May 26, 2007
Germany Posts: 186
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
As of now the program counts/sorts like this:
1
10
100
11
111
2
3
4
etc.

I would really like it to count/sort correctly.
"The only way to get rid of a temptation is to yield to it. Resist it, and your soul grows sick with longing for the things it has forbidden to itself, with desire for what its monstrous laws have made monstrous and unlawful."
DVD Profiler Unlimited RegistrantStar Contributorscotthm
Registered: March 20, 2007
Reputation: Great Rating
United States Posts: 2,851
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting DorianGray:
Quote:
As of now the program counts/sorts like this:
1
10
100
11
111
2
3
4
etc.

I would really like it to count/sort correctly.

It will, if you "spell" the number correctly:

001
002
003
004
010
011
100
111

---------------
DVD Profiler Unlimited RegistrantStar Contributorbbbbb
on steroids
Registered: March 14, 2007
Posts: 5,734
Posted:
PM this userDirect link to this postReply with quote
Quoting DorianGray:
Quote:
As of now the program counts/sorts like this:
1
10
100
11
111
2
3
4

That's not true, the program sorts like this:

Don't confuse while the film is playing with when the film is played. [Ken Cole, DVD Profiler Architect]
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,217
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting DorianGray:
Quote:
I would really like it to count/sort correctly.

It does sort correctly ... alphabetical 
For numerical sorting you have to go the way of the leading 0, as scotthm already mentioned.
The Sort-Titles are local, so you can fuc... change them however you like. 
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
DVD Profiler Unlimited RegistrantStar Contributorsurfeur51
Since July 3, 2003
Registered: March 29, 2007
Reputation: Great Rating
France Posts: 4,479
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting DorianGray:
Quote:
I would really like it to count/sort correctly.

+1
Images from movies
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
The plugin Bulkedit has a padding feature for some fields. If you try it and the field you need is not supported, let me know and I will fix it. I plan to update Bulkedit sometime soon.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
The feature I talked about is already implemented for the Slot field. DVD Profiler does not honor the leading zeros in Collection Number. I tested it. I didn't get any responses, so I didn't make any changes to Bulkedit, but in the future if there are text fields other than Slot you want to use Bulkedit for, you can:

Using Multicopy Tool 1 (Column copy), with the overwrite option:
(1) Copy the Slot field to Work1
(2) Copy the field to Slot
(3) Right click - pad Slot with 0's
(4) Copy Slot back to field
(5) Copy Work1 back to Slot

Then File > Save Validated Changes
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,745
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting mediadogg:
Quote:
The feature I talked about is already implemented for the Slot field. DVD Profiler does not honor the leading zeros in Collection Number. I tested it. I didn't get any responses, so I didn't make any changes to Bulkedit, but in the future if there are text fields other than Slot you want to use Bulkedit for, you can:

Using Multicopy Tool 1 (Column copy), with the overwrite option:
(1) Copy the Slot field to Work1
(2) Copy the field to Slot
(3) Right click - pad Slot with 0's
(4) Copy Slot back to field
(5) Copy Work1 back to Slot

Then File > Save Validated Changes


If a movie starts with a number, e.g. 13 Going On 30, 11:14, The 13th Warrior then I will pad the number to 8 digits total.

The sort titles become

00000011:14
00000013 Going on 30
00000013th Warrior
Karsten
DVD Collectors Online

DVD Profiler Desktop and Mobile RegistrantStar ContributorTheMadMartian
Alien with an attitude
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 13,202
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting DJ Doena:
Quote:
If a movie starts with a number, e.g. 13 Going On 30, 11:14, The 13th Warrior then I will pad the number to 8 digits total.

The sort titles become

00000011:14
00000013 Going on 30
00000013th Warrior

I do the same thing, I just don't pad my numbers quite so high.
No dictator, no invader can hold an imprisoned population by force of arms forever.
There is no greater power in the universe than the need for freedom.
Against this power, governments and tyrants and armies cannot stand.
The Centauri learned this lesson once.
We will teach it to them again.
Though it take a thousand years, we will be free.
- Citizen G'Kar
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Same for me.
Pete
DVD Profiler Unlimited RegistrantStar Contributorscotthm
Registered: March 20, 2007
Reputation: Great Rating
United States Posts: 2,851
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting TheMadMartian:
Quote:
I do the same thing, I just don't pad my numbers quite so high.

Some of us must, since the amount of padding is dictated by the highest numerical title.

00000007 Faces of Dr. Lao
00000007th Voyage of Sinbad
00000012 Angry Men
00000039 Steps
00000101 Dalmatians
00002001: A Space Odyssey
00002010: The Year We Make Contact
00020000 Leagues Under the Sea
20000000 Miles to Earth

---------------
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,745
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting TheMadMartian:
Quote:
Quoting DJ Doena:
Quote:
If a movie starts with a number, e.g. 13 Going On 30, 11:14, The 13th Warrior then I will pad the number to 8 digits total.

The sort titles become

00000011:14
00000013 Going on 30
00000013th Warrior

I do the same thing, I just don't pad my numbers quite so high.


I also don't have such a high number but I didn't want to risk buying a movie like 1,000,000 B.C. and then having to edit all my 2 Broke Girls, 21 Jump Street and 24 season and disc profiles.
Karsten
DVD Collectors Online

DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
very good point... I currently went with 4 leading 0's. May have not been enough.
Pete
DVD Profiler Desktop and Mobile RegistrantStar Contributormreeder50
I was outta bullets
Registered: March 29, 2007
Reputation: Superior Rating
United States Posts: 2,749
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
I also went with 4 leading 0's (20,000 Leagues Under the Sea). If I had to add more I guess I could look at it as, it gave me something to do.
Marty - Registered July 10, 2004, User since 2002.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Using BulkEdit MultiCopy Tool 4, Regex + Math:

Regex Look for: ((^[0-9]+)(.*))

Check Math, Select CSharp  and paste the following script (not including "Quote:" of course):
Quote:

int paddedlen = 8;
int numlen = "$2".Length;
if (paddedlen > numlen)
{
    return (new string('0',paddedlen-numlen))+"$1";
}
else return "$1";


You can choose to output directly back into the original column (e.g. Sort Title), or to a Work column. Of course, you need to set the paddedlen variable to whatever you want.

Click "All" and go for coffee while the program makes the changes. When done, validate the results visually by clicking the sort header in BulkEdit, and if it looks good, just File > Save Validated changes.

Note that you can save and reload scripts if you want to reuse them in the future.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited Registrantlasitter
Registered: May 30, 2008
Posts: 445
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting TheMadMartian:
Quote:

I do the same thing, I just don't pad my numbers quite so high.

Me too, but since I have less than 4,000 titles, I just out out to four spaces. But I also add a couple of other twists, since I have trouble remembering how a number is handled within a title.

"Zero Dark Thirty" =
0000 Dark Thirty

"One Day in September"=
0001 Day in September

One Flew Over the Cuckoo's Nest=
0001 Flew Over the Cuckoo's Nest

"2 Brothers & a bride: A Foreign Affair"
0002 Brothers & a bride: A Foreign Affair

A great strength of Profiler is that we all get to do our own crazy thing without bothering anyone else ...
    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1 2  Previous   Next