Moodbar Generator
Amarok 2.x Scripts
Score 80%
Description:

Amarok2 script.
Automatically generates moodbar files for current playlist, songs added to playlist, currently playing song.
thanks Boris Churzin(http://kde-apps.org/usermanager/search.php?username=devenv) for idea, also thanks to Nikhil Marathe for help.
Need this thing: http://amarok.kde.org/wiki/Moodbar.
And, please, check if moodbar is on (check box "Show Moodbar in Progress slider")
Last changelog:

6 years ago

Now it can't slow down amarok, but need testing because of many changes.
Added russian translation, but it is not work :) (don't know why)

afettouhi

6 years ago

No it wasn't working in 0.52 or the version before that. I was using this one

http://opendesktop.org/content/show.php/Moodbar+Generator+%5BDEPRECATED%5D?content=125137

before and it worked there with podcasts. So maybe I'm confusing the two. But it would be nice if it could make mood files for podcasts also at least when they are playing.

Report

ZLv

6 years ago

Hm, maybe you can give me one of podcast files? I think my script is wrong in filename check, or something else.

Report

afettouhi

6 years ago

Here is one of the rss feeds I listen to

http://smodcast.smodcast.libsynpro.com/rss

just to put it in the Amarok rss rweader and let it download one of the files in the feed. They are around 40 to 60 MB in size.

Report

ZLv

6 years ago

I don't realize how script can do it. I tried to use old script with this podcast, it try to create "/smodcast/.SModcast-76.mood" and then I run amarok again it can't find any moodfiles for this podcast.

Report

afettouhi

6 years ago

The older versions of the script were able to do this though.

Report

ZLv

6 years ago

Are you sure, that it was version 0.52? I've only changed "moodbar -o mood path" to "nice -n 19 moodbar -o mood path", but it was in earlier version. Please, try to test version 0.52 once again.

Report

afettouhi

6 years ago

Seems like it does work. I removed a few mood files from my playlist and started amarok in debug mode and it generated the moodbar files. But it doesn't seem to generate any mood files for my podcasts I've downloaded though.

Report

ZLv

6 years ago

Yes, script can't generate moodfiles for podcasts. All generate work is on moodbar program. You can try to do it with "moodbar" command; if it can generate files for podcasts somehow, I think it possible to add this feature to script.

Report

afettouhi

6 years ago

Yes the settings for the script do appear in amarok but no moodbar files are generated for songs/podcasts I play.

Report

ZLv

6 years ago

Try to run "amarok -d --debug". Is there any output with text "SCRIPT "Moodbar Generator""? You may use http://sourceforge.net/projects/moodbar/files/moodbar_generator-v0.52.amarokscript.tar.gz/download before I find solution for this.

Report

afettouhi

6 years ago

Since the update 0.52 and 0.53. TThe script doesn't work anymore on my Arch Linux installation with Amarok 2.4.0.

Report

ZLv

6 years ago

https://sourceforge.net/projects/moodbar/files/
There are some versions of moodbar generator. Difference between 0.52 and 0.53 versions is only icon in menu. Please write more info. Do amarok shows script menu in settings?

Report

lelamal

6 years ago

Thank you, man! This script is awesome! :)

Report

ZLv

6 years ago

Пожалуйста

Report

amihere007

6 years ago

Hi,

after installing the script and restarting Amarok to load it a window with text "can't find moodbar" appears and the script seems dead (It is checked in a list of scripts but no moodbar generated or script settings shown in the menu).

I use 2.3.90 version on KDE 4.5 RC2, did you try it with this version of Amarok?

Report

ZLv

6 years ago

Try to execute moodbar command. If you don't have this command, try to install this: http://amarok.kde.org/wiki/Moodbar

Report

amihere007

6 years ago

Ups... Sorry for this stupid thread :) I reinstalled system from blank and forget to install moodbar library again... Thanks, now it works correctly for me.

Report

ZLv

6 years ago

Nevermind :) You gave me other small improvements idea, thanks.

Report

krnekit

6 years ago

I have found a bug: if I quit while files are generating, files are left but with zero size, and then moodbar generator not tries to create it again.

Report

ZLv

6 years ago

Updated, thank you. If the updated version works not fine, please let me know. I knew about this bug, but thought, that other bug (that you can't quit amarok, while moodfiles generates) prevent this bug :)

Report

krnekit

6 years ago

Thank you, now it's fixed. I also have caught bug with Amarok don't quits, until mood files generation would be completed.

Report

ZLv

6 years ago

I don't have solution for that yet, hope find it soon

Report

Zorael

6 years ago

It works great for me and successfully created moodbars for all songs in my playlist. However it did them all at once, starting a total of 47 concurrent processes.

Could it perhaps be limited so that only a sane number of moodbars are being generated at any one time? And then when one finishes, it proceeds to the next one.

Report

ZLv

6 years ago

I add process count. How do you think 15 processes is enough? I would be glad if you test new script.

Report

marcing

6 years ago

nice script, I added "nice -n 19" to the moodbar call because with long playlist it made my system too busy (like load over 20).

args = ["-n","19","moodbar","-o", mood, path];
QProcess.startDetached("nice",args);

Report

6 years ago

Now it can't slow down amarok, but need testing because of many changes.
Added russian translation, but it is not work :) (don't know why)

product-maker Etemenanki Sep 28 2014

product-maker msx Apr 02 2013

product-maker hurufu Mar 14 2013

product-maker saabzero Jan 21 2013

product-maker LeonardoXIV Sep 08 2012

product-maker fri Dec 15 2011

product-maker seamanj Oct 13 2011

product-maker pedrolopex5 Sep 21 2011

product-maker dimitarpopov Jun 19 2011

product-maker e1nste1n Jun 14 2011

product-maker spell Jun 13 2011

product-maker irekc May 16 2011

product-maker caidoberco May 13 2011

product-maker malarkannan89 May 05 2011

product-maker trw25 May 01 2011

product-maker nullpointer Apr 17 2011

product-maker gbschenkel Mar 15 2011

product-maker bofhorg Mar 08 2011

product-maker mischi Feb 21 2011

product-maker H00K Jan 25 2011

product-maker mklemenz Jan 24 2011

product-maker lelamal Jan 24 2011

product-maker krnekit Jan 16 2011

product-maker XXXyz Jan 15 2011

product-maker amihere007 Jan 11 2011

product-maker chromatic6 Jan 09 2011

product-maker swiftscythe Jan 08 2011

product-maker SeaJey Jan 08 2011

product-maker Genserowski Jan 07 2011

product-maker MichauSm Jan 04 2011

product-maker aspotashev Dec 20 2010

product-maker PingusPepan Dec 17 2010

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.56
updated Dec 14 2011
added Nov 29 2010
downloads today
0
page views today 1