Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Exaile - new audio player, similar to Amarok, but for Gtk+
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
doman
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2006
Posts: 84
Location: Poland, Wrocław/Wałbrzych

PostPosted: Thu Jun 08, 2006 8:08 pm    Post subject: Exaile - new audio player, similar to Amarok, but for Gtk+ Reply with quote

Hello :)

I don't see anything about Exaile on forum, so i place information here :)
I think some people, who prefers, want to test it - today latest version is 0.2beta, but it's quite stable - i listen to a music on it for a few hours and it works ;)
Exaile - it is nice, small but functional audio player written in wxPython. It can fetching album art and lyrics, take information about album/artist from wikipedia, have last.fm support and more...

To install it on your Gentoo, you must emerge all dependencies (requirements are on site) from portage:
Code:
emerge -av mutagen python gstreamer wxpython pymad pyogg pysqlite imaging mutagen gst-plugins-good dbus

Then download source from site - http://www.exaile.org/files/exaile-0.2b.tar.gz
Next:
Code:
tar -xvvzf exaile-0.2b.tar.gz && cd exaile_0.2b && make && make install

Then as user, just:
Code:
exaile

It should open something like this:
[IMG]http://img342.imageshack.us/img342/695/exaile15pn.th.jpg[/IMG]

Try it, maybe you like it as much as i do ;)

Maybe somebode can do an ebuild for this .... :P


Last edited by doman on Thu Jun 08, 2006 10:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Thu Jun 08, 2006 8:53 pm    Post subject: Reply with quote

wow, that looks promising :]

i don't think the ebuild would be too hard to make, unless there are some bugs with compilation.
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Jun 09, 2006 12:11 am    Post subject: Reply with quote

I'm almost done with the ebuild.. Hopefully it works.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Jun 09, 2006 12:21 am    Post subject: Reply with quote

Ok try this ebuild: http://distfiles.evolution-mission.org/portage/exaile-0.2b.ebuild

Edit: If you have already downloaded it before this edit, please redownload.
Back to top
View user's profile Send private message
jarealist
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 228

PostPosted: Fri Jun 09, 2006 2:25 am    Post subject: Reply with quote

Thanks for the ebuild.

I had to install media-plugins/gst-plugins-gconf as it complained about no "gconfaudiosink" and would not start. Okay after that.

***** You can safely ignore the above error.
Error reading settings file, using defaults.
Traceback (most recent call last):
File "/usr/bin/exaile", line 1918, in ?
main()
File "/usr/bin/exaile", line 1908, in main
exaile = ExaileWindow(fr)
File "/usr/bin/exaile", line 109, in __init__
media.set_audio_sink(self.settings.get('audio_sink', 'Use GConf'
File "/usr/share/exaile/xl/media.py", line 59, in set_audio_sink
audio_sink = gst.parse_launch("gconfaudiosink")
gobject.GError: no element "gconfaudiosink"
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Jun 09, 2006 2:34 am    Post subject: Reply with quote

Updated the ebuild.. I was only going by the requirements page.. Thanks for that find though.
Back to top
View user's profile Send private message
jarealist
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 228

PostPosted: Fri Jun 09, 2006 3:53 am    Post subject: Reply with quote

Plays my mp3 files just fine but not able to connect to a stream. Suspect it has something to do with it
not connecting to dbus. Dbus is compiled with the "python" use flag so must be missing something else.

~ $ exaile
***** You can safely ignore the above error.
Could not connect to dbus session bus. dbus will be unavailable.
loading songs
mmkeys are available... running gtk.main()
Back to top
View user's profile Send private message
aVirulence
Apprentice
Apprentice


Joined: 07 Feb 2006
Posts: 170

PostPosted: Fri Jun 09, 2006 11:50 am    Post subject: Reply with quote

Hi, nesl247 thanks for your ebuild. I noticed one mistake: >=media-plugins/gst-libs-gconf-0.10 should be >=media-plugins/gst-plugins-gconf-0.10.

Thanks :)
Back to top
View user's profile Send private message
aVirulence
Apprentice
Apprentice


Joined: 07 Feb 2006
Posts: 170

PostPosted: Fri Jun 09, 2006 12:38 pm    Post subject: Reply with quote

Another thing, a bit more important I guess.. I'm getting a segmentation fault when starting Exaile. Any idea what I can do about this?
Back to top
View user's profile Send private message
simkin
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 164

PostPosted: Fri Jun 09, 2006 1:46 pm    Post subject: Reply with quote

ebuild:
Code:
   >=media-libs/gst-plugins-gconf-0.10

>=media-plugins/gst-plugins-gconf-0.10

thanks ;)
Back to top
View user's profile Send private message
doman
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2006
Posts: 84
Location: Poland, Wrocław/Wałbrzych

PostPosted: Fri Jun 09, 2006 2:08 pm    Post subject: Reply with quote

I'm glad to here that ebuild was made so quick:)
I try it, but only with next release :P

