I've compiled Apollo under RH 7.3 without KDE support.
It starts, but it doesn't play - the title of the
window shows the current song, the button "stop"
becomes available, but the position bar doesn't move,
and I don't hear anything. I had configured path to
mpg123. I've used both mpg321 shipped with RH 7.3 and
compiled mpg123 v. 0.59r. I don't see mpg123/mpg321 in
process list.
Logged In: NO
I have exactly the same problem !
Logged In: YES
user_id=1184
mpg123 0.59r is somewhat broken when it comes to song
position. You may see the Apollo position scroller act weird
with that mpg123 version. Possibly not moving at all. This is a
known issue and documented here:
http://sourceforge.net/docman/display_doc.php?
docid=1938&group_id=14011
mpg321 is supposed to be compatible with mpg123.
However, last time I tried (a long time ago), it didn't work to
use mpg321 with Apollo.
If you can't see mpg123 in the process list, it means Apollo
failed to start it for some reason. Where do you have
mpg123? And I guess it plays fine when you use by itself?
Did you configure Apollo to use the same path? Try to do
that, close Apollo and start it again. Also try clicking
on "Respawn player" in one of the menus.
Logged In: NO
Hi! The player looks cool, but sadly I have this problem,
too! The path to mpg123 is correctly entered in the config,
but no process comes up if I press Play. Any new ideas for this?
Logged In: YES
user_id=198526
I'll have a look at this in the weekend, in the meantime you
can help fix this if you want:
1) in qmmpg123.h set m_NeedNewline to true
2) in qmmpg123.cpp:
- comment out: m_Needline = true
- comment back in the line below: // cout << "Version:
" << read_buffer << endl;
3) recompile
If it doesn't work, try with m_NeedNewline to false.
If either works, send us whats printed out after "Version: "
along with the correct value of m_NeedNewline.
Logged In: NO
kyllingstad, I've tried setting m_NeedNewline to true and
false, but it still doesn't play and it doesn't print a
"Version:" string.
Logged In: YES
user_id=198526
So much for posting before morning coffee. If it doesn't
show up in the process list something went wrong in
mMpg123Player::init, defined in qmmpg123player.cpp.
Try printing out the complete args[] before the execvp call
(you'll need to move the dup2/close block of code to between
your print out and the execvp call so that it's printed to
the shell), something like this:
for (int i=0; args[i] != 0; ++i) {
printf("arg %d: %s\n", i, args[i]);
}
Does the output look reasonable?
-- Ren
Logged In: NO
Hmmm... I see nothing. Finally, I did
int
QmMpg123Player::init()
{
printf("QmMpg123Player::init() invoked\n");
...
and I did not see that string in output!
Logged In: YES
user_id=198526
ai ai ai. Try adding -D_WS_X11_ to the CXXFLAGS and CFLAGS
lines in the Makefile (or even better add _WS_X11_ in the
unix:DEFINES section of apollo.pro, re-run configure.sh, and
check that it ended up in the Makefile), or just add #define
_WS_X11_ in QmMainWindow::startPlayer. Thanks for helping out.
-- Ren
Logged In: YES
user_id=1184
So, did this fix the problem? Please let us know.
Logged In: YES
user_id=159421
I took a quick look.
It appears that _WS_X11_ is not defined in qmmainwindow.cpp
and thus the
lines:
#ifdef _WS_X11_
#ifdef ENABLE_MPG123
QmMpg123Player *p2 = new QmMpg123Player;
fprintf(stderr,"QmMpg123Player created\n");
rc = p2->init();
are not compiled in and no mpg123 process is created.
When I explicitly defined _WS_X11_ in the makefile, I get:
---
g++ -c -pipe -Wno-ctor-dtor-privacy -O2 -DENABLE_MPG123
-DOS_UNIX -DAPOLLO_USE_STL -DUSING_QT3 -DENABLE_ID3
-DNO_DEBUG -D_WS_X11_ -I/usr/lib/qt3-gcc2.96/include -o
obj/main.o main.cpp
In file included from
/usr/lib/qt3-gcc2.96/include/qtoolbar.h:42,
from
/usr/lib/qt3-gcc2.96/include/qmainwindow.h:43,
from qmmainwindow.h:32,
from main.cpp:49:
/usr/lib/qt3-gcc2.96/include/qdockwindow.h:83: parse error
before `2'
/usr/lib/qt3-gcc2.96/include/qdockwindow.h:83: missing ';'
before right brace
---
and lots of other errors.
This is on a stock Redhat 7.3 system.
I'm too ignorant of Qt and C++ to really dig in.
-Mike
mwgrenier@yahoo.com
Logged In: YES
user_id=198526
Hi,
try this:
http://www.apolloplayer.org/tmp/apollo-src-1.4.3-1.tar.gz
-- Ren
Logged In: YES
user_id=641884
mariuss: yes, #define _WS_X11_ in
QmMainWindow::startPlayer has fixed the problem.
kyllingstad: v. 1.4.3 works properly. BTW, in
http://www.apolloplayer.org/images/apollo1.4-1.png there
is a context menu, but I don't have any context menu by
pressing right button on a song in a playlist. Should I
spawn a bug report for it?
Logged In: YES
user_id=198526
Hmm, not having a playlist context menu is just bizarre. Do
you have a context menu in the directory browser? Do
right-clicking in xev say that button 3 has been pushed?
-- Ren
Logged In: YES
user_id=641884
No, I don't have menu in the directory browser.
I have it while pressing right button on an empty space or
on a tree lines, but I have no menu while pressing button
on the song, folder or playlist.
I have Apollo compiled without KDE
support, tried both with and without STL support.
What is xev?
Logged In: YES
user_id=198526
I don't get it, and am not sure how to debug this without
stepping through the running program to see what happens. Sorry.
xev is a program that dumps X11 Events, so it opens a window
and all info on any keypress/mouse movement directed at that
window will be printed out to the shell. But if you have a
right-click menu in other contexts, mouse configuration
should not be the problem.
-- Ren
Logged In: YES
user_id=1184
Qt did change a little from 2 to 3 on how it deals with
context sensitive popup menus. In Qt 3 there is a separate
method for this. I changed this in Apollo to match the new
functions.
This is just an idea. I'll have to look into it.
Logged In: YES
user_id=198526
As far as I can see we still use qpopupmenu::popup, which
should work for both (2nd argument has changed semantics
slightly, but that shouldn't matter). It works for me with
Qt2.3.x.
-- Ren
Logged In: NO
I have the same problem. mpg123 will play the files fine
when run seperately. Inside apollo, however, it seems it
isn't finding mpg123 (the edited path is correct)
Logged In: YES
user_id=198526
Even this apollo:
http://www.apolloplayer.org/tmp/apollo-src-1.4.3-1.tar.gz
?
-- Ren
Logged In: NO
i've emerged it via gentoo but have the same problem, mpg123
runs fine...
Logged In: YES
user_id=777354
I had the same problem: Apollo 1.4.2-1 compiled w/o any
problem, but didn't play anything.
I found, out the problem was in qmmainwindow.cpp round about
line 1341. I just commented
out the two #ifdef's (ENABLE_MPG123 and _WS_X11_). Maybe the
problem has something to do
with QT3 where _WS_X11_ should be Q_WS_X11_...
Logged In: YES
user_id=1040050
Hi, tried the 1.4.3-1 version and i am happy to inform that
it runs perfectly under
Slackware 9.1, kernel 2.6.6 with ALSA, with QT3.3.1 .
I searched for such a player for months and now it is here.
Simple, playlist, sound. Excelent.
If you need any help with for example translation i will
help you.
I can translate to Czech.
Logged In: YES
user_id=1040050
Oh, i should say that there should be a link in download for
the 1.4.3.-1 version as the newest one can get if searching
via google is the non functional (on my configuration) 1.4.2
version...