Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Tijl Coosemans
On Wed, 13 Aug 2014 15:25:50 +0300 Raphael Kubo da Costa wrote:
 Matthias Apitz g...@unixarea.de writes:
 El día Wednesday, August 13, 2014 a las 11:20:14AM +0200, Adriaan de Groot 
 escribió:
 On Monday 11 August 2014 10:42:33 Matthias Apitz wrote:
 KsCD sees the tracks on the audio CD but when I press PLAY, only a
 banner is running '01 - Unknown title'; the time is shown as '00:00'
 without any updating and ofc no audio comes out.

 The same still applies inKDE 4.12.5; kscd does detect the drive and disc 
 (and
 uses musicbrainz to find track info), but play just scrolls the title of 
 track
 1 at time 00:00.
 
 [...]
 
 It might come down to an issue in Phonon, though. Or in the gstreamer 
 backend.
 The KsCD code seems to just call play() on a Phonon media object, which
 delegates it down to the backend.
 
 I've experienced it here too, and it's a problem in either GStreamer
 itself or phonon-gstreamer: Dragon Player had the same problem playing
 an audio CD, and both Dragon and KSCD worked perfectly with the VLC
 backend (multimedia/phonon-vlc), so that's the easiest way to solve the
 problem at the moment.

What gstreamer plugins do you have installed?  I think you need
audio/gstreamer-plugins-cdparanoia to play an audio CD.  You probably
also need read access to /dev/cd0.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Matthias Apitz
El día Thursday, August 14, 2014 a las 10:53:17AM +0200, Tijl Coosemans 
escribió:

  I've experienced it here too, and it's a problem in either GStreamer
  itself or phonon-gstreamer: Dragon Player had the same problem playing
  an audio CD, and both Dragon and KSCD worked perfectly with the VLC
  backend (multimedia/phonon-vlc), so that's the easiest way to solve the
  problem at the moment.
 
 What gstreamer plugins do you have installed?  I think you need
 audio/gstreamer-plugins-cdparanoia to play an audio CD.  You probably
 also need read access to /dev/cd0.

I have had read access to /dev/cd0.
After installing audio/gstreamer-plugins-cdparanoia KsCD is playing
fine. Thanks for the hint.

Maybe, kmultimedia should have it as a dependency.

matthias

-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Tijl Coosemans
On Thu, 14 Aug 2014 12:22:04 +0300 Raphael Kubo da Costa wrote:
 Matthias Apitz g...@unixarea.de writes:
 After installing audio/gstreamer-plugins-cdparanoia KsCD is playing
 fine. Thanks for the hint.

 Maybe, kmultimedia should have it as a dependency.
 
 Glad it's finally working.
 
 I'm not sure kdemultimedia is the right place for this dependency -- it
 shouldn't be necessary if one's using the VLC backend and possibly
 doesn't even have phonon-gstreamer installed. Perhaps the right place is
 phonon-gstreamer itself.

Yes, you can replace USE_GSTREAMER=yes there with USE_GSTREAMER=cdparanoia 
core.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Alberto Villa
Hello there!

On Thu, Aug 14, 2014 at 12:40 PM, Tijl Coosemans t...@freebsd.org wrote:
 On Thu, 14 Aug 2014 12:22:04 +0300 Raphael Kubo da Costa wrote:
  I'm not sure kdemultimedia is the right place for this dependency -- it
  shouldn't be necessary if one's using the VLC backend and possibly
  doesn't even have phonon-gstreamer installed. Perhaps the right place is
  phonon-gstreamer itself.

 Yes, you can replace USE_GSTREAMER=yes there with USE_GSTREAMER=cdparanoia 
 core.

Then you should do it for any other plugin, that's why
phonon-gstreamer has an optional dependency on gstreamer-plugins-all,
and mentions it in pkg-message (by the way, I see the logic for
showing it has now changed - I think it should depend on the option
being off). The problem is that people don't read that (and pkg(8)
doesn't show pkg-messages!)...
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Tijl Coosemans
On Thu, 14 Aug 2014 13:12:16 +0200 Alberto Villa wrote:
 On Thu, Aug 14, 2014 at 12:40 PM, Tijl Coosemans t...@freebsd.org wrote:
 On Thu, 14 Aug 2014 12:22:04 +0300 Raphael Kubo da Costa wrote:
 I'm not sure kdemultimedia is the right place for this dependency -- it
 shouldn't be necessary if one's using the VLC backend and possibly
 doesn't even have phonon-gstreamer installed. Perhaps the right place is
 phonon-gstreamer itself.

 Yes, you can replace USE_GSTREAMER=yes there with USE_GSTREAMER=cdparanoia 
 core.
 
 Then you should do it for any other plugin, that's why
 phonon-gstreamer has an optional dependency on gstreamer-plugins-all,
 and mentions it in pkg-message (by the way, I see the logic for
 showing it has now changed - I think it should depend on the option
 being off). The problem is that people don't read that (and pkg(8)
 doesn't show pkg-messages!)...

