You are not logged in.
Pages: 1
Ever since I upgraded to 4.4 I can't make any new mood files for my collection. When I use the script from the amarok wiki I get the error:
[af@andre ~]$ cd Music
[af@andre Music]$ sh moodbar.sh
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24002 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24006 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24010 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24014 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24018 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24022 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24026 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24030 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24034 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24038 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24042 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24046 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24050 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24054 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24058 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24062 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 24066 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 3845 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
**
GStreamer:ERROR:gst.c:580:init_pre: assertion failed: (g_thread_get_initialized ())
moodbar.sh: line 20: 5131 Afbrudt (SIGABRT) moodbar -o "$OUTF" "$i"
Anybody else having issues making mood files with moodbar? Old mood files work fine in amarok though.
Offline
try to run amarok with xine backend; i guess it works well on kde (kdemod)
Offline
Nope doesn't help.
Regards
André
Offline
i have this problem too, i'll look into it and post here if i find sth..
tuxador> this isn't problem with amarok ![]()
Last edited by Marvn (2010-02-15 11:52:50)
Offline
ok, i tried to rebuild moodbar, but with no effect
btw. i don't think this is related to kde in any way, imo it's broken after saturday's gstreamer upgrade
[2010-02-13 08:31] upgraded gstreamer0.10 (0.10.25-1 -> 0.10.26-1)
[2010-02-13 08:31] upgraded gstreamer0.10-base (0.10.25-1 -> 0.10.26-1)
[2010-02-13 08:31] upgraded gstreamer0.10-base-plugins (0.10.25-1 -> 0.10.26-1)
[2010-02-13 08:31] upgraded gstreamer0.10-good (0.10.17-2 -> 0.10.18-1)
[2010-02-13 08:31] upgraded gstreamer0.10-good-plugins (0.10.17-2 -> 0.10.18-1)i guess that we have to wait for new version of gstreamer/moodbar or downgrade these pkgs
Last edited by Marvn (2010-02-15 14:08:57)
Offline
I missed that gstreamer also was updated. I think I'll make a bug report over at arch for gstreamer.
Offline
Do you use kdemod's (old) amarok or arch's amarok?
Offline
Here is the link to the bug report I made on arch
http://bugs.archlinux.org/task/18341?pr … &sort=desc
seems like it is an issue with gstreamer and some changes that where made recently.
@ChemBro: I use the latest amarok meaning version 2.2.2.
Offline
ok, from this bugreport
Moodbar should be patched. In analyzer/main.c on line 264, before the call to g_option_context_new(), you should add "g_thread_init(NULL);" to fix this bug. Please file the bug upstream at moodbar also, as it's not doing things correct.
so i've edited source, recompiled and moodbar works again here. you can do as i did, or just wait until aur packager will make patch and include it in PKGBUILD
Last edited by Marvn (2010-02-15 17:41:59)
Offline
I maintain the package in AUR. If someone wants to help me fix the package that would be great. I'm not very strong in C++.
Offline
I've created a patchfile based on the posts above. You can add it to your AUR package. Please note, i haven't tested if the above fix works.
Offline
ok, PKGBUILD
pkgname=moodbar
pkgver=0.1.2
pkgrel=6
pkgdesc="moodbar binaries and script for Amarok"
arch=(i686 x86_64)
url="http://pwsp.net/~qbob/"
license=('GPL')
depends=('gstreamer0.10' 'fftw' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-ugly-plugins' 'gstreamer0.10-ffmpeg' 'gstreamer0.10-base-plugins')
makedepends=('pkgconfig' 'make')
source=("http://pwsp.net/~qbob/${pkgname}-${pkgver}.tar.gz"
"analyzer.patch")
md5sums=('28c8eb65e83b30f71b84be4fab949360'
'9d21887785ed95f3deb25c1fe56d8a4d')
build() {
# patch -Np1 -i "${srcdir}/analyzer.patch" || return 1
cd $startdir/src/${pkgname}-${pkgver}
cp ../analyzer.patch .
patch -p1 -i analyzer.patch || return 1
./configure --prefix=`pkg-config --variable=prefix gstreamer-0.10` || return 1
make || return 1
make DESTDIR="$startdir/pkg/" install || return 1
}and analyzer.patch
*** a/analyzer/main.c 2010-02-15 20:13:47.000000000 +0100
--- b/analyzer/main.c 2010-02-15 17:31:55.000000000 +0100
***************
*** 262,267 ****
--- 262,268 ----
GOptionContext *ctx;
GError *err = NULL;
+ g_thread_init(NULL);
ctx = g_option_context_new ("[INFILE] - Run moodbar analyzer");
g_option_context_add_group (ctx, gst_init_get_option_group ());
g_option_context_add_main_entries (ctx, entries, NULL);it's kinda dirty and as i see, late...but enjoy if you wish ![]()
Last edited by Marvn (2010-02-15 20:33:26)
Offline
Fixed the package with the analyzer patch! Many thanks to both hash ans Marvn.
Offline
Offline
You have to make the mood files first, as Amarok no longer tells moodbar to generate them.
http://amarok.kde.org/wiki/Moodbar#Mood … ion_Script
There are scripts here (for single core and mulit-core CPU) that will make the .mood files for you.
Offline
Pages: 1