DebugHelper 1.8 (2012-08-07) [MM4]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Script is updated
Ver 1.6 (2008-05-21) [MM3 only]

- Added LastPlayHistoryDate
- Added FirstPlayHistoryDate


Enjoy!
/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

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

Post by nynaevelan »

Bex:

My songs with more than one play are showing up as having the same Last and First History Played date. :-?

Nyn

EDIT: BTW, I made a tweak in it to always have the menu show rather having to go to the Tools Menu to turn it on. Was there a specific reason why it is off by default?
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
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Will fix that instantly! :oops:
I made a tweak in it to always have the menu show rather having to go to the Tools Menu to turn it on. Was there a specific reason why it is off by default?
Welcome to the scripting world! :lol:
Yes, when you just use MM to play songs then it's annoying to have the extra menu there. What I could do though is make the script remember your settings between sessions. It has actually bugged me too. A new version is coming soon.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Bugfix Update
Ver 1.6 (2008-05-21) [MM3 only]

- Fixed LastPlayHistoryDate and FirstPlayHistoryDate showed the same date
- Fixed so Show/Hide menus are remembered between sessions


Enjoy!
/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Script is updated
Ver 1.7 (2008-06-06) [MM3 only]

- Added AlbumArt info (Both from DB and AlbumArt object)
- Added CurrentTime
- Fixed Month/Day on Date and OriginalDate


Enjoy!
/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

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

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by nynaevelan »

Bex:

Is there an easy/quick way for me to add the TrackModified field to DebugHelper?

Nyn
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
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by Bex »

That's very easy to implement. You'll have an update soon. :)
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

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

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by nynaevelan »

Cool, thanks. :D

Nyn
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
Big_Berny
Posts: 1784
Joined: Mon Nov 28, 2005 11:55 am
Location: Switzerland
Contact:

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by Big_Berny »

Since there are even more interesting fields and the screen is limited, it would be cool if there was a dropdown where we could choose the field (or information) we want to know. Would be very cool for us developers of scripts as we (or at least I) sometimes also need fields kile pregap or other not so popular fields.

Another cool feature would be a 'Copy report to clipboard'. So the users just click on a song, run your script, click on 'Copy report to clipboard' and can post the report then in the forum very easily. Would also be very useful to find bugs which the user experience in our script.

I really like your scripts by the way! :) And your SQL-knowhow anyhow! ;)
Big_Berny
Image
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by Bex »

Thank you! :D
Good ideas! I'll try to implement them in the next version of the script.

@Nyn,
In the meantime you can add this line (after e.g. FileModified) to get TrackModified:

Code: Select all

info = info & "TrackModified: "    & FormatDateTime(DB.OpenSql("SELECT DATETIME(TrackModified+2415018.5) FROM Songs").StringByIndex(0)) & VbNewline
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Big_Berny
Posts: 1784
Joined: Mon Nov 28, 2005 11:55 am
Location: Switzerland
Contact:

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by Big_Berny »

Cool! :D

But take it easy, there is no hurry about it. :)
Image
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by nynaevelan »

Bex wrote:Thank you! :D
Good ideas! I'll try to implement them in the next version of the script.

@Nyn,
In the meantime you can add this line (after e.g. FileModified) to get TrackModified:

Code: Select all

info = info & "TrackModified: "    & FormatDateTime(DB.OpenSql("SELECT DATETIME(TrackModified+2415018.5) FROM Songs").StringByIndex(0)) & VbNewline
Worked perfectly, thank you. :) :)

Nyn
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
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by Bex »

Oops... :oops:

Replace the previous code with this one:

Code: Select all

info = info & "TrackModified: "    & FormatDateTime(DB.OpenSql("SELECT DATETIME(TrackModified+2415018.5) FROM Songs WHERE ID="&list.item(0).ID).StringByIndex(0)) & VbNewline
Even if the first one returns a date, it always returns the date from the track with the lowest id in your library.
The second one actually returns the date from the selected track.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

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

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by nynaevelan »

Bex wrote:Oops... :oops:

Replace the previous code with this one:

Code: Select all

info = info & "TrackModified: "    & FormatDateTime(DB.OpenSql("SELECT DATETIME(TrackModified+2415018.5) FROM Songs WHERE ID="&list.item(0).ID).StringByIndex(0)) & VbNewline
Even if the first one returns a date, it always returns the date from the track with the lowest id in your library.
The second one actually returns the date from the selected track.
Well I guess you can tell I only tried it on 1 track.... :oops:

Nyn
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
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: DebugHelper 1.7 [Script] 2008-06-06 [MM3]

Post by nynaevelan »

Hi Bex:

It's me again. Is there a quick code you can give me in order to add either info to the scripts.ini file so I can create a button with Onenonymous' Right Click for Scripts script or a button directly in the DH script? I am using this one so much, a button would be really useful.

Nyn
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
Post Reply