Maybe just remove the option?  IMHO, the package should just pull in a
core set of plugins that makes the KDE environment work.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Alberto Villa
On Thu, Aug 14, 2014 at 3:09 PM, Tijl Coosemans t...@freebsd.org wrote:
 Maybe just remove the option?  IMHO, the package should just pull in a
 core set of plugins that makes the KDE environment work.

IIRC, there were Phonon users who didn't want it to install plugins as
they were not using KDE. x11/kde4-workspace might be a better place
for this (it's already installing core plugins as their absence would
make KDE startup hang).

-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Tijl Coosemans
On Thu, 14 Aug 2014 15:13:15 +0200 Alberto Villa wrote:
 On Thu, Aug 14, 2014 at 3:09 PM, Tijl Coosemans t...@freebsd.org wrote:
 Maybe just remove the option?  IMHO, the package should just pull in a
 core set of plugins that makes the KDE environment work.
 
 IIRC, there were Phonon users who didn't want it to install plugins as
 they were not using KDE. x11/kde4-workspace might be a better place
 for this (it's already installing core plugins as their absence would
 make KDE startup hang).

Ah, ok, if workspace already pulls in gstreamer plugins then that's
probably the best place to add cdparanoia.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Adriaan de Groot
On Thursday 14 August 2014 10:53:17 Tijl Coosemans wrote:
  I've experienced it here too, and it's a problem in either GStreamer
  itself or phonon-gstreamer: Dragon Player had the same problem playing
  an audio CD, and both Dragon and KSCD worked perfectly with the VLC
  backend (multimedia/phonon-vlc), so that's the easiest way to solve the
  problem at the moment.
 
 What gstreamer plugins do you have installed?  I think you need
 audio/gstreamer-plugins-cdparanoia to play an audio CD.  You probably
 also need read access to /dev/cd0.

That was the easiest -- in the end -- fix for a weird problem I've ever had. 
Thanks, Tijl.

[ade] (now listening to a Kyteman CD thanks to this)
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-14 Thread Adriaan de Groot
On Thursday 14 August 2014 22:10:13 Adriaan de Groot wrote:
 [ade] (now listening to a Kyteman CD thanks to this)

Well, listening to the first track over and over again, because it doesn't seem 
to go to the next track except manually and it returns to track position 1 at 
the end of every song. So there's still weird things going on, but there's 
*some* audio.

[ade]
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-13 Thread Adriaan de Groot
On Monday 11 August 2014 10:42:33 Matthias Apitz wrote:
 KsCD sees the tracks on the audio CD but when I press PLAY, only a
 banner is running '01 - Unknown title'; the time is shown as '00:00'
 without any updating and ofc no audio comes out.

The same still applies inKDE 4.12.5; kscd does detect the drive and disc (and 
uses musicbrainz to find track info), but play just scrolls the title of track 
1 at time 00:00.

The eject button *does* work, though :)

You can get the configure dialog by right-clicking on the KsCD application; 
there's a context menu with 'configure shortcuts' and 'configure'.

It might come down to an issue in Phonon, though. Or in the gstreamer backend. 
The KsCD code seems to just call play() on a Phonon media object, which 
delegates it down to the backend.

[ade]
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-13 Thread Matthias Apitz
El día Wednesday, August 13, 2014 a las 11:20:14AM +0200, Adriaan de Groot 
escribió:

 On Monday 11 August 2014 10:42:33 Matthias Apitz wrote:
  KsCD sees the tracks on the audio CD but when I press PLAY, only a
  banner is running '01 - Unknown title'; the time is shown as '00:00'
  without any updating and ofc no audio comes out.
 
 The same still applies inKDE 4.12.5; kscd does detect the drive and disc (and 
 uses musicbrainz to find track info), but play just scrolls the title of 
 track 
 1 at time 00:00.
 
 The eject button *does* work, though :)
 
 You can get the configure dialog by right-clicking on the KsCD application; 
 there's a context menu with 'configure shortcuts' and 'configure'.
 
 It might come down to an issue in Phonon, though. Or in the gstreamer 
 backend. 
 The KsCD code seems to just call play() on a Phonon media object, which 
 delegates it down to the backend.

