Bug 365604 - AutoCatalog of disks
Summary: AutoCatalog of disks
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-13 10:21 UTC by Alexander
Modified: 2016-08-28 18:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2016-07-13 10:21:45 UTC
Hi,

I have good idea about enhancement K3B: AutoCatalog of disks.

Just save (in maximal just, traditional (for *nix) and smart form) filelist of project to some catalog directory (for example ~/CatalogCD) after every successful burning.

Thank You !

Reproducible: Always

Steps to Reproduce:
1. Make project.
2. Successful burn.
3. Add record/file/... in catalog.

Actual Results:  
Empty.

Expected Results:  
Catalog of disks.
Comment 1 Leslie Zhai 2016-07-29 06:40:13 UTC
Hi Alexander,

> 3. Add record/file/... in catalog.

Could you provide a screenshot for this step, I can not understand what you want, thanks a lot!

Regards,
Leslie Zhai
Comment 2 Alexander 2016-07-29 07:57:29 UTC
All more just. Without GUI, but in future may be maked and GUI frontend.
After every success burn of CD in user directory K3B put (for example) new
utf8 text file with list of K3B project.

~/CatalogCD
--- 20160729:NameOfProject1.txt
--- 20160729:NameOfProject2.txt
--- ...

Or in other just, comfortable for programmers, users, in traditional for *nix form.
Comment 3 Alexander 2016-07-29 08:09:42 UTC
More precise:

~/CatalogCD
--- 20160729-11:02:45_NameOfProject1.txt
--- 20160729-11:40:22_NameOfProject2.txt
--- ...

If make GUI (or pair backend/GUI):
it may be extended to add by it already existing disks by scanning it content.
Comment 4 Leslie Zhai 2016-07-29 08:23:12 UTC
K3b rip CD has a debugging output shown as https://pbs.twimg.com/media/CogtrCUUkAAlGXs.jpg

you mean like this? and save the log to ~/CatalogCD?
Comment 5 Alexander 2016-07-29 13:38:18 UTC
Not-not. On proprietary side for example (and more-more other) http://www.wincatalog.com/dvd-catalogue.html , but very more just at first time: LIST of files and directories in every burned project. Not LOG.
Comment 6 Leslie Zhai 2016-08-01 01:36:45 UTC
>  but very more just at first time: LIST of files and directories in every burned project. Not LOG

then the ~/CatalogCD folder will be *HUGE* after several burning projects!?
Comment 7 Alexander 2016-08-16 15:30:55 UTC
I see, that K3B projects (*.k3b) is ZIP archive and in him contained maindata.xml

Very just way for catalog: save it named by currentdatetime.xml in
~/CatalogCD after every success burning.

It not huge, but very small. In K3B options may be checkbox for on/off this catalog.
Comment 8 Leslie Zhai 2016-08-17 01:03:52 UTC
WIP
Comment 9 Leslie Zhai 2016-08-23 01:48:58 UTC
Git commit 285e7da43f98e497280832f6e54f58ab6d0a0833 by Leslie Zhai.
Committed on 23/08/2016 at 01:48.
Pushed by lesliezhai into branch 'master'.

Fix project save as issue.

M  +1    -1    src/k3b.cpp

http://commits.kde.org/k3b/285e7da43f98e497280832f6e54f58ab6d0a0833
Comment 10 Leslie Zhai 2016-08-23 02:03:56 UTC
Git commit cd3ae37ff262d49d75cbc51f89d06493168ebd82 by Leslie Zhai.
Committed on 23/08/2016 at 02:02.
Pushed by lesliezhai into branch 'save-document-data'.

WIP: implementing videodvd save document data

M  +6    -0    libk3b/projects/videodvd/k3bvideodvddoc.cpp
M  +1    -0    libk3b/projects/videodvd/k3bvideodvddoc.h
M  +1    -0    src/k3bprojectmanager.cpp

http://commits.kde.org/k3b/cd3ae37ff262d49d75cbc51f89d06493168ebd82
Comment 11 Leslie Zhai 2016-08-23 06:18:48 UTC
Git commit 00a2b90316fdc257f9248c2e6c3d8ab3405b93da by Leslie Zhai.
Committed on 23/08/2016 at 06:18.
Pushed by lesliezhai into branch 'save-document-data'.

Fix project save as issue.

M  +2    -4    src/k3b.cpp
M  +6    -11   src/k3bprojectmanager.cpp

http://commits.kde.org/k3b/00a2b90316fdc257f9248c2e6c3d8ab3405b93da
Comment 12 Leslie Zhai 2016-08-23 07:18:53 UTC
Hi Alexander,

Let's make it simply: adding current_datetime for *.k3b's maindata.xml http://commits.kde.org/k3b/dbbcafb843ad8fabcbad0f1b9d8db538f75e2db1

NO ~/CatalogCD but standard project *.k3b.

And I will add file lists into videodvd's doc just like datacd's https://github.com/KDE/k3b/blob/master/libk3b/projects/datacd/k3bdatadoc.cpp#L684

Regards,
Leslie Zhai
Comment 13 Alexander 2016-08-28 18:32:56 UTC
Thank You !!!