Bookmark

Amarok 1.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

0
Score 50%
Description:

This script bookmarks the index of the file you are currently playing and resumes at this position when restarting amaroK.
It also allows you to bookmark the position in the current playlist, the current volume, the status of 'repeat mode', 'random mode' and equalizer (with the playlist) into a seperate file.

To use this script you need kdialog (part of kde) or Xdialog (available from http://xdialog.dyns.net)
(kdialog works, but usability is better with Xdialog)
And it is nice to have md5sum as well (should be on most computers).

Just right click on any item of the current playlist and dive into the "Bookmark" submenu to access the script.

Last changelog:

13 years ago

Changelog for v1.3
+Added: Ability to determine whether the playlist at startup is still the same as the one when quitting.
Changelog for v1.22
+Fixed: Amarok 1.4.5 only appended playlists
+Fixed: Problem when loading a paused playlist
Changelog for v1.21
+Fixed: A zombie-process was left when killing amarok (which probably saved wrong data as well)
Changelog for v1.2
+Added support for kdialog
+Fixed a bug which caused bookmark to use up lots of cpu if bad config-file was present (thanks to P. Woelfel)
+Added ability to save dynamic mode
Changelog for v1.11
+Added a status check of amarok when saving.
+Fixed: amaroK sometimes forgets to send SIGTERM, so child process was not killed and saved garbage.
Changelog for v1.1
+Added the ability to reload state of volume, random mode, repeat mode and equalizer
Changelog for v1.01
+Fixed: The autosaving every x seconds didn't work, now it does.
+Fixed: Accidently turned off the automatic resume at restart
Changelog for v1.0
+Added the ability to change the interval.
+Added the ability to bookmark the current playlist

H1bakusha

11 years ago

Thats what i need

Report

kobewan

11 years ago

It looks like the newer versions of amaroK (I have 1.4.5) kind of 'break' this script. Instead of replacing your playlist with the bookmarked playlist, it will append it. Luckily, this is very easy to fix. All you have to do is:

1. Open up amaroK's Script Manager.
2. Right-click on Bookmark and select 'Edit'.
3. Scroll down to the very bottom of the file which opens. Almost at the very end, you will see a line which reads like this:
amarok "$bookmarktemp/current.xml"

You need to replace that line with:

amarok -l "$bookmarktemp/current.xml"

And that's it! Restart amaroK and it should work just like you wanted it to.

Report

C

xhoch3

11 years ago

I updated the script, it should work now. But I couldn't use your solution the -l option doesn't work with my version. The playlist is cleared when loading a bookmark now.

Report

Khan

12 years ago

This is EXACTLY what I was looking for. Very handy when listening to Audio books in Amarok.

Report

logixoul

13 years ago

Unimaginably useful; thanks a million!

Report

psn

13 years ago

Why not kdialog instead of xdialog?

Report

C

xhoch3

13 years ago

When I started I didn't know about kdialog.
Now I do, but there is a problem, the help text in the config dialog doesn't work with kdialog.
I planned to introduce kdialog support with the next version anyway (Should be end of this week/beginning of next week)

Report

C

xhoch3

13 years ago

I just checked kdialog's output and of course it behaves differently than (X)dialog, so it may take some more time since I have to rewrite the whole i/o procedure for kdialog.

Report

BorgQueen

13 years ago

Keep it up. Thanks.

Report

BorgQueen

13 years ago

Thanks

Report

13 years ago

Changelog for v1.3
+Added: Ability to determine whether the playlist at startup is still the same as the one when quitting.
Changelog for v1.22
+Fixed: Amarok 1.4.5 only appended playlists
+Fixed: Problem when loading a paused playlist
Changelog for v1.21
+Fixed: A zombie-process was left when killing amarok (which probably saved wrong data as well)
Changelog for v1.2
+Added support for kdialog
+Fixed a bug which caused bookmark to use up lots of cpu if bad config-file was present (thanks to P. Woelfel)
+Added ability to save dynamic mode
Changelog for v1.11
+Added a status check of amarok when saving.
+Fixed: amaroK sometimes forgets to send SIGTERM, so child process was not killed and saved garbage.
Changelog for v1.1
+Added the ability to reload state of volume, random mode, repeat mode and equalizer
Changelog for v1.01
+Fixed: The autosaving every x seconds didn't work, now it does.
+Fixed: Accidently turned off the automatic resume at restart
Changelog for v1.0
+Added the ability to change the interval.
+Added the ability to bookmark the current playlist

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
1.22
updated Apr 17 2007
added Jan 23 2006
downloads today
0
page views today 4
System Tags addon