# \#source-code

**URL:** https://community.metabrainz.org/tag/source-code/831.md

[Latest](https://community.metabrainz.org/latest.md) · [Categories](https://community.metabrainz.org/categories.md) · [Tags](https://community.metabrainz.org/tags.md)

---

## [AI and open source: Should we now move out of GitHub](https://community.metabrainz.org/t/ai-and-open-source-should-we-now-move-out-of-github/815176)

<div class="topic-metadata">

**Author:** [@jesus2099](https://community.metabrainz.org/u/jesus2099)\
**Replies:** 2\
**Last updated:** [July 1, 2026, 8:27am UTC](https://community.metabrainz.org/t/ai-and-open-source-should-we-now-move-out-of-github/815176 "2026-07-01T08:27:11Z")

</div>

Should we move our repos out of GitHub and into an owned repo, behind Anubis (AI crawler protection)? I guess GitHub Copilot is using our benevolent human written code and commits for its own development and benefits. I…

---

## [Sum of certain Column Values?](https://community.metabrainz.org/t/sum-of-certain-column-values/454964)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 5\
**Last updated:** [January 27, 2020, 9:40am UTC](https://community.metabrainz.org/t/sum-of-certain-column-values/454964 "2020-01-27T09:40:04Z")

</div>

For whatever reason this code: elif column == 'tracknumber': return self.metadata\['totaltracks'\] As you see the 7 in the “Unclustered Files” line is the sum of the tracks in that cluster, as is the 17, w…

---

## [Column Data Visible on One Side Only - Open Ticket or No? PICARD-1248](https://community.metabrainz.org/t/column-data-visible-on-one-side-only-open-ticket-or-no-picard-1248/447773)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 5\
**Last updated:** [December 12, 2019, 5:32pm UTC](https://community.metabrainz.org/t/column-data-visible-on-one-side-only-open-ticket-or-no-picard-1248/447773 "2019-12-12T17:32:30Z")

</div>

I realize that I’m in uncharted territory with some of this… but given what’s happening, I’d imagine this should work… I’ve added columns to the main window. Some data is does not show on both sides. Some of which I do…

---

## [Current File Size?](https://community.metabrainz.org/t/current-file-size/453338)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 4\
**Last updated:** [December 11, 2019, 6:13pm UTC](https://community.metabrainz.org/t/current-file-size/453338 "2019-12-11T18:13:39Z")

</div>

There’s internal variables for \_filename, \_dirname, \_extension… I’m contemplating a \_filesize for viewing in a column. The file/directory name values appear to be set in file.py… If I were to figure out how to do the …

---

## [Where in the Source Code are the Graphic icons handled?](https://community.metabrainz.org/t/where-in-the-source-code-are-the-graphic-icons-handled/447842)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 5\
**Last updated:** [December 11, 2019, 4:30pm UTC](https://community.metabrainz.org/t/where-in-the-source-code-are-the-graphic-icons-handled/447842 "2019-12-11T16:30:03Z")

</div>

The album status, track matching status, etc. I’ve tried following backwards by looking for where the graphic is referenced in the source and I can’t find anything. I would think it’s in /picard/picard/album.py but w…

---

## [UI - Keyboard Input Code Question- Arrow Key Input? Tkinter, Gtk+?](https://community.metabrainz.org/t/ui-keyboard-input-code-question-arrow-key-input-tkinter-gtk/453139)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 14\
**Last updated:** [December 10, 2019, 12:50pm UTC](https://community.metabrainz.org/t/ui-keyboard-input-code-question-arrow-key-input-tkinter-gtk/453139 "2019-12-10T12:50:17Z")

</div>

Typical behavior with the arrow keys and collapsible lists are Left / Right Arrow will open/close the list. Closed (Left Arrow) Open (Right Arrow) Up / Down Arrow moves the selection bar accordingly … Down o…

---

## [Accessing Metadata / Tag Data on the Cluster side vs. the Right Side](https://community.metabrainz.org/t/accessing-metadata-tag-data-on-the-cluster-side-vs-the-right-side/454449)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 0\
**Last updated:** [December 8, 2019, 4:15pm UTC](https://community.metabrainz.org/t/accessing-metadata-tag-data-on-the-cluster-side-vs-the-right-side/454449 "2019-12-08T16:15:57Z")

</div>

This may be related to a similar question I’ve put in another thread… Track Total and Track Number are visible on the Album side. Even though those numbers are on the main line only, they’re associated with the entire a…

---

## [Macros and Menu Item Access - Suggestion for making it more flexible](https://community.metabrainz.org/t/macros-and-menu-item-access-suggestion-for-making-it-more-flexible/454447)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 0\
**Last updated:** [December 8, 2019, 3:59pm UTC](https://community.metabrainz.org/t/macros-and-menu-item-access-suggestion-for-making-it-more-flexible/454447 "2019-12-08T15:59:18Z")

</div>

I’m not sure to what extent this applies to Windows or Linux, but contextual menus and macros/hot key utilities on Mac OS X are just a whole lot of voodoo all around. It’s possible to get to the menu, but the only ways …

---

## [Variable Visibiltiy in Code - MainWindow / Album / Cluster ... (Or: How do I get these to show in the list?)](https://community.metabrainz.org/t/variable-visibiltiy-in-code-mainwindow-album-cluster-or-how-do-i-get-these-to-show-in-the-list/454443)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 3\
**Last updated:** [December 8, 2019, 3:29pm UTC](https://community.metabrainz.org/t/variable-visibiltiy-in-code-mainwindow-album-cluster-or-how-do-i-get-these-to-show-in-the-list/454443 "2019-12-08T15:29:47Z")

</div>

Some data will not show unless it’s in a child node in list view. On the left, you can see the track has the additional columns populated. On the right you can see where the additional columns are also populated. …but…

---

## [Some Quirks Editing Tags in Metadata View:](https://community.metabrainz.org/t/some-quirks-editing-tags-in-metadata-view/454439)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 0\
**Last updated:** [December 8, 2019, 2:35pm UTC](https://community.metabrainz.org/t/some-quirks-editing-tags-in-metadata-view/454439 "2019-12-08T14:35:12Z")

</div>

As an example, if you’ve got 10 tracks and only -1- of them has a particular tag value set, one that you would want to use on other tracks. (e.g. Album, Genre, Artist… ) You can use the Contextual Menu → Edit → Edit Val…

---

## [Complexity of Marking a Cluster with \* if all tracks are the same Artist?](https://community.metabrainz.org/t/complexity-of-marking-a-cluster-with-if-all-tracks-are-the-same-artist/449062)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 2\
**Last updated:** [October 27, 2019, 9:23pm UTC](https://community.metabrainz.org/t/complexity-of-marking-a-cluster-with-if-all-tracks-are-the-same-artist/449062 "2019-10-27T21:23:37Z")

</div>

Like how an Album has all tracks matched, it will get \* on it’s icon. In this case, on the left side, to indicate of a Cluster has all the same artist or album within that cluster? This really is some great stuff! With…

---

## [Picard: Additonal Visible Data in the Main Window - (Was UI Modifications - Attainable via Plug-in or code level?)](https://community.metabrainz.org/t/picard-additonal-visible-data-in-the-main-window-was-ui-modifications-attainable-via-plug-in-or-code-level/447294)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 11\
**Last updated:** [October 16, 2019, 8:49pm UTC](https://community.metabrainz.org/t/picard-additonal-visible-data-in-the-main-window-was-ui-modifications-attainable-via-plug-in-or-code-level/447294 "2019-10-16T20:49:09Z")

</div>

I’d like to separate the columnar data in the main panes to have at least the amount of tracks to be Left Justified on it’s own, as a separate column. To click/sort by would be a plus, but even just for viewing purposes…

---

## [Partially Functioning Drag & Drop with local build - Suggestions where to look?](https://community.metabrainz.org/t/partially-functioning-drag-drop-with-local-build-suggestions-where-to-look/445551)

<div class="topic-metadata">

**Author:** [@tdiaz](https://community.metabrainz.org/u/tdiaz)\
**Replies:** 9\
**Last updated:** [October 3, 2019, 12:54am UTC](https://community.metabrainz.org/t/partially-functioning-drag-drop-with-local-build-suggestions-where-to-look/445551 "2019-10-03T00:54:48Z")

</div>

I’ve cloned Picard locally from my forked repo. I build it this way: “ICBMx6:picard tdiaz$ pip3 install . --user” and then launch with “picard” Drag and Drop works at first. I can select any one item. (Track or Folder)…