aVirulence wrote:
I'm getting a segmentation fault when starting Exaile. Any idea what I can do about this?

Did you install by ebuild or by "my way" ?
Did you try to rm -r .exaile ?
Is the same situation on root and user ?
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Jun 09, 2006 2:30 pm    Post subject: Reply with quote

aVirulence wrote:
Hi, nesl247 thanks for your ebuild. I noticed one mistake: >=media-plugins/gst-libs-gconf-0.10 should be >=media-plugins/gst-plugins-gconf-0.10.

Thanks :)


Where do you see this? I just double checked the ebuild..

No problem for making it for you guys. And as far as the seg fault, it isn't the problem with the ebuild.. Have to remember, this is beta software (according to their site)
Back to top
View user's profile Send private message
aVirulence
Apprentice
Apprentice


Joined: 07 Feb 2006
Posts: 170

PostPosted: Fri Jun 09, 2006 4:04 pm    Post subject: Reply with quote

nesl247 wrote:
aVirulence wrote:
Hi, nesl247 thanks for your ebuild. I noticed one mistake: >=media-plugins/gst-libs-gconf-0.10 should be >=media-plugins/gst-plugins-gconf-0.10.

Thanks :)


Where do you see this? I just double checked the ebuild..

No problem for making it for you guys. And as far as the seg fault, it isn't the problem with the ebuild.. Have to remember, this is beta software (according to their site)


Oops, I meant media-libs/gst-plugins-gconf-0.10 should be media-plugins/gst-plugins-gconf-0.10
Back to top
View user's profile Send private message
aVirulence
Apprentice
Apprentice


Joined: 07 Feb 2006
Posts: 170

PostPosted: Fri Jun 09, 2006 4:19 pm    Post subject: Reply with quote

Quote:

aVirulence wrote:
I'm getting a segmentation fault when starting Exaile. Any idea what I can do about this?

Did you install by ebuild or by "my way" ?
Did you try to rm -r .exaile ?
Is the same situation on root and user ?

[/quote]
.exaile isn't even created before it segfaults and I tried both root and user. Any tracebacks I can do?
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Jun 09, 2006 4:29 pm    Post subject: Reply with quote

Ebuild updated to fix the problem.
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Fri Jun 09, 2006 7:57 pm    Post subject: Reply with quote

fails on amd64:

Code:

