Registered Member
|
Hi :-)
Is it possible to set the volume name of a data session per command line option? I know I can start a new data project and add files per command line, but the volume name is automatically set. Alternatively: (how) can I set the volume name via dbus call? The background is I wand to write a shell script that automates parts of burning all files in a given directory.
is a fine start, but I have to change the volume name manually. Thanks in advance for all advice! |
Administrator
|
While i'm afraid no command line option exists, you can use the following D-Bus call to do this.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
After starting a new data project with
it does not work:
Seems like /projects does not exist at all:
|
Administrator
|
That is odd - did you wait for K3b to fully startup and create the new data project? I tested it by creating a data project through the user interface.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
It doesn't matter if I start a new data session by hand or via the command line editor. The out put of "qdbus org.k3b.k3b" is the same as I posted above. There's no /projects.
If there _should_ be /projects/0, perhaps this is a Gentoo specific problem? Currently, there's only one version of K3B provided by Portage (Gentoo's package manager), it's 2.0.2-r4, where the -r4 stands for patches against the Version 2.0.2. But 2.0.2 seems to be the latest version anyway, isn't it? |
Administrator
|
Hm, my system appears to have K3b 2.0.80 - could you try building the latest development code for K3b to see if that makes a difference?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I'd love to, but where is the source code? http://k3b.org/ lists only 2.0.2, as http://k3b.kde.org/ does … http://websvn.kde.org/tags/k3b/ even stops at 2.0.1 …
[UPDATE] Okay, I found git://anongit.kde.org/k3b – I think this is something comparable to svn trunk, but I don't know git at all (yet). I checked out the sources and built them without a problem on my box. Running this version, I actually can access /projects/0 as you described, "qdbus org.k3b.k3b /projects/0 setVolumeID 'Volume Name You Want'" does work with this version. I think Gentoo should update their K3B ebuilds! Thanks for the help! |
Administrator
|
Not a problem. I can confirm that git://anongit.kde.org/k3b, 'master' branch is the latest development code (ie. comparable to svn trunk).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
So, is there any "tagged" version for 2.0.80? Where do the other distributions get the source package? I'm about to file a bug in Gentoo's Bugzilla about this.
|
Administrator
|
The version number 2.0.80 suggests that it is development (alpha) software. Unfortunately, i'm not sure of the status of K3b development, so it is possible that a 2.1 release will not be happening soon.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]