Custom Report 3.2 - Updated 29/07/2014
Re: Custom Report 1.8 [MM2+3]
Sorry, I'll take a look tonight.
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Custom Report 1.9 [MM2+3]
New version (1.9) is now available to download from my website, or by clicking the "Find Updates" button. I have fixed the error when displaying the report automatically.
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
- Posts: 709
- Joined: Tue Dec 12, 2006 5:32 pm
- Location: The Netherlands
Re: Custom Report 1.9 [MM2+3]
I don't understand that at all, I've not changed the code in this area (counting the number of tracks in the playlists) and I'm not storing any data only reading (using access methods, not directly from the database) so COMMIT should be completely irrelevant. Have you used previous versions of this script before? What version of MM are you using?
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
- Posts: 709
- Joined: Tue Dec 12, 2006 5:32 pm
- Location: The Netherlands
Re: Custom Report 1.9 [MM2+3]
I am using 3.0.3.1183
I remember trying CR in MM 2 which worked fine. I've tried the older versions yesterday and they give me the same error as I reported on 1.7
Some info that might be relevant:
I noticed I get the VACUUM error when compacting. (I couldn't find a solution for this?)
I have 28.000 tracks, with hundreds of playlists, a big part of which are auto playlists.
Every track is stored in one big folder, without subfolders. (I know that may affect performance, but as of yet I am content with it)
Other current active scripts:
Last 100...
Mega DJ
Playhistory & stats
Add/remove playstat
Forget crossfade
Magic Nodes
Similar artists
Winamp plugin for last.fm
Last.fm DJ
I remember trying CR in MM 2 which worked fine. I've tried the older versions yesterday and they give me the same error as I reported on 1.7
Some info that might be relevant:
I noticed I get the VACUUM error when compacting. (I couldn't find a solution for this?)
I have 28.000 tracks, with hundreds of playlists, a big part of which are auto playlists.
Every track is stored in one big folder, without subfolders. (I know that may affect performance, but as of yet I am content with it)
Other current active scripts:
Last 100...
Mega DJ
Playhistory & stats
Add/remove playstat
Forget crossfade
Magic Nodes
Similar artists
Winamp plugin for last.fm
Last.fm DJ
Problem using script
I have set up the script for use but when I click ok, i get this error:
Error #500 - Microsoft VBScript runtime error
Variable is undefined: 'GetPath'
File: "P:\Program Files\MediaMonkey\Scripts\CustomReport.vbs", Line: 1680, Column: 6
After I click okay, I get this message:
Error happened during script execution:
Variable is undefined: 'GetPath'
Any suggestions? I really like this script. I should mention that Media Monkey is on my desktop computer and the songs are located on a network computer.
Any help would be appreciated
Error #500 - Microsoft VBScript runtime error
Variable is undefined: 'GetPath'
File: "P:\Program Files\MediaMonkey\Scripts\CustomReport.vbs", Line: 1680, Column: 6
After I click okay, I get this message:
Error happened during script execution:
Variable is undefined: 'GetPath'
Any suggestions? I really like this script. I should mention that Media Monkey is on my desktop computer and the songs are located on a network computer.
Any help would be appreciated
Re: Custom Report 1.9 [MM2+3]
My apologies, there are typos on line 1680 and 1686 - these should say "GetPart" instead of "GetPath". You can fix this yourself using your preferred text editor, or wait for the next version in which I'll get these sorted.
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Custom Report 1.9 [MM2+3]
Hey Trixmoto - really like the report capability...looking for a feature, not sure how to enable or if possible.
When creating a playist and printing the report, is it possible to get a thumbnail of album art for each track using the CD Cover option? For example, if I burn a CD with 20 songs, I can easily generate the list of songs but the CD cover image is only of the first album in the track list...thanks!
When creating a playist and printing the report, is it possible to get a thumbnail of album art for each track using the CD Cover option? For example, if I burn a CD with 20 songs, I can easily generate the list of songs but the CD cover image is only of the first album in the track list...thanks!
Re: Custom Report 1.9 [MM2+3]
I just started using Custom Report. I am running beta 3.1.0.1219 and Custom Report 1.9 (downloaded last night). "H" formatting isn't working properly when output is to an HTML file. The MapXML function converts the "<", ">" and " characters to their ampersand HTML equivalents, which of course must not be done because that makes it no longer a link.
[EDIT: Also, it appears that %20 becomes %2520, which also stops the link from working.]
Otherwise, Custom Report looks like a fantastic tool. Thanks!
Guy
[EDIT: Also, it appears that %20 becomes %2520, which also stops the link from working.]
Otherwise, Custom Report looks like a fantastic tool. Thanks!
Guy
Re: Custom Report 1.9 [MM2+3]
@gmich - where are you expecting these thumbnails to be? Do you mean next to each track in the listing, or as a tiled front page on the booklet?
@GuyScharf - thanks for report this, I will try to get this resolved in the next version.
@GuyScharf - thanks for report this, I will try to get this resolved 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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Custom Report 1.9 [MM2+3]
Thanks for responding...here is a screen shot of current and proposed. Include album art for each in a grid in the album art space (excluding the text listed in my mock up)


Re: Custom Report 1.9 [MM2+3]
As a temporary fix, around line 700, I simply changed HTML processing so that str was not processed through MapXML. I did not study the program in enough detail to know whether I might have broken something else by doing that, but it seems to work in my use.trixmoto wrote:@GuyScharf - thanks for report this, I will try to get this resolved in the next version.
fyi, I extended the H format to optionally create a hyperlink to a file in a directory structure. This works just for my use; I didn't generalize the solution. I am using it for creating a hyperlink from the title to the mp3 file and will use the html file as part of Autorun on a CD. It's working nicely.
Re: Custom Report 1.9 [MM2+3]
Thanks, I'll look into adding both these suggestions 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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Custom Report 1.9 [MM2+3]
fwiw, here are the two lines I added to implement an "HF" format to create a hyperlink to the file. The solution is special-purpose and not generalized to allow the path to be specified in the format specification itself. I could have done something fancy like having a file mask like MM uses elsewhere but didn't need that for my use.
Code: Select all
Case "H" 'hyperlink
Dim lnk : lnk = Mid(par(r),2)
If lnk = "" Then
tmp = "<a href="""&str&""">"&str&"</a>"
' Next two lines added to implement HF format
Elseif lnk = "F" Then
tmp = "<a href=""" & itm.ArtistName & "/" & itm.AlbumName & "/" & GetPart(2,itm.Path) & "." & GetPart(3,itm.Path) & """>" & str & "</a>"
else
tmp = "<a href="""&lnk&""">"&str&"</a>"
End If
Customize Report
Hi, I had this question in another place and was asked to come here with it? This was the question:
http://www.mediamonkey.com/forum/viewto ... =2&t=18395
If you look at that script, can somebody explain to me what it means? I mean the guy says to name it and then tell it which columns you want, but in the example I don't see any names of any columns, so I'm confused as to how to write it. I'm sorry for being a dingy, I really don't even know what script is, unless it's another word for programming or macro or something. Thanks for any help.
http://www.mediamonkey.com/forum/viewto ... =2&t=18395
If you look at that script, can somebody explain to me what it means? I mean the guy says to name it and then tell it which columns you want, but in the example I don't see any names of any columns, so I'm confused as to how to write it. I'm sorry for being a dingy, I really don't even know what script is, unless it's another word for programming or macro or something. Thanks for any help.