Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1492

Can’t save rated tracks when it’s a FLAC file (when Metadata/Ratings is active)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.2
    • 2.2
    • None
    • XUbuntu LTS 18.04

      Same file as MP3 could be saved fine.
      When Rating is deactivated the FLAC file saves fine

      Debug Logfile with activated rating: 

      D: 15:22:53,985 /home/oliver/Development/Private/Picard/picard/picard/file.move:463: Moving <File '2-06 Ashes to Ashes.flac'> from <Cluster dd083466-967b-431c-bfe8-2d7649b518e8 'The Singles Collection/Unmatched Files'> to <Track 13d3bf6a-63ff-449f-873c-dcf279801d36 'Ashes to Ashes'>
      D: 15:22:53,991 /home/oliver/Development/Private/Picard/picard/picard/ui/mainwindow.set_statusbar_message:328: Album dd083466-967b-431c-bfe8-2d7649b518e8 loaded: David Bowie - The Singles Collection
      D: 15:25:20,544 /home/oliver/Development/Private/Picard/picard/picard/file.update:523: Updating file <File '2-06 Ashes to Ashes.flac'>
      D: 15:25:20,550 /home/oliver/Development/Private/Picard/picard/picard/formats/vorbis._save:172: Saving file '/media/oliver/Music/flac/Bowie, David/1993-11-15-The Singles Collection [1993-11-15 - GB - EMI - 7243 8 28099 2 0 - 724382809920 - CD]/2-06 Ashes to Ashes.flac'
      E: 15:25:20,557 /home/oliver/Development/Private/Picard/picard/picard/util/thread.run:56: Traceback (most recent call last):
      File "/home/oliver/Development/Private/Picard/picard/picard/util/thread.py", line 52, in run
      result = self.func()
      File "/home/oliver/Development/Private/Picard/picard/picard/file.py", line 219, in _save_and_rename
      self._save(old_filename, metadata)
      File "/home/oliver/Development/Private/Picard/picard/picard/formats/vorbis.py", line 233, in _save
      file.tags.update(tags)
      File "/usr/lib/python3/dist-packages/mutagen/_util.py", line 497, in update
      self.__setitem__(key, value)
      File "/usr/lib/python3/dist-packages/mutagen/_vorbis.py", line 304, in __setitem__
      raise ValueError
      ValueError
      

      Debug logfile with deactivated rating:

      D: 15:38:32,429 /home/oliver/Development/Private/Picard/picard/picard/file.move:463: Moving <File '2-06 Ashes to Ashes.flac'> from <Cluster dd083466-967b-431c-bfe8-2d7649b518e8 'The Singles Collection/Unmatched Files'> to <Track 13d3bf6a-63ff-449f-873c-dcf279801d36 'Ashes to Ashes'>
      D: 15:38:32,435 /home/oliver/Development/Private/Picard/picard/picard/ui/mainwindow.set_statusbar_message:328: Album dd083466-967b-431c-bfe8-2d7649b518e8 loaded: David Bowie - The Singles Collection
      D: 15:38:51,238 /home/oliver/Development/Private/Picard/picard/picard/file.update:523: Updating file <File '2-06 Ashes to Ashes.flac'>
      D: 15:38:51,243 /home/oliver/Development/Private/Picard/picard/picard/formats/vorbis._save:172: Saving file '/media/oliver/Music/flac/Bowie, David/1993-11-15-The Singles Collection [1993-11-15 - GB - EMI - 7243 8 28099 2 0 - 724382809920 - CD]/2-06 Ashes to Ashes.flac'
      D: 15:38:52,451 /home/oliver/Development/Private/Picard/picard/picard/file._rename:391: Moving file '/media/oliver/Music/flac/Bowie, David/1993-11-15-The Singles Collection [1993-11-15 - GB - EMI - 7243 8 28099 2 0 - 724382809920 - CD]/2-06 Ashes to Ashes.flac' => '/media/oliver/Seagate Backup Plus Drive/flac/B/Bowie, David/1993-11-15-The Singles Collection [1993-11-15 - GB - EMI - 7243 8 28099 2 0; CDEM 1512 - 724382809920 - CD]/2-06 Ashes to Ashes.flac'
      D: 15:38:52,944 /home/oliver/Development/Private/Picard/picard/picard/coverart/image.save:299: Using default cover image filename 'Cover'
      D: 15:38:52,949 /home/oliver/Development/Private/Picard/picard/picard/coverart/image._is_write_needed:335: Identical file size, not saving b'/media/oliver/Seagate Backup Plus Drive/flac/B/Bowie, David/1993-11-15-The Singles Collection [1993-11-15 - GB - EMI - 7243 8 28099 2 0; CDEM 1512 - 724382809920 - CD]/Cover.jpg'
      D: 15:38:52,949 /home/oliver/Development/Private/Picard/picard/picard/coverart/image.save:296: Make cover filename from types: ['front', 'spine'] -> 'front'
      D: 15:38:52,959 /home/oliver/Development/Private/Picard/picard/picard/coverart/image._is_write_needed:335: Identical file size, not saving b'/media/oliver/Seagate Backup Plus Drive/flac/B/Bowie, David/1993-11-15-The Singles Collection [1993-11-15 - GB - EMI - 7243 8 28099 2 0; CDEM 1512 - 724382809920 - CD]/front.jpg'
      D: 15:38:52,959 /home/oliver/Development/Private/Picard/picard/picard/coverart/image.save:296: Make cover filename from types: ['back', 'spine'] -> 'back'
      D: 15:38:52,959 /home/oliver/Development/Private/Picard/picard/picard/coverart/image._is_write_needed:335: Identical file size, not saving b'/media/oliver/Seagate Backup Plus Drive/flac/B/Bowie, David/1993-11-15-The Singles Collection [1993-11-15 - GB - EMI - 7243 8 28099 2 0; CDEM 1512 - 724382809920 - CD]/back.jpg'
      D: 15:38:52,967 /home/oliver/Development/Private/Picard/picard/picard/file.update:523: Updating file <File '2-06 Ashes to Ashes.flac'>
      D: 15:25:20,566 /home/oliver/Development/Private/Picard/picard/picard/file.update:523: Updating file <File '2-06 Ashes to Ashes.flac'>
      

            outsidecontext Philipp Wolfer
            ClæpsHydra ClæpsHydra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.2