PUID Generator 2.5 - Updated 28/07/2012

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

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

Re: PUID Generator 1.0 - Created 04/01/2010

Post by Owyn » Thu Jan 28, 2010 3:00 pm

Tested script. Handy for catching up on Pending PUIDs.

Noticed minor glitch. The time remaining calculation goes negative if the script runs over midnight.
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 » Thu Jan 28, 2010 6:35 pm

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

- Added automatic mode which processes tracks when idle
- Fixed error when track is not accessible
- Fixed time remaining goes negative over midnight

Once you've installed this version and run the script once manually and selected a field, upon restarting this script will automatically process all of the tracks with this field blank. Also when adding tracks or editing them, this will also trigger the script. All processing is done in the background and only when idle. Errors appear in the field prefixed with a tilda, eg. "~unanalyzable".
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 » Thu Jan 28, 2010 6:56 pm

Trix:
I have not got the new version yet, but, bit concerned about the impact of the changes you have made.
trixmoto wrote: - Added automatic mode which processes tracks when idle

Once you've installed this version and run the script once manually and selected a field, upon restarting this script will automatically process all of the tracks with this field blank. Also when adding tracks or editing them, this will also trigger the script. All processing is done in the background and only when idle.
There are a lot of non-music files which I don't analyze in MusicIP / get PUIDs for. e.g. Podcast episodes, Audio Books, old radio programs, ...
I use an AutoPlaylist which finds the tracks needing PUIDs.
Errors appear in the field prefixed with a tilda, eg. "~unanalyzable".
This will cause problems when using Bex's ADFF Custom Duplicate on PUID field. The errors will show up as duplicate nodes.
Will probably also cause problems with my above mentioned AutoPlaylist.
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

nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

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

Post by nynaevelan » Thu Jan 28, 2010 7:03 pm

Owyn wrote: There are a lot of non-music files which I don't analyze in MusicIP / get PUIDs for. e.g. Podcast episodes, Audio Books, old radio programs, ...
I use an AutoPlaylist which finds the tracks needing PUIDs.
I thought the same with the previous version, but for my special tracks which I do not want to be analyzed, I have marked them with a specific message.
Owyn wrote: This will cause problems when using Bex's ADFF Custom Duplicate on PUID field. The errors will show up as duplicate nodes.
Will probably also cause problems with my above mentioned AutoPlaylist.
With these I have a filter which excludes those with my special message from above.

But Trix, it would be nice if the user could specify which message to code them with.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files

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 » Thu Jan 28, 2010 7:35 pm

@Trix:
Editing meta-data of a track should not impact the PUID. The audio content is unchanged.

@Nyn:
I keep my non-music tracks in a separate folder tree. My AP uses:
-Custom5 (My PUID field) Unknown
-Path does not contain "Media\Audio" (the folder tree for non-music tracks)

The same in principle as your filters, etc.

In ADFF I have been using the Custom5 Known check box to exclude tracks without PUIDs from the analysis.
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 » Fri Jan 29, 2010 4:42 am

@Owyn - if you don't want to use the automatic mode, delete "Scripts\Auto\PUIDGenerator.vbs" and you won't have it. The reason I check after changing properties is because you might have blanked out the field, in which case the PUID would need regenerating.

@nynaevelan - the error messages come from the application, I do not define 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

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 Jan 31, 2010 6:03 pm

trixmoto wrote:@Owyn - if you don't want to use the automatic mode, delete "Scripts\Auto\PUIDGenerator.vbs" and you won't have it. The reason I check after changing properties is because you might have blanked out the field, in which case the PUID would need regenerating.
Only file is Auto\AutoGenerator.vbs
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 » Mon Feb 01, 2010 4:47 am

Oh yeah, or that! :lol:
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

julial49
Posts: 36
Joined: Wed May 09, 2007 8:33 am
Location: Germany
Contact:

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

Post by julial49 » Wed Feb 03, 2010 8:39 am

I've noticed something really peculiar when running the script: keyboard short cuts do not seem to work anymore (e.g. DEL for deleting tracks, CTRL-L for looking up information). The commands work when I use the right click menu but not the short cuts. Once I stop the script everything works fine again.

Is this just coincidence or actually caused by the script?

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 » Wed Feb 03, 2010 2:29 pm

Hmmm, I don't know, I'll take a look.
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 » Fri Feb 12, 2010 10:31 am

Trix:

Made a small change @167

Code: Select all

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

Code: Select all

GenPUID Version 1.2 - 31 August 2007
Copyright (C) MusicIP Corporation 2006-2007.

Usage: genpuid dns-key [options] [file1] [file2] [...]
Options:
 dns-key                Get a MusicDNS key from http://www.musicip.com/dns
 -archive               Archive tags when songs are identified
 -m3lib=[cache.m3lib]   Save cache in [cache.m3lib] after processing
 -r                     Process files recursively
 -rmd=#                 Return metadata (xml format only, #=1 or 2)
 -v                     Print version and exit
 -xml                   XML format
This speeds up re-analysis of files, e.g. for Pending PUIDs.
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 » Fri Feb 12, 2010 1:00 pm

Ok, thanks, I'll add this to 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

Goodog
Posts: 73
Joined: Wed Mar 04, 2009 3:28 am

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

Post by Goodog » Thu Feb 18, 2010 3:17 am

Hi Trix

I think this app could be exactly what I'm looking for so I tried it out last night. However, I was unable to get the PUID to write to the custom1 field that I selected for it. All my music is held in apple lossless format except for a few flac files but neither seemed to work at all. I am using Windows 7 Home Premium and I just followed the instructions on screen, it seems simple enough but didn't work as I expected. Any ideas on what I'm doing wrong?

Thanks and best regards

Goodog

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 » Thu Feb 18, 2010 4:40 pm

Do you get any error messages?
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

Goodog
Posts: 73
Joined: Wed Mar 04, 2009 3:28 am

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

Post by Goodog » Mon Feb 22, 2010 3:28 am

Hey Trix

Soory it has taken me a while to get back to you. I've been looking at this a bit closer and the script is actually working properly, well.... to an extent. It works on 'standard' 44.1/16bit files but, as luck would have it, I was trying this on 96/24 files and, as I said previously, it seemed to work but didn't write the PUID into the field as selected. It gave no error message so I can't pass that on but, would you have any idea as to why it wouldn't work with 96/24 file. What I'm trying to do is generate some ID's to attempt and make my own iTunes LP style interfaces for a couple of albums to how easy, or otherwise, it is to do.

Any help you can provide would be gratefully received.

Thanks and best regards

Goodog

Post Reply