Moodbar v1.1 (24.03.2008) [MM3] moodbar_tool v1.1

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

Moderators: Peke, Gurus

RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Moodbar v1.1 (24.03.2008) [MM3] moodbar_tool v1.1

Post by RedX »

So this is the idea i was referening to in this post

This will create a moodbar pane and display the mood for the current song in it.

You can now click onto the image to go to that part of the track.

You can setup a temp folder for all the images. The mood files are kept with the mp3 file.

Try setting an other color scheme for you moodbar. Open the vbs file and change the mood to 1,2 or 3 and see what happens!

Now to some things i could still incorporate:
a second panel for seeing the moodbar of all selected tracks
an option for calculating all moodfiles of your collection in the background

if you wish to edit the background color edit the css.

Moodbar v1.1

Now when the panel is disabled no calculations are done.
This meanse that also the Timers are disabled until the panel is reopened.
You can also disable the log by setting debugme to false at the beginning of the script.

Here is the installer:
moodbar_2008.3.24.111036

just install as usual
The panel can be activated from the VIEW menu or with ctrl+alt+d

Please report bugs
Regards,
Red

Changelog:

Initial release
- two dlls were missing and were posted in separate

Alpha 2008.3.9.004936
- Has real logging (moodbar.log)
- moodbar.exe has been updated
- now has two packages one for the dlls and one for the script and moodbar.exe

moodbar_Alpha_2008.3.16.012014.zip
- improved the display of the moodbar (fixed the black parts when quite a lot was going on)
- BUT none of the other things has been fixed (sry)

moodbar_2008.3.20.205215
- created installer
- made the execution of moodbar asynchronous hopefully correcting the keyboard input problem
- made the image resizable in height
- user can select the color scheme for the moodfile by setting mood var in vbs
- you can now select a temp file to store the images in

moodbar_2008.3.21.133749
- now you can click on the image to go to that part in the song
- fixed the display. Was a bit offset

moodbar_2008.3.24.111036
- Disabled panel does not calculate mood files nor fire timer events
- Logging can be set to off using var


PS: Most of the Code for the IE embeding and skin is from MonkeyRok, so thanks trix for such a great codebase.

Here is a screenshot of it working:
Image[/list]

moodbar_tool

Before v1 of moodbar the mood files did have a different naming scheme.
This little utility will convert the old naming convention to the new one.
Run, select folder you wish to run it in then click start. Watch it do it's magic.

This way you can keep your already calculated moodbar files.

moodbar_tool_v1.1
You will need the QtGui and QtCore dll supplied with the installer of the moodbar for this to work. Copy moodbar_tool to the same folder.

You will also need:
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
Many people shoulde already have this installed so you can first just try the exe.

Regards,
Red

moodbar_tool_v1
- initial release

moodbar_tool_v1.1
- manifest embeded
- resolved dependencies
Last edited by RedX on Mon Mar 24, 2008 5:18 am, edited 16 times in total.
drjboulder
Posts: 1119
Joined: Mon Apr 09, 2007 12:03 am
Location: Boulder, Colorado, USA

Post by drjboulder »

I get the following error message:

Image

Had a look a the VBS and could not find anything that I could edit, so that it would look for the right path.
Moodbar.exe does exist in the bin folder.
I have MM3 installed in C:\ProgramFiles\MediaMonkey3
and not C:\ProgramFiles\MediaMonkey, if that makes a difference.

Error message pops up with every track change.

Do not mind being a tester, just do not know how much I can help.
D Rock
Image
MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...
Dreadlau
Posts: 1967
Joined: Sun Nov 25, 2007 6:49 am

Post by Dreadlau »

Same error message here
Macarena
Posts: 642
Joined: Mon Oct 15, 2007 5:39 am
Location: Prague, Czech republic

Post by Macarena »

drjboulder wrote:I get the following error message:

Image
Likewise. Plus: Does anybody know how to enable Active-X in IE7 for this script? It always asks me the annoying question about this [Y/N]. I would not like to enable Active-X for anything, just let say local scripts or sth like this.

EDIT: I want to get rid of this:
Image
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Post by DaledeSilva »

yeah same.. the correct path on my machine is:

C:\Program Files\MediaMonkey\Scripts\Auto\bin\


I detect this in my script using;

Code: Select all

i = InStrRev(Script.ScriptPath,"\")
curPath = Left(Script.ScriptPath,i)

with my PrettyPictures script, I've also moved my temp files that get create all the time to a folder within this path:

Code: Select all

i = InStrRev(SDB.Database.Path,"\")
path = Left(SDB.Database.Path,i)
because otherwise it has problems creating files for users without admin rights (cause it was previously trying to do it in the program files directory).

good luck.. hope this information helps, I look forward to seeing the result.

Dale.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
Macarena
Posts: 642
Joined: Mon Oct 15, 2007 5:39 am
Location: Prague, Czech republic

Post by Macarena »

drjboulder wrote:I get the following error message:

Image
This is a problem of the .html file:

I changed two lines

Code: Select all

<body onLoad="LoadCurrentMood('c:\Progra~1\MediaM~1\Scripts\Auto\')">
<input id="onPlayChange_proxy" onClick="LoadCurrentMood('c:\Progra~1\MediaM~1\Scripts\Auto\')" type="button" class="proxy" />
And I got further:
Image
But in my process explorer no moodbar.exe appeared :(
RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Post by RedX »

drjboulder wrote:I get the following error message:

Image

Had a look a the VBS and could not find anything that I could edit, so that it would look for the right path.
Moodbar.exe does exist in the bin folder.
I have MM3 installed in C:\ProgramFiles\MediaMonkey3
and not C:\ProgramFiles\MediaMonkey, if that makes a difference.

Error message pops up with every track change.

Do not mind being a tester, just do not know how much I can help.
Deleting the html file in the moodbar\skins folder should help.
The file should not be in the zip since it is generated on first run. My mistake sry.

Tried editing this morning but couldn't remember my pswd hehe.

I Updated the file with the now (hopefully) correct zip

the final path for the files should be:
mediamonkey/scripts/auto/moodbar/skins/calculating.png
mediamonkey/scripts/auto/moodbar/skins/error.png
mediamonkey/scripts/auto/moodbar/skins/default.png
mediamonkey/scripts/auto/moodbar/skins/focus.png
mediamonkey/scripts/auto/moodbar/skins/skin.tmpl
mediamonkey/scripts/auto/moodbar/skins/skin.css
and
mediamonkey/scripts/auto/moodbar/bin/moodbar.exe
mediamonkey/scripts/auto/moodbar/bin/libfftw3f-3.dll
mediamonkey/scripts/auto/moodbar/bin/zlib1.dll
and
mediamonkey/scripts/auto/moodbar.vbs

Hope works now.
Redx
Macarena
Posts: 642
Joined: Mon Oct 15, 2007 5:39 am
Location: Prague, Czech republic

Post by Macarena »

RedX wrote:mediamonkey/scripts/auto/moodbar/skins/skin.tmpl
Replace the "H:\programme..." with %%path%%, too.

EDIT: but still no moodbar.exe running.
Macarena
Posts: 642
Joined: Mon Oct 15, 2007 5:39 am
Location: Prague, Czech republic

Re: moodBar vPA1 (04.03.2008) [MM3] PRE ALPHA

Post by Macarena »

RedX wrote:second: can someone please provide me with a image for the focus thing? i'm not a great artist and it looks like crap atm ;-P if possible it should be max 32 in width and 32 in height be png and have transparent background.
While the moodbar is consistent of lines, I thought the focus should be line-free. So, here you go with my idea:
Image
Last edited by Macarena on Wed Mar 05, 2008 10:52 am, edited 2 times in total.
RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Post by RedX »

Macarena wrote:
RedX wrote:mediamonkey/scripts/auto/moodbar/skins/skin.tmpl
Replace the "H:\programme..." with %%path%%, too.

EDIT: but still no moodbar.exe running.
don't know how that happened but been fixed in .2
http://www.frankonia-czernowitz.de/mm/m ... 0305.2.zip
Dreadlau
Posts: 1967
Joined: Sun Nov 25, 2007 6:49 am

Post by Dreadlau »

This is what my moodbar looks like:
Image

But it could be a problem related with my computer since a lot of images are not showing when I browse with IE.

By the way, I'm really excited for this script :D
Macarena
Posts: 642
Joined: Mon Oct 15, 2007 5:39 am
Location: Prague, Czech republic

Post by Macarena »

Something is wrong around line 283. .locked is created, but no moodbar.exe running and .locked still remains.
RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Post by RedX »

Macarena wrote:Something is wrong around line 283. .locked is created, but no moodbar.exe running and .locked still remains.
open a console window and goto to the moodbar/bin folder
and try this commando

Code: Select all

moodbar.exe -p -mp3:(full path to one of your songs)
and tell me what happens please thanke
Macarena
Posts: 642
Joined: Mon Oct 15, 2007 5:39 am
Location: Prague, Czech republic

Post by Macarena »

RedX wrote:
Macarena wrote:Something is wrong around line 283. .locked is created, but no moodbar.exe running and .locked still remains.
open a console window and goto to the moodbar/bin folder
and try this commando

Code: Select all

moodbar.exe -p -mp3:(full path to one of your songs)
and tell me what happens please thanke
nothing. Not even when the track is copied to the moodbar.exe folder. Nor when I write down a non existing filename. No .png created, no error message.
Last edited by Macarena on Wed Mar 05, 2008 11:45 am, edited 1 time in total.
RedX
Posts: 366
Joined: Wed Dec 27, 2006 10:32 am
Location: Germany

Post by RedX »

Macarena wrote:
RedX wrote:
Macarena wrote:Something is wrong around line 283. .locked is created, but no moodbar.exe running and .locked still remains.
open a console window and goto to the moodbar/bin folder
and try this commando

Code: Select all

moodbar.exe -p -mp3:(full path to one of your songs)
and tell me what happens please thanke
nothing. Not even when the track is copied to moodbar.exe. Nor when I write down a non existing filename. No .png created, no error message.
please specify the command line you used
and don't forget if your path has spaces it must be enclosed in "" (as usual)
example:

Code: Select all

moodbar.exe -p -mp3:"C:\my music\really great artist - his best song.mp3"
thanks for your patience

red

PS are you on vista or xp?
Post Reply