Skip to content

[Bug]: SQlite Blob columns displayed as hexdump #695

Closed

Description

@agross

Describe the bug

When I open my beets database the "music file path" column is displayed as a hexdump while other DB tools are able to display it as a string.

DB Browser for SQLite:

Image

Tabularis:

Image

To Reproduce

  1. Install beets, open DB

OS Version

macOS 26

Tabularis Version

0.21.0

Relevant Log Output

CREATE TABLE "items" (
  "id" INTEGER DEFAULT ,
  "path" BLOB DEFAULT ,
  "album_id" INTEGER DEFAULT ,
  "title" TEXT DEFAULT ,
  "artist" TEXT DEFAULT ,
  "artist_sort" TEXT DEFAULT ,
  "artist_credit" TEXT DEFAULT ,
  "album" TEXT DEFAULT ,
  "albumartist" TEXT DEFAULT ,
  "albumartist_sort" TEXT DEFAULT ,
  "albumartist_credit" TEXT DEFAULT ,
  "genre" TEXT DEFAULT ,
  "lyricist" TEXT DEFAULT ,
  "composer" TEXT DEFAULT ,
  "composer_sort" TEXT DEFAULT ,
  "arranger" TEXT DEFAULT ,
  "grouping" TEXT DEFAULT ,
  "year" INTEGER DEFAULT ,
  "month" INTEGER DEFAULT ,
  "day" INTEGER DEFAULT ,
  "track" INTEGER DEFAULT ,
  "tracktotal" INTEGER DEFAULT ,
  "disc" INTEGER DEFAULT ,
  "disctotal" INTEGER DEFAULT ,
  "lyrics" TEXT DEFAULT ,
  "comments" TEXT DEFAULT ,
  "bpm" INTEGER DEFAULT ,
  "comp" INTEGER DEFAULT ,
  "mb_trackid" TEXT DEFAULT ,
  "mb_albumid" TEXT DEFAULT ,
  "mb_artistid" TEXT DEFAULT ,
  "mb_albumartistid" TEXT DEFAULT ,
  "mb_releasetrackid" TEXT DEFAULT ,
  "albumtype" TEXT DEFAULT ,
  "label" TEXT DEFAULT ,
  "acoustid_fingerprint" TEXT DEFAULT ,
  "acoustid_id" TEXT DEFAULT ,
  "mb_releasegroupid" TEXT DEFAULT ,
  "asin" TEXT DEFAULT ,
  "catalognum" TEXT DEFAULT ,
  "script" TEXT DEFAULT ,
  "language" TEXT DEFAULT ,
  "country" TEXT DEFAULT ,
  "albumstatus" TEXT DEFAULT ,
  "media" TEXT DEFAULT ,
  "albumdisambig" TEXT DEFAULT ,
  "releasegroupdisambig" TEXT DEFAULT ,
  "disctitle" TEXT DEFAULT ,
  "encoder" TEXT DEFAULT ,
  "rg_track_gain" REAL DEFAULT ,
  "rg_track_peak" REAL DEFAULT ,
  "rg_album_gain" REAL DEFAULT ,
  "rg_album_peak" REAL DEFAULT ,
  "r128_track_gain" INTEGER DEFAULT ,
  "r128_album_gain" INTEGER DEFAULT ,
  "original_year" INTEGER DEFAULT ,
  "original_month" INTEGER DEFAULT ,
  "original_day" INTEGER DEFAULT ,
  "initial_key" TEXT DEFAULT ,
  "length" REAL DEFAULT ,
  "bitrate" INTEGER DEFAULT ,
  "format" TEXT DEFAULT ,
  "samplerate" INTEGER DEFAULT ,
  "bitdepth" INTEGER DEFAULT ,
  "channels" INTEGER DEFAULT ,
  "mtime" REAL DEFAULT ,
  "added" REAL DEFAULT ,
  "style" TEXT DEFAULT ,
  "discogs_albumid" INTEGER DEFAULT ,
  "discogs_artistid" INTEGER DEFAULT ,
  "discogs_labelid" INTEGER DEFAULT ,
  "work" TEXT DEFAULT ,
  "mb_workid" TEXT DEFAULT ,
  "work_disambig" TEXT DEFAULT ,
  "trackdisambig" TEXT DEFAULT ,
  "albumtypes" TEXT DEFAULT ,
  "isrc" TEXT DEFAULT ,
  "artists" TEXT DEFAULT ,
  "artists_ids" TEXT DEFAULT ,
  "artists_sort" TEXT DEFAULT ,
  "artists_credit" TEXT DEFAULT ,
  "remixer" TEXT DEFAULT ,
  "albumartists" TEXT DEFAULT ,
  "albumartists_sort" TEXT DEFAULT ,
  "albumartists_credit" TEXT DEFAULT ,
  "mb_artistids" TEXT DEFAULT ,
  "mb_albumartistids" TEXT DEFAULT ,
  "barcode" TEXT DEFAULT ,
  "release_group_title" TEXT DEFAULT ,
  "bitrate_mode" TEXT DEFAULT ,
  "encoder_info" TEXT DEFAULT ,
  "encoder_settings" TEXT DEFAULT 
);

Activity

  1. added
    bug
    on Aug 31, 2026
  2. debba commented on Aug 31, 2026

    @debba
    Collaborator

    Hi @agross ,
    probably because it's defined as a BLOB, will take a look asap.

  3. agross commented on Aug 31, 2026

    @agross
    Author

    Hi @debba, probably! Perhaps the other app has some kind of detection to determine whether it's a string after all.

  4. debba commented on Aug 31, 2026

    @debba
    Collaborator

    Hi @agross, I opened #696 with a fix. BLOB values containing printable UTF-8 should now be displayed as text, while binary data will continue to use the hexadecimal preview.

    Could you test it with your beets database and let me know if the paths are displayed correctly?

  5. agross commented on Aug 31, 2026

    @agross
    Author

    I also spent some tokens on this: https://chatgpt.com/share/6a959145-16fc-83ed-ae8c-ed579484f78b

    Could you test it with your beets database

    Does the CI build create an app I can install?

  6. debba commented on Aug 31, 2026

    @debba
    Collaborator

    Tbh no.
    But I can create a draft release for you and send here.
    Let me do it

  7. debba commented on Aug 31, 2026

    @debba
    Collaborator

    @agross I am unable to upload dmg and zip files here.
    If you want to join in our discord server I will send you a link for downloading it and test.

  8. agross commented on Aug 31, 2026

    @agross
    Author

    Confirmed using the test build: strings are displayed now.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions