Bug 493591 - Kid3 Discogs Import Check Boxes Not Working For Multi Disc Albums
Summary: Kid3 Discogs Import Check Boxes Not Working For Multi Disc Albums
Status: RESOLVED FIXED
Alias: None
Product: kid3
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.9.x
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Fleisch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-24 14:56 UTC by Charlie
Modified: 2025-07-24 16:38 UTC (History)
0 users

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


Attachments
attachment-2861450-0.html (2.14 KB, text/html)
2024-09-30 22:00 UTC, Charlie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie 2024-09-24 14:56:38 UTC
Hello

The following is an example;

I am importing track information for a 3 disc album that has a total of 50 tracks.  On my computer the music for each disc has it's own directory.

I open disc 1 in Kid3, I locate the correct album via Discogs, check the track list is good, no problems.
I open disc 2 in Kid3, I locate the correct album via Discogs, at this point the problem is Kid3 checks the disc 2 tracks against the same number of tracks at the top of the track listing, vis-a-vis, the disc 1 tracks.
Unckecking all of the disc 1 tracks and disc 3 tracks makes no difference.  If at this point I click OK, Kid3 imports the disc 1 info only, that's all it ever does.
Same thing happens with disc 3.  Kid3 will only ever import from the top of the list, regardless of whether they are checked or not.

The only current work around, and it is a lot of work around, that I have is to renumber all of the files in the \disc 2 & \disc 3 directories then cut and paste them into the \disc 1 directory.  Open all of the files up at the same time in Kid3, get the Discog data, save all of that, then cut and paste back from \disc 1 to \disc 2 & \disc 3.

Platform - Ubuntu 22.04.05, 
Kid3 - Version 3.9.6

Thanks in advance for any help.

Cheers
Charlie
Comment 1 Urs Fleisch 2024-09-25 14:46:09 UTC
You are right. Tracks can be moved with Ctrl and the left mouse button, but this is not really usable. The check boxes do not seem to work as they should. I will fix this.

Concerning the workaround: I usually make sure that all tracks have the correct disc number in the tags, then I move them all into one directory and rename the files with the format %{discnumber.1}%{track} %{title}, so that they are in the correct order, then I can import. I usually leave them this way because I want them in a single folder. You could use a similar procedure instead of numbering manually.
Comment 2 Charlie 2024-09-25 14:51:48 UTC
Thanks Mate, fixing this problem would be awesome.

Cheers

Charlie



On 25/09/24 08:46, Urs Fleisch wrote:
> https://bugs.kde.org/show_bug.cgi?id=493591
>
> Urs Fleisch <ufleisch@users.sourceforge.net> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>       Ever confirmed|0                           |1
>               Status|REPORTED                    |CONFIRMED
>
> --- Comment #1 from Urs Fleisch <ufleisch@users.sourceforge.net> ---
> You are right. Tracks can be moved with Ctrl and the left mouse button, but
> this is not really usable. The check boxes do not seem to work as they should.
> I will fix this.
>
> Concerning the workaround: I usually make sure that all tracks have the correct
> disc number in the tags, then I move them all into one directory and rename the
> files with the format %{discnumber.1}%{track} %{title}, so that they are in the
> correct order, then I can import. I usually leave them this way because I want
> them in a single folder. You could use a similar procedure instead of numbering
> manually.
>
Comment 3 Urs Fleisch 2024-09-29 15:03:34 UTC
I have implemented the following additon (new text from Kid3 handbook):

If there are more imported tracks than files, for example if the current folder contains only the second disc of a two disc album but the tracks of both discs are imported, it is possible to delete the tracks of the first disc by selecting them by clicking on the row label of the first track, then clicking on the row label of the last track of the first disc while holding down the Shift key, and finally removing the tracks by pressing the Delete key. 

Please test it using kid3-git20240929 from https://sourceforge.net/projects/kid3/files/kid3/development/
Comment 4 Charlie 2024-09-29 21:30:38 UTC
That's awesome Urs.

When I work out, as a novice, how to install it, I'll let you know how 
it worked out.

