Detailed Song Info Panel v1.21 (Updated 31 May 2006)
No need to apologise - my first dockable panel took ages to get all the bugs out - they're a bit of a nightmare to create (although nice to use when they work!)
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.
Huuuughhh, what's happening guys?my first dockable panel took ages to get all the bugs out - they're a bit of a nightmare to create
I find them almost as simple as normal forms/panels.
Anyway, Jiri posted an example somewhere, but there are also other scripts that already implement it.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
The problem is showing/hiding them. I found that using the example code, I was getting duplicate buttons on my forms because it was rerunning the code that creates them. I found ways round it, but maybe I just wasn't using the form properly.
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.
I have updated the code of the script and i think that now it will work as a dockable panel.
Lets hope that I am right...
EDIT
It seems that i wasnt right after all. But thanks to Trixmoto who located a rather stupid (:oops: ) but well hidden error panel should work like a charm now....
Here is the link
Lets hope that I am right...
EDIT
It seems that i wasnt right after all. But thanks to Trixmoto who located a rather stupid (:oops: ) but well hidden error panel should work like a charm now....
Here is the link
Loving the new version. Had to make a small tweak (as per email) but now it's working like a dream! The dockable panel makes this a script I will use all the time!
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.
Very slick, nice work!
Edit:
A couple ideas/suggestions:
- Make the 'next # tracks' section hideable like the other sections.
- Last.FM and wiki sections! (all music is another good idea too)
Edit:
A couple ideas/suggestions:
- Make the 'next # tracks' section hideable like the other sections.
- Last.FM and wiki sections! (all music is another good idea too)
New script: Last.FM Node Now with DJ Mode!
Last.fm + MediaMonkey = Scrobbler DJ!
Tag with MusicBrainz ~ Get Album Art!
Tweak the Monkey! ~ My Scripts Page
Last.fm + MediaMonkey = Scrobbler DJ!
Tag with MusicBrainz ~ Get Album Art!
Tweak the Monkey! ~ My Scripts Page
Nice work!
I just tested the docked version script and I have 2 requests (for now):
- Please, when the OnPlay event fires, only update the web page content, instead of reloading (relocating) it. The easiest way would be just calling ViewInfo method in the webpage when the OnPlay event fires. For one: this is better coding; for two: then there will be no "navigate" click sound.
- Please load the previous expanded/collapsed state (for the different sections on the panel) when the panel is first created. I is superanoying that this is reset everytime on OnPlay, and I would like it to stay the same between MM sessions too.
Cheers
Steegy
I just tested the docked version script and I have 2 requests (for now):
- Please, when the OnPlay event fires, only update the web page content, instead of reloading (relocating) it. The easiest way would be just calling ViewInfo method in the webpage when the OnPlay event fires. For one: this is better coding; for two: then there will be no "navigate" click sound.
- Please load the previous expanded/collapsed state (for the different sections on the panel) when the panel is first created. I is superanoying that this is reset everytime on OnPlay, and I would like it to stay the same between MM sessions too.
Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
This should only happen when no song is in the "now playing" list and when no song has already been played during that MM session.I keep getting the error: Object Required 'itm'. Line: 173 Char: 2
To resolve it:
Edit the file "SongInfo.htm" from MediaMonkey's scripts folder (normally C:\Program Files\MediaMonkey\Scripts) preferably in NotePad.
Go to line 162 (Ctrl+G) or search for "Set itm = SDB.Player.CurrentSong" (without the quotes).
Just after that line, add a new line "If itm Is Nothing Then Exit Sub" (without the quotes) and save the file.
It should be something like this now:
Code: Select all
...
Set itm = SDB.Player.CurrentSong
If itm Is Nothing Then Exit Sub
Set playlist = SDB.Player.CurrentSongList
...
This error is not related with the fact that "powermenu" doesn't work on the MediaMonkey program. But I don't know why it (apparently) doesn't work.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
(1): Yes. In the beginning of the file "SongInfo.htm", there are some css style specifications. You can change the "background-color"'s to what you want (e.g. by color name: "background-color: green;" or by hex value: "background-color: #c5c5c5;")
(2): You'll have to ask that to Psyxonova as he's the one that makes the script.
(2): You'll have to ask that to Psyxonova as he's the one that makes the script.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).