I'm not esp. keen in having audio CD on FreeBSD, but is it worth to file
a bug report (and if so where)? I do not have KDE on, for example, Linux to
check if it works there.

Thanks for your feedback in any case.


matthias
-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-13 Thread Raphael Kubo da Costa
Matthias Apitz g...@unixarea.de writes:

 El día Wednesday, August 13, 2014 a las 11:20:14AM +0200, Adriaan de Groot 
 escribió:

 On Monday 11 August 2014 10:42:33 Matthias Apitz wrote:
  KsCD sees the tracks on the audio CD but when I press PLAY, only a
  banner is running '01 - Unknown title'; the time is shown as '00:00'
  without any updating and ofc no audio comes out.

 The same still applies inKDE 4.12.5; kscd does detect the drive and disc (and
 uses musicbrainz to find track info), but play just scrolls the title of 
 track
 1 at time 00:00.

[...]

 It might come down to an issue in Phonon, though. Or in the gstreamer 
 backend.
 The KsCD code seems to just call play() on a Phonon media object, which
 delegates it down to the backend.

I've experienced it here too, and it's a problem in either GStreamer
itself or phonon-gstreamer: Dragon Player had the same problem playing
an audio CD, and both Dragon and KSCD worked perfectly with the VLC
backend (multimedia/phonon-vlc), so that's the easiest way to solve the
problem at the moment.

 I'm not esp. keen in having audio CD on FreeBSD, but is it worth to file
 a bug report (and if so where)? I do not have KDE on, for example, Linux to
 check if it works there.

If you're not in the mood for trying to debug it yourself, I'd say file
a bug against phonon-gstreamer to let the developers know what's going
on.

 Btw: When HAL is not running, KsCD just SIGSEGV on press PLAY.

Same thing here. This is https://bugs.kde.org/show_bug.cgi?id=265597,
and I think the code has been buggy like that since 2008 (git commit
376c5cec). It's very easy to see why it's crashing (if no optical drive
is detected when KSCD is started it sets a NULL pointer that is later
dereferenced when one of the buttons is pressed, and when HAL is not
running Solid is unable to detect the optical drive), but KSCD has been
unmaintained for almost as long. If anyone feels like fixing the code,
that would be good, but it's not something I intend to do myself at
least.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-13 Thread Matthias Apitz
El día Wednesday, August 13, 2014 a las 03:25:50PM +0300, Raphael Kubo da Costa 
escribió:

  The KsCD code seems to just call play() on a Phonon media object, which
  delegates it down to the backend.
 
 I've experienced it here too, and it's a problem in either GStreamer
 itself or phonon-gstreamer: Dragon Player had the same problem playing
 an audio CD, and both Dragon and KSCD worked perfectly with the VLC
 backend (multimedia/phonon-vlc), so that's the easiest way to solve the
 problem at the moment.

I have installed multimedia/phonon-vlc; what I have to do to make KsCD
use this backend? Pls, do not say I have to recompile any KDE stuff :-)

  I'm not esp. keen in having audio CD on FreeBSD, but is it worth to file
  a bug report (and if so where)? I do not have KDE on, for example, Linux to
  check if it works there.
 
 If you're not in the mood for trying to debug it yourself, I'd say file
 a bug against phonon-gstreamer to let the developers know what's going
 on.

No, I have to many other things to hunt down. I will file a report.
Thx

matthias
-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE4: KsCD not playing tracks

2014-08-13 Thread Raphael Kubo da Costa
Matthias Apitz g...@unixarea.de writes:

 El día Wednesday, August 13, 2014 a las 03:25:50PM +0300, Raphael Kubo da 
 Costa escribió:

  The KsCD code seems to just call play() on a Phonon media object, which
  delegates it down to the backend.
 
 I've experienced it here too, and it's a problem in either GStreamer
 itself or phonon-gstreamer: Dragon Player had the same problem playing
 an audio CD, and both Dragon and KSCD worked perfectly with the VLC
 backend (multimedia/phonon-vlc), so that's the easiest way to solve the
 problem at the moment.

 I have installed multimedia/phonon-vlc; what I have to do to make KsCD
 use this backend? Pls, do not say I have to recompile any KDE stuff
 :-)

Nope, just go to System Settings - Multimedia - Audio and Video
Settings, and in the Backend tab choose the VLC backend as the preferred
one.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information