Bug 285677

Summary: An Unpleasant bug about volume
Product: [Applications] amarok Reporter: Jaime Torres <jtamate>
Component: PlaybackAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bcooksley, fabo, germano.massullo, jb, martin.sandsmark, myriam
Priority: NOR    
Version First Reported In: 2.5-git   
Target Milestone: 2.6   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The log asked. You can see there how the volume goes (unasked) from 5 to 50

Description Jaime Torres 2011-11-03 18:43:26 UTC
Version:           2.4-GIT (using Devel) 
OS:                Linux

When Amarok tries the remote streaming and fails to connect, reproduces the local .mp3 but the volume goes 100%, without modifying the volume bar.
It only happens when the remote streaming is the last in the playlist.

I must click on the volume gear to have my previous volume.

Reproducible: Always

Steps to Reproduce:
In a playlist with only two items:
A local .mp3 file
A remote http streaming source rarely reachable..

try to reproduce the remote streaming without success.

Actual Results:  
volume up to 100%

Expected Results:  
same volume as before

OS: Linux (x86_64) release 3.1.0-rc9-1-desktop
Compiler: gcc-4.6
Comment 1 Myriam Schweingruber 2011-11-03 21:16:21 UTC
Which Phonon backend do you use? Could you please try alterantively the phonon-backend-gstreamer or phonon-backend-vlc and see if that changes?
Comment 2 Jaime Torres 2011-11-04 15:12:09 UTC
I use phonon-vlc.
Can not reproduce with phonon-gstreamer, because when the streamer can not be reproduced, nothing else is reproduced until I press stop and play again, then the local file is played.
Comment 3 Myriam Schweingruber 2011-11-05 14:39:38 UTC
After asking in #kde-multimedia, reassigning to the phonon-backend-vlc
Comment 4 Harald Sitter 2011-11-05 22:21:18 UTC
what version of phonon, phonon-vlc and vlc?

FWIW, I cannot reproduce the issue here.
Comment 5 Jaime Torres 2011-11-06 08:54:46 UTC
phonon-vlc 0.4.55 (from git)
vlc 1.1.12
Comment 6 Harald Sitter 2011-11-06 09:35:37 UTC
Hm, exactly my setup too :/

Please get us a debug log of at least the song before the last song and the last song, up until you change the volume manually.
http://techbase.kde.org/Development/Tutorials/Debugging/Phonon#Environment_Variables
Comment 7 Jaime Torres 2011-11-07 16:44:35 UTC
Created attachment 65354 [details]
The log asked. You can see there how the volume goes (unasked) from 5 to 50

You can see there are three volume changes in the log file.
The first from 5 to 5 (no idea)
The second from 5 to 50 is the bad one
The third from 50 to 5 is done by pressing the volume bar.
Comment 8 Jaime Torres 2011-11-14 19:43:53 UTC
I forgot to change the status..
Comment 9 Harald Sitter 2012-02-11 19:23:44 UTC
Oh yes, you should totally use PulseAudio.
Comment 10 Harald Sitter 2012-02-11 19:51:02 UTC
I am reasonable certain it has to do with amarok reinitalizing phonon but apparently not (re)setting the volume. Phonon defaults to a volume of 1.0 (0db, 100% in amarok) which gets applied by phonon vlc as expected.
Comment 11 Myriam Schweingruber 2012-05-01 22:16:01 UTC
Harald: isn't this the same bug as bug 298569?
Comment 12 Jaime Torres 2012-05-02 09:14:20 UTC
@Myriam: I guess you pasted the wrong bug number. A bug about ktorrent?
Comment 13 Myriam Schweingruber 2012-05-02 13:06:06 UTC
Yes, indeed, sorry for that, I meant bug 296589
Comment 14 Myriam Schweingruber 2012-09-12 09:16:24 UTC

*** This bug has been marked as a duplicate of bug 296589 ***