Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tracker-miners
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 66
    • Issues 66
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • tracker-miners
  • Issues
  • #102
Closed
Open
Created Apr 01, 2020 by Mateus Rodrigues Costa@MateusRodCosta

After updating opus files metadata several times with EasyTAG and Picard, tracker extract now refuses to get updated metadata info

System: Arch Linux 64-bits

tracker 2.3.4-1, tracker-miners 2.3.3-1

This is a weird bug I have been getting recently. My system with my music library is as follow: First I have my FLAC album, which I convert to opus with this command:

parallel opusenc --music --bitrate 128 {} {.}.opus ::: *.flac

I also remove the comment if I don't like it with EasyTAG (I have done this some times before and sometimes after the opus conversion) and I update the metadata with Picard (previously I would do this only before, but I did it after the conversion on most albums)

The problem though comes that I use a Tracker based Music player (Lollypop) and I only figured way too late how to translate artists names and that I should set the same exact genre for a specific type of music.

So, here's how the song is tagged according to ffprobe:

[ogg @ 0x55eb81d3b740] 1 bytes of comment header remain
Input #0, ogg, from '01. NiGHTS.opus':
  Duration: 00:04:21.01, start: -0.960000, bitrate: 230 kb/s
    Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
    Metadata:
      GENRE           : Game
      MUSICBRAINZ_RELEASEGROUPID: 5e22979b-2ef2-46a2-b8ae-c1b57371077d
      ORIGINALDATE    : 1996-07-10
      ORIGINALYEAR    : 1996
      RELEASETYPE     : album;soundtrack
      MUSICBRAINZ_ALBUMID: 0acf9e25-a4a1-4abf-bf1b-79e3beeaf016
      MUSICBRAINZ_ALBUMARTISTID: 8e986c66-2429-49a2-a32b-4ad3de114929;c77a7890-dc0e-4c5d-a7b4-96baa462c251;14b9c7f5-2c35-41ef-b389-764b0452b027
      album_artist    : Tomoko Sasaki, Naofumi Hataya & Fumie Kumatani
      ALBUMARTISTSORT : Sasaki, Tomoko, Hataya, Naofumi & Kumatani, Fumie
      RELEASECOUNTRY  : JP
      RELEASESTATUS   : official
      ALBUM           : NiGHTS Original Soundtrack
      ENGINEER        : Meiji Takamatsu
      PRODUCER        : Hiroki Horio;Yukifumi Makino;Tsuneo Satou
      ASIN            : B00005FMZ8
      LABEL           : PolyGram
      CATALOGNUMBER   : POCX-1038
      DATE            : 1996-07-10
      BARCODE         : 4988005183149
      SCRIPT          : Latn
      TOTALDISCS      : 1
      MEDIA           : CD
      TOTALTRACKS     : 24
      disc            : 1
      MUSICBRAINZ_TRACKID: 04e3bb69-fd64-42ef-8403-7b816882cd48
      MUSICBRAINZ_ARTISTID: 8e986c66-2429-49a2-a32b-4ad3de114929
      ARTIST          : Tomoko Sasaki
      ARTISTSORT      : Sasaki, Tomoko
      ARTISTS         : Tomoko Sasaki
      ISRC            : JPX300830810
      TITLE           : NiGHTS
      MUSICBRAINZ_RELEASETRACKID: 407897eb-67e0-4fb4-9806-c69ac7085208
      track           : 1
      TRACKTOTAL      : 24
      DISCTOTAL       : 1
    Stream #0:1: Video: png, rgba(pc), 940x935 [SAR 3780:3780 DAR 188:187], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      comment         : Cover (front)

and this is what tracker-extract says about it:

[mateusrc@delart NiGHTS Original Soundtrack]$ tracker extract 01.\ NiGHTS.opus 
Tracker-Message: 12:35:08.053: Set scheduler policy to SCHED_IDLE
Tracker-Message: 12:35:08.053: Setting priority nice level to 19
@prefix nmm: <http://www.tracker-project.org/temp/nmm#> .
@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<urn:artist:Tomoko%20Sasaki> nmm:artistName "Tomoko Sasaki" ;
  a nmm:Artist .

