Registered Member
|
Hello,
I am using Amarock 2.6.0 under KDE 4.9.3 and Fedora 17. The "feature" I would like to change is the behavior that automatically begins playing the playlist when I open up Amarock. Instead, I would like to be able to open up Amarock without it automatically starting to play music. Once Amarock is opened, I would prefer to start playing the playlist myself, from whatever point of my choosing. As it is now, it just starts playing whether I want it to or not. Is there any way I can stop Amarock from automatically starting to play the playlist when I open the application? Thanks! |
Manager
|
is settings -> configure Amarok -> playback -> resume playback on start checked?
|
Registered Member
|
No, it is unchecked. Additionally, the songs start playing from the beginning of the song. The song that plays when I open the application is the last song that I was listening to when it was shut down. |
Manager
|
If "Resume playback on start" is not set, then this is likely a problem with the phonon backend, which one and which version do you use?
Or do you use some 3rd-party script that could trigger that? FWIW, I can't reproduce this here at all. PS. I changed all the titles to the correct spelling Amarok, without a c, else the thread will not be searchable.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Not that I am aware of (I have not intentionally installed any script). The version for Phonon is listed as: "Phonon GStreamer backend 4.6.2"
Thank you for that data point. I did set the "Resume playback on start" bit and restartee Amarok, but it has no change on any behavior.
Thanks! |
Manager
|
It might be a good idea to erase the old configuration data located in $HOME/.kde/share/config/ (might be $HOME/-kde4/share/config/ on some systems) and try again, Of course the option "Resume playback on start" has to be disabled in the settings if you don't want it to resume.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Thanks again Mamarok, that gives me something to play around with.
|
Registered Member
|
I wanted to post a follow up to this thread, as I have discovered by Amarok automatically started playing songs when I opened it.
It is kind of embarrasing what was causing this, so please do not be overly vociferous when directing your laughter in my general direction. The reason that Amarok was automatically playing my song was because the application launcher used the following syntax to launch Amarok:
Kinda simple, and something I should have noticed. On a related note, what is the purpose of the "%U" in that command line? I see it a lot, and despite finding references to this, I still cannot fathom what it is there for. Thanks! |
Manager
|
from techbase.kde.org Development/Tutorials/Creating Konqueror Service Menus http://techbase.kde.org/Development/Tut ... vice_Menus
|
Registered Member
|
Yes, as I stated I have seen that explanation, but reading it more times does not make it any more clear. Thanks anyway, though.
|
Manager
|
edit the app launcher and remove the "%u", then run it and see what happens |
Registered Member
|
No difference at all, which is why I was originally wondering what it was there for. |
Manager
|
Please check your settings in "Playback", you probably have the option "resume playback on start" activated.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Looking through http://standards.freedesktop.org/deskto ... 01s06.html, it appears that the "%U" is to tell a "file manager or program launcher" to pass on a URL, or multiple URLs as command-line arguments to Amarok. I think this is what makes it possible to launch applications from files or URLs by clicking on them (or possibly by right-clicking on them and bringing up the service-menu list, depending on your desktop setup). |
Administrator
|
That is correct. %U is referring to multiple urls as a possibility, while %u limits it to passing a single url. %F and %f do the same for local files only (with multiple and single files respectively).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]