Bug 499401 - Add option to maintain pre-4.0 behavior for albums with multiple discs
Summary: Add option to maintain pre-4.0 behavior for albums with multiple discs
Status: RESOLVED FIXED
Alias: None
Product: tellico
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.0.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-01 22:14 UTC by Robby Stephenson
Modified: 2025-02-08 22:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Stephenson 2025-02-01 22:14:43 UTC
From email:

Tellico 4.0 introduced a change to split discs into different tracklists, as reported in bug #479503.  This is a neat feature, and something I struggled with as I began cataloging, but at this point I have over 1300 albums cataloged the "old" way, with all tracks in a single list (I use a comment field to note which tracks belong to which discs).  Converting all of my old albums to the new format is infeasible at this point, and I'd really prefer not to change the format for newer albums, resulting in the extra disc tracklists that are present but empty on all of my other albums (including all of my old multi-disc albums).

This is definitely a useful feature and one I would've used if I was just starting, but would it be possible to add an option to choose whether you want to split your albums into separate track lists or continue using the old single-list format?  That way anyone getting started can leverage the new capability, and users with large existing collections can continue maintaining them without a significant change.
Comment 1 Robby Stephenson 2025-02-08 21:39:06 UTC
Git commit 17045967d67d32050d26295a3f966572738680db by Robby Stephenson.
Committed on 08/02/2025 at 21:35.
Pushed by rstephenson into branch '4.1'.

Add hidden option to collapse multi-disc tracks into single field

This provides the behavior from before Tellico 4.0 and instead of
creating multiple fields for each disc, it collapses all tracks
together.

To enable, open the config file, find the Data Source group for the
Discogs, Musicbrainz or itunes source, and add
Split Tracks By Disc=false
Related: bug 479503
FIXED-IN: 4.1.1

M  +4    -0    ChangeLog
M  +16   -2    src/fetch/discogsfetcher.cpp
M  +1    -0    src/fetch/discogsfetcher.h
M  +15   -1    src/fetch/itunesfetcher.cpp
M  +1    -0    src/fetch/itunesfetcher.h
M  +24   -3    src/fetch/musicbrainzfetcher.cpp
M  +1    -0    src/fetch/musicbrainzfetcher.h
M  +37   -1    src/tests/discogsfetchertest.cpp
M  +1    -0    src/tests/discogsfetchertest.h
M  +24   -0    src/tests/itunesfetchertest.cpp
M  +1    -0    src/tests/itunesfetchertest.h
M  +28   -0    src/tests/musicbrainzfetchertest.cpp
M  +1    -0    src/tests/musicbrainzfetchertest.h

https://invent.kde.org/office/tellico/-/commit/17045967d67d32050d26295a3f966572738680db
Comment 2 Robby Stephenson 2025-02-08 22:08:51 UTC
This can be done via the command-line like so:
1. Note how many data sources you have
$ kreadconfig6 --file tellicorc --key "Sources Count" --group "Data Sources"
2. Then loop over all of them to find the Discogs group (replace X with the number of sources)
$ for i in $(seq 0 X); do echo -n "$i: "; kreadconfig6 --file tellicorc --key Name --group "Data Source $i"; done
3. Then find the number of the Discogs group (replace X with the number), and update the setting
$ kwriteconfig6 --file tellicorc --group "Data Source X" --key "Split Tracks By Disc" false