Page 2 of 3

Posted: Wed May 21, 2008 9:55 pm
by Bex
Script is updated
Ver 1.6 (2008-05-21) [MM3 only]

- Added LastPlayHistoryDate
- Added FirstPlayHistoryDate


Enjoy!
/Bex

Posted: Thu May 22, 2008 10:43 am
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?

Posted: Thu May 22, 2008 10:59 am
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.

Posted: Thu May 22, 2008 11:17 am
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

Posted: Fri Jun 06, 2008 2:30 pm
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

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

Posted: Fri Sep 19, 2008 3:18 am
by nynaevelan
Bex:

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

Nyn

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

Posted: Sat Sep 20, 2008 2:35 pm
by Bex
That's very easy to implement. You'll have an update soon. :)

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

Posted: Sat Sep 20, 2008 6:06 pm
by nynaevelan
Cool, thanks. :D

Nyn

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

Posted: Sat Sep 20, 2008 6:23 pm
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

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

Posted: Sat Sep 20, 2008 6:59 pm
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

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

Posted: Sat Sep 20, 2008 7:01 pm
by Big_Berny
Cool! :D

But take it easy, there is no hurry about it. :)

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

Posted: Sat Sep 20, 2008 7:24 pm
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

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

Posted: Sun Sep 21, 2008 4:53 am
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.

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

Posted: Sun Sep 21, 2008 6:05 am
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

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

Posted: Sat Sep 27, 2008 4:49 pm
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