cc `pkg-config --libs gtk+-2.0 pygtk-2.0` -shared mmkeyspy.o mmkeys.o mmkeysmodule.o -o mmkeys.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: mmkeyspy.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
mmkeyspy.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [mmkeys.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/exaile-0.2b/work/exaile_0.2b/mmkeys'
make: *** [mmkeys.so] Error 2

!!! ERROR: media-sound/exaile-0.2b failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  exaile-0.2b.ebuild, line 43:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

_________________
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Sat Jun 10, 2006 7:57 am    Post subject: Reply with quote

jarealist wrote:
Plays my mp3 files just fine but not able to connect to a stream. Suspect it has something to do with it
not connecting to dbus. Dbus is compiled with the "python" use flag so must be missing something else.

~ $ exaile
***** You can safely ignore the above error.
Could not connect to dbus session bus. dbus will be unavailable.
loading songs
mmkeys are available... running gtk.main()


a have the same problem with dbus apps. the problem is that dbus does not provide any session by default in gentoo.

add this to the beginning of your .xinitrc (if you use startx to launch an X session), or to your startup scripts
Code:
dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
  eval `$dbuslaunch --sh-syntax --exit-with-session`
fi

_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
jarealist
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 228

PostPosted: Mon Jun 12, 2006 5:18 am    Post subject: Reply with quote

yoshi314 wrote:

Quote:
add this to the beginning of your .xinitrc (if you use startx to launch an X session), or to your startup scripts
Code:

dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval `$dbuslaunch --sh-syntax --exit-with-session'
fi


Thanks for your reply, but that's script is already part of dbus-0.61-r1 "/etc/X11/xinit/xinitrc.d/30-dbus" that I have installed,
So must be something else.
Back to top
View user's profile Send private message
aVirulence
Apprentice
Apprentice


Joined: 07 Feb 2006
Posts: 170

PostPosted: Mon Jun 12, 2006 10:20 am    Post subject: Reply with quote

aVirulence wrote:
Another thing, a bit more important I guess.. I'm getting a segmentation fault when starting Exaile. Any idea what I can do about this?


Yay, I found out what the problem was: I had to downgrade libsdl. It seems there are some problems with wxwidgets applications and the latest libsdl version. VLC segfaulting was also solved.
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Mon Jun 19, 2006 9:15 pm    Post subject: Reply with quote

Hi guys,

great program. Even though i was only able to see it once so far...
The first time after installing it it crashed. I tried it again, it worked and took some time to read my files. It wasn't able to play anything though. It kind of said it did, but then i didn't hear anything and the slider and time didn't move at all. Now when i start it, it says this:

Code:
samuel@stradivari ~ $ exaile
/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py:13155: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
***** You can safely ignore the above error.
Could not connect to dbus session bus.  dbus will be unavailable.
loading songs
Traceback (most recent call last):
  File "/usr/bin/exaile", line 1918, in ?
    main()
  File "/usr/bin/exaile", line 1908, in main
    exaile = ExaileWindow(fr)
  File "/usr/bin/exaile", line 189, in __init__
    self.collection_panel.LoadTree()
  File "/usr/share/exaile/xl/panels.py", line 473, in LoadTree
    self.__AppendInfo(self.root, songs)
  File "/usr/share/exaile/xl/panels.py", line 511, in __AppendInfo
    parent = self.tree.AppendItem(parent, info)
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_controls.py", line 5490, in AppendItem
    return _controls_.TreeCtrl_AppendItem(*args, **kwargs)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 10: ordinal not in range(128)


Any help is appreciated, as i don't want to bloat my install by using KDE-apps!!!

thanks a lot
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
Coltie
Guru
Guru


Joined: 22 Apr 2005
Posts: 305
Location: N 46° 7' 26.7" E 7° 6' 11.2"

PostPosted: Wed Sep 06, 2006 7:56 pm    Post subject: Reply with quote

looks great!!!

But won't work at all... :-(

Whent I start exaile, it ends with

/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py:13155: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
Traceback (most recent call last):
File "/usr/bin/exaile", line 28, in ?
from xl import *
File "/usr/share/exaile/xl/tracks.py", line 18, in ?
import common, media, db
File "/usr/share/exaile/xl/media.py", line 22, in ?
import pygst
ImportError: No module named pygst

Don't know what to do!

I tried to emerge gst-plugins gconf, python-gst wxpython... nothing got it work yet...

Anyway, hope this program will be once in portage... amarok in gtk should rock!!!
_________________
Unreleased Kollektiv
"If by noise you mean uncomfortable sound, then pop music is noise to me."
Masami Akita
Back to top
View user's profile Send private message
Pablo_Escobar
n00b
n00b


Joined: 15 Mar 2006
Posts: 25
Location: Poznan, Poland

PostPosted: Thu Sep 07, 2006 3:13 pm    Post subject: Reply with quote

Coltie

Exaile is in the portage, and I must say that I'm impressed by it :)
_________________
emerge -C signature
Back to top
View user's profile Send private message
Coltie
Guru
Guru


Joined: 22 Apr 2005
Posts: 305
Location: N 46° 7' 26.7" E 7° 6' 11.2"

PostPosted: Thu Sep 07, 2006 3:54 pm    Post subject: Reply with quote

Hi!

Exaile is in portage? Well searching exaile via the web page of portage doesn't give any anser... :?

I got it work with the help of this link: http://www.exaile.org/forum/thread/34

Thank's anyway!

PS: Yes, happy to use amarok in gtk too!
_________________
Unreleased Kollektiv
"If by noise you mean uncomfortable sound, then pop music is noise to me."
Masami Akita
Back to top
View user's profile Send private message
Pablo_Escobar
n00b
n00b


Joined: 15 Mar 2006
Posts: 25
Location: Poznan, Poland

PostPosted: Fri Sep 08, 2006 8:29 am    Post subject: Reply with quote

Coltie,

My bad, exaile is in the sunrise, and i was mislead by it showing in the eix results :)
Glad You made it to work.
_________________
emerge -C signature
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Fri Sep 08, 2006 6:56 pm    Post subject: Reply with quote

Heres a slightly updated ebuild for 0.2.3 (just had to change the workdir slightly)

If anyones running gnome 2.16 please let me know as im trying to trace down the cause of a segfault when trying to add new folders to the library and i want to rule out the new gtk/pygtk libs as causes.

Code:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils toolchain-funcs

DESCRIPTION="Exaile is a media player aiming to be similar to KDE's AmaroK, but for GTK"
HOMEPAGE="http://www.exaile.org"
SRC_URI="http://www.exaile.org/files/${PN}_${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=dev-lang/python-2.4
      >=dev-python/pygtk-2.0"
RDEPEND="${DEPEND}
      >=dev-python/pysqlite-2
      >=media-libs/gstreamer-0.10
      >=media-libs/gst-plugins-good-0.10
      >=dev-python/gst-python-0.10
      >=media-libs/mutagen-1.6
      sys-apps/dbus"

S=${WORKDIR}/${PN}_${PV}

pkg_setup() {
   if ! built_with_use sys-apps/dbus python; then
      eerror "dbus has to be built with python support"
      die "dbus python use-flag not set"
   fi
}

src_unpack() {
   unpack ${A}
   cd "${S}"
   sed -i \
      -e '/mutagen/d' \
      Makefile || die "sed failed"
}

src_compile() {
   emake CC=$(tc-getCC) || die "emake failed"
}

src_install() {
   emake DESTDIR="${D}" install || die "emake install failed"
}

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum