Bug 220327 - wish: integrate moodbar generator
Summary: wish: integrate moodbar generator
Status: REOPENED
Alias: None
Product: amarok
Classification: Applications
Component: Moodbar (show other bugs)
Version: 2.2.1.90
Platform: unspecified Linux
: LO wishlist
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 156956 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-28 00:24 UTC by Alexander Potashev
Modified: 2013-05-05 15:16 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.4


Attachments
mood generator (419 bytes, application/x-sh)
2010-03-17 08:24 UTC, Leo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2009-12-28 00:24:06 UTC
Version:           2.2.1.90 (using 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.32

I wish amarok to be able to generate .mood files for the moodbar.
Comment 1 Alexander Potashev 2009-12-28 14:28:25 UTC
http://amarok.kde.org/wiki/Moodbar contains contradicting information:

"...and support code in the Amarok source, which runs the binary and displays the moodbar." -- this says that Amarok can run the moodbar analyzer

"Currently moodbars files will have to be generated manually." -- says that Amarok cannot do that
Comment 2 Myriam Schweingruber 2010-01-04 13:36:03 UTC
*** Bug 156956 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Potashev 2010-01-04 15:00:56 UTC
(In reply to comment #2)
> *** Bug 156956 has been marked as a duplicate of this bug. ***

It is not a duplicate: this bug is about .mood files generation, bug 156956 is about _playlist_ generation.
Comment 4 Leo 2010-03-17 08:24:54 UTC
Created attachment 41707 [details]
mood generator
Comment 5 Leo 2010-03-17 08:26:15 UTC
Comment on attachment 41707 [details]
mood generator

the attached file, is a script that I use to generate the mood file.
Maybe you could implement something like this, that, when the user scans the collection, generates also the mood files
Comment 6 Myriam Schweingruber 2010-03-17 09:18:25 UTC
(In reply to comment #5)
> (From update of attachment 41707 [details])
> the attached file, is a script that I use to generate the mood file.
> Maybe you could implement something like this, that, when the user scans the
> collection, generates also the mood files

How about making a script for Amarok and put it on kde-apps.org? This would probably satisfy everyone :) See also http://amarok.kde.org/wiki/Development/Scripting_HowTo_2.0
Comment 7 Leo 2010-03-17 09:42:13 UTC
(In reply to comment #6)
> How about making a script for Amarok and put it on kde-apps.org? This would
> probably satisfy everyone :) See also
> http://amarok.kde.org/wiki/Development/Scripting_HowTo_2.0

I would be glad to do it, but I'm not a javascript coder :(
<message_in_a_bottle> Hope someone will "help" us :) </message_in_a_bottle>
Comment 8 Myriam Schweingruber 2010-03-17 09:46:24 UTC
Hm, if you can write bash scripts, Javascript should not be a problem at all :)
Comment 9 Tadas Šubonis 2010-03-18 17:45:58 UTC
Amarok should be able to generate mood files on the fly and put it in it's own folder instead of spamming my music collection.
Comment 10 Ravi Arora 2010-04-17 16:44:01 UTC
I also wish that KDE does this and provides the option to store the .mood file either in the amarok directory or in the same directory as the music file. Generating the moodbar files manually is like absence of a feature from Amarok
Comment 11 EssL 2010-05-22 23:33:19 UTC
Here you go:
http://kde-apps.org/content/show.php?content=125137
Enjoy :)

Noy perfect solution (will do it for all files and not for only current in next version), but at least something.
Comment 12 karaluh 2010-11-04 15:54:48 UTC
*** This bug has been confirmed by popular vote. ***
Comment 13 Emilio 2011-09-21 11:09:06 UTC
The previous script is deprecated. Here is a different one:

http://kde-apps.org/content/show.php/Moodbar+Generator?content=135625

I'm testing it and I haven't found any problem yet. It generates moodbar files for the songs in the playlist.
Comment 14 Simeon 2011-12-20 14:48:38 UTC
This wish has been granted.This report should be removed.
Comment 15 Myriam Schweingruber 2011-12-20 21:05:11 UTC
Indeed, moodbar is integrated in Amarok now since quite a while.
Comment 16 karaluh 2011-12-21 08:11:24 UTC
This bug is about GENERATING mood files by Amarok, not displying them. Please reopen and read bug reports more carefully. Also: don't beleive spammers.
Comment 17 Myriam Schweingruber 2011-12-22 01:46:52 UTC
Ouch, my bad, sorry for the noise.
Comment 18 Anmol Ahuja 2013-05-05 13:20:06 UTC
The script posted by Emilio works really well.
Though obviously, it has an external dependency, the moodbar binary.
Comment 19 Myriam Schweingruber 2013-05-05 15:16:24 UTC
(In reply to comment #18)
> The script posted by Emilio works really well.
> Though obviously, it has an external dependency, the moodbar binary.

Well, this is currently not very high on our wishlist, we certainly don't want to integrate another binary in our code.