Bug 60272

Summary: A nero-like cover editor should be included
Product: [Applications] k3b Reporter: Rafael Rodriguez <rafael.rodriguez.tf>
Component: generalAssignee: k3b developers <k3b>
Status: CONFIRMED ---    
Severity: wishlist CC: ralf, teknopaul, zhaixiang
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rafael Rodriguez 2003-06-23 15:49:08 UTC
Version:           0.9 (using KDE 3.1.9)
Compiler:          gcc version 3.3 (Debian)
OS:          Linux (i686) release 2.4.20

That's it... When you have your k3b music selection, printing the cover could be as easy as clicking a button... So a cover editor shows up with the songs you selected ready to be printed.
Comment 1 Dominik Stadler 2003-09-02 09:22:06 UTC
For KDE this could mean to call the separate application KCDLabel with the
CD-Title information.
Comment 2 Nick Shaforostoff 2003-10-17 18:01:28 UTC
what about integration with kover (label-printing program)
For example, all titles of audo cd could be saved in kover format.
And then opened in kover for printing.
Comment 3 Thibaut Cousin 2003-11-09 23:57:47 UTC
If some user input may help, I find Kover much nicer to use, but it needs some serious redesign before it can be integrated like that. Most importantly, the size of the text inside the frame as displayed on screen does not correspond to the size it has on paper.

So I'm all for this wish item, but I prefer to wait a bit more and have a reliable solution.

Thank you for your attention!
Comment 4 Raga Prong 2004-08-09 15:04:33 UTC
How about having a freely configurable Tools Menu that allows invoking extern calls from the Menu? Put an entry there like "kover /tmp/k3b.k3b" and providing that file automatically could do!

If you find wishes like: display folders' size within project, please vote for them :)

