PUID Generator 2.5 - Updated 28/07/2012

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Barton, UK
Contact:

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by trixmoto » Mon Feb 22, 2010 4:25 am

I'm guessing that the .dll can't cope with this type of file, but then I didn't write it I only use it, so unfortunately I can't really help with that. :(
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by Owyn » Mon Feb 22, 2010 7:32 am

@Trix/Goodog:
FYI:
- MusicIP has a known problem archiving analysis to AAC files. This may also apply to Genpuid.
- I seem to remember other AAC specific problems but the Predixis MusicIP forum has been taken offline.
- Google "musicip aac problem" does show other potential problems however, e.g. this one
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by Owyn » Mon Feb 22, 2010 11:05 am

FYI:
Did a quick test:

- Rip album "Corrine Bailey Rae - The Sea" to .FLAC
- Rip album to 256K VBR MP3
- Convert FLAC to new 256K VBR MP3 tracks
- Get PUIDs for all tracks

PUIDs are identical for same tracks.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by Owyn » Wed Feb 24, 2010 9:52 pm

FYI:
Did some benchmarking on the PUID Generator.

Tracks with previously archived analysis (from this script, MusicIP, etc.): approx 25/minute
Tracks without archived analysis but well tagged and reasonably well known: approx 7-8/minute
Other tracks (results vary depending on song length and encoding): approx 2-3/minute

Mileage will vary depending on CPU, Internet and MusicDNS server speed, but, the relative results should be consistent.
Core speed, not number of cores, is significant. This runs as a single threaded process.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by Owyn » Wed Feb 24, 2010 10:03 pm

trixmoto wrote:Ok, thanks, I'll add this to the next version.
Thanks. This also speeds up my start-up re-scans in MusicIP a lot.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Barton, UK
Contact:

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by trixmoto » Sun Feb 28, 2010 10:04 am

I've decided that I don't actually like the automatic mode - is anyone actually using it? If no one minds, I think I'll remove it in the next version.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by Owyn » Sun Feb 28, 2010 10:17 am

trixmoto wrote:I've decided that I don't actually like the automatic mode - is anyone actually using it? If no one minds, I think I'll remove it in the next version.
No argument from me. :D
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

bertbell2
Posts: 7
Joined: Fri Jul 03, 2009 1:23 pm

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by bertbell2 » Sun Feb 28, 2010 1:30 pm

trixmoto wrote:I've decided that I don't actually like the automatic mode - is anyone actually using it? If no one minds, I think I'll remove it in the next version.
I'm re-ripping my CD colection (long story) and in testing I was getting different PUIDs for the new 160 VBR mp3's from my old 64 bit wma's. So I'm quite happy with it automagically computing the PUID.

I'm a software engineer so as my clients ask so often, "Couldn't you add a little flag to turn on and off?"

Thanks

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Barton, UK
Contact:

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by trixmoto » Sun Feb 28, 2010 4:46 pm

Well the problem is that there are some major bugs with the automatic mode. I've completely uninstalled the script now because it keeps throwing into infinite loops and error stacks. I'm not sure it's really worth the hassle trying to fix them.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

bertbell2
Posts: 7
Joined: Fri Jul 03, 2009 1:23 pm

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by bertbell2 » Mon Mar 01, 2010 12:09 pm

trixmoto wrote:Well the problem is that there are some major bugs with the automatic mode. I've completely uninstalled the script now because it keeps throwing into infinite loops and error stacks. I'm not sure it's really worth the hassle trying to fix them.
OF course as soon as I read your response my internet connection had trouble and that did seem to hang the script; so if automatic is a problem I'll live with manual. Thanks for the script

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by Owyn » Mon Mar 01, 2010 12:26 pm

bertbell2 wrote:
trixmoto wrote:Well the problem is that there are some major bugs with the automatic mode. I've completely uninstalled the script now because it keeps throwing into infinite loops and error stacks. I'm not sure it's really worth the hassle trying to fix them.
OF course as soon as I read your response my internet connection had trouble and that did seem to hang the script; so if automatic is a problem I'll live with manual. Thanks for the script
The problem might be worse with automatic (which I don't use), but, the main problem is that the script has to have access to the MusicDNS Server to work.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: PUID Generator 2.0 - Updated 28/01/2010

Post by Owyn » Mon Mar 08, 2010 7:12 am

FYI:
Did another test. Converted WMA high quality album (approx 340K) to MP3 VBR 256K. Got PUIDs for both sets of tracks.
2 tracks out of 16 got a different PUID for WMA & MP3.

Bottomline is that there should be no false positive matches by PUID but there may be false negative matches.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Barton, UK
Contact:

Re: PUID Generator 2.1 - Updated 09/03/2010

Post by trixmoto » Tue Mar 09, 2010 5:19 pm

New version (2.1) is now available to download from my website. Changes include...

- Removed automatic mode which was buggy and annoying
- Added archive flag to speed up re-analysis of files

Please uninstall any previous versions before installing this version to ensure that the automatic mode is fully removed.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

SpOiLeR
Posts: 14
Joined: Fri Dec 05, 2003 4:57 pm

Re: PUID Generator 2.1 - Updated 09/03/2010

Post by SpOiLeR » Wed Mar 10, 2010 12:05 pm

trixmoto wrote: - Added archive flag to speed up re-analysis of files
Hi, great script but I'm afraid to install new version because of this new feature... I'm concerned that this could corrupt file tags. Short googling on subject gets me to: http://wiki.slimdevices.com/index.php/A ... th_GenPuid, section "Running the Scanner ". I don't know under what circumstances could tags get corrupted, but have you considered this? Anyway, could archiving of analysis be made optional? Thanx...

Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: PUID Generator 2.1 - Updated 09/03/2010

Post by Owyn » Wed Mar 10, 2010 1:14 pm

I have over 35K tracks with archived analysis. However, these are all MP3s. I specifically do not have any AAC tracks with archived analysis. Known problems with AAC files & archiving.

Anyway, it is easy enough to remove.

@168 in Scripts\MIPT\PuidGenerator.vbs change

Code: Select all

      Dim cmd : cmd = "%comspec% /c "&exe&" f25c7a6acad172541066f475175465a7 -archive -rmd=2 """&mp3&""" >"&dat
to

Code: Select all

      Dim cmd : cmd = "%comspec% /c "&exe&" f25c7a6acad172541066f475175465a7 -rmd=2 """&mp3&""" >"&dat
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies

Post Reply