
Moodbar Generator
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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")
9 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)
9 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)
msx
8 years ago
Thank you!
Report
baby-luck
9 years ago
After generating a mood file, what code will refresh the Playlist so that the moodbar is shown? Moodbars are only read when starting Amarok (2.5.0). Neither "Update Collection" nor "Full Rescan" work.
Report
ZLv
8 years ago
Report
bitcrazy
9 years ago
Actually I've Amarok 2.6 running under KDE 4.8.0. The script throws an error about element "Path.is.empty" or something on startup and no mood files are generated.
Report
bitcrazy
9 years ago
Report
ZLv
9 years ago
Report
bitcrazy
9 years ago
Report
ZLv
9 years ago
Report
ZLv
9 years ago
moodbar "03 - An Cat Dubh.flac" -o ".03 - An Cat Dubh.mood"
on this song: http://disk.tom.ru/mvlm7dl
You can try to enter debug mode of amarok by:
amarok --debug
maybe it'll help
Report
Ninja1980
9 years ago
"Could not create element of type audioconvert, please install it."
I went to the Amarok Wiki to look at which packages are needed for moodbar generation... all the packages in openSuse 12.1 64-bit have been changed from what it recommends. For example, I should have package; gst-plugins-flac installed for flac files... this package does not exist for opensuse 12.1 Do you know of an alternate? I believe this to be a package problem with opensuse 12.1 and your script. So you may have no idea, but I appreciate any help.
Report
ZLv
9 years ago
Report
Ninja1980
9 years ago
.mp3
.ogg
All those files types do not work, same error.
Report
ZLv
9 years ago
Report
Ninja1980
9 years ago
TypeError: Result of expression 'Amarok.Window.SettingsMenu.moodbarSettings' [undefined] is not an object.
Report
ZLv
9 years ago
Ok, I get this error with console too. But why are you running script through amarok script console? Maybe it is better to simply enable script in settings->scripts and start playing songs, then moodbar generate mood files itself.
Report
Ninja1980
9 years ago
I was running it in the console to troubleshoot, because moodbar files were still not being generated and was not receiving an error in Amarok anymore.
Report
ZLv
9 years ago
Ok, now I made checking is url empty.
Can you test this script again, please?
Report
Ninja1980
9 years ago
Report
ZLv
9 years ago
Report
Ninja1980
9 years ago
Report
ZLv
9 years ago
Report
Ninja1980
9 years ago
Amarok version: 2.4.3
KDE version: 4.7.2
OpenSuse 12.1 64-bit
Error:
Script error reported by: Moodbar generator
Qurl:Qurl() could not find a function match; Candidates are: Qurl() Qurl (string url)
Qurl (string url, parsingMode mode) Qurl (Qurl copy)
Report
ZLv
9 years ago
Report
bitcrazy
10 years ago
Report
bitcrazy
10 years ago
Report