Cheers

Charlie

On 29/09/24 09:03, Urs Fleisch wrote:
> https://bugs.kde.org/show_bug.cgi?id=493591
>
> --- Comment #3 from Urs Fleisch <ufleisch@users.sourceforge.net> ---
> I have implemented the following additon (new text from Kid3 handbook):
>
> If there are more imported tracks than files, for example if the current folder
> contains only the second disc of a two disc album but the tracks of both discs
> are imported, it is possible to delete the tracks of the first disc by
> selecting them by clicking on the row label of the first track, then clicking
> on the row label of the last track of the first disc while holding down the
> Shift key, and finally removing the tracks by pressing the Delete key.
>
> Please test it using kid3-git20240929 from
> https://sourceforge.net/projects/kid3/files/kid3/development/
>
Comment 5 Urs Fleisch 2024-09-30 14:53:40 UTC
How to install it: Download https://sourceforge.net/projects/kid3/files/kid3/development/kid3-git20240929-Linux.tgz, extract the archive into any folder you like, then start the kid3-qt executable which is included in the extracted folder.
Comment 6 Charlie 2024-09-30 22:00:56 UTC
Created attachment 174245 [details]
attachment-2861450-0.html

Hey Urs

I'm not understanding this.  I right click on the file, run, nothing 
happens.  The file permissions are set correctly to run as executable 
(application/x-executable).  I can also install and run Version 3.9.6. 
without any problems.

I then try to run the file in terminal and get this response;

*/charlie@Lappy:~/Downloads/kid3-git20240929-Linux$ ./kid3-qt
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to 
load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even 
though it was found.
This application failed to start because no Qt platform plugin could be 
initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland, xcb, wayland-egl.

Aborted (core dumped)/*

Clearly I must be missing something.

Any suggestions?

Cheers

Charlie


On 30/09/24 08:53, Urs Fleisch wrote:
> https://bugs.kde.org/show_bug.cgi?id=493591
>
> --- Comment #5 from Urs Fleisch<ufleisch@users.sourceforge.net>  ---
> How to install it: Download
> https://sourceforge.net/projects/kid3/files/kid3/development/kid3-git20240929-Linux.tgz,
> extract the archive into any folder you like, then start the kid3-qt executable
> which is included in the extracted folder.
>
Comment 7 Urs Fleisch 2024-10-01 04:41:45 UTC
Sorry for the trouble, a library seems to be missing. Execute the following command from the command line:

    sudo apt install libxcb-cursor0

Alternatively, if you have a Wayland session, it could be that "./kid3-qt -platform wayland" or "QT_QPA_PLATFORM=wayland ./kid3-qt" also work.

The binary Linux tgz archive is built to be usable by a wide range of Linux distributions, but the downside is that it may be not as easy to use as a package which is specifically tailored for a certain distribution.
Comment 8 Charlie 2024-10-01 16:51:14 UTC
Hi Urs

I have installed the lib and the software is functioning.

I have done a very quick test and it is working as you have described.

I am on the road today heading back up to San Blas from Guadalajara so I 
don't have much time to have a long look at it. That said though, I can 
say from what I've done it's all looking and working great.

Well done and thanks very much for your efforts.

Cheers

Charlie


On 30/09/24 22:41, Urs Fleisch wrote:
> https://bugs.kde.org/show_bug.cgi?id=493591
>
> --- Comment #7 from Urs Fleisch <ufleisch@users.sourceforge.net> ---
> Sorry for the trouble, a library seems to be missing. Execute the following
> command from the command line:
>
>      sudo apt install libxcb-cursor0
>
> Alternatively, if you have a Wayland session, it could be that "./kid3-qt
> -platform wayland" or "QT_QPA_PLATFORM=wayland ./kid3-qt" also work.
>
> The binary Linux tgz archive is built to be usable by a wide range of Linux
> distributions, but the downside is that it may be not as easy to use as a
> package which is specifically tailored for a certain distribution.
>
Comment 9 Urs Fleisch 2025-07-24 16:38:54 UTC
Fixed in version 3.9.7.