Bug 179248 - Juk doesnt skip to next number, and replays the same number, when pressing next.
Summary: Juk doesnt skip to next number, and replays the same number, when pressing next.
Status: RESOLVED FIXED
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: 3.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-01 01:57 UTC by Wesley Velroij
Modified: 2009-08-25 05:09 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen-shot of settings from various applications. (221.09 KB, image/png)
2009-08-25 05:03 UTC, Anirudh Zala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wesley Velroij 2009-01-01 01:57:36 UTC
Version:           3.2 (using 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221)), Project Neon)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-9-generic

When I want to skip  to next number in Juk, it repeats, the song playing on that moment.

See the screencast for more info, i play a song, i want to skip to next song, but instead that i get the given action its replays the song that was playing.

http://www.mediafire.com/?kiyonj3njd9

Screencast
Comment 1 Javier Jardon 2009-01-11 17:26:29 UTC
Kubuntu tracker: https://bugs.launchpad.net/kdemultimedia/+bug/316046
Comment 2 Wesley Velroij 2009-01-12 16:54:32 UTC
Comfirmed in Juk Version 3.1.1 in OSX 10.5.6
Comment 3 Georg Grabler 2009-01-25 05:59:14 UTC
I can confirm this one.

Reproduce:
1.) Open JuK
2.) Select a track in the playlist
3.) Press "Play"
4.) Press "Next"

The same song will always be played. I'll try to get this fixed.
Comment 4 Georg Grabler 2009-01-25 06:00:47 UTC
Oh, before you ask Mr. Pyne, yes, phonon-xine ofc :D
Comment 5 Michael Pyne 2009-01-25 06:07:38 UTC
Confirmed based on multiple confirmation reports.
Comment 6 Michael Pyne 2009-01-25 06:12:18 UTC
This is one bug I've never seen, Georg, what distro do you run JuK from?  And are you using distribution packages or Subversion-compiled JuK?
Comment 7 Georg Grabler 2009-01-25 06:34:40 UTC
Hi,

I'm using JuK on Arch Linux using kdemod as a kde distribution, 4.2.0 distribution packages.

I just checked out the current trunk of juk and compiled it - there this bug seems to be fixed.
Must have been one of the recent commits, about two weeks ago I still had this one in trunk.
Comment 8 Michael Pyne 2009-02-05 20:18:45 UTC
I'd be interested to know if this bug still occurs in 4.2 branch.  Most changes from /trunk have been backported except for a large PlayerManager refactor.  If the bug still exists in 4.2 then I'll backport that as well.  Otherwise I'll close this bug the next time I notice under the assumption that it is fixed.
Comment 9 Wesley Velroij 2009-02-05 21:01:27 UTC
Its still in 4.2 I can confirm that, and i can confirm its fixed in 4.3 trunk.
Comment 10 nigel hollick 2009-03-10 10:07:31 UTC
Mine slightly different

select track-play
next track in list plays mute
following track plays normal
then next track plays mute
etc

mute tracks seem to be playing in background but mute as slider moves and track info is indicated.

same in amarok.
Comment 11 Georg Grabler 2009-03-11 10:10:59 UTC
@Above: This all should be fixed with KDE 4.2.1 (JuK Version 3.2.2).
Comment 12 nigel hollick 2009-03-11 10:45:22 UTC
Just two more points.

Tried to find a way to reduce the length of the fade out but either missed how to do it or there is no option. I tried to do this as it seemed to me that the track fades out into the following track and is not triggered to fade up till the then next following track. Clicking on the track that is playing mute restarts the track which then plays fine.

I like juk and it would be my music player of choice but for this
Comment 13 Georg Grabler 2009-03-11 10:57:45 UTC
Nigel, which JuK Version are you using? I know of all the bugs you describe, but they've been fixed in the latest version by Michael.

For the fade-in and fade-out: There is no option for this at the moment, the values are hardcoded in the JuK source (playermanager). If you'd like to see that in JuK (though, Michael even thought about dropping the crossfade completely as well), you can add a feature request for the option.
Comment 14 Carsten Schlipf 2009-05-02 14:13:38 UTC
With KDE 4.2.2 it works for me. Seems to be fixed.
Comment 15 Georg Grabler 2009-05-12 13:00:36 UTC
The fix introduced bug https://bugs.kde.org/show_bug.cgi?id=189386 as it seems.
Comment 16 Anirudh Zala 2009-08-24 07:20:23 UTC
This bug has appeared again. I am not able to Play next/previous songs. Whenever I press "Next/Previous" while any song is playing, I get following message from Phonon "The audio playback device HDA Intel (ALC268 Analog_ doesn't work. Falling back to ."

Then again when I play Previous/Next song plays. So it is seems that Alternative songs are being played only. This happens even automatically when playing song is about to end and next song is going to start during fading time.

I have this problem on 3 machines with different architectures however with same version of OS and Software as shown below:

Kde: 4.2.4-2.fc10
Kdemultimedia 4.2.4-1.fc10
Phonon: 4.3.1-6.fc10
Phonon-backend-xine: 4.3.1-6.fc10

Sound system works perfectly with other players like Audacious, Mplayer etc. I have also figured out that problem is not just in Juk, when other applications try to play sound simultaneously, I get above error message from Phonon. For example when Juk is playing a song, when I Empty trash, I get above message because Emptying trash action needs to play sound but since Juk is playing song on it above messages appears.
Comment 17 Georg Grabler 2009-08-24 12:44:40 UTC
Sounds as if your sound system is blocked by some sound daemon. I'm not sure which OpenSuSE uses (pulse?).

I've had this problem with esound as well once.

@Michael: You've a OpenSuSE box as I know, can you check this?
Comment 18 Anirudh Zala 2009-08-24 14:08:49 UTC
I think sound is blocked by KDE/Phonon/Xine itself i.e on of the KDE application/library. All non-KDE application works perfectly while accessing sound system simultaneously by various applications.

Btw, I am on Fedora10, 32 bit and I use "yum" to keep my machines upto date. Till now I have updated my all machines with latest stable software available in Fedora and other repositories.

On one of the machines where above problems exist, I updated software from "update-testing" repositories which installed all KDE 4.3* related software. After that 1st problem is solved i.e "while pressing Next/Previous button sound goes" but 2nd remains i.e "When Juk automatically goes to play Next song sound goes".

Let me know if you need more information. I am not expert on Linux hence I consider myself at Middle level.
Comment 19 Michael Pyne 2009-08-25 02:28:55 UTC
Anirudh: Do you use PulseAudio (or rather, I guess, does Fedora 10 use it?)  I'm willing to bet that the rest of your sound works because it uses PulseAudio but Xine is not outputting sound through PulseAudio but trying to go directly to the soundcard.

For most people even in that case it would still work as the sound card drivers nowadays include the "dmix" sound mixer by default.  Perhaps Fedora 10 disables that as well?
Comment 20 Anirudh Zala 2009-08-25 05:03:30 UTC
Created attachment 36427 [details]
Screen-shot of settings from various applications.
Comment 21 Anirudh Zala 2009-08-25 05:09:03 UTC
Comment on attachment 36427 [details]
Screen-shot of settings from various applications.

As you can see in this screenshot that All applications are using Alsa as sound system.

PulseAudio exists only as part of dependency library for some application, otherwise it is not used anywhere.