Regards
Raga
Comment 5 Raga Prong 2005-01-07 17:00:41 UTC
Today, I tried again to print out the contents of a Data CD-Rom.
1. Opening project file from Kover 2.95 didn't show any contents.
   Selecting "File Mode" brought a dialogue "choose wise"
   and nothing else (didn't get to import anything)
2. KCDLabel (2.12) can't import k3b sessions at all!
   Importing file names from /dvd/ didn't work.

At the moment I have to state that the easiest way to print out your CD
contents is:

ls -d1 /dvd/ >file.txt

and paste this file into a 12x12 cm rectangle in OpenOffice Writer :((
Comment 6 Peter Bittner 2005-12-26 02:19:03 UTC
It looks like there is no CD/DVD cover creator application around for KDE which is actively maintained. Kover (http://lisas.de/kover/) has been released last time 21 Sep 2003, KCDLabel (http://kcdlabel.sourceforge.net/) is yet older. Other non-KDE apps exist, but none is comparable to what Nero can offer to the user for easy cover creation.

What about merging Kover (including KCDLabel's idea of printing the round CD label too) with K3b's development tree?

The most important service to offer is fast, almost automatic or semi-automatic creation of CD/DVD covers and labels based on the music or video titles stored in the K3b project file. Downloading cover images from Amazon (like amaroK does it) would be nice. For data CDs a list of included files or a directory tree could be taken to create an index. The user should be able to modify the (semi-) automatically created cover afterwards.

Anyone already working on this or a similar idea?
Comment 7 oneforall 2006-02-20 00:16:55 UTC
I like glabels 
Comment 8 Sebastian Trueg 2006-02-20 11:03:00 UTC
me, too. All they need is K3b integration. ;)
Comment 9 Christoph Burger-Scheidlin 2006-09-22 17:50:19 UTC
*** Bug 115888 has been marked as a duplicate of this bug. ***
Comment 10 Michael Veeck 2007-03-12 15:53:08 UTC
The only actively maintained cover-editor I could find was KoverArtist:

http://kde-apps.org/content/show.php?content=38195

Alas, no homepage is given so information about the app is quite sparse. Just for personal information: What data could K3B export?

Comment 11 Kai Herlemann 2007-07-31 04:55:25 UTC
Yes, with Lightscribe
Comment 12 Kai Herlemann 2007-07-31 05:21:30 UTC
Sorry, my last comment was stupid. LightScribe is not Cover. It gives here that Bug: https://bugs.kde.org/votes.cgi?action=show_bug&bug_id=131965 .
Comment 13 James F. Mason 2007-09-26 01:04:49 UTC
Note: Kover was recently updated (July '07)... apparently the project is still alive!

http://lisas.de/kover/changelog.php3
Comment 14 Georg Sauthoff 2007-09-29 14:54:32 UTC
well, the latex template, which is used by cdcover and disc-cover produce high quality cd covers. Perhaps k3b could generate some simple tex code and let generate postscript from it ...

Best regards
Georg Sauthoff
Comment 15 ralfgesellensetter 2014-04-17 20:53:05 UTC
I am following this bug quite a while, and maybe I may make some suggestions, based on my last findings:

1.) Kover: If you unzip the xml file in a k3b project, kover will be able to import this file, but only displays the top level (folders) of your data project, no files if they are not in root directory.

2.) Alas, I cannot just copy and paste files listed in k3b project (as I can from file browsers like dolphin; this could be one wish.

3.) In most cases, the fastest and best solution for data CD projects is: arrange left window pane with directories in a way to get a good impression of your CD contents: i.e. open some folders to display subfolders, leave others closed, until you get a rectangular view. Then use ksnapshot and print contents or copy contents to Writer.

This leads to:
- Either implement am export2 text/pdf/print method for the left project pane;
- Or, indeed, try to establish some toolchain to have XML project file piped to some piece of software that can print out trees of nodes...

Cheers.
Ralf
Comment 16 teknopaul 2016-08-20 21:09:05 UTC
Anyone finding this , the following script converts a .k3b saved MP3 CD image file to an Inkscape compatible .svg file for printing.  A bit of SVG hacking is required to tune the output.
You might want to fiddle the image size, I print smaller than CD size for insert slips in a CD case.
Also might provide some hints for how to easily implement this feature in K3B.

Save as  k3btosvg.sh  in a ~/bin directory.


#!/bin/bash -e
#
# Create an Inkscape SVG file from a K3B saved disk.
#
# K3B saved disk format is a zipped XML file with a list of the files 
# including, thankfully, the expanded title an author from a MP3 files.
#
# Bit hacky, potentially breaks if the K3B XML writing code changes.
#

SRC="$1"

if [ "$SRC" == "" ] ; then
    echo "Usage: $0 [k3b filename]"
    exit 1
fi

#
# cd to the file's directory first
#
cd $(dirname "$SRC")

#
# Make a temp dir extract the k3b file.
#
mkdir .tmp
cp "$SRC" ".tmp/$SRC.out"
cd .tmp
unzip "$SRC.out" >/dev/null

#
# Extract the file title and artist from the XML.
#
cat maindata.xml | egrep  'title|artist' | sed ':a;N;$!ba;s/\n/ /g' | sed 's/<\/artist>/<\/flowPara>\n/g' > maindata.txt
sed -i 's/<title>/<flowPara>/g' maindata.txt
sed -i 's/<\/title>/ - /g' maindata.txt
sed -i 's/<artist>//g' maindata.txt

#
# Show the user what we found
#
cat maindata.txt

#
# Create ain inkscape compatible CD cover file.
#
echo '
<svg xmlns="http://www.w3.org/2000/svg"
     width="343pt"
     height="340pt"
     version="1.1">
    <g>
        <rect style="fill:none;stroke:#000000;stroke-width:0.12253583"
              width="335.02722" height="370.02722" x="48.736393" y="34.361393" ry="0">
        </rect>
        <flowRoot style="font-size:12px;line-height:125%;color:#000000;font-family:Sans">
            <flowRegion>
                <rect width="335.02722" height="370.02722" x="54.375" y="35" />
            </flowRegion>
' > "../$SRC.svg"

cat maindata.txt              >> "../$SRC.svg"

echo '
	</flowRoot>
  </g>
</svg>
' >> "../$SRC.svg"

#
# Open inkscape
#

inkscape "../$SRC.svg" &

#
# Clean up the extracted files
#
cd ..
rm .tmp/*
rmdir .tmp
Comment 17 Leslie Zhai 2016-08-26 04:33:51 UTC
WIP