<urn:artist:%E4%BD%90%E3%80%85%E6%9C%A8%E6%9C%8B%E5%AD%90,%20%E5%B9%A1%E8%B0%B7%E5%B0%9A%E5%8F%B2%20&%20%E7%86%8A%E8%B0%B7%E6%96%87%E6%81%B5> nmm:artistName "佐々木朋子, 幡谷尚史 & 熊谷文恵" ;
  a nmm:Artist .

<urn:album:NiGHTS%20Original%20Soundtrack:%E4%BD%90%E3%80%85%E6%9C%A8%E6%9C%8B%E5%AD%90,%20%E5%B9%A1%E8%B0%B7%E5%B0%9A%E5%8F%B2%20&%20%E7%86%8A%E8%B0%B7%E6%96%87%E6%81%B5> nie:title "NiGHTS Original Soundtrack" ;
  nmm:albumTrackCount 24 ;
  a nmm:MusicAlbum ;
  nmm:albumArtist <urn:artist:%E4%BD%90%E3%80%85%E6%9C%A8%E6%9C%8B%E5%AD%90,%20%E5%B9%A1%E8%B0%B7%E5%B0%9A%E5%8F%B2%20&%20%E7%86%8A%E8%B0%B7%E6%96%87%E6%81%B5> .

<urn:album-disc:NiGHTS%20Original%20Soundtrack:%E4%BD%90%E3%80%85%E6%9C%A8%E6%9C%8B%E5%AD%90,%20%E5%B9%A1%E8%B0%B7%E5%B0%9A%E5%8F%B2%20&%20%E7%86%8A%E8%B0%B7%E6%96%87%E6%81%B5:Disc1> nmm:setNumber 1 ;
  nmm:albumDiscAlbum <urn:album:NiGHTS%20Original%20Soundtrack:%E4%BD%90%E3%80%85%E6%9C%A8%E6%9C%8B%E5%AD%90,%20%E5%B9%A1%E8%B0%B7%E5%B0%9A%E5%8F%B2%20&%20%E7%86%8A%E8%B0%B7%E6%96%87%E6%81%B5> ;
  a nmm:MusicAlbumDisc .

<file:///archive/Music/NiGHTS%20Original%20Soundtrack/01.%20NiGHTS.opus> a nfo:Audio , nmm:MusicPiece ;
  nfo:genre "Game Soundtrack" ;
  nmm:trackNumber 1 ;
  nmm:performer <urn:artist:Tomoko%20Sasaki> ;
  nfo:channels 2 ;
  nfo:sampleRate 48000 ;
  nfo:codec "Opus" ;
  nie:title "NiGHTS" ;
  nie:contentCreated "1996-07-10T00:00:00+00:00" ;
  nmm:musicAlbumDisc <urn:album-disc:NiGHTS%20Original%20Soundtrack:%E4%BD%90%E3%80%85%E6%9C%A8%E6%9C%8B%E5%AD%90,%20%E5%B9%A1%E8%B0%B7%E5%B0%9A%E5%8F%B2%20&%20%E7%86%8A%E8%B0%B7%E6%96%87%E6%81%B5:Disc1> ;
  nie:comment "http://<snip>" ;
  nmm:musicAlbum <urn:album:NiGHTS%20Original%20Soundtrack:%E4%BD%90%E3%80%85%E6%9C%A8%E6%9C%8B%E5%AD%90,%20%E5%B9%A1%E8%B0%B7%E5%B0%9A%E5%8F%B2%20&%20%E7%86%8A%E8%B0%B7%E6%96%87%E6%81%B5> ;
  nfo:duration 261 .

As you can see, the tracker version of the metadata has info I already removed, such as the comment, and info I have already changed, such as the Genre and the name of artists and such.

I had this issue with a different file and the only solution was to: Reconvert it from FLAC to opus, remove the comment and then run it through Picard. I would rather not redo that if possible.

Hopefully this is fixable. Thanks!

Edit: Also as a small note: ~/Music is a symlink to /archive/Music . With /archive being a 1 TB HDD, not sure if this is any useful or if it affects how tracker works.

Edited Apr 01, 2020 by Mateus Rodrigues Costa
Assignee
Assign to
Time tracking