Script is updated
Ver 1.6 (2008-05-21) [MM3 only]
- Added LastPlayHistoryDate
- Added FirstPlayHistoryDate
Enjoy!
/Bex

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?

info = info & "TrackModified: " & FormatDateTime(DB.OpenSql("SELECT DATETIME(TrackModified+2415018.5) FROM Songs").StringByIndex(0)) & VbNewline
Bex wrote:Thank you!![]()
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
info = info & "TrackModified: " & FormatDateTime(DB.OpenSql("SELECT DATETIME(TrackModified+2415018.5) FROM Songs WHERE ID="&list.item(0).ID).StringByIndex(0)) & VbNewlineBex wrote: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.
Users browsing this forum: No registered users and 11 guests